Skip to content

Support dynamically rebasing tokens in StableAmm #1036

@gregdhill

Description

@gregdhill

Is your feature request related to a problem? Please describe.
The stable pallet (based on Curve v1) only supports assets which have the same price which means that it is not possible to support pools with some staking derivatives.

Describe the solution you'd like
Re-balance the pool on mint, swap or redeem as done here for Acala's implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Todo ⏳

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions