pancake-frontend
pancake-frontend copied to clipboard
feat: v4 sdk
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}
⚠️ 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
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 |
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
Package | New capabilities | Transitives | Size | Publisher |
---|
🚮 Removed packages: npm/[email protected]
👍 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.