@ilalv3/cli 0.2.14 → 0.2.15

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/README.md CHANGED
@@ -34,7 +34,7 @@ ilal status --wallet 0xc0807D4778a9E5FE15ad68A8500e64d65BA78D58
34
34
  ilal demo check --wallet 0xc0807D4778a9E5FE15ad68A8500e64d65BA78D58
35
35
 
36
36
  # 4. Execute a compliant swap with the seeded reviewer key
37
- PRIVATE_KEY=0x... ilal swap --amount-in 1 --token-in 0x3d5b92a8Cea5BBe1c6f63b73D69DA6457e6436E2 --min-amount-out 0
37
+ PRIVATE_KEY=0x... ilal swap --amount-in 1 --token-in 0x8C38061e31FB02df445576685975d85F01D8686d --min-amount-out 0
38
38
  ```
39
39
 
40
40
  For a fully seeded local/testnet demo, deploy mock EAS + demo pool pieces:
@@ -158,10 +158,10 @@ The CLI reads `.ilal.json` in the current directory. Run `ilal init` to create i
158
158
 
159
159
  ```bash
160
160
  ilal swap \
161
- --router 0x88125331f169aF4Dc81ADa6E8A189110566E457a \
162
- --hook 0x5f1de4376C7a59b5BBC5E5cd766D40995E9e4A80 \
161
+ --router 0xA571F7f41c8abC19F20ABAe648e26a75fbe1F434 \
162
+ --hook 0x4847B222d11938A70073292d97cDB98ff8D64a80 \
163
163
  --issuer 0x33541301e35d33eDf554c4DFba1e04d04FCc52F4 \
164
- --pool-id 0x8b6d21e53673584f192bdad8b65e2002e9e8eea730c62adad5ac1f4a084164a4 \
164
+ --pool-id 0x426925fe1ebecf2da7184f9749622ab1a4b8870c888d75da10332aee2080c86f \
165
165
  --amount-in 0.001
