The contract's function does not follow the CEI pattern. Transfer (Interaction) is made before state change (Effect).
The claim()
function in the staking contract does not follow the CEI pattern. Not following CEI can lead to critical issues in the contract resulting in disastrous losses. Though the function does not result in a vulnerability capable of causing loss; It's still recommended to follow the CEI pattern to avoid any unexpected issues.
Manual Review.
Follow the CEI pattern.
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.