The AaveDIVAWrapper.sol contract is protected by both the onlyOwner and nonReentrant modifiers. However, onlyOwner is listed before nonReentrant.
If other modifiers execute before nonReentrant, they might introduce logic that makes the contract vulnerable to reentrancy attacks.
This sequence ensures that the reentrancy protection logic is executed first, guarding against potential state manipulation caused by external calls.
If other modifiers execute before nonReentrant, they might introduce logic that makes the contract vulnerable to reentrancy attacks. Ensuring nonReentrant is checked first minimizes this risk.
Manual review
Ensuring nonReentrant is checked first minimizes this risk.
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.