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
There are lots of rebasing tokens out in the wild. These are difficult to use with Blend pools, as the Blend pool is the holder of the token, thus any additional tokens earned go to the Blend pool and will not be accounted for.
Add a gulp(asset: Address) function to the Pool contract that updates the b_rate based on the expected balance of tokens in the pool verse the actual balance of tokens in the pool.
Technical Notes
While it should be impossible, gulp(asset: Address) can also result in a b_rate loss, given some unaccounted for loss of tokens in the pool (for example, a bug in the token contract)
The text was updated successfully, but these errors were encountered:
There are lots of rebasing tokens out in the wild. These are difficult to use with Blend pools, as the Blend pool is the holder of the token, thus any additional tokens earned go to the Blend pool and will not be accounted for.
Add a
gulp(asset: Address)
function to the Pool contract that updates theb_rate
based on the expected balance of tokens in the pool verse the actual balance of tokens in the pool.Technical Notes
While it should be impossible,
gulp(asset: Address)
can also result in ab_rate
loss, given some unaccounted for loss of tokens in the pool (for example, a bug in the token contract)The text was updated successfully, but these errors were encountered: