timelock-sdk 0.0.171 → 0.0.172

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.
@@ -6490,7 +6490,7 @@ declare const getStateView: (client: Client | PublicClient) => {
6490
6490
  readonly stateMutability: "view";
6491
6491
  }, {
6492
6492
  readonly type: "function";
6493
- readonly name: "getSlot0";
6493
+ readonly name: "getSlot0FromId";
6494
6494
  readonly inputs: readonly [{
6495
6495
  readonly name: "poolManager";
6496
6496
  readonly type: "address";
@@ -7337,7 +7337,7 @@ declare const getStateView: (client: Client | PublicClient) => {
7337
7337
  readonly stateMutability: "view";
7338
7338
  }, {
7339
7339
  readonly type: "function";
7340
- readonly name: "getSlot0";
7340
+ readonly name: "getSlot0FromId";
7341
7341
  readonly inputs: readonly [{
7342
7342
  readonly name: "poolManager";
7343
7343
  readonly type: "address";
@@ -8179,7 +8179,7 @@ declare const getStateView: (client: Client | PublicClient) => {
8179
8179
  readonly stateMutability: "view";
8180
8180
  }, {
8181
8181
  readonly type: "function";
8182
- readonly name: "getSlot0";
8182
+ readonly name: "getSlot0FromId";
8183
8183
  readonly inputs: readonly [{
8184
8184
  readonly name: "poolManager";
8185
8185
  readonly type: "address";
@@ -9026,7 +9026,7 @@ declare const getStateView: (client: Client | PublicClient) => {
9026
9026
  readonly stateMutability: "view";
9027
9027
  }, {
9028
9028
  readonly type: "function";
9029
- readonly name: "getSlot0";
9029
+ readonly name: "getSlot0FromId";
9030
9030
  readonly inputs: readonly [{
9031
9031
  readonly name: "poolManager";
9032
9032
  readonly type: "address";
@@ -9868,7 +9868,7 @@ declare const getStateView: (client: Client | PublicClient) => {
9868
9868
  readonly stateMutability: "view";
9869
9869
  }, {
9870
9870
  readonly type: "function";
9871
- readonly name: "getSlot0";
9871
+ readonly name: "getSlot0FromId";
9872
9872
  readonly inputs: readonly [{
9873
9873
  readonly name: "poolManager";
9874
9874
  readonly type: "address";
@@ -10715,7 +10715,7 @@ declare const getStateView: (client: Client | PublicClient) => {
10715
10715
  readonly stateMutability: "view";
10716
10716
  }, {
10717
10717
  readonly type: "function";
10718
- readonly name: "getSlot0";
10718
+ readonly name: "getSlot0FromId";
10719
10719
  readonly inputs: readonly [{
10720
10720
  readonly name: "poolManager";
10721
10721
  readonly type: "address";
@@ -11557,7 +11557,7 @@ declare const getStateView: (client: Client | PublicClient) => {
11557
11557
  readonly stateMutability: "view";
11558
11558
  }, {
11559
11559
  readonly type: "function";
11560
- readonly name: "getSlot0";
11560
+ readonly name: "getSlot0FromId";
11561
11561
  readonly inputs: readonly [{
11562
11562
  readonly name: "poolManager";
11563
11563
  readonly type: "address";
@@ -12404,7 +12404,7 @@ declare const getStateView: (client: Client | PublicClient) => {
12404
12404
  readonly stateMutability: "view";
12405
12405
  }, {
12406
12406
  readonly type: "function";
12407
- readonly name: "getSlot0";
12407
+ readonly name: "getSlot0FromId";
12408
12408
  readonly inputs: readonly [{
12409
12409
  readonly name: "poolManager";
12410
12410
  readonly type: "address";
@@ -13257,7 +13257,7 @@ declare const getStateView: (client: Client | PublicClient) => {
13257
13257
  readonly stateMutability: "view";
13258
13258
  }, {
13259
13259
  readonly type: "function";
13260
- readonly name: "getSlot0";
13260
+ readonly name: "getSlot0FromId";
13261
13261
  readonly inputs: readonly [{
13262
13262
  readonly name: "poolManager";
13263
13263
  readonly type: "address";
@@ -14110,7 +14110,7 @@ declare const getStateView: (client: Client | PublicClient) => {
14110
14110
  readonly stateMutability: "view";
14111
14111
  }, {
14112
14112
  readonly type: "function";
14113
- readonly name: "getSlot0";
14113
+ readonly name: "getSlot0FromId";
14114
14114
  readonly inputs: readonly [{
14115
14115
  readonly name: "poolManager";
14116
14116
  readonly type: "address";
@@ -14958,7 +14958,7 @@ declare const getStateView: (client: Client | PublicClient) => {
14958
14958
  readonly stateMutability: "view";
14959
14959
  }, {
14960
14960
  readonly type: "function";
14961
- readonly name: "getSlot0";
14961
+ readonly name: "getSlot0FromId";
14962
14962
  readonly inputs: readonly [{
14963
14963
  readonly name: "poolManager";
14964
14964
  readonly type: "address";
@@ -15805,7 +15805,7 @@ declare const getStateView: (client: Client | PublicClient) => {
15805
15805
  readonly stateMutability: "view";
15806
15806
  }, {
15807
15807
  readonly type: "function";
15808
- readonly name: "getSlot0";
15808
+ readonly name: "getSlot0FromId";
15809
15809
  readonly inputs: readonly [{
15810
15810
  readonly name: "poolManager";
15811
15811
  readonly type: "address";
@@ -16140,7 +16140,13 @@ declare const getStateView: (client: Client | PublicClient) => {
16140
16140
  tickSpacing: number;
16141
16141
  hooks: `0x${string}`;
16142
16142
  }, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
16143
- getSlot0: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
16143
+ getSlot0: (args: readonly [`0x${string}`, {
16144
+ currency0: `0x${string}`;
16145
+ currency1: `0x${string}`;
16146
+ fee: number;
16147
+ tickSpacing: number;
16148
+ hooks: `0x${string}`;
16149
+ }], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
16144
16150
  readonly type: "function";
16145
16151
  readonly name: "getFeeGrowthGlobals";
16146
16152
  readonly inputs: readonly [{
@@ -16647,7 +16653,7 @@ declare const getStateView: (client: Client | PublicClient) => {
16647
16653
  readonly stateMutability: "view";
16648
16654
  }, {
16649
16655
  readonly type: "function";
16650
- readonly name: "getSlot0";
16656
+ readonly name: "getSlot0FromId";
16651
16657
  readonly inputs: readonly [{
16652
16658
  readonly name: "poolManager";
16653
16659
  readonly type: "address";
@@ -16975,19 +16981,14 @@ declare const getStateView: (client: Client | PublicClient) => {
16975
16981
  readonly internalType: "int128";
16976
16982
  }];
16977
16983
  readonly stateMutability: "view";
16978
- }], "getSlot0", readonly [`0x${string}`, `0x${string}`] | readonly [`0x${string}`, {
16979
- currency0: `0x${string}`;
16980
- currency1: `0x${string}`;
16981
- fee: number;
16982
- tickSpacing: number;
16983
- hooks: `0x${string}`;
16984
- }]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, {
16984
+ }], "getSlot0", readonly [`0x${string}`, {
16985
16985
  currency0: `0x${string}`;
16986
16986
  currency1: `0x${string}`;
16987
16987
  fee: number;
16988
16988
  tickSpacing: number;
16989
16989
  hooks: `0x${string}`;
16990
- }], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
16990
+ }]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, number, number, number]>;
16991
+ getSlot0FromId: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
16991
16992
  readonly type: "function";
16992
16993
  readonly name: "getFeeGrowthGlobals";
16993
16994
  readonly inputs: readonly [{
@@ -17494,7 +17495,7 @@ declare const getStateView: (client: Client | PublicClient) => {
17494
17495
  readonly stateMutability: "view";
17495
17496
  }, {
17496
17497
  readonly type: "function";
17497
- readonly name: "getSlot0";
17498
+ readonly name: "getSlot0FromId";
17498
17499
  readonly inputs: readonly [{
17499
17500
  readonly name: "poolManager";
17500
17501
  readonly type: "address";
@@ -17822,13 +17823,7 @@ declare const getStateView: (client: Client | PublicClient) => {
17822
17823
  readonly internalType: "int128";
17823
17824
  }];
17824
17825
  readonly stateMutability: "view";
17825
- }], "getSlot0", readonly [`0x${string}`, `0x${string}`] | readonly [`0x${string}`, {
17826
- currency0: `0x${string}`;
17827
- currency1: `0x${string}`;
17828
- fee: number;
17829
- tickSpacing: number;
17830
- hooks: `0x${string}`;
17831
- }]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
17826
+ }], "getSlot0FromId", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, number, number, number]>;
17832
17827
  getTickBitmap: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
17833
17828
  readonly type: "function";
17834
17829
  readonly name: "getFeeGrowthGlobals";
@@ -18336,7 +18331,7 @@ declare const getStateView: (client: Client | PublicClient) => {
18336
18331
  readonly stateMutability: "view";
18337
18332
  }, {
18338
18333
  readonly type: "function";
18339
- readonly name: "getSlot0";
18334
+ readonly name: "getSlot0FromId";
18340
18335
  readonly inputs: readonly [{
18341
18336
  readonly name: "poolManager";
18342
18337
  readonly type: "address";
@@ -19183,7 +19178,7 @@ declare const getStateView: (client: Client | PublicClient) => {
19183
19178
  readonly stateMutability: "view";
19184
19179
  }, {
19185
19180
  readonly type: "function";
19186
- readonly name: "getSlot0";
19181
+ readonly name: "getSlot0FromId";
19187
19182
  readonly inputs: readonly [{
19188
19183
  readonly name: "poolManager";
19189
19184
  readonly type: "address";
@@ -20025,7 +20020,7 @@ declare const getStateView: (client: Client | PublicClient) => {
20025
20020
  readonly stateMutability: "view";
20026
20021
  }, {
20027
20022
  readonly type: "function";
20028
- readonly name: "getSlot0";
20023
+ readonly name: "getSlot0FromId";
20029
20024
  readonly inputs: readonly [{
20030
20025
  readonly name: "poolManager";
20031
20026
  readonly type: "address";
@@ -20872,7 +20867,7 @@ declare const getStateView: (client: Client | PublicClient) => {
20872
20867
  readonly stateMutability: "view";
20873
20868
  }, {
20874
20869
  readonly type: "function";
20875
- readonly name: "getSlot0";
20870
+ readonly name: "getSlot0FromId";
20876
20871
  readonly inputs: readonly [{
20877
20872
  readonly name: "poolManager";
20878
20873
  readonly type: "address";
@@ -21714,7 +21709,7 @@ declare const getStateView: (client: Client | PublicClient) => {
21714
21709
  readonly stateMutability: "view";
21715
21710
  }, {
21716
21711
  readonly type: "function";
21717
- readonly name: "getSlot0";
21712
+ readonly name: "getSlot0FromId";
21718
21713
  readonly inputs: readonly [{
21719
21714
  readonly name: "poolManager";
21720
21715
  readonly type: "address";
@@ -22561,7 +22556,7 @@ declare const getStateView: (client: Client | PublicClient) => {
22561
22556
  readonly stateMutability: "view";
22562
22557
  }, {
22563
22558
  readonly type: "function";
22564
- readonly name: "getSlot0";
22559
+ readonly name: "getSlot0FromId";
22565
22560
  readonly inputs: readonly [{
22566
22561
  readonly name: "poolManager";
22567
22562
  readonly type: "address";
@@ -23403,7 +23398,7 @@ declare const getStateView: (client: Client | PublicClient) => {
23403
23398
  readonly stateMutability: "view";
23404
23399
  }, {
23405
23400
  readonly type: "function";
23406
- readonly name: "getSlot0";
23401
+ readonly name: "getSlot0FromId";
23407
23402
  readonly inputs: readonly [{
23408
23403
  readonly name: "poolManager";
23409
23404
  readonly type: "address";
@@ -24250,7 +24245,7 @@ declare const getStateView: (client: Client | PublicClient) => {
24250
24245
  readonly stateMutability: "view";
24251
24246
  }, {
24252
24247
  readonly type: "function";
24253
- readonly name: "getSlot0";
24248
+ readonly name: "getSlot0FromId";
24254
24249
  readonly inputs: readonly [{
24255
24250
  readonly name: "poolManager";
24256
24251
  readonly type: "address";
@@ -25094,7 +25089,7 @@ declare const getStateView: (client: Client | PublicClient) => {
25094
25089
  readonly stateMutability: "view";
25095
25090
  }, {
25096
25091
  readonly type: "function";
25097
- readonly name: "getSlot0";
25092
+ readonly name: "getSlot0FromId";
25098
25093
  readonly inputs: readonly [{
25099
25094
  readonly name: "poolManager";
25100
25095
  readonly type: "address";
@@ -54888,8 +54883,8 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => {
54888
54883
  //#endregion
54889
54884
  //#region src/hooks/guardian/usePauseGlobalTrading.d.ts
54890
54885
  declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
54891
- data: undefined;
54892
54886
  error: null;
54887
+ data: undefined;
54893
54888
  status: "idle";
54894
54889
  isError: false;
54895
54890
  isPending: false;
@@ -54905,8 +54900,8 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
54905
54900
  writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
54906
54901
  pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
54907
54902
  } | {
54908
- data: undefined;
54909
54903
  error: null;
54904
+ data: undefined;
54910
54905
  status: "pending";
54911
54906
  isError: false;
54912
54907
  isPending: true;
@@ -55066,8 +55061,8 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
55066
55061
  writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
55067
55062
  pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
55068
55063
  } | {
55069
- data: undefined;
55070
55064
  error: _wagmi_core0.WriteContractErrorType;
55065
+ data: undefined;
55071
55066
  status: "error";
55072
55067
  isError: true;
55073
55068
  isPending: false;
@@ -55227,8 +55222,8 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
55227
55222
  writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
55228
55223
  pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
55229
55224
  } | {
55230
- data: `0x${string}`;
55231
55225
  error: null;
55226
+ data: `0x${string}`;
55232
55227
  status: "success";
55233
55228
  isError: false;
55234
55229
  isPending: false;
@@ -55391,8 +55386,8 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
55391
55386
  //#endregion
55392
55387
  //#region src/hooks/guardian/usePauseMarketTrading.d.ts
55393
55388
  declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
55394
- data: undefined;
55395
55389
  error: null;
55390
+ data: undefined;
55396
55391
  status: "idle";
55397
55392
  isError: false;
55398
55393
  isPending: false;
@@ -55408,8 +55403,8 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
55408
55403
  writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
55409
55404
  pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
55410
55405
  } | {
55411
- data: undefined;
55412
55406
  error: null;
55407
+ data: undefined;
55413
55408
  status: "pending";
55414
55409
  isError: false;
55415
55410
  isPending: true;
@@ -55569,8 +55564,8 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
55569
55564
  writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
55570
55565
  pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
55571
55566
  } | {
55572
- data: undefined;
55573
55567
  error: _wagmi_core0.WriteContractErrorType;
55568
+ data: undefined;
55574
55569
  status: "error";
55575
55570
  isError: true;
55576
55571
  isPending: false;
@@ -55730,8 +55725,8 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
55730
55725
  writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
55731
55726
  pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
55732
55727
  } | {
55733
- data: `0x${string}`;
55734
55728
  error: null;
55729
+ data: `0x${string}`;
55735
55730
  status: "success";
55736
55731
  isError: false;
55737
55732
  isPending: false;
@@ -55903,8 +55898,8 @@ declare const useFeeRates: (feeStrategy?: Address) => Partial<NonUndefinedGuard<
55903
55898
  //#endregion
55904
55899
  //#region src/hooks/fees/useUpdateMarketFees.d.ts
55905
55900
  declare const useUpdateMarketFees: (marketAddr: Address) => {
55906
- data: undefined;
55907
55901
  error: null;
55902
+ data: undefined;
55908
55903
  status: "idle";
55909
55904
  isError: false;
55910
55905
  isPending: false;
@@ -55930,8 +55925,8 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
55930
55925
  newFeeStrategy: `0x${string}`;
55931
55926
  }>;
55932
55927
  } | {
55933
- data: undefined;
55934
55928
  error: null;
55929
+ data: undefined;
55935
55930
  status: "pending";
55936
55931
  isError: false;
55937
55932
  isPending: true;
@@ -56101,8 +56096,8 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56101
56096
  newFeeStrategy: `0x${string}`;
56102
56097
  }>;
56103
56098
  } | {
56104
- data: undefined;
56105
56099
  error: _wagmi_core0.WriteContractErrorType;
56100
+ data: undefined;
56106
56101
  status: "error";
56107
56102
  isError: true;
56108
56103
  isPending: false;
@@ -56272,8 +56267,8 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
56272
56267
  newFeeStrategy: `0x${string}`;
56273
56268
  }>;
56274
56269
  } | {
56275
- data: `0x${string}`;
56276
56270
  error: null;
56271
+ data: `0x${string}`;
56277
56272
  status: "success";
56278
56273
  isError: false;
56279
56274
  isPending: false;
@@ -57416,8 +57411,8 @@ declare const useStaticPricingParams: (pricingAddr: Address | undefined) => Part
57416
57411
  //#endregion
57417
57412
  //#region src/hooks/pricing/useUpdateMarketPricing.d.ts
57418
57413
  declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
57419
- data: undefined;
57420
57414
  error: null;
57415
+ data: undefined;
57421
57416
  status: "idle";
57422
57417
  isError: false;
57423
57418
  isPending: false;
@@ -57441,8 +57436,8 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
57441
57436
  newPricingAddr: `0x${string}`;
57442
57437
  }>;
57443
57438
  } | {
57444
- data: undefined;
57445
57439
  error: null;
57440
+ data: undefined;
57446
57441
  status: "pending";
57447
57442
  isError: false;
57448
57443
  isPending: true;
@@ -57610,8 +57605,8 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
57610
57605
  newPricingAddr: `0x${string}`;
57611
57606
  }>;
57612
57607
  } | {
57613
- data: undefined;
57614
57608
  error: _wagmi_core0.WriteContractErrorType;
57609
+ data: undefined;
57615
57610
  status: "error";
57616
57611
  isError: true;
57617
57612
  isPending: false;
@@ -57779,8 +57774,8 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
57779
57774
  newPricingAddr: `0x${string}`;
57780
57775
  }>;
57781
57776
  } | {
57782
- data: `0x${string}`;
57783
57777
  error: null;
57778
+ data: `0x${string}`;
57784
57779
  status: "success";
57785
57780
  isError: false;
57786
57781
  isPending: false;
@@ -81146,7 +81141,7 @@ declare const useLens: () => {
81146
81141
  readonly stateMutability: "view";
81147
81142
  }, {
81148
81143
  readonly type: "function";
81149
- readonly name: "getSlot0";
81144
+ readonly name: "getSlot0FromId";
81150
81145
  readonly inputs: readonly [{
81151
81146
  readonly name: "poolManager";
81152
81147
  readonly type: "address";
@@ -81993,7 +81988,7 @@ declare const useLens: () => {
81993
81988
  readonly stateMutability: "view";
81994
81989
  }, {
81995
81990
  readonly type: "function";
81996
- readonly name: "getSlot0";
81991
+ readonly name: "getSlot0FromId";
81997
81992
  readonly inputs: readonly [{
81998
81993
  readonly name: "poolManager";
81999
81994
  readonly type: "address";
@@ -82835,7 +82830,7 @@ declare const useLens: () => {
82835
82830
  readonly stateMutability: "view";
82836
82831
  }, {
82837
82832
  readonly type: "function";
82838
- readonly name: "getSlot0";
82833
+ readonly name: "getSlot0FromId";
82839
82834
  readonly inputs: readonly [{
82840
82835
  readonly name: "poolManager";
82841
82836
  readonly type: "address";
@@ -83682,7 +83677,7 @@ declare const useLens: () => {
83682
83677
  readonly stateMutability: "view";
83683
83678
  }, {
83684
83679
  readonly type: "function";
83685
- readonly name: "getSlot0";
83680
+ readonly name: "getSlot0FromId";
83686
83681
  readonly inputs: readonly [{
83687
83682
  readonly name: "poolManager";
83688
83683
  readonly type: "address";
@@ -84524,7 +84519,7 @@ declare const useLens: () => {
84524
84519
  readonly stateMutability: "view";
84525
84520
  }, {
84526
84521
  readonly type: "function";
84527
- readonly name: "getSlot0";
84522
+ readonly name: "getSlot0FromId";
84528
84523
  readonly inputs: readonly [{
84529
84524
  readonly name: "poolManager";
84530
84525
  readonly type: "address";
@@ -85371,7 +85366,7 @@ declare const useLens: () => {
85371
85366
  readonly stateMutability: "view";
85372
85367
  }, {
85373
85368
  readonly type: "function";
85374
- readonly name: "getSlot0";
85369
+ readonly name: "getSlot0FromId";
85375
85370
  readonly inputs: readonly [{
85376
85371
  readonly name: "poolManager";
85377
85372
  readonly type: "address";
@@ -86213,7 +86208,7 @@ declare const useLens: () => {
86213
86208
  readonly stateMutability: "view";
86214
86209
  }, {
86215
86210
  readonly type: "function";
86216
- readonly name: "getSlot0";
86211
+ readonly name: "getSlot0FromId";
86217
86212
  readonly inputs: readonly [{
86218
86213
  readonly name: "poolManager";
86219
86214
  readonly type: "address";
@@ -87060,7 +87055,7 @@ declare const useLens: () => {
87060
87055
  readonly stateMutability: "view";
87061
87056
  }, {
87062
87057
  readonly type: "function";
87063
- readonly name: "getSlot0";
87058
+ readonly name: "getSlot0FromId";
87064
87059
  readonly inputs: readonly [{
87065
87060
  readonly name: "poolManager";
87066
87061
  readonly type: "address";
@@ -87913,7 +87908,7 @@ declare const useLens: () => {
87913
87908
  readonly stateMutability: "view";
87914
87909
  }, {
87915
87910
  readonly type: "function";
87916
- readonly name: "getSlot0";
87911
+ readonly name: "getSlot0FromId";
87917
87912
  readonly inputs: readonly [{
87918
87913
  readonly name: "poolManager";
87919
87914
  readonly type: "address";
@@ -88766,7 +88761,7 @@ declare const useLens: () => {
88766
88761
  readonly stateMutability: "view";
88767
88762
  }, {
88768
88763
  readonly type: "function";
88769
- readonly name: "getSlot0";
88764
+ readonly name: "getSlot0FromId";
88770
88765
  readonly inputs: readonly [{
88771
88766
  readonly name: "poolManager";
88772
88767
  readonly type: "address";
@@ -89614,7 +89609,7 @@ declare const useLens: () => {
89614
89609
  readonly stateMutability: "view";
89615
89610
  }, {
89616
89611
  readonly type: "function";
89617
- readonly name: "getSlot0";
89612
+ readonly name: "getSlot0FromId";
89618
89613
  readonly inputs: readonly [{
89619
89614
  readonly name: "poolManager";
89620
89615
  readonly type: "address";
@@ -90461,7 +90456,7 @@ declare const useLens: () => {
90461
90456
  readonly stateMutability: "view";
90462
90457
  }, {
90463
90458
  readonly type: "function";
90464
- readonly name: "getSlot0";
90459
+ readonly name: "getSlot0FromId";
90465
90460
  readonly inputs: readonly [{
90466
90461
  readonly name: "poolManager";
90467
90462
  readonly type: "address";
@@ -90796,7 +90791,13 @@ declare const useLens: () => {
90796
90791
  tickSpacing: number;
90797
90792
  hooks: `0x${string}`;
90798
90793
  }, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
90799
- getSlot0: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
90794
+ getSlot0: (args: readonly [`0x${string}`, {
90795
+ currency0: `0x${string}`;
90796
+ currency1: `0x${string}`;
90797
+ fee: number;
90798
+ tickSpacing: number;
90799
+ hooks: `0x${string}`;
90800
+ }], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
90800
90801
  readonly type: "function";
90801
90802
  readonly name: "getFeeGrowthGlobals";
90802
90803
  readonly inputs: readonly [{
@@ -91303,7 +91304,7 @@ declare const useLens: () => {
91303
91304
  readonly stateMutability: "view";
91304
91305
  }, {
91305
91306
  readonly type: "function";
91306
- readonly name: "getSlot0";
91307
+ readonly name: "getSlot0FromId";
91307
91308
  readonly inputs: readonly [{
91308
91309
  readonly name: "poolManager";
91309
91310
  readonly type: "address";
@@ -91631,19 +91632,14 @@ declare const useLens: () => {
91631
91632
  readonly internalType: "int128";
91632
91633
  }];
91633
91634
  readonly stateMutability: "view";
91634
- }], "getSlot0", readonly [`0x${string}`, `0x${string}`] | readonly [`0x${string}`, {
91635
+ }], "getSlot0", readonly [`0x${string}`, {
91635
91636
  currency0: `0x${string}`;
91636
91637
  currency1: `0x${string}`;
91637
91638
  fee: number;
91638
91639
  tickSpacing: number;
91639
91640
  hooks: `0x${string}`;
91640
- }]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, {
91641
- currency0: `0x${string}`;
91642
- currency1: `0x${string}`;
91643
- fee: number;
91644
- tickSpacing: number;
91645
- hooks: `0x${string}`;
91646
- }], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
91641
+ }]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, number, number, number]>;
91642
+ getSlot0FromId: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
91647
91643
  readonly type: "function";
91648
91644
  readonly name: "getFeeGrowthGlobals";
91649
91645
  readonly inputs: readonly [{
@@ -92150,7 +92146,7 @@ declare const useLens: () => {
92150
92146
  readonly stateMutability: "view";
92151
92147
  }, {
92152
92148
  readonly type: "function";
92153
- readonly name: "getSlot0";
92149
+ readonly name: "getSlot0FromId";
92154
92150
  readonly inputs: readonly [{
92155
92151
  readonly name: "poolManager";
92156
92152
  readonly type: "address";
@@ -92478,13 +92474,7 @@ declare const useLens: () => {
92478
92474
  readonly internalType: "int128";
92479
92475
  }];
92480
92476
  readonly stateMutability: "view";
92481
- }], "getSlot0", readonly [`0x${string}`, `0x${string}`] | readonly [`0x${string}`, {
92482
- currency0: `0x${string}`;
92483
- currency1: `0x${string}`;
92484
- fee: number;
92485
- tickSpacing: number;
92486
- hooks: `0x${string}`;
92487
- }]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
92477
+ }], "getSlot0FromId", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, number, number, number]>;
92488
92478
  getTickBitmap: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
92489
92479
  readonly type: "function";
92490
92480
  readonly name: "getFeeGrowthGlobals";
@@ -92992,7 +92982,7 @@ declare const useLens: () => {
92992
92982
  readonly stateMutability: "view";
92993
92983
  }, {
92994
92984
  readonly type: "function";
92995
- readonly name: "getSlot0";
92985
+ readonly name: "getSlot0FromId";
92996
92986
  readonly inputs: readonly [{
92997
92987
  readonly name: "poolManager";
92998
92988
  readonly type: "address";
@@ -93839,7 +93829,7 @@ declare const useLens: () => {
93839
93829
  readonly stateMutability: "view";
93840
93830
  }, {
93841
93831
  readonly type: "function";
93842
- readonly name: "getSlot0";
93832
+ readonly name: "getSlot0FromId";
93843
93833
  readonly inputs: readonly [{
93844
93834
  readonly name: "poolManager";
93845
93835
  readonly type: "address";
@@ -94681,7 +94671,7 @@ declare const useLens: () => {
94681
94671
  readonly stateMutability: "view";
94682
94672
  }, {
94683
94673
  readonly type: "function";
94684
- readonly name: "getSlot0";
94674
+ readonly name: "getSlot0FromId";
94685
94675
  readonly inputs: readonly [{
94686
94676
  readonly name: "poolManager";
94687
94677
  readonly type: "address";
@@ -95528,7 +95518,7 @@ declare const useLens: () => {
95528
95518
  readonly stateMutability: "view";
95529
95519
  }, {
95530
95520
  readonly type: "function";
95531
- readonly name: "getSlot0";
95521
+ readonly name: "getSlot0FromId";
95532
95522
  readonly inputs: readonly [{
95533
95523
  readonly name: "poolManager";
95534
95524
  readonly type: "address";
@@ -96370,7 +96360,7 @@ declare const useLens: () => {
96370
96360
  readonly stateMutability: "view";
96371
96361
  }, {
96372
96362
  readonly type: "function";
96373
- readonly name: "getSlot0";
96363
+ readonly name: "getSlot0FromId";
96374
96364
  readonly inputs: readonly [{
96375
96365
  readonly name: "poolManager";
96376
96366
  readonly type: "address";
@@ -97217,7 +97207,7 @@ declare const useLens: () => {
97217
97207
  readonly stateMutability: "view";
97218
97208
  }, {
97219
97209
  readonly type: "function";
97220
- readonly name: "getSlot0";
97210
+ readonly name: "getSlot0FromId";
97221
97211
  readonly inputs: readonly [{
97222
97212
  readonly name: "poolManager";
97223
97213
  readonly type: "address";
@@ -98059,7 +98049,7 @@ declare const useLens: () => {
98059
98049
  readonly stateMutability: "view";
98060
98050
  }, {
98061
98051
  readonly type: "function";
98062
- readonly name: "getSlot0";
98052
+ readonly name: "getSlot0FromId";
98063
98053
  readonly inputs: readonly [{
98064
98054
  readonly name: "poolManager";
98065
98055
  readonly type: "address";
@@ -98906,7 +98896,7 @@ declare const useLens: () => {
98906
98896
  readonly stateMutability: "view";
98907
98897
  }, {
98908
98898
  readonly type: "function";
98909
- readonly name: "getSlot0";
98899
+ readonly name: "getSlot0FromId";
98910
98900
  readonly inputs: readonly [{
98911
98901
  readonly name: "poolManager";
98912
98902
  readonly type: "address";
@@ -99750,7 +99740,7 @@ declare const useLens: () => {
99750
99740
  readonly stateMutability: "view";
99751
99741
  }, {
99752
99742
  readonly type: "function";
99753
- readonly name: "getSlot0";
99743
+ readonly name: "getSlot0FromId";
99754
99744
  readonly inputs: readonly [{
99755
99745
  readonly name: "poolManager";
99756
99746
  readonly type: "address";
@@ -100083,4 +100073,4 @@ declare const useLens: () => {
100083
100073
  };
100084
100074
  //#endregion
100085
100075
  export { PriceResolution as $, stateViews as $t, useCurrentPrice as A, formatVagueAmount as At, getPriceAtTick as B, useMarketVolume as Bt, useLiquidityBlocks as C, useMintOption as Ct, usePriceAtSqrtPriceX96 as D, formatAmount as Dt, usePriceHistory as E, EMPTY_ARRAY as Et, getPayoutAtTick as F, wrapAmount as Ft, liquiditiesToAmounts as G, useTimelockConfig as Gt, getTickAtPrice as H, useMarketData as Ht, PRICE_PRECISION as I, wrapAmountUnscaled as It, token0ToToken1AtTick as J, TimelockMarketData as Jt, roundTick as K, TimelockLens as Kt, getAmountsFromLiquidity as L, wrapPrice as Lt, UniswapPoolData as M, scalePrice as Mt, usePoolData as N, unscaleAmount as Nt, usePriceAtTick as O, formatCondensed as Ot, getPayoutAtPrice as P, unscalePrice as Pt, PriceDataPoint as Q, getTimelockMarket as Qt, getNearestValidStrikeTick as R, wrapPriceUnscaled as Rt, LiquidityBlockData as S, useClosedUserOptions as St, useMarketPriceHistory as T, Amount as Tt, liquiditiesToAmount0 as U, TimelockProvider as Ut, getSqrtPriceX96AtPrice as V, useMarketState as Vt, liquiditiesToAmount1 as W, useCurrentMarket as Wt, token1ToToken0AtTick as X, getStateView as Xt, token1ToToken0 as Y, getErc20 as Yt, PriceData as Z, getTimelockLens as Zt, useTokenData as _, useOptionPremium as _t, OptionPricingParams as a, useActiveUserPerps as at, batchGetAmountsFromLiquidity as b, OptionData as bt, usePricingParams as c, usePerpsOperator as ct, usePauseMarketTrading as d, ExerciseOptionEvent as dt, swapRouters as en, getCurrentPrice as et, usePauseGlobalTrading as f, ExtendEvent as ft, TokenData as g, useExtendOption as gt, useTokenBalance as h, useOptionTimeline as ht, useOptionPricingParams as i, useOperatorPerms as it, PoolKey as j, scaleAmount as jt, useCurrentTick as k, formatUSD as kt, useUpdateMarketFees as l, useClosePerp as lt, useApproval as m, OptionEvent as mt, useUpdateMarketPricing as n, timelockFactories as nn, useSetOperatorPerms as nt, PricingParams as o, useClosedUserPerps as ot, useGuardianGlobalState as p, MintOptionEvent as pt, token0ToToken1 as q, TimelockMarket as qt, useStaticPricingParams as r, timelockLenses as rn, useUserOperators as rt, StaticPricingParams as s, useUserPerps as st, useLens as t, swappers as tn, getPriceHistory as tt, useFeeRates as u, useMintPerp as ut, useVaultTVL as v, useOptionPnl as vt, useBurnLiquidity as w, useMaxPositionSize as wt, useMintLiquidity as x, useActiveUserOptions as xt, useVaultData as y, useExerciseOption as yt, getPriceAtSqrtPriceX96 as z, zero as zt };
100086
- //# sourceMappingURL=client-D8PQJ5jx.d.ts.map
100076
+ //# sourceMappingURL=client-DLJ_b42j.d.ts.map
package/dist/client.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
3
 
4
- const require_optionUtils = require('./optionUtils-cd5h0wkz.cjs');
5
- const require_statelessStateView = require('./statelessStateView-XdTJQxsY.cjs');
4
+ const require_optionUtils = require('./optionUtils-C1TXirKy.cjs');
5
+ const require_statelessStateView = require('./statelessStateView-CtzW08Yu.cjs');
6
6
  const require_factory = require('./factory-DitVXzjQ.cjs');
7
7
  let viem = require("viem");
8
8
  let react = require("react");