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

Ignore slippage for settlements with ERC404 tokens #341

Merged
merged 6 commits into from
Feb 13, 2024
Merged

Ignore slippage for settlements with ERC404 tokens #341

merged 6 commits into from
Feb 13, 2024

Conversation

fhenneke
Copy link
Collaborator

@fhenneke fhenneke commented Feb 12, 2024

This PR addresses #340 by explicitly excluding settlements from slippage which trade the ERC404 tokens 404, Pandora, Monarch, and Rug. No other ERC404 tokens seem to have been traded on CoW Protocol until all of them were blocked in the backend.

no other token seems to have been traded via cow protocol
@fhenneke fhenneke changed the title Fix for PANDORA token Ignore slippage for settlements with ERC404 tokens Feb 12, 2024
@fhenneke fhenneke marked this pull request as ready for review February 12, 2024 14:03
@fhenneke fhenneke requested a review from harisang February 12, 2024 14:03
or 0x6C061D18D2b5bbfBe8a8D1EEB9ee27eFD544cC5D in (buy_token, sell_token) -- exclude MNRCH
or 0xbE33F57f41a20b2f00DEc91DcC1169597f36221F in (buy_token, sell_token) -- exclude Rug
or 0x938403C5427113C67b1604d3B407D995223C2B78 in (buy_token, sell_token) -- exclude OOZ
)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
)
or 0x54832d8724f8581e7Cc0914b3A4e70aDC0D94872 in (buy_token, sell_token) -- exclude DN404
)

Copy link
Contributor

Choose a reason for hiding this comment

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

one more such token (hope i didn't mess with the spacing)

@harisang
Copy link
Contributor

Looks good!

@fhenneke fhenneke merged commit 5aae18b into main Feb 13, 2024
6 checks passed
@fhenneke fhenneke deleted the erc_404 branch February 13, 2024 09:05
@github-actions github-actions bot locked and limited conversation to collaborators Feb 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants