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

Transmuter v2 #5

Closed
6 tasks done
iboss-ptk opened this issue Jun 16, 2023 · 0 comments
Closed
6 tasks done

Transmuter v2 #5

iboss-ptk opened this issue Jun 16, 2023 · 0 comments
Labels

Comments

@iboss-ptk
Copy link
Collaborator

iboss-ptk commented Jun 16, 2023

Background

At its core, transmuter is theoretically a constant sum AMM:

$k = p_0 \cdot x + y$ where the price $p_0 = 1$.

That means total pool shares $s = k$ and pool asset withdrawal is restricted by $s_1 = x_1 + y_1$.

But in return, providing $x_1$ or $y_1$ and getting $s_1$ can be viewed as a swap operation.

With that we can repurpose LP shares token as representation of a basket of coins and treat it as swappable asset so that there is no need to handle getting basket of coins representation separately from swap operation.

To ensure minimum level of risk exposure to any side of the underlying assets, the limits to the ratio of the underlying assets must be configurable.

Roadmap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant