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
As pool investor, I want residual amounts of REMOVE_TOKEN to be sent to a handler contract, so that these tokens are neither traded using unfair prices nor are they rotting in the pool.
Acceptance Criteria
if a token has a weight of 1% and it is flagged for removal, when it is being swapped, after the swap the residual amount of this token still in the pool is sent to a predefined address
the address of the handler can be set up during pool creation
the token is de-registered from the vault
the weights of the remaining tokens in the pool is adjusted
Additional Infos
for more specific information how the address of the handler contract should be stored and whether it should be editable, plz check the Index v1 docs
the simplified logic imho is: if swap occurs when weight is .5%, execute swap as usual and transfer residual amount of REMOVE_TOKEN to specified address
The text was updated successfully, but these errors were encountered:
User Story
As pool investor, I want residual amounts of REMOVE_TOKEN to be sent to a handler contract, so that these tokens are neither traded using unfair prices nor are they rotting in the pool.
Acceptance Criteria
Additional Infos
The text was updated successfully, but these errors were encountered: