Any traditional ERC20 token has a 18 decimal places i.e 1e18 but the USDC has 6 decimal places i.e 1e6
If decimal places of the erc20 tokens used are not considered it may lead to precision loss and miscalculations.
The deposit and withdraw functions of MoneyShelf.sol both use the same variable amount which has to be converted to the correct decimal places before being used.
The decimal places have to be considered for the erc20 tokens with different decimal places
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.