@skate-org/amm-core-v2 2.0.0-alpha.2 → 2.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +7 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @skate-org/amm-core-v2
|
|
2
2
|
|
|
3
|
+
## 2.0.0-alpha.4 — 2026-05-06
|
|
4
|
+
|
|
5
|
+
Lockstep bump — paired with the `SwapQuote` schema fix in
|
|
6
|
+
`@skate-org/amm-api-v2`. This package's source is unchanged versus
|
|
7
|
+
`2.0.0-alpha.3`.
|
|
8
|
+
|
|
9
|
+
## 2.0.0-alpha.3 — 2026-05-06
|
|
10
|
+
|
|
11
|
+
Lockstep bump — paired with the SVM/Sui efficiency pass in
|
|
12
|
+
`@skate-org/amm-svm-v2` and `@skate-org/amm-sui-v2`. This package's
|
|
13
|
+
source is unchanged versus `2.0.0-alpha.2`.
|
|
14
|
+
|
|
3
15
|
## 2.0.0-alpha.2 — 2026-05-05
|
|
4
16
|
|
|
5
17
|
Plan C of the SVM/Sui integration. Adds `@skate-org/amm-sui-v2` to
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Zero heavy runtime deps. Pure TypeScript.
|
|
|
7
7
|
|
|
8
8
|
## Surface (high-level)
|
|
9
9
|
|
|
10
|
-
- `CHAIN`, `VM`, `vmTypeFromChain`, `getBlockExplorer`
|
|
10
|
+
- `CHAIN`, `VM`, `EvmChain` / `SvmChain` / `SuiChain`, `vmTypeFromChain`, `getBlockExplorer`
|
|
11
11
|
- `EnvMode`, `DevModeConfig`, `EnvModeWithConfig`, `normalizeMode`
|
|
12
12
|
- `Token`, `TokenPair`
|
|
13
13
|
- `ActionStatus`, `TaskPhase`, `TaskFunctionMeta`
|
|
@@ -15,6 +15,9 @@ Zero heavy runtime deps. Pure TypeScript.
|
|
|
15
15
|
- Periphery deployment: `PERIPHERY_DEV`, `PeripheryManagerAddress`,
|
|
16
16
|
`PeripheryEventEmitterAddress`, `SkateGatewayAddress`, `ActionBoxAddress`
|
|
17
17
|
- Pool tables: `POOL_INFO_Dev`, `POOL_INFO_Staging`, `POOL_INFO_Production`
|
|
18
|
+
- Periphery info types: `EvmPeripheryInfo`, `SvmPeripheryInfo`, `SuiPeripheryInfo`, `PeripheryInfoFor<K>`
|
|
19
|
+
- Uniswap-v3 math: `getSqrtRatioAtTick`, `getTickAtSqrtRatio`, `MIN_TICK` / `MAX_TICK`, `MIN_SQRT_RATIO` / `MAX_SQRT_RATIO`, `MIN_SQRT_PRICE_LIMIT` / `MAX_SQRT_PRICE_LIMIT`, `mulDiv`, `getAmount0Delta`, `getAmount1Delta`, `computePositionAmounts`
|
|
20
|
+
- Cross-VM adapter: `base58ToBytes32`, `evmAddressToBytes32`, `bytes32ToBase58`, `toBytes32Address`, `fromBytes32Address`
|
|
18
21
|
- Errors: `SdkError` (base for all package errors)
|
|
19
22
|
|
|
20
23
|
## Install
|
|
@@ -26,7 +29,9 @@ pnpm add @skate-org/amm-core-v2
|
|
|
26
29
|
## Companion packages
|
|
27
30
|
|
|
28
31
|
- [`@skate-org/amm-api-v2`](https://npmjs.com/package/@skate-org/amm-api-v2) — REST clients
|
|
29
|
-
- [`@skate-org/amm-evm-v2`](https://npmjs.com/package/@skate-org/amm-evm-v2) — viem clients, readers,
|
|
32
|
+
- [`@skate-org/amm-evm-v2`](https://npmjs.com/package/@skate-org/amm-evm-v2) — viem clients, readers, submitters
|
|
33
|
+
- [`@skate-org/amm-svm-v2`](https://npmjs.com/package/@skate-org/amm-svm-v2) — Solana / Eclipse periphery
|
|
34
|
+
- [`@skate-org/amm-sui-v2`](https://npmjs.com/package/@skate-org/amm-sui-v2) — Sui periphery
|
|
30
35
|
- [`@skate-org/amm-v2`](https://npmjs.com/package/@skate-org/amm-v2) — umbrella
|
|
31
36
|
|
|
32
37
|
See `CHANGELOG.md` for version history.
|