Skip to content

Curve Pool UI #38

@getgouda

Description

@getgouda

Currently this area of the Vault details page (e.g. https://app.yaxis.io/vault/usd) gives a link that takes a user to Curve.fi's website (e.g. https://curve.fi/mim/deposit)

We could instead add UI to interface to Curve's contracts directly from our Vault page.

Screen Shot 2022-01-23 at 10 46 57 PM

There should be two tabs shown here; deposit and withdraw from the Curve pool.

There is a placeholder component at src/views/VaultDetails/components/Converter.tsx.
src/views/VaultDetails/components/helpers contains a folder that can house the components.
Currently inside are Stable3PoolTabs.tsx, Stable3PoolWIthdraw.tsx, and Stable3PoolDepost.tsx - which are unused components from a previous version that can be used as examples.

Ideally a more re-usable component that can be used for every Vault is made. It might take in currencies of the pool and the token of the pool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions