Currently, how claimAndSwap
works in StrategyMainnet.sol
causes a loss of funds for protocol when swapping weth
back to alETH
if a re-org occurs.
Routes are identified by an id _routeNumber
. This way creates risks for mismatching different routes, for example in case of a reorg incident keepers could claimAndSwap
using other routes than they intended due to switched orders of TXs in the block.
loss of funds for protocol
Consider using a hash of the routes parameters as an identifier for exchanging weth to alETH during claimAndSwap process
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.