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(v3-sdk): support for swaprouter02 without deadline #196

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

karcreativeworks
Copy link

Description

This PR solves the issue mention by issue #28 - it constructs the correct swapCallParameters based on the passed in swapRouterType, making deadline optional, This PR does not break the support for the original SwapRouter as well. With many apps depending on base swaps, and in base chain deployments, the swaprouter02 is the only contract that's supported, so this is high priority for some of us.

How Has This Been Tested?

Manually tested

Are there any breaking changes?

No breaking changes (only added new typescript files that doesn't effect any of the previous versions)

(Optional) Feedback Focus

  • I am not sure if my enum decleration in this file is corect/incorrect.
  • A more thorough testing would be good (I only tested with swaprouter02)

(Optional) Follow Ups

Nothing of such

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.

1 participant