If a RamNFT.sol
token is transferred to another address, then the ram
characteristic of the token will not be updated to the new owner. It will stay as the original minter.
Once a RamNFT
is minted in the mintRamNFT
function, the ram
characteristic is set to the minters address.
If this token is then transferred to another address, the ram
address is never updated and it will stay as the original minter. This means the token cannot be transferred and used for the event for the new owner. This can cause issues specifically if someone mints a token in wallet A and then wants to transfer it to a wallet B.
The test below passes showing that the ram
characteristic stays as the original minter and not the new owner of the token.
--Foundry
It is recommended to either make the RamNFT's non-transferable or make it so the ram characteristic is updated to the new owner upon a transfer.
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.