timelock-sdk 0.0.75 → 0.0.76

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/dist/client.d.cts CHANGED
@@ -7,7 +7,7 @@ import "graphql";
7
7
  import { GraphQLClient, RequestOptions } from "graphql-request";
8
8
  import * as _tanstack_react_query0 from "@tanstack/react-query";
9
9
  import { NonUndefinedGuard } from "@tanstack/react-query";
10
- import * as _tanstack_query_core0 from "@tanstack/query-core";
10
+ import * as _tanstack_query_core17 from "@tanstack/query-core";
11
11
  import * as _wagmi_core0 from "@wagmi/core";
12
12
 
13
13
  //#region src/generated/graphql.d.ts
@@ -229,7 +229,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
229
229
  isRefetching: boolean;
230
230
  isStale: boolean;
231
231
  isEnabled: boolean;
232
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
232
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
233
233
  optionId: bigint;
234
234
  marketAddr: Address;
235
235
  ownerAddr: Address;
@@ -268,7 +268,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
268
268
  transactionHash: string;
269
269
  } | null;
270
270
  }[], Error>>;
271
- fetchStatus: _tanstack_query_core0.FetchStatus;
271
+ fetchStatus: _tanstack_query_core17.FetchStatus;
272
272
  promise: Promise<{
273
273
  optionId: bigint;
274
274
  marketAddr: Address;
@@ -370,7 +370,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
370
370
  isRefetching: boolean;
371
371
  isStale: boolean;
372
372
  isEnabled: boolean;
373
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
373
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
374
374
  optionId: bigint;
375
375
  marketAddr: Address;
376
376
  ownerAddr: Address;
@@ -409,7 +409,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
409
409
  transactionHash: string;
410
410
  } | null;
411
411
  }[], Error>>;
412
- fetchStatus: _tanstack_query_core0.FetchStatus;
412
+ fetchStatus: _tanstack_query_core17.FetchStatus;
413
413
  promise: Promise<{
414
414
  optionId: bigint;
415
415
  marketAddr: Address;
@@ -511,7 +511,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
511
511
  isRefetching: boolean;
512
512
  isStale: boolean;
513
513
  isEnabled: boolean;
514
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
514
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
515
515
  optionId: bigint;
516
516
  marketAddr: Address;
517
517
  ownerAddr: Address;
@@ -550,7 +550,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
550
550
  transactionHash: string;
551
551
  } | null;
552
552
  }[], Error>>;
553
- fetchStatus: _tanstack_query_core0.FetchStatus;
553
+ fetchStatus: _tanstack_query_core17.FetchStatus;
554
554
  promise: Promise<{
555
555
  optionId: bigint;
556
556
  marketAddr: Address;
@@ -652,7 +652,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
652
652
  isRefetching: boolean;
653
653
  isStale: boolean;
654
654
  isEnabled: boolean;
655
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
655
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
656
656
  optionId: bigint;
657
657
  marketAddr: Address;
658
658
  ownerAddr: Address;
@@ -691,7 +691,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
691
691
  transactionHash: string;
692
692
  } | null;
693
693
  }[], Error>>;
694
- fetchStatus: _tanstack_query_core0.FetchStatus;
694
+ fetchStatus: _tanstack_query_core17.FetchStatus;
695
695
  promise: Promise<{
696
696
  optionId: bigint;
697
697
  marketAddr: Address;
@@ -793,7 +793,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
793
793
  isRefetching: boolean;
794
794
  isStale: boolean;
795
795
  isEnabled: boolean;
796
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
796
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
797
797
  optionId: bigint;
798
798
  marketAddr: Address;
799
799
  ownerAddr: Address;
@@ -832,7 +832,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
832
832
  transactionHash: string;
833
833
  } | null;
834
834
  }[], Error>>;
835
- fetchStatus: _tanstack_query_core0.FetchStatus;
835
+ fetchStatus: _tanstack_query_core17.FetchStatus;
836
836
  promise: Promise<{
837
837
  optionId: bigint;
838
838
  marketAddr: Address;
@@ -934,7 +934,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
934
934
  isRefetching: boolean;
935
935
  isStale: boolean;
936
936
  isEnabled: boolean;
937
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
937
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
938
938
  optionId: bigint;
939
939
  marketAddr: Address;
940
940
  ownerAddr: Address;
@@ -973,7 +973,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
973
973
  transactionHash: string;
974
974
  } | null;
975
975
  }[], Error>>;
