No safeApprove
#194
Labels
0 (Non-critical)
Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisation
bug
Something isn't working
duplicate
This issue or pull request already exists
Handle
cmichel
Vulnerability details
The
TreasuryAction.approveToken
performs a normalapprove
without checking thesuccess
return value.Some tokens are weird and need
safeApprove
. You know the drill.Recommended Mitigation Steps
Use OZ's
safeApprove
.The text was updated successfully, but these errors were encountered: