The redeem function allows a user to redeem usdcwhen the MATURITY_DATEhas passed
The issue arises because zeno token and usdc have different decimals, 18 and 6 respectively. so when the redeem functionis burning amountof zeno tokens, it has to convert the amount to USDC's 6 decimals before transferring the USDC to msg.sender.
The same issue exists in redeemAll function and the same fix will work for both
User receives more USDC than intended due to zeno having 18 decimals
Manual
convert the amount from 18 decimals to 6 decimals of usdc before transferring usdc to msg.sender
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.