976
- fetchStatus: _tanstack_query_core0.FetchStatus;
976
+ fetchStatus: _tanstack_query_core17.FetchStatus;
977
977
  promise: Promise<{
978
978
  optionId: bigint;
979
979
  marketAddr: Address;
@@ -1076,7 +1076,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1076
1076
  isRefetching: boolean;
1077
1077
  isStale: boolean;
1078
1078
  isEnabled: boolean;
1079
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1079
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
1080
1080
  optionId: bigint;
1081
1081
  marketAddr: Address;
1082
1082
  ownerAddr: Address;
@@ -1115,7 +1115,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1115
1115
  transactionHash: string;
1116
1116
  } | null;
1117
1117
  }[], Error>>;
1118
- fetchStatus: _tanstack_query_core0.FetchStatus;
1118
+ fetchStatus: _tanstack_query_core17.FetchStatus;
1119
1119
  promise: Promise<{
1120
1120
  optionId: bigint;
1121
1121
  marketAddr: Address;
@@ -1217,7 +1217,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1217
1217
  isRefetching: boolean;
1218
1218
  isStale: boolean;
1219
1219
  isEnabled: boolean;
1220
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1220
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
1221
1221
  optionId: bigint;
1222
1222
  marketAddr: Address;
1223
1223
  ownerAddr: Address;
@@ -1256,7 +1256,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1256
1256
  transactionHash: string;
1257
1257
  } | null;
1258
1258
  }[], Error>>;
1259
- fetchStatus: _tanstack_query_core0.FetchStatus;
1259
+ fetchStatus: _tanstack_query_core17.FetchStatus;
1260
1260
  promise: Promise<{
1261
1261
  optionId: bigint;
1262
1262
  marketAddr: Address;
@@ -1358,7 +1358,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1358
1358
  isRefetching: boolean;
1359
1359
  isStale: boolean;
1360
1360
  isEnabled: boolean;
1361
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1361
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
1362
1362
  optionId: bigint;
1363
1363
  marketAddr: Address;
1364
1364
  ownerAddr: Address;
@@ -1397,7 +1397,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1397
1397
  transactionHash: string;
1398
1398
  } | null;
1399
1399
  }[], Error>>;
1400
- fetchStatus: _tanstack_query_core0.FetchStatus;
1400
+ fetchStatus: _tanstack_query_core17.FetchStatus;
1401
1401
  promise: Promise<{
1402
1402
  optionId: bigint;
1403
1403
  marketAddr: Address;
@@ -1499,7 +1499,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1499
1499
  isRefetching: boolean;
1500
1500
  isStale: boolean;
1501
1501
  isEnabled: boolean;
1502
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1502
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
1503
1503
  optionId: bigint;
1504
1504
  marketAddr: Address;
1505
1505
  ownerAddr: Address;
@@ -1538,7 +1538,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1538
1538
  transactionHash: string;
1539
1539
  } | null;
1540
1540
  }[], Error>>;
1541
- fetchStatus: _tanstack_query_core0.FetchStatus;
1541
+ fetchStatus: _tanstack_query_core17.FetchStatus;
1542
1542
  promise: Promise<{
1543
1543
  optionId: bigint;
1544
1544
  marketAddr: Address;
@@ -1640,7 +1640,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1640
1640
  isRefetching: boolean;
1641
1641
  isStale: boolean;
1642
1642
  isEnabled: boolean;
1643
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1643
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
1644
1644
  optionId: bigint;
1645
1645
  marketAddr: Address;
1646
1646
  ownerAddr: Address;
@@ -1679,7 +1679,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1679
1679
  transactionHash: string;
1680
1680
  } | null;
1681
1681
  }[], Error>>;
1682
- fetchStatus: _tanstack_query_core0.FetchStatus;
1682
+ fetchStatus: _tanstack_query_core17.FetchStatus;
1683
1683
  promise: Promise<{
1684
1684
  optionId: bigint;
1685
1685
  marketAddr: Address;
@@ -1781,7 +1781,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1781
1781
  isRefetching: boolean;
1782
1782
  isStale: boolean;
1783
1783
  isEnabled: boolean;
1784
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1784
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
1785
1785
  optionId: bigint;
1786
1786
  marketAddr: Address;
1787
1787
  ownerAddr: Address;
@@ -1820,7 +1820,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
1820
1820
  transactionHash: string;
1821
1821
  } | null;
1822
1822
  }[], Error>>;
1823
- fetchStatus: _tanstack_query_core0.FetchStatus;
1823
+ fetchStatus: _tanstack_query_core17.FetchStatus;
1824
1824
  promise: Promise<{
1825
1825
  optionId: bigint;
1826
1826
  marketAddr: Address;
@@ -1923,7 +1923,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
1923
1923
  isRefetching: boolean;
1924
1924
  isStale: boolean;
1925
1925
  isEnabled: boolean;
1926
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
1926
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
1927
1927
  optionId: bigint;
1928
1928
  marketAddr: Address;
1929
1929
  ownerAddr: Address;
@@ -1962,7 +1962,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
1962
1962
  transactionHash: string;
1963
1963
  } | null;
1964
1964
  }[], Error>>;
1965
- fetchStatus: _tanstack_query_core0.FetchStatus;
1965
+ fetchStatus: _tanstack_query_core17.FetchStatus;
1966
1966
  promise: Promise<{
1967
1967
  optionId: bigint;
1968
1968
  marketAddr: Address;
@@ -2064,7 +2064,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2064
2064
  isRefetching: boolean;
2065
2065
  isStale: boolean;
2066
2066
  isEnabled: boolean;
2067
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2067
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
2068
2068
  optionId: bigint;
2069
2069
  marketAddr: Address;
2070
2070
  ownerAddr: Address;
@@ -2103,7 +2103,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2103
2103
  transactionHash: string;
2104
2104
  } | null;
2105
2105
  }[], Error>>;
2106
- fetchStatus: _tanstack_query_core0.FetchStatus;
2106
+ fetchStatus: _tanstack_query_core17.FetchStatus;
2107
2107
  promise: Promise<{
2108
2108
  optionId: bigint;
2109
2109
  marketAddr: Address;
@@ -2205,7 +2205,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2205
2205
  isRefetching: boolean;
2206
2206
  isStale: boolean;
2207
2207
  isEnabled: boolean;
2208
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2208
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
2209
2209
  optionId: bigint;
2210
2210
  marketAddr: Address;
2211
2211
  ownerAddr: Address;
@@ -2244,7 +2244,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2244
2244
  transactionHash: string;
2245
2245
  } | null;
2246
2246
  }[], Error>>;
2247
- fetchStatus: _tanstack_query_core0.FetchStatus;
2247
+ fetchStatus: _tanstack_query_core17.FetchStatus;
2248
2248
  promise: Promise<{
2249
2249
  optionId: bigint;
2250
2250
  marketAddr: Address;
@@ -2346,7 +2346,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2346
2346
  isRefetching: boolean;
2347
2347
  isStale: boolean;
2348
2348
  isEnabled: boolean;
2349
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2349
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
2350
2350
  optionId: bigint;
2351
2351
  marketAddr: Address;
2352
2352
  ownerAddr: Address;
@@ -2385,7 +2385,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2385
2385
  transactionHash: string;
2386
2386
  } | null;
2387
2387
  }[], Error>>;
2388
- fetchStatus: _tanstack_query_core0.FetchStatus;
2388
+ fetchStatus: _tanstack_query_core17.FetchStatus;
2389
2389
  promise: Promise<{
2390
2390
  optionId: bigint;
2391
2391
  marketAddr: Address;
@@ -2487,7 +2487,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2487
2487
  isRefetching: boolean;
2488
2488
  isStale: boolean;
2489
2489
  isEnabled: boolean;
2490
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2490
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
2491
2491
  optionId: bigint;
2492
2492
  marketAddr: Address;
2493
2493
  ownerAddr: Address;
@@ -2526,7 +2526,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2526
2526
  transactionHash: string;
2527
2527
  } | null;
2528
2528
  }[], Error>>;
2529
- fetchStatus: _tanstack_query_core0.FetchStatus;
2529
+ fetchStatus: _tanstack_query_core17.FetchStatus;
2530
2530
  promise: Promise<{
2531
2531
  optionId: bigint;
2532
2532
  marketAddr: Address;
@@ -2628,7 +2628,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2628
2628
  isRefetching: boolean;
2629
2629
  isStale: boolean;
2630
2630
  isEnabled: boolean;
2631
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2631
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
2632
2632
  optionId: bigint;
2633
2633
  marketAddr: Address;
2634
2634
  ownerAddr: Address;
@@ -2667,7 +2667,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
2667
2667
  transactionHash: string;
2668
2668
  } | null;
2669
2669
  }[], Error>>;
2670
- fetchStatus: _tanstack_query_core0.FetchStatus;
2670
+ fetchStatus: _tanstack_query_core17.FetchStatus;
2671
2671
  promise: Promise<{
2672
2672
  optionId: bigint;
2673
2673
  marketAddr: Address;
@@ -2851,7 +2851,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
2851
2851
  isRefetching: boolean;
2852
2852
  isStale: boolean;
2853
2853
  isEnabled: boolean;
2854
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2854
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
2855
2855
  spendingApproval: bigint;
2856
2856
  operatorAddr: string;
2857
2857
  __typename: "UserMarketOperator";
@@ -2865,7 +2865,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
2865
2865
  address: string;
2866
2866
  } | null;
2867
2867
  }[] | undefined, Error>>;
2868
- fetchStatus: _tanstack_query_core0.FetchStatus;
2868
+ fetchStatus: _tanstack_query_core17.FetchStatus;
2869
2869
  promise: Promise<{
2870
2870
  spendingApproval: bigint;
2871
2871
  operatorAddr: string;
@@ -2917,7 +2917,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
2917
2917
  isRefetching: boolean;
2918
2918
  isStale: boolean;
2919
2919
  isEnabled: boolean;
2920
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2920
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
2921
2921
  spendingApproval: bigint;
2922
2922
  operatorAddr: string;
2923
2923
  __typename: "UserMarketOperator";
@@ -2931,7 +2931,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
2931
2931
  address: string;
2932
2932
  } | null;
2933
2933
  }[] | undefined, Error>>;
2934
- fetchStatus: _tanstack_query_core0.FetchStatus;
2934
+ fetchStatus: _tanstack_query_core17.FetchStatus;
2935
2935
  promise: Promise<{
2936
2936
  spendingApproval: bigint;
2937
2937
  operatorAddr: string;
@@ -2983,7 +2983,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
2983
2983
  isRefetching: boolean;
2984
2984
  isStale: boolean;
2985
2985
  isEnabled: boolean;
2986
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
2986
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
2987
2987
  spendingApproval: bigint;
2988
2988
  operatorAddr: string;
2989
2989
  __typename: "UserMarketOperator";
@@ -2997,7 +2997,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
2997
2997
  address: string;
2998
2998
  } | null;
2999
2999
  }[] | undefined, Error>>;
3000
- fetchStatus: _tanstack_query_core0.FetchStatus;
3000
+ fetchStatus: _tanstack_query_core17.FetchStatus;
3001
3001
  promise: Promise<{
3002
3002
  spendingApproval: bigint;
3003
3003
  operatorAddr: string;
@@ -3049,7 +3049,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
3049
3049
  isRefetching: boolean;
3050
3050
  isStale: boolean;
3051
3051
  isEnabled: boolean;
3052
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
3052
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
3053
3053
  spendingApproval: bigint;
3054
3054
  operatorAddr: string;
3055
3055
  __typename: "UserMarketOperator";
@@ -3063,7 +3063,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
3063
3063
  address: string;
3064
3064
  } | null;
3065
3065
  }[] | undefined, Error>>;
3066
- fetchStatus: _tanstack_query_core0.FetchStatus;
3066
+ fetchStatus: _tanstack_query_core17.FetchStatus;
3067
3067
  promise: Promise<{
3068
3068
  spendingApproval: bigint;
3069
3069
  operatorAddr: string;
@@ -3115,7 +3115,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
3115
3115
  isRefetching: boolean;
3116
3116
  isStale: boolean;
3117
3117
  isEnabled: boolean;
3118
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
3118
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
3119
3119
  spendingApproval: bigint;
3120
3120
  operatorAddr: string;
3121
3121
  __typename: "UserMarketOperator";
@@ -3129,7 +3129,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
3129
3129
  address: string;
3130
3130
  } | null;
3131
3131
  }[] | undefined, Error>>;
3132
- fetchStatus: _tanstack_query_core0.FetchStatus;
3132
+ fetchStatus: _tanstack_query_core17.FetchStatus;
3133
3133
  promise: Promise<{
3134
3134
  spendingApproval: bigint;
3135
3135
  operatorAddr: string;
@@ -3181,7 +3181,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
3181
3181
  isRefetching: boolean;
3182
3182
  isStale: boolean;
3183
3183
  isEnabled: boolean;
3184
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
3184
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
3185
3185
  spendingApproval: bigint;
3186
3186
  operatorAddr: string;
3187
3187
  __typename: "UserMarketOperator";
@@ -3195,7 +3195,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
3195
3195
  address: string;
3196
3196
  } | null;
3197
3197
  }[] | undefined, Error>>;
3198
- fetchStatus: _tanstack_query_core0.FetchStatus;
3198
+ fetchStatus: _tanstack_query_core17.FetchStatus;
3199
3199
  promise: Promise<{
3200
3200
  spendingApproval: bigint;
3201
3201
  operatorAddr: string;
@@ -3308,7 +3308,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3308
3308
  isRefetching: boolean;
3309
3309
  isStale: boolean;
3310
3310
  isEnabled: boolean;
3311
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
3311
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
3312
3312
  tickLower: number;
3313
3313
  tickUpper: number;
3314
3314
  prevTickLower: number;
@@ -3319,7 +3319,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3319
3319
  borrowedAmount0: bigint;
3320
3320
  borrowedAmount1: bigint;
3321
3321
  }[], viem249.ReadContractErrorType>>;
3322
- fetchStatus: _tanstack_query_core0.FetchStatus;
3322
+ fetchStatus: _tanstack_query_core17.FetchStatus;
3323
3323
  promise: Promise<readonly {
3324
3324
  tickLower: number;
3325
3325
  tickUpper: number;
@@ -3331,7 +3331,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3331
3331
  borrowedAmount0: bigint;
3332
3332
  borrowedAmount1: bigint;
3333
3333
  }[]>;
3334
- queryKey: _tanstack_query_core0.QueryKey;
3334
+ queryKey: _tanstack_query_core17.QueryKey;
3335
3335
  data: readonly {
3336
3336
  tickLower: number;
3337
3337
  tickUpper: number;
@@ -3366,7 +3366,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3366
3366
  isRefetching: boolean;
3367
3367
  isStale: boolean;
3368
3368
  isEnabled: boolean;
3369
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
3369
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
3370
3370
  tickLower: number;
3371
3371
  tickUpper: number;
3372
3372
  prevTickLower: number;
@@ -3377,7 +3377,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3377
3377
  borrowedAmount0: bigint;
3378
3378
  borrowedAmount1: bigint;
3379
3379
  }[], viem249.ReadContractErrorType>>;
3380
- fetchStatus: _tanstack_query_core0.FetchStatus;
3380
+ fetchStatus: _tanstack_query_core17.FetchStatus;
3381
3381
  promise: Promise<readonly {
3382
3382
  tickLower: number;
3383
3383
  tickUpper: number;
@@ -3389,7 +3389,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3389
3389
  borrowedAmount0: bigint;
3390
3390
  borrowedAmount1: bigint;
3391
3391
  }[]>;
3392
- queryKey: _tanstack_query_core0.QueryKey;
3392
+ queryKey: _tanstack_query_core17.QueryKey;
3393
3393
  data: readonly {
3394
3394
  tickLower: number;
3395
3395
  tickUpper: number;
@@ -3424,7 +3424,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3424
3424
  isRefetching: boolean;
3425
3425
  isStale: boolean;
3426
3426
  isEnabled: boolean;
3427
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
3427
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
3428
3428
  tickLower: number;
3429
3429
  tickUpper: number;
3430
3430
  prevTickLower: number;
@@ -3435,7 +3435,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3435
3435
  borrowedAmount0: bigint;
3436
3436
  borrowedAmount1: bigint;
3437
3437
  }[], viem249.ReadContractErrorType>>;
3438
- fetchStatus: _tanstack_query_core0.FetchStatus;
3438
+ fetchStatus: _tanstack_query_core17.FetchStatus;
3439
3439
  promise: Promise<readonly {
3440
3440
  tickLower: number;
3441
3441
  tickUpper: number;
@@ -3447,7 +3447,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3447
3447
  borrowedAmount0: bigint;
3448
3448
  borrowedAmount1: bigint;
3449
3449
  }[]>;
3450
- queryKey: _tanstack_query_core0.QueryKey;
3450
+ queryKey: _tanstack_query_core17.QueryKey;
3451
3451
  data: readonly {
3452
3452
  tickLower: number;
3453
3453
  tickUpper: number;
@@ -3482,7 +3482,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3482
3482
  isRefetching: boolean;
3483
3483
  isStale: boolean;
3484
3484
  isEnabled: boolean;
3485
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
3485
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
3486
3486
  tickLower: number;
3487
3487
  tickUpper: number;
3488
3488
  prevTickLower: number;
@@ -3493,7 +3493,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3493
3493
  borrowedAmount0: bigint;
3494
3494
  borrowedAmount1: bigint;
3495
3495
  }[], viem249.ReadContractErrorType>>;
