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: permit2 swaps #89

Merged
merged 41 commits into from
Nov 6, 2024
Merged

feat: permit2 swaps #89

merged 41 commits into from
Nov 6, 2024

Conversation

agualis
Copy link
Collaborator

@agualis agualis commented Oct 21, 2024

Implements v3 swaps with permit2

v3 swap works as expected (testing with dai-aave and usdc-aave which are the only standard tokens with v3 liquidity after the 10th deployment):
https://mono-test-v3-git-feat-permit2swaps-balancer.vercel.app/swap/sepolia/0xff34b3d4aee8ddcd6f9afffb6fe49bd371b8a357/0x94a9d9ac8a22534e3faca9f4e7f2e2cf85d5e4c8

swap.mp4

v3 pool swap works as expected:
https://mono-test-v3-git-feat-permit2swaps-balancer.vercel.app/pools/sepolia/v3/0xfd882a11cf794ce28b6c9952192f117cca2d2733/swap

However, some random tx simulation errors were found in the first case with some wallets/accounts. I don't fully understand the root cause yet.

Copy link

vercel bot commented Oct 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mono-beets-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 4:29pm
mono-frontend-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 4:29pm
mono-test-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 4:29pm

Copy link
Contributor

@garethfuller garethfuller left a comment

Choose a reason for hiding this comment

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

Tried to do a v2 swap on gnosis.
Screenshot 2024-11-05 at 15 22 56

@agualis
Copy link
Collaborator Author

agualis commented Nov 5, 2024

Tried to do a v2 swap on gnosis.

Fixed after SDK fix + bump.

@agualis agualis merged commit 83320d8 into main Nov 6, 2024
8 checks passed
@agualis agualis deleted the feat/permit2Swaps branch November 6, 2024 11:28
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