timelock-sdk 0.0.224 → 0.0.225

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.
Files changed (35) hide show
  1. package/dist/abis.cjs +2 -2
  2. package/dist/abis.d.cts +29 -64
  3. package/dist/abis.d.ts +29 -64
  4. package/dist/abis.js +2 -2
  5. package/dist/{client-CG9VVmD0.d.ts → client-BOskuGZl.d.ts} +1524 -1416
  6. package/dist/{client-CK9aedZo.d.cts → client-CCAw05rc.d.cts} +1150 -1042
  7. package/dist/client.cjs +27 -16
  8. package/dist/client.cjs.map +1 -1
  9. package/dist/client.d.cts +1 -1
  10. package/dist/client.d.ts +1 -1
  11. package/dist/client.js +27 -16
  12. package/dist/client.js.map +1 -1
  13. package/dist/{factory-BieDxxUI.cjs → factory-5hUk9F0p.cjs} +36 -73
  14. package/dist/factory-5hUk9F0p.cjs.map +1 -0
  15. package/dist/{factory-DvHmRBSB.js → factory-CXe8NCiA.js} +36 -73
  16. package/dist/factory-CXe8NCiA.js.map +1 -0
  17. package/dist/{numberUtils-BLcam8Oj.js → numberUtils-BF8h4LSR.js} +2 -2
  18. package/dist/{numberUtils-BLcam8Oj.js.map → numberUtils-BF8h4LSR.js.map} +1 -1
  19. package/dist/{numberUtils-DBTO6RnN.cjs → numberUtils-C0_WGucy.cjs} +2 -2
  20. package/dist/{numberUtils-DBTO6RnN.cjs.map → numberUtils-C0_WGucy.cjs.map} +1 -1
  21. package/dist/{optionsMarket-BVeFBAO9.d.ts → optionsMarket-BJ5yd9f4.d.ts} +40 -6
  22. package/dist/{optionsMarket-jE1scXOT.d.cts → optionsMarket-KIMd3Z6j.d.cts} +40 -6
  23. package/dist/package.cjs +1 -1
  24. package/dist/package.d.cts +1 -1
  25. package/dist/package.d.ts +1 -1
  26. package/dist/package.js +1 -1
  27. package/dist/{stateView-CTxn1FU9.js → stateView-DoaDqQvV.js} +74 -27
  28. package/dist/stateView-DoaDqQvV.js.map +1 -0
  29. package/dist/{stateView-DDWWrKZQ.cjs → stateView-JuZJZnse.cjs} +74 -27
  30. package/dist/stateView-JuZJZnse.cjs.map +1 -0
  31. package/package.json +2 -2
  32. package/dist/factory-BieDxxUI.cjs.map +0 -1
  33. package/dist/factory-DvHmRBSB.js.map +0 -1
  34. package/dist/stateView-CTxn1FU9.js.map +0 -1
  35. package/dist/stateView-DDWWrKZQ.cjs.map +0 -1
package/dist/abis.cjs CHANGED
@@ -1,5 +1,5 @@
1
- const require_stateView = require('./stateView-DDWWrKZQ.cjs');
2
- const require_factory = require('./factory-BieDxxUI.cjs');
1
+ const require_stateView = require('./stateView-JuZJZnse.cjs');
2
+ const require_factory = require('./factory-5hUk9F0p.cjs');
3
3
 
4
4
  //#region src/abis/poolManager.ts
