Can save gas on failing claimAndSwap if we move require statement first
The original function claimAndSwapchecks the _minOut and _amountClaim but only after claiming. In case when incorrect parameters was supplied, we can save on around 50k gas.
The original function test shows usage of 80235 gas in case of failure
If we move the require statement and run the test again
Gas / Low
Manual Review
Move the following line before claiming
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.