Yield updates happen for a vault when the BRIDGE_YIELD_UPDATE_THRESHOLD
is met for the vault after a large bridge deposit. The maybeUpdateYield
function handles this logic for updates when that happens (1000 ETH to be exact).
Threshold constant from:
In reality the yield update for the vault will not happen in the instances of 1000 ETH deposits unless the bridge deposit amount into the vault is > 1000 ETH and the percent is greater than 1%.
Manual review
Change the >
operand in the maybeUpdateYield
function to be >=
.
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.