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

perf(v3-sdk): refactor fromRoute(s) for clarity and efficiency #214

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

Conversation

shuhuiluo
Copy link
Contributor

Description

Simplify the fromRoute and fromRoutes methods by reducing redundant code. Utilize a more concise approach to calculating input and output amounts, enhancing both clarity and efficiency.

How Has This Been Tested?

Unit tests.

Are there any breaking changes?

No.

Same as #184 but for V3.

Simplify the `fromRoute` and `fromRoutes` methods by reducing redundant code. Utilize a more concise approach to calculating input and output amounts, enhancing both clarity and efficiency.
@shuhuiluo shuhuiluo requested review from jsy1218 and a team as code owners December 10, 2024 03:32
@shuhuiluo
Copy link
Contributor Author

@ewilz Please take a look. Thanks.

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