3496
- fetchStatus: _tanstack_query_core0.FetchStatus;
3496
+ fetchStatus: _tanstack_query_core17.FetchStatus;
3497
3497
  promise: Promise<readonly {
3498
3498
  tickLower: number;
3499
3499
  tickUpper: number;
@@ -3505,7 +3505,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3505
3505
  borrowedAmount0: bigint;
3506
3506
  borrowedAmount1: bigint;
3507
3507
  }[]>;
3508
- queryKey: _tanstack_query_core0.QueryKey;
3508
+ queryKey: _tanstack_query_core17.QueryKey;
3509
3509
  data: readonly {
3510
3510
  tickLower: number;
3511
3511
  tickUpper: number;
@@ -3540,7 +3540,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3540
3540
  isRefetching: boolean;
3541
3541
  isStale: boolean;
3542
3542
  isEnabled: boolean;
3543
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
3543
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
3544
3544
  tickLower: number;
3545
3545
  tickUpper: number;
3546
3546
  prevTickLower: number;
@@ -3551,7 +3551,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3551
3551
  borrowedAmount0: bigint;
3552
3552
  borrowedAmount1: bigint;
3553
3553
  }[], viem249.ReadContractErrorType>>;
3554
- fetchStatus: _tanstack_query_core0.FetchStatus;
3554
+ fetchStatus: _tanstack_query_core17.FetchStatus;
3555
3555
  promise: Promise<readonly {
3556
3556
  tickLower: number;
3557
3557
  tickUpper: number;
@@ -3563,7 +3563,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3563
3563
  borrowedAmount0: bigint;
3564
3564
  borrowedAmount1: bigint;
3565
3565
  }[]>;
3566
- queryKey: _tanstack_query_core0.QueryKey;
3566
+ queryKey: _tanstack_query_core17.QueryKey;
3567
3567
  data: readonly {
3568
3568
  tickLower: number;
3569
3569
  tickUpper: number;
@@ -3598,7 +3598,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3598
3598
  isRefetching: boolean;
3599
3599
  isStale: boolean;
3600
3600
  isEnabled: boolean;
3601
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
3601
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
3602
3602
  tickLower: number;
3603
3603
  tickUpper: number;
3604
3604
  prevTickLower: number;
@@ -3609,7 +3609,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3609
3609
  borrowedAmount0: bigint;
3610
3610
  borrowedAmount1: bigint;
3611
3611
  }[], viem249.ReadContractErrorType>>;
3612
- fetchStatus: _tanstack_query_core0.FetchStatus;
3612
+ fetchStatus: _tanstack_query_core17.FetchStatus;
3613
3613
  promise: Promise<readonly {
3614
3614
  tickLower: number;
3615
3615
  tickUpper: number;
@@ -3621,7 +3621,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
3621
3621
  borrowedAmount0: bigint;
3622
3622
  borrowedAmount1: bigint;
3623
3623
  }[]>;
3624
- queryKey: _tanstack_query_core0.QueryKey;
3624
+ queryKey: _tanstack_query_core17.QueryKey;
3625
3625
  data: readonly {
3626
3626
  tickLower: number;
3627
3627
  tickUpper: number;
@@ -3681,7 +3681,7 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
3681
3681
  borrowedAmount0: Amount;
3682
3682
  borrowedAmount1: Amount;
3683
3683
  blocksCount: bigint;
3684
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem249.ReadContractErrorType>>;
3684
+ refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem249.ReadContractErrorType>>;
3685
3685
  };
3686
3686
  //#endregion
3687
3687
  //#region src/hooks/useLens.d.ts
package/dist/client.js CHANGED
@@ -565,6 +565,7 @@ const useOptionPremium = (marketAddr, optionType, optionAmount, addedDuration, r
565
565
  const useUserOptions = (userAddr, marketAddr, active = false) => {
566
566
  const { graphqlClient } = useTimelockConfig();
567
567
  userAddr = userAddr === null || userAddr === void 0 ? void 0 : userAddr.toLowerCase();
568
+ marketAddr = marketAddr === null || marketAddr === void 0 ? void 0 : marketAddr.toLowerCase();
568
569
  const { data,...rest } = useQuery({
569
570
  queryKey: [
570
571
  "userOptions",