Anyone can call the checkList
function, regardless of whether they are Santa (i.e. the contract deployer) or not.
The onlySanta
modifier used to verify that the caller of a function is the contract deployer has not been applied to the checkList
function in the SantasList
contract.
Anyone can set the Status
of any other address.
Example:
Foundry
Add the onlySanta
modifier to the checkList
function.
Add a test to verify that the function can only be called by the contract deployer, like so:
Anyone is able to call checkList() changing the status of a provided address. This is not intended functionality and is meant to be callable by only Santa.
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.