166
166
  ```
167
167
 
@@ -172,19 +172,19 @@ ilal swap \
172
172
  | CNFIssuer | `0x33541301e35d33eDf554c4DFba1e04d04FCc52F4` |
173
173
  | MockEAS | `0x6A98096DF6F54DBF40498dC5525d84AEA840663A` |
174
174
  | ZKVerifierAdapter | `0x9467ED8d962221e3C1865a387481B862B1b5bE95` |
175
- | ComplianceHook | `0x5f1de4376C7a59b5BBC5E5cd766D40995E9e4A80` |
176
- | ILALRouter | `0x88125331f169aF4Dc81ADa6E8A189110566E457a` |
175
+ | ComplianceHook | `0x4847B222d11938A70073292d97cDB98ff8D64a80` |
176
+ | ILALRouter | `0xA571F7f41c8abC19F20ABAe648e26a75fbe1F434` |
177
177
  | PolicyRegistry | `0x83d8111B415E97bA91eaAe717c2D9Ae6f0DD19d4` |
178
- | Currency0 / TOKA | `0x3d5b92a8Cea5BBe1c6f63b73D69DA6457e6436E2` |
179
- | Currency1 / TOKB | `0x6145F81e3691d991a4D2033FE25BeB140487B7Ee` |
180
- | Pool ID | `0x8b6d21e53673584f192bdad8b65e2002e9e8eea730c62adad5ac1f4a084164a4` |
178
+ | Currency0 / TOKA | `0x8C38061e31FB02df445576685975d85F01D8686d` |
179
+ | Currency1 / TOKB | `0xD0e6467D562829d215dB48CDfF4C289095D90B6B` |
180
+ | Pool ID | `0x426925fe1ebecf2da7184f9749622ab1a4b8870c888d75da10332aee2080c86f` |
181
181
 
182
182
  Live proof:
183
183
 
184
184
  - CNF ZK mint tx: `0xb9aa16c9604a575c8b2281cbfe9ba24fedbf205283a7b05638fbc413ed78de41`
185
- - Add liquidity tx: `0xc3dba6d488933e1568541ece17ce43307fb173eb747dff303f3631456eccb16a`
186
- - Swap tx: `0x360461d2a3c19acdc3ba125e55689679fcf809946d8a5092e833eb9e94b0f52f`
187
- - Router bypass fix verified: `ComplianceHook.authorizedRouter()` returns `0x88125331f169aF4Dc81ADa6E8A189110566E457a`
185
+ - Add liquidity tx: `0x1ffd6b1546b3f3846d8f86fc21ec059a83a02f23130390c1b9343733d3a9776f`
186
+ - Swap tx: `0x36427e232b323e4a8c310286d0312dbf1f4ecde86d58245a81713aafe4df0720`
187
+ - Router bypass fix verified: `ComplianceHook.authorizedRouter()` returns `0xA571F7f41c8abC19F20ABAe648e26a75fbe1F434`
188
188
 
189
189
  ## License
190
190
 
@@ -11,9 +11,9 @@ const POOL_MANAGER = {
11
11
  const SAMPLE = {
12
12
  wallet: "0xc0807D4778a9E5FE15ad68A8500e64d65BA78D58",
13
13
  issuer: "0x33541301e35d33eDf554c4DFba1e04d04FCc52F4",
14
- hook: "0x5f1de4376C7a59b5BBC5E5cd766D40995E9e4A80",
15
- router: "0x88125331f169aF4Dc81ADa6E8A189110566E457a",
16
- pool: "0x8b6d21e53673584f192bdad8b65e2002e9e8eea730c62adad5ac1f4a084164a4",
14
+ hook: "0x4847B222d11938A70073292d97cDB98ff8D64a80",
15
+ router: "0xA571F7f41c8abC19F20ABAe648e26a75fbe1F434",
16
+ pool: "0x426925fe1ebecf2da7184f9749622ab1a4b8870c888d75da10332aee2080c86f",
17
17
  proof: "0x91f2b8a0c43e902f7f1a8c0d",
18
18
  session: "0x6b84eac5e0db21f8d5d43b7a",
19
19
  };
@@ -11,13 +11,13 @@ import { fmt, log, header, die } from "../ui.js";
11
11
  const PRESETS = {
12
12
  "84532": {
13
13
  issuer: "0x33541301e35d33eDf554c4DFba1e04d04FCc52F4",
14
- hook: "0x5f1de4376C7a59b5BBC5E5cd766D40995E9e4A80",
14
+ hook: "0x4847B222d11938A70073292d97cDB98ff8D64a80",
15
15
  registry: "0x83d8111B415E97bA91eaAe717c2D9Ae6f0DD19d4",
16
- router: "0x88125331f169aF4Dc81ADa6E8A189110566E457a",
17
- treasury: "0x1804c8AB1F12E6bbf3894d4083f33e07309d1f38",
18
- tokenA: "0x3d5b92a8Cea5BBe1c6f63b73D69DA6457e6436E2",
19
- tokenB: "0x6145F81e3691d991a4D2033FE25BeB140487B7Ee",
20
- poolId: "0x8b6d21e53673584f192bdad8b65e2002e9e8eea730c62adad5ac1f4a084164a4",
16
+ router: "0xA571F7f41c8abC19F20ABAe648e26a75fbe1F434",
17
+ treasury: "0xc0807D4778a9E5FE15ad68A8500e64d65BA78D58",
18
+ tokenA: "0x8C38061e31FB02df445576685975d85F01D8686d",
19
+ tokenB: "0xD0e6467D562829d215dB48CDfF4C289095D90B6B",
20
+ poolId: "0x426925fe1ebecf2da7184f9749622ab1a4b8870c888d75da10332aee2080c86f",
21
21
  fee: "8388608",
22
22
  tickSpacing: "60",
23
23
  rpc: "https://sepolia.base.org",
@@ -9,7 +9,7 @@
9
9
  * Usage:
10
10
  * ilal pool add-liquidity \
11
11
  * --tick-lower -600 --tick-upper 600 \
12
- * --liquidity 1000000000000000000 \
12
+ * --liquidity 1000000000000 \
13
13
  * --router 0xROUTER --hook 0xHOOK --issuer 0xISSUER \
14
14
  * --pool-id 0xPOOLID --token-a 0xTOKA --token-b 0xTOKB
15
15
  */
@@ -9,7 +9,7 @@
9
9
  * Usage:
10
10
  * ilal pool add-liquidity \
11
11
  * --tick-lower -600 --tick-upper 600 \
12
- * --liquidity 1000000000000000000 \
12
+ * --liquidity 1000000000000 \
13
13
  * --router 0xROUTER --hook 0xHOOK --issuer 0xISSUER \
14
14
  * --pool-id 0xPOOLID --token-a 0xTOKA --token-b 0xTOKB
15
15
  */
package/dist/index.js CHANGED
@@ -19,7 +19,7 @@ const program = new Command();
19
19
  program
20
20
  .name("ilal")
21
21
  .description("ILAL Protocol CLI — Uniswap v4 compliance hook toolkit")
22
- .version("0.2.14")
22
+ .version("0.2.15")
23
23
  .addHelpText("before", `\n ${fmt.bold(fmt.cyan("◆"))} ${fmt.bold("ILAL Protocol")} ${fmt.gray("Uniswap v4 Compliance Hook")}\n`);
24
24
  // ─── init ─────────────────────────────────────────────────────────────────────
25
25
  program
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ilalv3/cli",
3
- "version": "0.2.14",
3
+ "version": "0.2.15",
4
4
  "description": "ILAL Protocol CLI — compliant swaps and credential management for Uniswap v4",
5
5
  "type": "module",
6
6
  "bin": {