Fertilizer ERC1155s cannot be burned.
Feritlizer ERC1155 is a standard token implementation, hence it can be minted, transferred and approved. It however cannot be burned, making the tokens miss an important token functionality. This is the _burn
function in the inherited ERC1155Upgradeable.sol is internal and the external safeTransferFrom
and safeBatchTransferFrom
functions do not allow transfer to zero address.
As a result, any user or external integrations whose functionality requires burning the fertilizers will not be able to do so.
Users or external integrations that want to burn their fertilizers will not be able to.
Manual Code Review
Recommend exposing the burn and burnBatch functions, or removing the zero address checks in the safeTransferFrom
functions (although this method is not made mandatory by the EIP standard).
Invalid as per docs https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity
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.