15,000 USDC
View results
Submission Details
Severity: gas

Divided By Zero issue

Summary

When we get price from oracle it is possibility the price will be zero there should be check on it function "getTokenAmountFromUsd"

Vulnerability Details

Impact

Revert transaction and lose of gas fee and transaction will be reverted

Tools Used

Recommendations

Add check on price before divided

Support

FAQs

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