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

TP-1649: Refactor DEX amounts #1008

Merged
merged 2 commits into from
Oct 17, 2023
Merged

Conversation

keithbro-imx
Copy link
Contributor

@keithbro-imx keithbro-imx commented Oct 17, 2023

This branch #1000, has gotten very large, so this PR is to make a smaller change first.

The main change here is to make the Amount type generic so that it can be an ERC20 amount, or a Native amount. For now, everything is an ERC20 amount, but in the next PRs we'll bring in the Native amounts (used for Gas and for native swaps).

There should be no logic changes here, only refactoring.

@keithbro-imx keithbro-imx changed the title TP-1649: Refactor amounts TP-1649: Refactor DEX amounts Oct 17, 2023
@keithbro-imx keithbro-imx marked this pull request as ready for review October 17, 2023 20:28
@keithbro-imx keithbro-imx requested a review from a team as a code owner October 17, 2023 20:28
@keithbro-imx keithbro-imx merged commit 6eba542 into main Oct 17, 2023
6 checks passed
@keithbro-imx keithbro-imx deleted the task/TP-1649-refactor-amounts branch October 17, 2023 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants