The tillIn
function interacts with external contracts in a way that could potentially lead to reentrancy attacks.
This sequence of operations interacts with an external contract before completing its state changes.
While unlikely with standard WETH implementations, a malicious or upgraded wrappedNativeToken
contract could potentially reenter the tillIn
function, leading to unexpected behavior or fund drainage.
manual code review
Include a reentrancy guard and follow the checks-effects-interactions pattern by updating state before interacting with external contracts
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.