Open code423n4 opened 2 years ago
While this could happen, this shouldn't affect any of the functionality of the basket and can be rectified by the publisher by resetting the maxSupply or more burns. Generally I would consider this a low risk issue.
While I agree that this is an issue, it does not lead to any unexpected behaviour and as such I'd deem this as low
risk as its more of a state handling issue.
Handle
0x0x0x
Vulnerability details
Lets say there is already as many tokens as
maxSupply
. A user callsburn
withamount = 1
.handleFees
create more than 1 token. Therefore,maxSupply
is exceeded. Furthermore, the same can also happen again, whenmaxSupply
is already exceeded.