You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The contract BribeInitiative implements the function depositBribe() that allows anyone to deposit BOLD and another ERC20 token as bribes. These tokens are transferred out only when there are eligible user to claim bribes. However, it is possible that an initiative might not receive any YES vote in an epoch although there is a bribe. In such scenarios, the deposited tokens for that epoch would be stuck and cannot be recovered.
Furthermore, _claimBribe() rounds down the bribe amounts, therefore there is some dust that accumulates over time and is not recovered.
The text was updated successfully, but these errors were encountered:
The contract
BribeInitiative
implements the functiondepositBribe()
that allows anyone to deposit BOLD and another ERC20 token as bribes. These tokens are transferred out only when there are eligible user to claim bribes. However, it is possible that an initiative might not receive any YES vote in an epoch although there is a bribe. In such scenarios, the deposited tokens for that epoch would be stuck and cannot be recovered.Furthermore,
_claimBribe()
rounds down the bribe amounts, therefore there is some dust that accumulates over time and is not recovered.The text was updated successfully, but these errors were encountered: