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 collection for assets that free from fees #46

Merged
merged 2 commits into from
Dec 12, 2024

Conversation

shoom3301
Copy link
Contributor

A new collection which contains a list of assets that should be free from volume fee in CoW Swap

image image image

Add settings in CMS (staging and prod)

  • One or two (comma separated) token ids. If one, then this token will be free from fees in any trade. If two, then only this specific pair will be free from fees. - description to tokenIds field in view settings
  • find permission to Public role
image

Copy link
Contributor

@alfetopito alfetopito left a comment

Choose a reason for hiding this comment

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

One thing that's still not clear to me.
Here I only see individual assets, but no indication of pairs/groups of tokens.

The current implementation makes stable-stable trades free.

Will it change with this version, where if one of the tokens (buy or sell) includes any token from this collection, the trade will be fee free?

@shoom3301
Copy link
Contributor Author

Here I only see individual assets, but no indication of pairs/groups of tokens.

@alfetopito tokenIds might contain two token address separated by comma, so you can specify a rule for a specific pair.
See "Add settings in CMS (staging and prod)" in the PR description.

image

@shoom3301 shoom3301 merged commit 3db8cd7 into main Dec 12, 2024
3 checks passed
@alfetopito alfetopito deleted the feat/tax-free-assets1 branch December 13, 2024 11:48
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