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

feat: add more functionalities to the amm package #218

Merged
merged 7 commits into from
Mar 1, 2022
Merged

Conversation

hallazzang
Copy link
Contributor

@hallazzang hallazzang commented Feb 28, 2022

Description

This PR adds more functionalities to the amm package.

Tasks

  • Add Balances and PoolCoinSupply methods to amm.Pool interface
  • Add HighestPrice and LowestPrice methods to amm.OrderBook
  • Add String method to amm.OrderBook
  • Add amm.PoolsOrderBook function which is for simulating and visualizing pool orders.

@hallazzang hallazzang merged commit 83616a4 into main Mar 1, 2022
@jaybxyz jaybxyz deleted the improve-amm-pool branch October 27, 2022 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants