Beanstalk Immunefi Committee
Reward 3,000 Beans to the whitehat that reported the issue where a micro amount of BDV stays with the sender of a Deposit upon Transfer.
During a Deposit transfer, a micro amount of BDV stays with the sender due to a rounding error in LibTokenSilo.removeDepositFromAccount()
.
Update LibTokenSilo.removeDepositFromAccount()
to properly round up the result of integer division when calculating the removed BDV from the sender.
Given that the micro BDV that stays with the sender is not transferred to the receiver, no additional BDV is issued and no Deposits are put into an incorrect state. Given that the practicable economic damage is effectively zero as a result of the magnitude of the issue, the BIC has determined that this bug report be rewarded 3,000 Beans.