You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect every function in the Treasury that interacts with erc20 tokens to have this balancedBooks modifier to make sure that "funds haven't gone missing during this function call". To make sure that tokens were indeed transferred and marketBalance updated, this modifier can be used in function topupMarketBalance.
Recommended Mitigation Steps
Add 'balancedBooks' to the declaration of function topupMarketBalance.
The text was updated successfully, but these errors were encountered:
Handle
pauliax
Vulnerability details
Impact
I expect every function in the Treasury that interacts with erc20 tokens to have this balancedBooks modifier to make sure that "funds haven't gone missing during this function call". To make sure that tokens were indeed transferred and marketBalance updated, this modifier can be used in function topupMarketBalance.
Recommended Mitigation Steps
Add 'balancedBooks' to the declaration of function topupMarketBalance.
The text was updated successfully, but these errors were encountered: