The Mondrian Wallet contract is also an ERC721 token. However, there is no external mint function, blocking the account owner (or any other actor) to mint new NFTs. This way, MondrianWallet::tokenURI
function is useless.
Because there is no external mint function, no new token is going to be minted. This way, MondrianWallet::tokenURI
will always revert due to the following lines:
Place the following code in MondrianWallet.test.js
test file:
MondrianWallet::tokenURI
will always revert, being useless for any functionality built on top of it.
Manual review, Hardhat
Add a simple mint function so that new tokens can be minted and an address different from address(0)
is assigned to token IDs:
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.