20,000 USDC
View results
Submission Details
Severity: low

removeFromPool arithmetic underflow

Summary

When your removeFromPool amount is higher then the current poolBalance you get a [FAIL. Reason: Arithmetic over/underflow]. There are no checks in place to dectect if the amount is higher then the poolBalance

Tools Used

vscode

Recommendations

Create a check to make sure that the amount is not higher then the poolBalance.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.