40,000 USDC
View results
Submission Details
Severity: gas

Reduce Gas usage on resolveDispute

Summary

To call check balanceOf from different contract multiple time on some functions increase the cost of execution of the function

Vulnerability Details

Impact

More gas waste for no reason

Tools Used

fountry coverage

Recommendations

call balanceOf once in top of function then subtract the transfer amount from it

Support

FAQs

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