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 AMM #604

Merged
merged 104 commits into from
Mar 13, 2023
Merged

Feat AMM #604

merged 104 commits into from
Mar 13, 2023

Conversation

peterslany
Copy link
Contributor

Merge AMM branch back into master.

peterslany and others added 30 commits January 13, 2023 14:09
Copy link
Contributor

@bvotteler bvotteler left a comment

Choose a reason for hiding this comment

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

Looking good for the most part. Left comments on the points needing clarification.

Expecting quite a few changes around the tests in particular once master is merged back in.

package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
scripts/docker-setup.sh Outdated Show resolved Hide resolved
src/parachain/amm.ts Outdated Show resolved Hide resolved
src/parachain/amm/liquidity-pool/stable.ts Outdated Show resolved Hide resolved
src/utils/loans.ts Outdated Show resolved Hide resolved
test/unit/parachain/loans.test.ts Show resolved Hide resolved
test/unit/utils/rewards.test.ts Outdated Show resolved Hide resolved
Copy link
Member

@gregdhill gregdhill left a comment

Choose a reason for hiding this comment

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

We should be able to remove most of the path finding code once this is merged: interlay/interbtc#944

test/utils/helpers.ts Outdated Show resolved Hide resolved
src/parachain/amm/liquidity-pool/stable.ts Outdated Show resolved Hide resolved
src/parachain/loans.ts Outdated Show resolved Hide resolved
src/parachain/amm.ts Show resolved Hide resolved
src/utils/currency.ts Show resolved Hide resolved
Copy link
Contributor

@bvotteler bvotteler left a comment

Choose a reason for hiding this comment

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

LGTM, just a few smaller things to clarify.

package.json Outdated Show resolved Hide resolved
src/parachain/rewards.ts Show resolved Hide resolved
src/utils/constants.ts Show resolved Hide resolved
src/utils/currency.ts Show resolved Hide resolved
src/utils/rewards.ts Show resolved Hide resolved
test/utils/helpers.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@bvotteler bvotteler left a comment

Choose a reason for hiding this comment

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

LGTM

@peterslany peterslany merged commit f7bfaf3 into master Mar 13, 2023
@peterslany peterslany deleted the wip-feat-amm branch March 13, 2023 14:01
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.

4 participants