Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking issue for AMM support #712

Closed
gregdhill opened this issue Sep 5, 2022 · 1 comment
Closed

Tracking issue for AMM support #712

gregdhill opened this issue Sep 5, 2022 · 1 comment
Assignees
Milestone

Comments

@gregdhill
Copy link
Member

gregdhill commented Sep 5, 2022

Integrate Zenlink's DEX module (docs).

Notes

No XCM integration for now, see: zenlinkpro/Zenlink-DEX-Module#36 (comment)

Standard AMM

  • Adopts the Uniswap v2 mechanism
  • Supports bootstrapping with incentives
  • Optional protocol fee

Root extrinsics:

  • set fee receiver
  • set fee point (maximum 0.3%)
  • create pair
  • bootstrap create

Stable AMM

  • Based on Curve v1 (StableSwap) model
  • Focuses on similarly priced assets
  • Minimizes impermanent loss and slippage
  • Supports multiple assets per pool

Root extrinsics:

  • create base / meta pool
  • set fee receiver
  • set swap fee
  • set admin fee
  • start / stop ramp (amplification co-efficient)

Resources

@nud3l
Copy link
Member

nud3l commented Jan 19, 2023

@gregdhill can this be closed?

@nud3l nud3l closed this as completed Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants