-
Notifications
You must be signed in to change notification settings - Fork 106
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 contract astroport-pair-xyk-sale-tax #381
Conversation
Isn't this recently added feature does the same thing? astroport-core/contracts/pair/src/contract.rs Lines 695 to 718 in 6c753c4
|
Thanks for mentioning this, I wasn't aware of this change. However, this doesn't seem to allow us to accomplish what we want. There are a few differences:
|
Looks good - I have nothing to add. I hope that |
7f4339d
to
5764fa0
Compare
This reverts commit 313ff0b.
43c1b47
to
d691b35
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This contract is a copy of the standard XYK pair but adds a configurable tax on swaps.
After launching the APOLLO token, Apollo DAO will be submitting a proposal to migrate standard xyk pair to this contract. If the proposal passes, perhaps it makes sense to merge it into the main astroport-core repo.