scrvUSD interest will fail to withdraw
In LendingPool, the owner can set crvUSD Vault. Then we will deposit one part of funds into the scrvUSD Vault. The funds we deposit into the scrvUSD Vault can gain some interest for us. So when we deposit funds into the scrvUSD Vault, we can get another part of profit. This profit can be distributed to the depositors or the owner.
Below is one description from s-crvUSD Vault website
The problem is that we record deposit amount in totalVaultDeposits
. And when we withdraw from the crvUSD Vault, we will deduct the withdraw amount from totalVaultDeposits
. This means that we cannot withdraw more funds than what we deposit into the crvUSD Vault. Then all profit from scrvUSD Vault will be locked in the scrvUSD, and we cannot withdraw this part profit.
Once we withdraw more funds than deposited amount, the transaction will be reverted because of the underflow in the calculation of totalVaultDeposits
.
Profits from scrvUSD will be locked in the scrvUSD, we cannot withdraw this part of profit.
Manual
scrvUSD is one ERC4626 Vault, we can record the share amount that belongs to the protocol.
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.