Users can buy amount
of zeno tokens with usdc when the auction is active using the buy
function.
Going by the test suites, we can see that the auction price is in USDC's 6 decimals and the buy amount is the amount of zeno tokens to buy without any decimals
The issue arises because the buy
function mints the exact buy amount
without adding zeno token decimal(18). So Instead of minting 5e18 of zeno tokens to the user, in this case, it mints just 5.
Users buying zeno tokens get an amount that is order of magnitude lower than what they're supposed to get.
Manual
Mint the correct amount to the user
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.