In the ZENO contract, minting is assigned to onlyOwner
. However the redeem functions - redeem
, redeemAll
can be called by users who have ZENO balance. However there is an issue which is not taken into account in here that ZENO is ERC20 which has 18 decimals, however USDC has 6 decimals. So if a user wants to redeem 1 ZENO, he will receive 1e12 USDC tokens which is equal to $1000 billions which is really concerning
User can redeem the of ZENO token based on amount parameters. These are the functions :
Since ZENO inherits from ERC20, which has fixed decimal point of 18. However USDC has that of 6. This will create high discrepancy in the system.
Very high overvaluing of ZENO-USDC pair, where 1 ZENO = 1e12 USDC
Manual Review
Change the decimals by overriding it in ZENO :
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.