Add zero address checks in initialize()
for address parameters.
Add zero address checks (address(0)
) for all contract addresses in the Swan::initialize()
function, especially for critical dependencies like _coordinator
, _token
, _buyerAgentFactory
, and _swanAssetFactory
. This ensures that the contracts you rely on are valid and avoids potential issues with interacting with uninitialized addresses.
Adding these checks ensures the contract is set up correctly and avoids potential issues with invalid addresses.
Manual audit
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.