Pass-Unprotected-Initializer: Likelihood of State reverting to its original state before function is called
Likelihood of State reverting to its original state before function is called
Pass-Unprotected-Initializer: Likelihood of State reverting to its original state before function is called
Slither and AI
modifier onlyThunderLoan() {
require(msg.sender == i_thunderLoan, "AssetToken: Only ThunderLoan can call this function");
_;
}
modifier revertIfZeroAddress(address someAddress) { // REVIEW Pass protected Initializer
require(someAddress != address(0), "AssetToken: Zero address not allowed");
_;
}
use "require" to validate inputs and "revert" to handle errors
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.