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): add insufficient liquidity handling #189

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

Conversation

shuhuiluo
Copy link
Contributor

@shuhuiluo shuhuiluo commented Nov 4, 2024

Description

Improved insufficient liquidity error handling by updating error checks and throw conditions. Modified return values in v3Swap to include amountSpecifiedRemaining and made necessary adjustments in pool and trade logic to reflect these changes.

How Has This Been Tested?

Unit tests.

Are there any breaking changes?

No.

@shuhuiluo shuhuiluo requested review from jsy1218 and a team as code owners November 4, 2024 03:49
Improved insufficient liquidity error handling by updating error checks and throw conditions. Modified return values in `v3Swap` to include `amountSpecifiedRemaining` and made necessary adjustments in pool and trade logic to reflect these changes.
@shuhuiluo shuhuiluo force-pushed the insufficient-liquidity branch from 5fa79bc to 9168b71 Compare December 10, 2024 03:38
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