pancake-frontend icon indicating copy to clipboard operation
pancake-frontend copied to clipboard

feat: v4 sdk

Open ChefJerry opened this issue 11 months ago • 4 comments


PR-Codex overview

This PR introduces version 4 of the SDK with new constants, functions, tests, and configurations.

Detailed summary

  • Added version 4 of the SDK
  • Introduced new constants and functions
  • Added tests for functions
  • Updated configurations and types
  • Enhanced utility functions

The following files were skipped due to too many changes: packages/v4-sdk/src/poolKey.test.ts, packages/v4-sdk/src/utils/encodeHooksRegistration.ts, packages/v4-sdk/src/functions/bin/getFeeAmount.test.ts, packages/v4-sdk/src/utils/math/mulShift.ts, packages/v4-sdk/src/utils/encodePoolParameters.test.ts, packages/v3-sdk/src/functions/hasInvolvedToken.test.ts, packages/v4-sdk/src/functions/bin/getPriceFromId.ts, packages/v3-sdk/src/functions/getPoolAddress.ts, packages/v3-sdk/src/functions/getPriceOfToken.test.ts, packages/v4-sdk/src/poolKey.ts, packages/v4-sdk/src/utils/encodeHooksRegistration.test.ts, packages/v3-sdk/src/functions/getPoolAddress.test.ts, packages/v4-sdk/package.json, packages/v3-sdk/src/functions/getTokensPrice.test.ts, packages/v4-sdk/src/utils/encodePoolParameters.ts, packages/v4-sdk/src/utils/math/shiftDiv.ts, pnpm-lock.yaml, packages/v3-sdk/src/functions/getPool.ts, packages/v3-sdk/src/functions/getPool.test.ts, packages/v4-sdk/src/functions/bin/getAmounts.ts, packages/v4-sdk/src/utils/getAddLiquidityParameters.ts, packages/v4-sdk/src/functions/bin/getAmounts.test.ts, packages/v3-sdk/src/functions/swap.test.ts, packages/v4-sdk/src/utils/math/TreeMath.test.ts, packages/v4-sdk/src/utils/math/TreeMath.ts, packages/v3-sdk/src/functions/swap.ts, packages/v4-sdk/src/abis/CLPoolManager.ts, packages/v4-sdk/src/abis/BinPoolManager.ts

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

ChefJerry avatar Mar 23 '24 06:03 ChefJerry

⚠️ No Changeset found

Latest commit: dd9e66e42f5b2cb94a6f6a6fb3f926e1c5bfa184

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

changeset-bot[bot] avatar Mar 23 '24 06:03 changeset-bot[bot]

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

Name Status Preview Comments Updated (UTC)
aptos-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 18, 2024 10:23am
gamification ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 18, 2024 10:23am
web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 18, 2024 10:23am
4 Ignored Deployments
Name Status Preview Comments Updated (UTC)
blog ⬜️ Ignored (Inspect) Visit Preview Jun 18, 2024 10:23am
bridge ⬜️ Ignored (Inspect) Visit Preview Jun 18, 2024 10:23am
games ⬜️ Ignored (Inspect) Visit Preview Jun 18, 2024 10:23am
uikit ⬜️ Ignored (Inspect) Visit Preview Jun 18, 2024 10:23am

vercel[bot] avatar Mar 23 '24 06:03 vercel[bot]

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher

🚮 Removed packages: npm/[email protected]

View full report↗︎

socket-security[bot] avatar Mar 25 '24 05:03 socket-security[bot]

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

socket-security[bot] avatar Mar 25 '24 05:03 socket-security[bot]