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

Zero ex token lookup #18

Merged
merged 12 commits into from
Dec 1, 2021
Merged

Conversation

FlattestWhite
Copy link
Contributor

@FlattestWhite FlattestWhite commented Dec 1, 2021

I admit I went on a bit of a tangent refactoring some of the typescript.

However, to get the max trade size, I've done a looping call to 0x to find trades until the price slippage is above the max slippage percent in 1 eth increments.

@0xModene 0xModene merged commit 228601d into IndexCoop:main Dec 1, 2021
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