recoverTokens
is supposed to retrieve tokens accidentally sent to the contract. However, if this function is called to recover the bridge's token
, wrappedToken
, or LINK
, it will drain the whole balance of the contract, instead of just the amount that was sent by mistake.
Bridge's token balance would be drained.
Either add the amount to recover as a function parameter, or disable recovery of these tokens.
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.