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

Simplify Liquidity pool #358

Merged
merged 4 commits into from
Jan 20, 2025
Merged

Conversation

tomerweller
Copy link
Contributor

@tomerweller tomerweller commented Jan 19, 2025

Update dependencies, remove canonical asset order, remove shares token contract
Close #357

Copy link
Member

@leighmcculloch leighmcculloch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, one concern inline.

Also, the advantage of the shares being a token is they can then be traded or moved as well, otherwise the shares are stuck as owned by a particular address. Hmm.

liquidity_pool/src/lib.rs Show resolved Hide resolved
@leighmcculloch leighmcculloch merged commit dd1c3a5 into stellar:main Jan 20, 2025
103 checks passed
@tomerweller
Copy link
Contributor Author

@leighmcculloch sorry I missed your top level comment. Having pool shares represented as fungible transferable tokens is not a hard requirement for a liquidity pool. For example stellar's canonical AMM pool shares are not transferable and uniswap v3 represents positions as NFTs, not fungible tokens

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

Successfully merging this pull request may close these issues.

simplify liquidity pool
2 participants