External functions set_minter()
, transfer_ownership()
, and renounce_ownership()
have no effect and can be safely removed.
set_minter()
is only used in conjunction with snekmate
's safe_mint()
function which is not exposed in the contract. The minter role has no effect for the current smart contract. Therefore, the set_minter()
function is unnecessary.
Similarly, there are no functions that are using the owner
role, making the transfer_ownership()
and renounce_ownership()
functions unnecessary.
Low: Removing the functions has no impact on the smart contract functionality but improves readability and makes it more clear that the contract cannot be "rugged" by the contract deployer.
Manual code inspection.
Remove ERC721.set_minter
, ERC721.transfer_ownership
, and ERC721.renounce_ownership
from the list of exports in contracts/snek_raffle.py
.
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.