5
5
  const poolManagerAbi = [
package/dist/abis.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-jE1scXOT.cjs";
1
+ import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-KIMd3Z6j.cjs";
2
2
 
3
3
  //#region src/abis/erc20.d.ts
4
4
  declare const erc20Abi: readonly [{
@@ -1926,25 +1926,30 @@ declare const singleOwnerVaultAbi: readonly [{
1926
1926
  readonly type: "address";
1927
1927
  readonly internalType: "contract IPoolManager";
1928
1928
  }, {
1929
- readonly name: "token0_";
1930
- readonly type: "address";
1931
- readonly internalType: "contract IERC20";
1932
- }, {
1933
- readonly name: "token1_";
1934
- readonly type: "address";
1935
- readonly internalType: "contract IERC20";
1936
- }, {
1937
- readonly name: "poolFee_";
1938
- readonly type: "uint24";
1939
- readonly internalType: "uint24";
1940
- }, {
1941
- readonly name: "tickSpacing_";
1942
- readonly type: "int24";
1943
- readonly internalType: "int24";
1944
- }, {
1945
- readonly name: "hooks_";
1946
- readonly type: "address";
1947
- readonly internalType: "contract IHooks";
1929
+ readonly name: "poolKey_";
1930
+ readonly type: "tuple";
1931
+ readonly internalType: "struct PoolKey";
1932
+ readonly components: readonly [{
1933
+ readonly name: "currency0";
1934
+ readonly type: "address";
1935
+ readonly internalType: "Currency";
1936
+ }, {
1937
+ readonly name: "currency1";
1938
+ readonly type: "address";
1939
+ readonly internalType: "Currency";
1940
+ }, {
1941
+ readonly name: "fee";
1942
+ readonly type: "uint24";
1943
+ readonly internalType: "uint24";
1944
+ }, {
1945
+ readonly name: "tickSpacing";
1946
+ readonly type: "int24";
1947
+ readonly internalType: "int24";
1948
+ }, {
1949
+ readonly name: "hooks";
1950
+ readonly type: "address";
1951
+ readonly internalType: "contract IHooks";
1952
+ }];
1948
1953
  }, {
1949
1954
  readonly name: "owner_";
1950
1955
  readonly type: "address";
@@ -2254,16 +2259,6 @@ declare const singleOwnerVaultAbi: readonly [{
2254
2259
  readonly internalType: "int24";
2255
2260
  }];
2256
2261
  readonly stateMutability: "view";
2257
- }, {
2258
- readonly type: "function";
2259
- readonly name: "hooks";
2260
- readonly inputs: readonly [];
2261
- readonly outputs: readonly [{
2262
- readonly name: "";
2263
- readonly type: "address";
2264
- readonly internalType: "contract IHooks";
2265
- }];
2266
- readonly stateMutability: "view";
2267
2262
  }, {
2268
2263
  readonly type: "function";
2269
2264
  readonly name: "lowestTick";
@@ -2338,16 +2333,6 @@ declare const singleOwnerVaultAbi: readonly [{
2338
2333
  readonly internalType: "bytes[]";
2339
2334
  }];
2340
2335
  readonly stateMutability: "nonpayable";
2341
- }, {
2342
- readonly type: "function";
2343
- readonly name: "poolFee";
2344
- readonly inputs: readonly [];
2345
- readonly outputs: readonly [{
2346
- readonly name: "";
2347
- readonly type: "uint24";
2348
- readonly internalType: "uint24";
2349
- }];
2350
- readonly stateMutability: "view";
2351
2336
  }, {
2352
2337
  readonly type: "function";
2353
2338
  readonly name: "poolKey";
@@ -2507,26 +2492,6 @@ declare const singleOwnerVaultAbi: readonly [{
2507
2492
  readonly internalType: "int24";
2508
2493
  }];
2509
2494
  readonly stateMutability: "view";
2510
- }, {
2511
- readonly type: "function";
2512
- readonly name: "token0";
2513
- readonly inputs: readonly [];
2514
- readonly outputs: readonly [{
2515
- readonly name: "";
2516
- readonly type: "address";
2517
- readonly internalType: "contract IERC20";
2518
- }];
2519
- readonly stateMutability: "view";
2520
- }, {
2521
- readonly type: "function";
2522
- readonly name: "token1";
2523
- readonly inputs: readonly [];
2524
- readonly outputs: readonly [{
2525
- readonly name: "";
2526
- readonly type: "address";
2527
- readonly internalType: "contract IERC20";
2528
- }];
2529
- readonly stateMutability: "view";
2530
2495
  }, {
2531
2496
  readonly type: "function";
2532
2497
  readonly name: "unlockCallback";
@@ -2849,6 +2814,10 @@ declare const singleOwnerVaultAbi: readonly [{
2849
2814
  readonly type: "uint8";
2850
2815
  readonly internalType: "uint8";
2851
2816
  }];
2817
+ }, {
2818
+ readonly type: "error";
2819
+ readonly name: "InvalidPoolKey";
2820
+ readonly inputs: readonly [];
2852
2821
  }, {
2853
2822
  readonly type: "error";
2854
2823
  readonly name: "InvalidRefTick";
@@ -2869,10 +2838,6 @@ declare const singleOwnerVaultAbi: readonly [{
2869
2838
  readonly type: "int24";
2870
2839
  readonly internalType: "int24";
2871
2840
  }];
2872
- }, {
2873
- readonly type: "error";
2874
- readonly name: "InvalidTickSpacing";
2875
- readonly inputs: readonly [];
2876
2841
  }, {
2877
2842
  readonly type: "error";
2878
2843
  readonly name: "MintTooLarge";
package/dist/abis.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-BVeFBAO9.js";
1
+ import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-BJ5yd9f4.js";
2
2
 
3
3
  //#region src/abis/erc20.d.ts
4
4
  declare const erc20Abi: readonly [{
@@ -1926,25 +1926,30 @@ declare const singleOwnerVaultAbi: readonly [{
1926
1926
  readonly type: "address";
1927
1927
  readonly internalType: "contract IPoolManager";
1928
1928
  }, {
1929
- readonly name: "token0_";
1930
- readonly type: "address";
1931
- readonly internalType: "contract IERC20";
1932
- }, {
1933
- readonly name: "token1_";
1934
- readonly type: "address";
1935
- readonly internalType: "contract IERC20";
1936
- }, {
1937
- readonly name: "poolFee_";
1938
- readonly type: "uint24";
1939
- readonly internalType: "uint24";
1940
- }, {
1941
- readonly name: "tickSpacing_";
1942
- readonly type: "int24";
1943
- readonly internalType: "int24";
1944
- }, {
1945
- readonly name: "hooks_";
1946
- readonly type: "address";
1947
- readonly internalType: "contract IHooks";
1929
+ readonly name: "poolKey_";
1930
+ readonly type: "tuple";
1931
+ readonly internalType: "struct PoolKey";
1932
+ readonly components: readonly [{
1933
+ readonly name: "currency0";
1934
+ readonly type: "address";
1935
+ readonly internalType: "Currency";
1936
+ }, {
1937
+ readonly name: "currency1";
1938
+ readonly type: "address";
1939
+ readonly internalType: "Currency";
1940
+ }, {
1941
+ readonly name: "fee";
1942
+ readonly type: "uint24";
1943
+ readonly internalType: "uint24";
1944
+ }, {
1945
+ readonly name: "tickSpacing";
1946
+ readonly type: "int24";
1947
+ readonly internalType: "int24";
1948
+ }, {
1949
+ readonly name: "hooks";
1950
+ readonly type: "address";
1951
+ readonly internalType: "contract IHooks";
1952
+ }];
1948
1953
  }, {
1949
1954
  readonly name: "owner_";
1950
1955
  readonly type: "address";
@@ -2254,16 +2259,6 @@ declare const singleOwnerVaultAbi: readonly [{
2254
2259
  readonly internalType: "int24";
2255
2260
  }];
2256
2261
  readonly stateMutability: "view";
2257
- }, {
2258
- readonly type: "function";
2259
- readonly name: "hooks";
2260
- readonly inputs: readonly [];
2261
- readonly outputs: readonly [{
2262
- readonly name: "";
2263
- readonly type: "address";
2264
- readonly internalType: "contract IHooks";
2265
- }];
2266
- readonly stateMutability: "view";
2267
2262
  }, {
2268
2263
  readonly type: "function";
2269
2264
  readonly name: "lowestTick";
@@ -2338,16 +2333,6 @@ declare const singleOwnerVaultAbi: readonly [{
2338
2333
  readonly internalType: "bytes[]";
2339
2334
  }];
2340
2335
  readonly stateMutability: "nonpayable";
2341
- }, {
2342
- readonly type: "function";
2343
- readonly name: "poolFee";
2344
- readonly inputs: readonly [];
2345
- readonly outputs: readonly [{
2346
- readonly name: "";
2347
- readonly type: "uint24";
2348
- readonly internalType: "uint24";
2349
- }];
2350
- readonly stateMutability: "view";
2351
2336
  }, {
2352
2337
  readonly type: "function";
2353
2338
  readonly name: "poolKey";
@@ -2507,26 +2492,6 @@ declare const singleOwnerVaultAbi: readonly [{
2507
2492
  readonly internalType: "int24";
2508
2493
  }];
2509
2494
  readonly stateMutability: "view";
2510
- }, {
2511
- readonly type: "function";
2512
- readonly name: "token0";
2513
- readonly inputs: readonly [];
2514
- readonly outputs: readonly [{
2515
- readonly name: "";
2516
- readonly type: "address";
2517
- readonly internalType: "contract IERC20";
2518
- }];
2519
- readonly stateMutability: "view";
2520
- }, {
2521
- readonly type: "function";
2522
- readonly name: "token1";
2523
- readonly inputs: readonly [];
2524
- readonly outputs: readonly [{
2525
- readonly name: "";
2526
- readonly type: "address";
2527
- readonly internalType: "contract IERC20";
2528
- }];
2529
- readonly stateMutability: "view";
2530
2495
  }, {
2531
2496
  readonly type: "function";
2532
2497
  readonly name: "unlockCallback";
@@ -2849,6 +2814,10 @@ declare const singleOwnerVaultAbi: readonly [{
2849
2814
  readonly type: "uint8";
2850
2815
  readonly internalType: "uint8";
2851
2816
  }];
2817
+ }, {
2818
+ readonly type: "error";
2819
+ readonly name: "InvalidPoolKey";
2820
+ readonly inputs: readonly [];
2852
2821
  }, {
2853
2822
  readonly type: "error";
2854
2823
  readonly name: "InvalidRefTick";
@@ -2869,10 +2838,6 @@ declare const singleOwnerVaultAbi: readonly [{
2869
2838
  readonly type: "int24";
2870
2839
  readonly internalType: "int24";
2871
2840
  }];
2872
- }, {
2873
- readonly type: "error";
2874
- readonly name: "InvalidTickSpacing";
2875
- readonly inputs: readonly [];
2876
2841
  }, {
2877
2842
  readonly type: "error";
2878
2843
  readonly name: "MintTooLarge";
package/dist/abis.js CHANGED
@@ -1,5 +1,5 @@
1
- import { a as erc20Abi, i as lensAbi, n as quoterAbi, r as optionsMarketAbi, t as stateViewAbi } from "./stateView-CTxn1FU9.js";
2
- import { n as guardianAbi, r as singleOwnerVaultAbi, t as factoryAbi } from "./factory-DvHmRBSB.js";
1
+ import { a as erc20Abi, i as lensAbi, n as quoterAbi, r as optionsMarketAbi, t as stateViewAbi } from "./stateView-DoaDqQvV.js";
2
+ import { n as guardianAbi, r as singleOwnerVaultAbi, t as factoryAbi } from "./factory-CXe8NCiA.js";
3
3
 
4
4
  //#region src/abis/poolManager.ts
5
5
  const poolManagerAbi = [