@skate-org/amm-evm-v2 0.4.1 → 1.0.0

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @skate-org/amm-evm-v2
2
2
 
3
+ ## 1.0.0 — 2026-05-04
4
+
5
+ Realigning all four `@skate-org/amm-*-v2` packages at a single version
6
+ for the coherent v1 SDK release. No source changes vs 0.4.1 — purely a
7
+ versioning realignment so the four packages move together going forward.
8
+
3
9
  ## 0.4.1 — 2026-04-29
4
10
 
5
11
  - Flip DEV MegaETH RPC default to `https://mainnet.megaeth.com/rpc` (the
package/README.md CHANGED
@@ -6,15 +6,17 @@ event-decoding framework.
6
6
 
7
7
  ## Surface
8
8
 
9
- - `createPublicClient(chain, mode?)` — viem `PublicClient` factory with
10
- Skate's RPC defaults baked in.
9
+ - `getKernelPublicClient(mode?)` / `getSourcePublicClient(chain, mode?)` —
10
+ viem `PublicClient` factories with Skate's RPC defaults baked in.
11
11
  - `createDevConfig({...})` — produces the DEV `{ mode, config }` tuple.
12
12
  - **Readers:** `readPool` (kernel side), `readPeripheryPool` (periphery
13
- side), `readPosition`.
14
- - **Math:** uniswap-v3 tick / sqrt-price helpers.
15
- - **Events:** `decodeKernel*`, `decodePeriphery*`, `watch*` subscription
16
- helpers.
17
- - **Submitters:** kernel + periphery action submission helpers.
13
+ 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
+ - **Events:** `parseKernelEventLog`, `parsePeripheryEventLog`,
18
+ `watchKernelEvents`, `watchPeripheryEvents`.
19
+ - **Submitters:** `submitAction`, `submitApproval`, `submitSwap`.
18
20
 
19
21
  ## Install
20
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skate-org/amm-evm-v2",
3
- "version": "0.4.1",
3
+ "version": "1.0.0",
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": "0.4.0"
29
+ "@skate-org/amm-core-v2": "1.0.0"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public",