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: paraswap v6 actions #658

Merged
merged 25 commits into from
Mar 21, 2025
Merged

feat: paraswap v6 actions #658

merged 25 commits into from
Mar 21, 2025

Conversation

gabrocheleau
Copy link
Member

@gabrocheleau gabrocheleau commented Feb 13, 2025

This PR adds ParaSwapV6 actions.


PR-Codex overview

This PR focuses on integrating ParaSwapV6 into the project, enhancing the existing functionality to support this new version alongside ParaSwapV5. It includes updates to various files to accommodate the new adapter and its related functionalities.

Detailed summary

  • Added PARASWAP_V6 constant in packages/environment/src/exchanges.ts.
  • Introduced ParaSwapV6Adapter address in multiple deployment files.
  • Exported ParaSwapV6 integration in packages/sdk/src/Portfolio/Integrations.ts.
  • Created new ParaSwapV6.ts file with encoding/decoding functions for swap actions.
  • Defined actions for SwapExactAmountIn and SwapExactAmountOut in ParaSwapV6.ts.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

pkg-pr-new bot commented Feb 13, 2025

Open in Stackblitz

pnpm add https://pkg.pr.new/@enzymefinance/abis@658
pnpm add https://pkg.pr.new/@enzymefinance/api@658
pnpm add https://pkg.pr.new/@enzymefinance/environment@658
pnpm add https://pkg.pr.new/@enzymefinance/sdk@658

commit: a648790

Copy link

changeset-bot bot commented Feb 19, 2025

🦋 Changeset detected

Latest commit: a648790

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@enzymefinance/environment Patch
@enzymefinance/sdk Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@gabrocheleau gabrocheleau marked this pull request as ready for review March 18, 2025 01:57
KedziaPawel
KedziaPawel previously approved these changes Mar 19, 2025
@KedziaPawel KedziaPawel merged commit 4a06def into main Mar 21, 2025
11 checks passed
@KedziaPawel KedziaPawel deleted the feat/paraswapv6-actions branch March 21, 2025 07:50
@pr-codex pr-codex bot mentioned this pull request Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants