Slab Machine
Slab.sol
[LOW] Unsafe validation during safeMint
Depending on how third party providers allocate their external contract and token combinations, a Slab token could become bricked not allowing it to be recreated via safeMint. This would occur if the combination of contract and tokenId were reused by the third party. This could potentially happen if a card was redeemed and then the tokenId on the third party is kept alive and subsequently "reactivated", rather than a new token minted.
This could also occur if the third party did not have a strict single-use tokenId policy in place. As it has such a strong dependence on third parties, we would recommend that the check is removed and additional caution is placed when minting Slab tokens.
Recommended Fix:
- Remove the
SlabAlreadyMintederror check in thesafeMintfunction