Open rubeecube opened 2 years ago
Minor modification to prevent under/overflows (in mint function in case the parameters are set badly by an owner).
https://blog.soliditylang.org/2020/12/16/solidity-v0.8.0-release-announcement/ > "The change that will affect most users is that arithmetic operations are now checked by default, which means that overflow and underflow will cause a revert. This feature can be disabled locally by using an unchecked block."
Minor modification to prevent under/overflows (in mint function in case the parameters are set badly by an owner).
https://blog.soliditylang.org/2020/12/16/solidity-v0.8.0-release-announcement/ > "The change that will affect most users is that arithmetic operations are now checked by default, which means that overflow and underflow will cause a revert. This feature can be disabled locally by using an unchecked block."