BridgeRouterFacet.withdrawTapp should update yield.
BridgeRouterFacet.withdrawTapp
allows dao to withdraw fees from the protocol. This function will change s.vaultUser[vault][address(this)].ethEscrowed
.
Shorters in the protocol receive rewards for the amount of zeth collateral that they have provided. Protocol also receives part of this funds as fee. As result this funds also earn additional fee. But in case if fees are withdrawn before updateYield
call, then protocol will not receive additional yields.
Protocol receives less amount of yields.
VsCode
When withdraw fees, make sure that updateYield
is called.
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.