@skate-org/amm-evm-v2 2.0.0-alpha.2 → 2.0.0-alpha.3
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 +6 -0
- package/README.md +8 -5
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @skate-org/amm-evm-v2
|
|
2
2
|
|
|
3
|
+
## 2.0.0-alpha.3 — 2026-05-06
|
|
4
|
+
|
|
5
|
+
Lockstep bump — paired with the SVM/Sui efficiency pass in
|
|
6
|
+
`@skate-org/amm-svm-v2` and `@skate-org/amm-sui-v2`. This package's
|
|
7
|
+
source is unchanged versus `2.0.0-alpha.2`.
|
|
8
|
+
|
|
3
9
|
## 2.0.0-alpha.2 — 2026-05-05
|
|
4
10
|
|
|
5
11
|
Plan C of the SVM/Sui integration. Adds `@skate-org/amm-sui-v2` to
|
package/README.md
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
# @skate-org/amm-evm-v2
|
|
2
2
|
|
|
3
3
|
EVM clients for the Skate AMM v2 SDK: viem chain definitions, kernel +
|
|
4
|
-
periphery readers,
|
|
5
|
-
|
|
4
|
+
periphery readers, action submitters, and the event-decoding framework.
|
|
5
|
+
|
|
6
|
+
> Uniswap-v3 math (`getSqrtRatioAtTick`, `getTickAtSqrtRatio`,
|
|
7
|
+
> `MIN_TICK`/`MAX_TICK`, `mulDiv`, `getAmount0Delta`, `computePositionAmounts`,
|
|
8
|
+
> …) lives in [`@skate-org/amm-core-v2`](../core/README.md) since
|
|
9
|
+
> `2.0.0-alpha.0` — SVM/Sui peripheries needed it too. Function names
|
|
10
|
+
> are unchanged; import from `core` (or via the umbrella).
|
|
6
11
|
|
|
7
12
|
## Surface
|
|
8
13
|
|
|
@@ -11,12 +16,10 @@ event-decoding framework.
|
|
|
11
16
|
- `createDevConfig({...})` — produces the DEV `{ mode, config }` tuple.
|
|
12
17
|
- **Readers:** `readPool` (kernel side), `readPeripheryPool` (periphery
|
|
13
18
|
side), `readPosition`, `readTick`, `readTickBitmap`, `readUserPoolBalances`.
|
|
14
|
-
- **Math:** uniswap-v3 tick + sqrt-price helpers (`getSqrtRatioAtTick`,
|
|
15
|
-
`getTickAtSqrtRatio`, `MIN_TICK`/`MAX_TICK`, `MIN_SQRT_RATIO`/`MAX_SQRT_RATIO`,
|
|
16
|
-
`mulDiv`, `getAmount0Delta`, `getAmount1Delta`, `computePositionAmounts`).
|
|
17
19
|
- **Events:** `parseKernelEventLog`, `parsePeripheryEventLog`,
|
|
18
20
|
`watchKernelEvents`, `watchPeripheryEvents`.
|
|
19
21
|
- **Submitters:** `submitAction`, `submitApproval`, `submitSwap`.
|
|
22
|
+
- **Errors:** `EvmReadError`, `EvmWriteError` (both extend `SdkError`).
|
|
20
23
|
|
|
21
24
|
## Install
|
|
22
25
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skate-org/amm-evm-v2",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.3",
|
|
4
4
|
"description": "Skate AMM v2 SDK — EVM clients, kernel/periphery readers, uniswap-v3 math, submitters",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@skate-org/amm-bindings": "^1.0.0",
|
|
28
28
|
"viem": "^2.21.0",
|
|
29
|
-
"@skate-org/amm-core-v2": "2.0.0-alpha.
|
|
29
|
+
"@skate-org/amm-core-v2": "2.0.0-alpha.3"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public",
|