Foundry DeFi Stablecoin CodeHawks Audit Contest

DeFiFoundry
15,000 USDC
Submission Details
Severity: medium
Valid

In `getTokenAmountFromUsd`, `price` is treated as in 8 decimals that will force to return incorrect amount usd amount for given token leading to loss of funds

Support

FAQs

Can’t find an answer? Join our Discord or follow us on Twitter.

Cyfrin
Updraft
CodeHawks
Solodit
Resources