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: for taker fee, search for route with dym to swap and burn #25

Conversation

mtsitrin
Copy link
Collaborator

No description provided.

@omritoptix omritoptix changed the title feature: for taker fee, search for route with dym to swap and burn feat: for taker fee, search for route with dym to swap and burn Nov 27, 2023
Copy link
Collaborator

@omritoptix omritoptix left a comment

Choose a reason for hiding this comment

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

is the new extra potential fee from swapping the taker fee to DYM is calculated in the estimation functions for calculating the end amount for the users ?
I believe they are called 'CalcOutAmtGivenIn` and vice versa.

didn't see it here.

x/gamm/keeper/taker_fee.go Outdated Show resolved Hide resolved
x/gamm/keeper/taker_fee.go Show resolved Hide resolved
x/gamm/keeper/taker_fee.go Show resolved Hide resolved
x/gamm/keeper/taker_fee.go Show resolved Hide resolved
x/gamm/keeper/taker_fee.go Outdated Show resolved Hide resolved
@mtsitrin mtsitrin merged commit 5b8fffc into 13-implement-auto-swap-and-burn-for-taker-fee Nov 29, 2023
@mtsitrin mtsitrin deleted the 24-for-taker-fee-search-for-route-with-dym branch November 29, 2023 11:26
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.

2 participants