The Auction
contract incorrectly handles decimal precision when converting between USDC (6 decimals) and ZENO (18 decimals) tokens. Users receive only a fraction of their purchased tokens.
In the Auction
contract's buy
function:
Contract doesn't consider the decimal mismatch. I.e:
Input: 10_000_000_000 (10k USDC in 6 decimals)
ZENO minted: 10_000_000_000 (0.00000001 ZENO in 18 decimals)
User will receive far less ZENO minted than he should.
Manual Review
Change the ZENO's decimals
to 6 or normalize token decimals in ZENO and Auction contracts.
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.