ZENO.sol is ERC20
, so it is going to have all ERC20.sol
functions including decimals()
that returns 18
by default.
The issue is that ZENO.sol
doesn't override decimals()
.
https://github.com/OpenZeppelin/openzeppelin-contracts/blob/9586aaf35241daf4b17e4858bf7c86edbb4b7247/contracts/token/ERC20/ERC20.sol#L78
However, this may lead to confuse users asuming ZENO tokens have 18 decimals.
While ZENO tokens doesn't use the decimals in any calculation since it is designed to be purchased one to one with stable coins.
decimals()
returns false value.
Manual Review.
override the decimals()
function and return 0.
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.