timelock-sdk 0.0.105 → 0.0.106

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.
@@ -4,9 +4,9 @@ import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem"
4
4
  import React, { ReactNode } from "react";
5
5
  import "graphql";
6
6
  import { GraphQLClient, RequestOptions } from "graphql-request";
7
- import * as _tanstack_react_query1 from "@tanstack/react-query";
7
+ import * as _tanstack_react_query0 from "@tanstack/react-query";
8
8
  import { NonUndefinedGuard } from "@tanstack/react-query";
9
- import * as _tanstack_query_core67 from "@tanstack/query-core";
9
+ import * as _tanstack_query_core0 from "@tanstack/query-core";
10
10
  import Big from "big.js";
11
11
  import * as _wagmi_core0 from "@wagmi/core";
12
12
 
@@ -31872,7 +31872,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
31872
31872
  isRefetching: boolean;
31873
31873
  isStale: boolean;
31874
31874
  isEnabled: boolean;
31875
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
31875
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
31876
31876
  optionId: bigint;
31877
31877
  marketAddr: Address;
31878
31878
  ownerAddr: Address;
@@ -31903,7 +31903,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
31903
31903
  address: string;
31904
31904
  } | null;
31905
31905
  }[], Error>>;
31906
- fetchStatus: _tanstack_query_core67.FetchStatus;
31906
+ fetchStatus: _tanstack_query_core0.FetchStatus;
31907
31907
  promise: Promise<{
31908
31908
  optionId: bigint;
31909
31909
  marketAddr: Address;
@@ -31989,7 +31989,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
31989
31989
  isRefetching: boolean;
31990
31990
  isStale: boolean;
31991
31991
  isEnabled: boolean;
31992
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
31992
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
31993
31993
  optionId: bigint;
31994
31994
  marketAddr: Address;
31995
31995
  ownerAddr: Address;
@@ -32020,7 +32020,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32020
32020
  address: string;
32021
32021
  } | null;
32022
32022
  }[], Error>>;
32023
- fetchStatus: _tanstack_query_core67.FetchStatus;
32023
+ fetchStatus: _tanstack_query_core0.FetchStatus;
32024
32024
  promise: Promise<{
32025
32025
  optionId: bigint;
32026
32026
  marketAddr: Address;
@@ -32106,7 +32106,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32106
32106
  isRefetching: boolean;
32107
32107
  isStale: boolean;
32108
32108
  isEnabled: boolean;
32109
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
32109
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
32110
32110
  optionId: bigint;
32111
32111
  marketAddr: Address;
32112
32112
  ownerAddr: Address;
@@ -32137,7 +32137,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32137
32137
  address: string;
32138
32138
  } | null;
32139
32139
  }[], Error>>;
32140
- fetchStatus: _tanstack_query_core67.FetchStatus;
32140
+ fetchStatus: _tanstack_query_core0.FetchStatus;
32141
32141
  promise: Promise<{
32142
32142
  optionId: bigint;
32143
32143
  marketAddr: Address;
@@ -32223,7 +32223,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32223
32223
  isRefetching: boolean;
32224
32224
  isStale: boolean;
32225
32225
  isEnabled: boolean;
32226
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
32226
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
32227
32227
  optionId: bigint;
32228
32228
  marketAddr: Address;
32229
32229
  ownerAddr: Address;
@@ -32254,7 +32254,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32254
32254
  address: string;
32255
32255
  } | null;
32256
32256
  }[], Error>>;
32257
- fetchStatus: _tanstack_query_core67.FetchStatus;
32257
+ fetchStatus: _tanstack_query_core0.FetchStatus;
32258
32258
  promise: Promise<{
32259
32259
  optionId: bigint;
32260
32260
  marketAddr: Address;
@@ -32340,7 +32340,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32340
32340
  isRefetching: boolean;
32341
32341
  isStale: boolean;
32342
32342
  isEnabled: boolean;
32343
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
32343
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
32344
32344
  optionId: bigint;
32345
32345
  marketAddr: Address;
32346
32346
  ownerAddr: Address;
@@ -32371,7 +32371,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32371
32371
  address: string;
32372
32372
  } | null;
32373
32373
  }[], Error>>;
32374
- fetchStatus: _tanstack_query_core67.FetchStatus;
32374
+ fetchStatus: _tanstack_query_core0.FetchStatus;
32375
32375
  promise: Promise<{
32376
32376
  optionId: bigint;
32377
32377
  marketAddr: Address;
@@ -32457,7 +32457,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32457
32457
  isRefetching: boolean;
32458
32458
  isStale: boolean;
32459
32459
  isEnabled: boolean;
32460
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
32460
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
32461
32461
  optionId: bigint;
32462
32462
  marketAddr: Address;
32463
32463
  ownerAddr: Address;
@@ -32488,7 +32488,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32488
32488
  address: string;
32489
32489
  } | null;
32490
32490
  }[], Error>>;
32491
- fetchStatus: _tanstack_query_core67.FetchStatus;
32491
+ fetchStatus: _tanstack_query_core0.FetchStatus;
32492
32492
  promise: Promise<{
32493
32493
  optionId: bigint;
32494
32494
  marketAddr: Address;
@@ -32575,7 +32575,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32575
32575
  isRefetching: boolean;
32576
32576
  isStale: boolean;
32577
32577
  isEnabled: boolean;
32578
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
32578
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
32579
32579
  optionId: bigint;
32580
32580
  marketAddr: Address;
32581
32581
  ownerAddr: Address;
@@ -32606,7 +32606,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32606
32606
  address: string;
32607
32607
  } | null;
32608
32608
  }[], Error>>;
32609
- fetchStatus: _tanstack_query_core67.FetchStatus;
32609
+ fetchStatus: _tanstack_query_core0.FetchStatus;
32610
32610
  promise: Promise<{
32611
32611
  optionId: bigint;
32612
32612
  marketAddr: Address;
@@ -32692,7 +32692,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32692
32692
  isRefetching: boolean;
32693
32693
  isStale: boolean;
32694
32694
  isEnabled: boolean;
32695
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
32695
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
32696
32696
  optionId: bigint;
32697
32697
  marketAddr: Address;
32698
32698
  ownerAddr: Address;
@@ -32723,7 +32723,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32723
32723
  address: string;
32724
32724
  } | null;
32725
32725
  }[], Error>>;
32726
- fetchStatus: _tanstack_query_core67.FetchStatus;
32726
+ fetchStatus: _tanstack_query_core0.FetchStatus;
32727
32727
  promise: Promise<{
32728
32728
  optionId: bigint;
32729
32729
  marketAddr: Address;
@@ -32809,7 +32809,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32809
32809
  isRefetching: boolean;
32810
32810
  isStale: boolean;
32811
32811
  isEnabled: boolean;
32812
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
32812
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
32813
32813
  optionId: bigint;
32814
32814
  marketAddr: Address;
32815
32815
  ownerAddr: Address;
@@ -32840,7 +32840,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32840
32840
  address: string;
32841
32841
  } | null;
32842
32842
  }[], Error>>;
32843
- fetchStatus: _tanstack_query_core67.FetchStatus;
32843
+ fetchStatus: _tanstack_query_core0.FetchStatus;
32844
32844
  promise: Promise<{
32845
32845
  optionId: bigint;
32846
32846
  marketAddr: Address;
@@ -32926,7 +32926,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32926
32926
  isRefetching: boolean;
32927
32927
  isStale: boolean;
32928
32928
  isEnabled: boolean;
32929
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
32929
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
32930
32930
  optionId: bigint;
32931
32931
  marketAddr: Address;
32932
32932
  ownerAddr: Address;
@@ -32957,7 +32957,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32957
32957
  address: string;
32958
32958
  } | null;
32959
32959
  }[], Error>>;
32960
- fetchStatus: _tanstack_query_core67.FetchStatus;
32960
+ fetchStatus: _tanstack_query_core0.FetchStatus;
32961
32961
  promise: Promise<{
32962
32962
  optionId: bigint;
32963
32963
  marketAddr: Address;
@@ -33043,7 +33043,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
33043
33043
  isRefetching: boolean;
33044
33044
  isStale: boolean;
33045
33045
  isEnabled: boolean;
33046
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
33046
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
33047
33047
  optionId: bigint;
33048
33048
  marketAddr: Address;
33049
33049
  ownerAddr: Address;
@@ -33074,7 +33074,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
33074
33074
  address: string;
33075
33075
  } | null;
33076
33076
  }[], Error>>;
33077
- fetchStatus: _tanstack_query_core67.FetchStatus;
33077
+ fetchStatus: _tanstack_query_core0.FetchStatus;
33078
33078
  promise: Promise<{
33079
33079
  optionId: bigint;
33080
33080
  marketAddr: Address;
@@ -33160,7 +33160,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
33160
33160
  isRefetching: boolean;
33161
33161
  isStale: boolean;
33162
33162
  isEnabled: boolean;
33163
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
33163
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
33164
33164
  optionId: bigint;
33165
33165
  marketAddr: Address;
33166
33166
  ownerAddr: Address;
@@ -33191,7 +33191,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
33191
33191
  address: string;
33192
33192
  } | null;
33193
33193
  }[], Error>>;
33194
- fetchStatus: _tanstack_query_core67.FetchStatus;
33194
+ fetchStatus: _tanstack_query_core0.FetchStatus;
33195
33195
  promise: Promise<{
33196
33196
  optionId: bigint;
33197
33197
  marketAddr: Address;
@@ -33278,7 +33278,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33278
33278
  isRefetching: boolean;
33279
33279
  isStale: boolean;
33280
33280
  isEnabled: boolean;
33281
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
33281
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
33282
33282
  optionId: bigint;
33283
33283
  marketAddr: Address;
33284
33284
  ownerAddr: Address;
@@ -33309,7 +33309,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33309
33309
  address: string;
33310
33310
  } | null;
33311
33311
  }[], Error>>;
33312
- fetchStatus: _tanstack_query_core67.FetchStatus;
33312
+ fetchStatus: _tanstack_query_core0.FetchStatus;
33313
33313
  promise: Promise<{
33314
33314
  optionId: bigint;
33315
33315
  marketAddr: Address;
@@ -33395,7 +33395,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33395
33395
  isRefetching: boolean;
33396
33396
  isStale: boolean;
33397
33397
  isEnabled: boolean;
33398
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
33398
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
33399
33399
  optionId: bigint;
33400
33400
  marketAddr: Address;
33401
33401
  ownerAddr: Address;
@@ -33426,7 +33426,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33426
33426
  address: string;
33427
33427
  } | null;
33428
33428
  }[], Error>>;
33429
- fetchStatus: _tanstack_query_core67.FetchStatus;
33429
+ fetchStatus: _tanstack_query_core0.FetchStatus;
33430
33430
  promise: Promise<{
33431
33431
  optionId: bigint;
33432
33432
  marketAddr: Address;
@@ -33512,7 +33512,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33512
33512
  isRefetching: boolean;
33513
33513
  isStale: boolean;
33514
33514
  isEnabled: boolean;
33515
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
33515
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
33516
33516
  optionId: bigint;
33517
33517
  marketAddr: Address;
33518
33518
  ownerAddr: Address;
@@ -33543,7 +33543,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33543
33543
  address: string;
33544
33544
  } | null;
33545
33545
  }[], Error>>;
33546
- fetchStatus: _tanstack_query_core67.FetchStatus;
33546
+ fetchStatus: _tanstack_query_core0.FetchStatus;
33547
33547
  promise: Promise<{
33548
33548
  optionId: bigint;
33549
33549
  marketAddr: Address;
@@ -33629,7 +33629,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33629
33629
  isRefetching: boolean;
33630
33630
  isStale: boolean;
33631
33631
  isEnabled: boolean;
33632
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
33632
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
33633
33633
  optionId: bigint;
33634
33634
  marketAddr: Address;
33635
33635
  ownerAddr: Address;
@@ -33660,7 +33660,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33660
33660
  address: string;
33661
33661
  } | null;
33662
33662
  }[], Error>>;
33663
- fetchStatus: _tanstack_query_core67.FetchStatus;
33663
+ fetchStatus: _tanstack_query_core0.FetchStatus;
33664
33664
  promise: Promise<{
33665
33665
  optionId: bigint;
33666
33666
  marketAddr: Address;
@@ -33746,7 +33746,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33746
33746
  isRefetching: boolean;
33747
33747
  isStale: boolean;
33748
33748
  isEnabled: boolean;
33749
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
33749
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
33750
33750
  optionId: bigint;
33751
33751
  marketAddr: Address;
33752
33752
  ownerAddr: Address;
@@ -33777,7 +33777,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33777
33777
  address: string;
33778
33778
  } | null;
33779
33779
  }[], Error>>;
33780
- fetchStatus: _tanstack_query_core67.FetchStatus;
33780
+ fetchStatus: _tanstack_query_core0.FetchStatus;
33781
33781
  promise: Promise<{
33782
33782
  optionId: bigint;
33783
33783
  marketAddr: Address;
@@ -33863,7 +33863,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33863
33863
  isRefetching: boolean;
33864
33864
  isStale: boolean;
33865
33865
  isEnabled: boolean;
33866
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
33866
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
33867
33867
  optionId: bigint;
33868
33868
  marketAddr: Address;
33869
33869
  ownerAddr: Address;
@@ -33894,7 +33894,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33894
33894
  address: string;
33895
33895
  } | null;
33896
33896
  }[], Error>>;
33897
- fetchStatus: _tanstack_query_core67.FetchStatus;
33897
+ fetchStatus: _tanstack_query_core0.FetchStatus;
33898
33898
  promise: Promise<{
33899
33899
  optionId: bigint;
33900
33900
  marketAddr: Address;
@@ -33960,7 +33960,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33960
33960
  };
33961
33961
  //#endregion
33962
33962
  //#region src/hooks/options/useExerciseOption.d.ts
33963
- declare const useExerciseOption: (marketAddr?: Address) => _tanstack_react_query1.UseMutationResult<`0x${string}`, Error, {
33963
+ declare const useExerciseOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
33964
33964
  option: OptionData;
33965
33965
  liquidities: readonly bigint[];
33966
33966
  }, unknown>;
@@ -34016,7 +34016,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
34016
34016
  };
34017
34017
  //#endregion
34018
34018
  //#region src/hooks/options/useMintOption.d.ts
34019
- declare const useMintOption: (marketAddr?: Address) => _tanstack_react_query1.UseMutationResult<`0x${string}`, Error, {
34019
+ declare const useMintOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
34020
34020
  optionType: "CALL" | "PUT";
34021
34021
  amount: bigint;
34022
34022
  duration: number;
@@ -34041,7 +34041,7 @@ declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "C
34041
34041
  };
34042
34042
  //#endregion
34043
34043
  //#region src/hooks/options/useExtendOption.d.ts
34044
- declare const useExtendOption: (marketAddr?: Address) => _tanstack_react_query1.UseMutationResult<`0x${string}`, Error, {
34044
+ declare const useExtendOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
34045
34045
  option: OptionData;
34046
34046
  duration: number;
34047
34047
  }, unknown>;
@@ -34071,7 +34071,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34071
34071
  isRefetching: boolean;
34072
34072
  isStale: boolean;
34073
34073
  isEnabled: boolean;
34074
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<({
34074
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
34075
34075
  type: "mint";
34076
34076
  data: {
34077
34077
  id: string;
@@ -34110,7 +34110,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34110
34110
  transactionHash: string;
34111
34111
  };
34112
34112
  })[], Error>>;
34113
- fetchStatus: _tanstack_query_core67.FetchStatus;
34113
+ fetchStatus: _tanstack_query_core0.FetchStatus;
34114
34114
  promise: Promise<({
34115
34115
  type: "mint";
34116
34116
  data: {
@@ -34212,7 +34212,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34212
34212
  isRefetching: boolean;
34213
34213
  isStale: boolean;
34214
34214
  isEnabled: boolean;
34215
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<({
34215
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
34216
34216
  type: "mint";
34217
34217
  data: {
34218
34218
  id: string;
@@ -34251,7 +34251,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34251
34251
  transactionHash: string;
34252
34252
  };
34253
34253
  })[], Error>>;
34254
- fetchStatus: _tanstack_query_core67.FetchStatus;
34254
+ fetchStatus: _tanstack_query_core0.FetchStatus;
34255
34255
  promise: Promise<({
34256
34256
  type: "mint";
34257
34257
  data: {
@@ -34353,7 +34353,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34353
34353
  isRefetching: boolean;
34354
34354
  isStale: boolean;
34355
34355
  isEnabled: boolean;
34356
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<({
34356
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
34357
34357
  type: "mint";
34358
34358
  data: {
34359
34359
  id: string;
@@ -34392,7 +34392,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34392
34392
  transactionHash: string;
34393
34393
  };
34394
34394
  })[], Error>>;
34395
- fetchStatus: _tanstack_query_core67.FetchStatus;
34395
+ fetchStatus: _tanstack_query_core0.FetchStatus;
34396
34396
  promise: Promise<({
34397
34397
  type: "mint";
34398
34398
  data: {
@@ -34494,7 +34494,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34494
34494
  isRefetching: boolean;
34495
34495
  isStale: boolean;
34496
34496
  isEnabled: boolean;
34497
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<({
34497
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
34498
34498
  type: "mint";
34499
34499
  data: {
34500
34500
  id: string;
@@ -34533,7 +34533,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34533
34533
  transactionHash: string;
34534
34534
  };
34535
34535
  })[], Error>>;
34536
- fetchStatus: _tanstack_query_core67.FetchStatus;
34536
+ fetchStatus: _tanstack_query_core0.FetchStatus;
34537
34537
  promise: Promise<({
34538
34538
  type: "mint";
34539
34539
  data: {
@@ -34635,7 +34635,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34635
34635
  isRefetching: boolean;
34636
34636
  isStale: boolean;
34637
34637
  isEnabled: boolean;
34638
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<({
34638
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
34639
34639
  type: "mint";
34640
34640
  data: {
34641
34641
  id: string;
@@ -34674,7 +34674,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34674
34674
  transactionHash: string;
34675
34675
  };
34676
34676
  })[], Error>>;
34677
- fetchStatus: _tanstack_query_core67.FetchStatus;
34677
+ fetchStatus: _tanstack_query_core0.FetchStatus;
34678
34678
  promise: Promise<({
34679
34679
  type: "mint";
34680
34680
  data: {
@@ -34776,7 +34776,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34776
34776
  isRefetching: boolean;
34777
34777
  isStale: boolean;
34778
34778
  isEnabled: boolean;
34779
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<({
34779
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
34780
34780
  type: "mint";
34781
34781
  data: {
34782
34782
  id: string;
@@ -34815,7 +34815,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34815
34815
  transactionHash: string;
34816
34816
  };
34817
34817
  })[], Error>>;
34818
- fetchStatus: _tanstack_query_core67.FetchStatus;
34818
+ fetchStatus: _tanstack_query_core0.FetchStatus;
34819
34819
  promise: Promise<({
34820
34820
  type: "mint";
34821
34821
  data: {
@@ -34897,7 +34897,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34897
34897
  };
34898
34898
  //#endregion
34899
34899
  //#region src/hooks/perps/useMintPerp.d.ts
34900
- declare const useMintPerp: (marketAddr?: Address) => _tanstack_react_query1.UseMutationResult<void, Error, {
34900
+ declare const useMintPerp: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<void, Error, {
34901
34901
  optionType: "CALL" | "PUT";
34902
34902
  amount: bigint;
34903
34903
  duration: number;
@@ -34952,7 +34952,7 @@ declare class PerpsOperator {
34952
34952
  }
34953
34953
  //#endregion
34954
34954
  //#region src/hooks/perps/useClosePerp.d.ts
34955
- declare const useClosePerp: () => _tanstack_react_query1.UseMutationResult<{
34955
+ declare const useClosePerp: () => _tanstack_react_query0.UseMutationResult<{
34956
34956
  txHash: string;
34957
34957
  optionId: bigint;
34958
34958
  }, Error, ExercisePerpBody, unknown>;
@@ -34961,7 +34961,930 @@ declare const useClosePerp: () => _tanstack_react_query1.UseMutationResult<{
34961
34961
  declare const usePerpsOperator: () => {
34962
34962
  operator: PerpsOperator | undefined;
34963
34963
  address: `0x${string}` | undefined;
34964
- signMessage: _tanstack_react_query1.UseMutationResult<void, Error, void, unknown>;
34964
+ signMessage: _tanstack_react_query0.UseMutationResult<void, Error, void, unknown>;
34965
+ };
34966
+ //#endregion
34967
+ //#region src/hooks/perps/useUserPerps.d.ts
34968
+ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "active" | "closed") => {
34969
+ error: Error;
34970
+ isError: true;
34971
+ isPending: false;
34972
+ isLoading: false;
34973
+ isLoadingError: false;
34974
+ isRefetchError: true;
34975
+ isSuccess: false;
34976
+ isPlaceholderData: false;
34977
+ status: "error";
34978
+ dataUpdatedAt: number;
34979
+ errorUpdatedAt: number;
34980
+ failureCount: number;
34981
+ failureReason: Error | null;
34982
+ errorUpdateCount: number;
34983
+ isFetched: boolean;
34984
+ isFetchedAfterMount: boolean;
34985
+ isFetching: boolean;
34986
+ isInitialLoading: boolean;
34987
+ isPaused: boolean;
34988
+ isRefetching: boolean;
34989
+ isStale: boolean;
34990
+ isEnabled: boolean;
34991
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
34992
+ optionId: bigint;
34993
+ id: string;
34994
+ ownerAddr: Address;
34995
+ marketAddr: Address;
34996
+ perpDuration: number;
34997
+ expiresAt: number;
34998
+ closed: boolean;
34999
+ }[] | undefined, Error>>;
35000
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35001
+ promise: Promise<{
35002
+ optionId: bigint;
35003
+ id: string;
35004
+ ownerAddr: Address;
35005
+ marketAddr: Address;
35006
+ perpDuration: number;
35007
+ expiresAt: number;
35008
+ closed: boolean;
35009
+ }[] | undefined>;
35010
+ data: {
35011
+ optionId: bigint;
35012
+ id: string;
35013
+ ownerAddr: Address;
35014
+ marketAddr: Address;
35015
+ perpDuration: number;
35016
+ expiresAt: number;
35017
+ closed: boolean;
35018
+ }[];
35019
+ } | {
35020
+ error: null;
35021
+ isError: false;
35022
+ isPending: false;
35023
+ isLoading: false;
35024
+ isLoadingError: false;
35025
+ isRefetchError: false;
35026
+ isSuccess: true;
35027
+ isPlaceholderData: false;
35028
+ status: "success";
35029
+ dataUpdatedAt: number;
35030
+ errorUpdatedAt: number;
35031
+ failureCount: number;
35032
+ failureReason: Error | null;
35033
+ errorUpdateCount: number;
35034
+ isFetched: boolean;
35035
+ isFetchedAfterMount: boolean;
35036
+ isFetching: boolean;
35037
+ isInitialLoading: boolean;
35038
+ isPaused: boolean;
35039
+ isRefetching: boolean;
35040
+ isStale: boolean;
35041
+ isEnabled: boolean;
35042
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35043
+ optionId: bigint;
35044
+ id: string;
35045
+ ownerAddr: Address;
35046
+ marketAddr: Address;
35047
+ perpDuration: number;
35048
+ expiresAt: number;
35049
+ closed: boolean;
35050
+ }[] | undefined, Error>>;
35051
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35052
+ promise: Promise<{
35053
+ optionId: bigint;
35054
+ id: string;
35055
+ ownerAddr: Address;
35056
+ marketAddr: Address;
35057
+ perpDuration: number;
35058
+ expiresAt: number;
35059
+ closed: boolean;
35060
+ }[] | undefined>;
35061
+ data: {
35062
+ optionId: bigint;
35063
+ id: string;
35064
+ ownerAddr: Address;
35065
+ marketAddr: Address;
35066
+ perpDuration: number;
35067
+ expiresAt: number;
35068
+ closed: boolean;
35069
+ }[];
35070
+ } | {
35071
+ error: Error;
35072
+ isError: true;
35073
+ isPending: false;
35074
+ isLoading: false;
35075
+ isLoadingError: true;
35076
+ isRefetchError: false;
35077
+ isSuccess: false;
35078
+ isPlaceholderData: false;
35079
+ status: "error";
35080
+ dataUpdatedAt: number;
35081
+ errorUpdatedAt: number;
35082
+ failureCount: number;
35083
+ failureReason: Error | null;
35084
+ errorUpdateCount: number;
35085
+ isFetched: boolean;
35086
+ isFetchedAfterMount: boolean;
35087
+ isFetching: boolean;
35088
+ isInitialLoading: boolean;
35089
+ isPaused: boolean;
35090
+ isRefetching: boolean;
35091
+ isStale: boolean;
35092
+ isEnabled: boolean;
35093
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35094
+ optionId: bigint;
35095
+ id: string;
35096
+ ownerAddr: Address;
35097
+ marketAddr: Address;
35098
+ perpDuration: number;
35099
+ expiresAt: number;
35100
+ closed: boolean;
35101
+ }[] | undefined, Error>>;
35102
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35103
+ promise: Promise<{
35104
+ optionId: bigint;
35105
+ id: string;
35106
+ ownerAddr: Address;
35107
+ marketAddr: Address;
35108
+ perpDuration: number;
35109
+ expiresAt: number;
35110
+ closed: boolean;
35111
+ }[] | undefined>;
35112
+ data: {
35113
+ optionId: bigint;
35114
+ id: string;
35115
+ ownerAddr: Address;
35116
+ marketAddr: Address;
35117
+ perpDuration: number;
35118
+ expiresAt: number;
35119
+ closed: boolean;
35120
+ }[];
35121
+ } | {
35122
+ error: null;
35123
+ isError: false;
35124
+ isPending: true;
35125
+ isLoading: true;
35126
+ isLoadingError: false;
35127
+ isRefetchError: false;
35128
+ isSuccess: false;
35129
+ isPlaceholderData: false;
35130
+ status: "pending";
35131
+ dataUpdatedAt: number;
35132
+ errorUpdatedAt: number;
35133
+ failureCount: number;
35134
+ failureReason: Error | null;
35135
+ errorUpdateCount: number;
35136
+ isFetched: boolean;
35137
+ isFetchedAfterMount: boolean;
35138
+ isFetching: boolean;
35139
+ isInitialLoading: boolean;
35140
+ isPaused: boolean;
35141
+ isRefetching: boolean;
35142
+ isStale: boolean;
35143
+ isEnabled: boolean;
35144
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35145
+ optionId: bigint;
35146
+ id: string;
35147
+ ownerAddr: Address;
35148
+ marketAddr: Address;
35149
+ perpDuration: number;
35150
+ expiresAt: number;
35151
+ closed: boolean;
35152
+ }[] | undefined, Error>>;
35153
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35154
+ promise: Promise<{
35155
+ optionId: bigint;
35156
+ id: string;
35157
+ ownerAddr: Address;
35158
+ marketAddr: Address;
35159
+ perpDuration: number;
35160
+ expiresAt: number;
35161
+ closed: boolean;
35162
+ }[] | undefined>;
35163
+ data: {
35164
+ optionId: bigint;
35165
+ id: string;
35166
+ ownerAddr: Address;
35167
+ marketAddr: Address;
35168
+ perpDuration: number;
35169
+ expiresAt: number;
35170
+ closed: boolean;
35171
+ }[];
35172
+ } | {
35173
+ error: null;
35174
+ isError: false;
35175
+ isPending: true;
35176
+ isLoadingError: false;
35177
+ isRefetchError: false;
35178
+ isSuccess: false;
35179
+ isPlaceholderData: false;
35180
+ status: "pending";
35181
+ dataUpdatedAt: number;
35182
+ errorUpdatedAt: number;
35183
+ failureCount: number;
35184
+ failureReason: Error | null;
35185
+ errorUpdateCount: number;
35186
+ isFetched: boolean;
35187
+ isFetchedAfterMount: boolean;
35188
+ isFetching: boolean;
35189
+ isLoading: boolean;
35190
+ isInitialLoading: boolean;
35191
+ isPaused: boolean;
35192
+ isRefetching: boolean;
35193
+ isStale: boolean;
35194
+ isEnabled: boolean;
35195
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35196
+ optionId: bigint;
35197
+ id: string;
35198
+ ownerAddr: Address;
35199
+ marketAddr: Address;
35200
+ perpDuration: number;
35201
+ expiresAt: number;
35202
+ closed: boolean;
35203
+ }[] | undefined, Error>>;
35204
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35205
+ promise: Promise<{
35206
+ optionId: bigint;
35207
+ id: string;
35208
+ ownerAddr: Address;
35209
+ marketAddr: Address;
35210
+ perpDuration: number;
35211
+ expiresAt: number;
35212
+ closed: boolean;
35213
+ }[] | undefined>;
35214
+ data: {
35215
+ optionId: bigint;
35216
+ id: string;
35217
+ ownerAddr: Address;
35218
+ marketAddr: Address;
35219
+ perpDuration: number;
35220
+ expiresAt: number;
35221
+ closed: boolean;
35222
+ }[];
35223
+ } | {
35224
+ isError: false;
35225
+ error: null;
35226
+ isPending: false;
35227
+ isLoading: false;
35228
+ isLoadingError: false;
35229
+ isRefetchError: false;
35230
+ isSuccess: true;
35231
+ isPlaceholderData: true;
35232
+ status: "success";
35233
+ dataUpdatedAt: number;
35234
+ errorUpdatedAt: number;
35235
+ failureCount: number;
35236
+ failureReason: Error | null;
35237
+ errorUpdateCount: number;
35238
+ isFetched: boolean;
35239
+ isFetchedAfterMount: boolean;
35240
+ isFetching: boolean;
35241
+ isInitialLoading: boolean;
35242
+ isPaused: boolean;
35243
+ isRefetching: boolean;
35244
+ isStale: boolean;
35245
+ isEnabled: boolean;
35246
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35247
+ optionId: bigint;
35248
+ id: string;
35249
+ ownerAddr: Address;
35250
+ marketAddr: Address;
35251
+ perpDuration: number;
35252
+ expiresAt: number;
35253
+ closed: boolean;
35254
+ }[] | undefined, Error>>;
35255
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35256
+ promise: Promise<{
35257
+ optionId: bigint;
35258
+ id: string;
35259
+ ownerAddr: Address;
35260
+ marketAddr: Address;
35261
+ perpDuration: number;
35262
+ expiresAt: number;
35263
+ closed: boolean;
35264
+ }[] | undefined>;
35265
+ data: {
35266
+ optionId: bigint;
35267
+ id: string;
35268
+ ownerAddr: Address;
35269
+ marketAddr: Address;
35270
+ perpDuration: number;
35271
+ expiresAt: number;
35272
+ closed: boolean;
35273
+ }[];
35274
+ };
35275
+ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) => {
35276
+ error: Error;
35277
+ isError: true;
35278
+ isPending: false;
35279
+ isLoading: false;
35280
+ isLoadingError: false;
35281
+ isRefetchError: true;
35282
+ isSuccess: false;
35283
+ isPlaceholderData: false;
35284
+ status: "error";
35285
+ dataUpdatedAt: number;
35286
+ errorUpdatedAt: number;
35287
+ failureCount: number;
35288
+ failureReason: Error | null;
35289
+ errorUpdateCount: number;
35290
+ isFetched: boolean;
35291
+ isFetchedAfterMount: boolean;
35292
+ isFetching: boolean;
35293
+ isInitialLoading: boolean;
35294
+ isPaused: boolean;
35295
+ isRefetching: boolean;
35296
+ isStale: boolean;
35297
+ isEnabled: boolean;
35298
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35299
+ optionId: bigint;
35300
+ id: string;
35301
+ ownerAddr: Address;
35302
+ marketAddr: Address;
35303
+ perpDuration: number;
35304
+ expiresAt: number;
35305
+ closed: boolean;
35306
+ }[] | undefined, Error>>;
35307
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35308
+ promise: Promise<{
35309
+ optionId: bigint;
35310
+ id: string;
35311
+ ownerAddr: Address;
35312
+ marketAddr: Address;
35313
+ perpDuration: number;
35314
+ expiresAt: number;
35315
+ closed: boolean;
35316
+ }[] | undefined>;
35317
+ data: {
35318
+ optionId: bigint;
35319
+ id: string;
35320
+ ownerAddr: Address;
35321
+ marketAddr: Address;
35322
+ perpDuration: number;
35323
+ expiresAt: number;
35324
+ closed: boolean;
35325
+ }[];
35326
+ } | {
35327
+ error: null;
35328
+ isError: false;
35329
+ isPending: false;
35330
+ isLoading: false;
35331
+ isLoadingError: false;
35332
+ isRefetchError: false;
35333
+ isSuccess: true;
35334
+ isPlaceholderData: false;
35335
+ status: "success";
35336
+ dataUpdatedAt: number;
35337
+ errorUpdatedAt: number;
35338
+ failureCount: number;
35339
+ failureReason: Error | null;
35340
+ errorUpdateCount: number;
35341
+ isFetched: boolean;
35342
+ isFetchedAfterMount: boolean;
35343
+ isFetching: boolean;
35344
+ isInitialLoading: boolean;
35345
+ isPaused: boolean;
35346
+ isRefetching: boolean;
35347
+ isStale: boolean;
35348
+ isEnabled: boolean;
35349
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35350
+ optionId: bigint;
35351
+ id: string;
35352
+ ownerAddr: Address;
35353
+ marketAddr: Address;
35354
+ perpDuration: number;
35355
+ expiresAt: number;
35356
+ closed: boolean;
35357
+ }[] | undefined, Error>>;
35358
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35359
+ promise: Promise<{
35360
+ optionId: bigint;
35361
+ id: string;
35362
+ ownerAddr: Address;
35363
+ marketAddr: Address;
35364
+ perpDuration: number;
35365
+ expiresAt: number;
35366
+ closed: boolean;
35367
+ }[] | undefined>;
35368
+ data: {
35369
+ optionId: bigint;
35370
+ id: string;
35371
+ ownerAddr: Address;
35372
+ marketAddr: Address;
35373
+ perpDuration: number;
35374
+ expiresAt: number;
35375
+ closed: boolean;
35376
+ }[];
35377
+ } | {
35378
+ error: Error;
35379
+ isError: true;
35380
+ isPending: false;
35381
+ isLoading: false;
35382
+ isLoadingError: true;
35383
+ isRefetchError: false;
35384
+ isSuccess: false;
35385
+ isPlaceholderData: false;
35386
+ status: "error";
35387
+ dataUpdatedAt: number;
35388
+ errorUpdatedAt: number;
35389
+ failureCount: number;
35390
+ failureReason: Error | null;
35391
+ errorUpdateCount: number;
35392
+ isFetched: boolean;
35393
+ isFetchedAfterMount: boolean;
35394
+ isFetching: boolean;
35395
+ isInitialLoading: boolean;
35396
+ isPaused: boolean;
35397
+ isRefetching: boolean;
35398
+ isStale: boolean;
35399
+ isEnabled: boolean;
35400
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35401
+ optionId: bigint;
35402
+ id: string;
35403
+ ownerAddr: Address;
35404
+ marketAddr: Address;
35405
+ perpDuration: number;
35406
+ expiresAt: number;
35407
+ closed: boolean;
35408
+ }[] | undefined, Error>>;
35409
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35410
+ promise: Promise<{
35411
+ optionId: bigint;
35412
+ id: string;
35413
+ ownerAddr: Address;
35414
+ marketAddr: Address;
35415
+ perpDuration: number;
35416
+ expiresAt: number;
35417
+ closed: boolean;
35418
+ }[] | undefined>;
35419
+ data: {
35420
+ optionId: bigint;
35421
+ id: string;
35422
+ ownerAddr: Address;
35423
+ marketAddr: Address;
35424
+ perpDuration: number;
35425
+ expiresAt: number;
35426
+ closed: boolean;
35427
+ }[];
35428
+ } | {
35429
+ error: null;
35430
+ isError: false;
35431
+ isPending: true;
35432
+ isLoading: true;
35433
+ isLoadingError: false;
35434
+ isRefetchError: false;
35435
+ isSuccess: false;
35436
+ isPlaceholderData: false;
35437
+ status: "pending";
35438
+ dataUpdatedAt: number;
35439
+ errorUpdatedAt: number;
35440
+ failureCount: number;
35441
+ failureReason: Error | null;
35442
+ errorUpdateCount: number;
35443
+ isFetched: boolean;
35444
+ isFetchedAfterMount: boolean;
35445
+ isFetching: boolean;
35446
+ isInitialLoading: boolean;
35447
+ isPaused: boolean;
35448
+ isRefetching: boolean;
35449
+ isStale: boolean;
35450
+ isEnabled: boolean;
35451
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35452
+ optionId: bigint;
35453
+ id: string;
35454
+ ownerAddr: Address;
35455
+ marketAddr: Address;
35456
+ perpDuration: number;
35457
+ expiresAt: number;
35458
+ closed: boolean;
35459
+ }[] | undefined, Error>>;
35460
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35461
+ promise: Promise<{
35462
+ optionId: bigint;
35463
+ id: string;
35464
+ ownerAddr: Address;
35465
+ marketAddr: Address;
35466
+ perpDuration: number;
35467
+ expiresAt: number;
35468
+ closed: boolean;
35469
+ }[] | undefined>;
35470
+ data: {
35471
+ optionId: bigint;
35472
+ id: string;
35473
+ ownerAddr: Address;
35474
+ marketAddr: Address;
35475
+ perpDuration: number;
35476
+ expiresAt: number;
35477
+ closed: boolean;
35478
+ }[];
35479
+ } | {
35480
+ error: null;
35481
+ isError: false;
35482
+ isPending: true;
35483
+ isLoadingError: false;
35484
+ isRefetchError: false;
35485
+ isSuccess: false;
35486
+ isPlaceholderData: false;
35487
+ status: "pending";
35488
+ dataUpdatedAt: number;
35489
+ errorUpdatedAt: number;
35490
+ failureCount: number;
35491
+ failureReason: Error | null;
35492
+ errorUpdateCount: number;
35493
+ isFetched: boolean;
35494
+ isFetchedAfterMount: boolean;
35495
+ isFetching: boolean;
35496
+ isLoading: boolean;
35497
+ isInitialLoading: boolean;
35498
+ isPaused: boolean;
35499
+ isRefetching: boolean;
35500
+ isStale: boolean;
35501
+ isEnabled: boolean;
35502
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35503
+ optionId: bigint;
35504
+ id: string;
35505
+ ownerAddr: Address;
35506
+ marketAddr: Address;
35507
+ perpDuration: number;
35508
+ expiresAt: number;
35509
+ closed: boolean;
35510
+ }[] | undefined, Error>>;
35511
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35512
+ promise: Promise<{
35513
+ optionId: bigint;
35514
+ id: string;
35515
+ ownerAddr: Address;
35516
+ marketAddr: Address;
35517
+ perpDuration: number;
35518
+ expiresAt: number;
35519
+ closed: boolean;
35520
+ }[] | undefined>;
35521
+ data: {
35522
+ optionId: bigint;
35523
+ id: string;
35524
+ ownerAddr: Address;
35525
+ marketAddr: Address;
35526
+ perpDuration: number;
35527
+ expiresAt: number;
35528
+ closed: boolean;
35529
+ }[];
35530
+ } | {
35531
+ isError: false;
35532
+ error: null;
35533
+ isPending: false;
35534
+ isLoading: false;
35535
+ isLoadingError: false;
35536
+ isRefetchError: false;
35537
+ isSuccess: true;
35538
+ isPlaceholderData: true;
35539
+ status: "success";
35540
+ dataUpdatedAt: number;
35541
+ errorUpdatedAt: number;
35542
+ failureCount: number;
35543
+ failureReason: Error | null;
35544
+ errorUpdateCount: number;
35545
+ isFetched: boolean;
35546
+ isFetchedAfterMount: boolean;
35547
+ isFetching: boolean;
35548
+ isInitialLoading: boolean;
35549
+ isPaused: boolean;
35550
+ isRefetching: boolean;
35551
+ isStale: boolean;
35552
+ isEnabled: boolean;
35553
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35554
+ optionId: bigint;
35555
+ id: string;
35556
+ ownerAddr: Address;
35557
+ marketAddr: Address;
35558
+ perpDuration: number;
35559
+ expiresAt: number;
35560
+ closed: boolean;
35561
+ }[] | undefined, Error>>;
35562
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35563
+ promise: Promise<{
35564
+ optionId: bigint;
35565
+ id: string;
35566
+ ownerAddr: Address;
35567
+ marketAddr: Address;
35568
+ perpDuration: number;
35569
+ expiresAt: number;
35570
+ closed: boolean;
35571
+ }[] | undefined>;
35572
+ data: {
35573
+ optionId: bigint;
35574
+ id: string;
35575
+ ownerAddr: Address;
35576
+ marketAddr: Address;
35577
+ perpDuration: number;
35578
+ expiresAt: number;
35579
+ closed: boolean;
35580
+ }[];
35581
+ };
35582
+ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) => {
35583
+ error: Error;
35584
+ isError: true;
35585
+ isPending: false;
35586
+ isLoading: false;
35587
+ isLoadingError: false;
35588
+ isRefetchError: true;
35589
+ isSuccess: false;
35590
+ isPlaceholderData: false;
35591
+ status: "error";
35592
+ dataUpdatedAt: number;
35593
+ errorUpdatedAt: number;
35594
+ failureCount: number;
35595
+ failureReason: Error | null;
35596
+ errorUpdateCount: number;
35597
+ isFetched: boolean;
35598
+ isFetchedAfterMount: boolean;
35599
+ isFetching: boolean;
35600
+ isInitialLoading: boolean;
35601
+ isPaused: boolean;
35602
+ isRefetching: boolean;
35603
+ isStale: boolean;
35604
+ isEnabled: boolean;
35605
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35606
+ optionId: bigint;
35607
+ id: string;
35608
+ ownerAddr: Address;
35609
+ marketAddr: Address;
35610
+ perpDuration: number;
35611
+ expiresAt: number;
35612
+ closed: boolean;
35613
+ }[] | undefined, Error>>;
35614
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35615
+ promise: Promise<{
35616
+ optionId: bigint;
35617
+ id: string;
35618
+ ownerAddr: Address;
35619
+ marketAddr: Address;
35620
+ perpDuration: number;
35621
+ expiresAt: number;
35622
+ closed: boolean;
35623
+ }[] | undefined>;
35624
+ data: {
35625
+ optionId: bigint;
35626
+ id: string;
35627
+ ownerAddr: Address;
35628
+ marketAddr: Address;
35629
+ perpDuration: number;
35630
+ expiresAt: number;
35631
+ closed: boolean;
35632
+ }[];
35633
+ } | {
35634
+ error: null;
35635
+ isError: false;
35636
+ isPending: false;
35637
+ isLoading: false;
35638
+ isLoadingError: false;
35639
+ isRefetchError: false;
35640
+ isSuccess: true;
35641
+ isPlaceholderData: false;
35642
+ status: "success";
35643
+ dataUpdatedAt: number;
35644
+ errorUpdatedAt: number;
35645
+ failureCount: number;
35646
+ failureReason: Error | null;
35647
+ errorUpdateCount: number;
35648
+ isFetched: boolean;
35649
+ isFetchedAfterMount: boolean;
35650
+ isFetching: boolean;
35651
+ isInitialLoading: boolean;
35652
+ isPaused: boolean;
35653
+ isRefetching: boolean;
35654
+ isStale: boolean;
35655
+ isEnabled: boolean;
35656
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35657
+ optionId: bigint;
35658
+ id: string;
35659
+ ownerAddr: Address;
35660
+ marketAddr: Address;
35661
+ perpDuration: number;
35662
+ expiresAt: number;
35663
+ closed: boolean;
35664
+ }[] | undefined, Error>>;
35665
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35666
+ promise: Promise<{
35667
+ optionId: bigint;
35668
+ id: string;
35669
+ ownerAddr: Address;
35670
+ marketAddr: Address;
35671
+ perpDuration: number;
35672
+ expiresAt: number;
35673
+ closed: boolean;
35674
+ }[] | undefined>;
35675
+ data: {
35676
+ optionId: bigint;
35677
+ id: string;
35678
+ ownerAddr: Address;
35679
+ marketAddr: Address;
35680
+ perpDuration: number;
35681
+ expiresAt: number;
35682
+ closed: boolean;
35683
+ }[];
35684
+ } | {
35685
+ error: Error;
35686
+ isError: true;
35687
+ isPending: false;
35688
+ isLoading: false;
35689
+ isLoadingError: true;
35690
+ isRefetchError: false;
35691
+ isSuccess: false;
35692
+ isPlaceholderData: false;
35693
+ status: "error";
35694
+ dataUpdatedAt: number;
35695
+ errorUpdatedAt: number;
35696
+ failureCount: number;
35697
+ failureReason: Error | null;
35698
+ errorUpdateCount: number;
35699
+ isFetched: boolean;
35700
+ isFetchedAfterMount: boolean;
35701
+ isFetching: boolean;
35702
+ isInitialLoading: boolean;
35703
+ isPaused: boolean;
35704
+ isRefetching: boolean;
35705
+ isStale: boolean;
35706
+ isEnabled: boolean;
35707
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35708
+ optionId: bigint;
35709
+ id: string;
35710
+ ownerAddr: Address;
35711
+ marketAddr: Address;
35712
+ perpDuration: number;
35713
+ expiresAt: number;
35714
+ closed: boolean;
35715
+ }[] | undefined, Error>>;
35716
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35717
+ promise: Promise<{
35718
+ optionId: bigint;
35719
+ id: string;
35720
+ ownerAddr: Address;
35721
+ marketAddr: Address;
35722
+ perpDuration: number;
35723
+ expiresAt: number;
35724
+ closed: boolean;
35725
+ }[] | undefined>;
35726
+ data: {
35727
+ optionId: bigint;
35728
+ id: string;
35729
+ ownerAddr: Address;
35730
+ marketAddr: Address;
35731
+ perpDuration: number;
35732
+ expiresAt: number;
35733
+ closed: boolean;
35734
+ }[];
35735
+ } | {
35736
+ error: null;
35737
+ isError: false;
35738
+ isPending: true;
35739
+ isLoading: true;
35740
+ isLoadingError: false;
35741
+ isRefetchError: false;
35742
+ isSuccess: false;
35743
+ isPlaceholderData: false;
35744
+ status: "pending";
35745
+ dataUpdatedAt: number;
35746
+ errorUpdatedAt: number;
35747
+ failureCount: number;
35748
+ failureReason: Error | null;
35749
+ errorUpdateCount: number;
35750
+ isFetched: boolean;
35751
+ isFetchedAfterMount: boolean;
35752
+ isFetching: boolean;
35753
+ isInitialLoading: boolean;
35754
+ isPaused: boolean;
35755
+ isRefetching: boolean;
35756
+ isStale: boolean;
35757
+ isEnabled: boolean;
35758
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35759
+ optionId: bigint;
35760
+ id: string;
35761
+ ownerAddr: Address;
35762
+ marketAddr: Address;
35763
+ perpDuration: number;
35764
+ expiresAt: number;
35765
+ closed: boolean;
35766
+ }[] | undefined, Error>>;
35767
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35768
+ promise: Promise<{
35769
+ optionId: bigint;
35770
+ id: string;
35771
+ ownerAddr: Address;
35772
+ marketAddr: Address;
35773
+ perpDuration: number;
35774
+ expiresAt: number;
35775
+ closed: boolean;
35776
+ }[] | undefined>;
35777
+ data: {
35778
+ optionId: bigint;
35779
+ id: string;
35780
+ ownerAddr: Address;
35781
+ marketAddr: Address;
35782
+ perpDuration: number;
35783
+ expiresAt: number;
35784
+ closed: boolean;
35785
+ }[];
35786
+ } | {
35787
+ error: null;
35788
+ isError: false;
35789
+ isPending: true;
35790
+ isLoadingError: false;
35791
+ isRefetchError: false;
35792
+ isSuccess: false;
35793
+ isPlaceholderData: false;
35794
+ status: "pending";
35795
+ dataUpdatedAt: number;
35796
+ errorUpdatedAt: number;
35797
+ failureCount: number;
35798
+ failureReason: Error | null;
35799
+ errorUpdateCount: number;
35800
+ isFetched: boolean;
35801
+ isFetchedAfterMount: boolean;
35802
+ isFetching: boolean;
35803
+ isLoading: boolean;
35804
+ isInitialLoading: boolean;
35805
+ isPaused: boolean;
35806
+ isRefetching: boolean;
35807
+ isStale: boolean;
35808
+ isEnabled: boolean;
35809
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35810
+ optionId: bigint;
35811
+ id: string;
35812
+ ownerAddr: Address;
35813
+ marketAddr: Address;
35814
+ perpDuration: number;
35815
+ expiresAt: number;
35816
+ closed: boolean;
35817
+ }[] | undefined, Error>>;
35818
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35819
+ promise: Promise<{
35820
+ optionId: bigint;
35821
+ id: string;
35822
+ ownerAddr: Address;
35823
+ marketAddr: Address;
35824
+ perpDuration: number;
35825
+ expiresAt: number;
35826
+ closed: boolean;
35827
+ }[] | undefined>;
35828
+ data: {
35829
+ optionId: bigint;
35830
+ id: string;
35831
+ ownerAddr: Address;
35832
+ marketAddr: Address;
35833
+ perpDuration: number;
35834
+ expiresAt: number;
35835
+ closed: boolean;
35836
+ }[];
35837
+ } | {
35838
+ isError: false;
35839
+ error: null;
35840
+ isPending: false;
35841
+ isLoading: false;
35842
+ isLoadingError: false;
35843
+ isRefetchError: false;
35844
+ isSuccess: true;
35845
+ isPlaceholderData: true;
35846
+ status: "success";
35847
+ dataUpdatedAt: number;
35848
+ errorUpdatedAt: number;
35849
+ failureCount: number;
35850
+ failureReason: Error | null;
35851
+ errorUpdateCount: number;
35852
+ isFetched: boolean;
35853
+ isFetchedAfterMount: boolean;
35854
+ isFetching: boolean;
35855
+ isInitialLoading: boolean;
35856
+ isPaused: boolean;
35857
+ isRefetching: boolean;
35858
+ isStale: boolean;
35859
+ isEnabled: boolean;
35860
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35861
+ optionId: bigint;
35862
+ id: string;
35863
+ ownerAddr: Address;
35864
+ marketAddr: Address;
35865
+ perpDuration: number;
35866
+ expiresAt: number;
35867
+ closed: boolean;
35868
+ }[] | undefined, Error>>;
35869
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35870
+ promise: Promise<{
35871
+ optionId: bigint;
35872
+ id: string;
35873
+ ownerAddr: Address;
35874
+ marketAddr: Address;
35875
+ perpDuration: number;
35876
+ expiresAt: number;
35877
+ closed: boolean;
35878
+ }[] | undefined>;
35879
+ data: {
35880
+ optionId: bigint;
35881
+ id: string;
35882
+ ownerAddr: Address;
35883
+ marketAddr: Address;
35884
+ perpDuration: number;
35885
+ expiresAt: number;
35886
+ closed: boolean;
35887
+ }[];
34965
35888
  };
34966
35889
  //#endregion
34967
35890
  //#region src/hooks/operators/useOperatorPerms.d.ts
@@ -34988,10 +35911,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
34988
35911
  isRefetching: boolean;
34989
35912
  isStale: boolean;
34990
35913
  isEnabled: boolean;
34991
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
34992
- fetchStatus: _tanstack_query_core67.FetchStatus;
35914
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
35915
+ fetchStatus: _tanstack_query_core0.FetchStatus;
34993
35916
  promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
34994
- queryKey: _tanstack_query_core67.QueryKey;
35917
+ queryKey: _tanstack_query_core0.QueryKey;
34995
35918
  data: {
34996
35919
  canExtend: boolean;
34997
35920
  canExercise: boolean;
@@ -35022,10 +35945,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
35022
35945
  isRefetching: boolean;
35023
35946
  isStale: boolean;
35024
35947
  isEnabled: boolean;
35025
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
35026
- fetchStatus: _tanstack_query_core67.FetchStatus;
35948
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
35949
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35027
35950
  promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
35028
- queryKey: _tanstack_query_core67.QueryKey;
35951
+ queryKey: _tanstack_query_core0.QueryKey;
35029
35952
  data: {
35030
35953
  canExtend: boolean;
35031
35954
  canExercise: boolean;
@@ -35056,10 +35979,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
35056
35979
  isRefetching: boolean;
35057
35980
  isStale: boolean;
35058
35981
  isEnabled: boolean;
35059
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
35060
- fetchStatus: _tanstack_query_core67.FetchStatus;
35982
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
35983
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35061
35984
  promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
35062
- queryKey: _tanstack_query_core67.QueryKey;
35985
+ queryKey: _tanstack_query_core0.QueryKey;
35063
35986
  data: {
35064
35987
  canExtend: boolean;
35065
35988
  canExercise: boolean;
@@ -35090,10 +36013,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
35090
36013
  isRefetching: boolean;
35091
36014
  isStale: boolean;
35092
36015
  isEnabled: boolean;
35093
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
35094
- fetchStatus: _tanstack_query_core67.FetchStatus;
36016
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
36017
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35095
36018
  promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
35096
- queryKey: _tanstack_query_core67.QueryKey;
36019
+ queryKey: _tanstack_query_core0.QueryKey;
35097
36020
  data: {
35098
36021
  canExtend: boolean;
35099
36022
  canExercise: boolean;
@@ -35124,10 +36047,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
35124
36047
  isRefetching: boolean;
35125
36048
  isStale: boolean;
35126
36049
  isEnabled: boolean;
35127
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
35128
- fetchStatus: _tanstack_query_core67.FetchStatus;
36050
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
36051
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35129
36052
  promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
35130
- queryKey: _tanstack_query_core67.QueryKey;
36053
+ queryKey: _tanstack_query_core0.QueryKey;
35131
36054
  data: {
35132
36055
  canExtend: boolean;
35133
36056
  canExercise: boolean;
@@ -35158,10 +36081,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
35158
36081
  isRefetching: boolean;
35159
36082
  isStale: boolean;
35160
36083
  isEnabled: boolean;
35161
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
35162
- fetchStatus: _tanstack_query_core67.FetchStatus;
36084
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
36085
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35163
36086
  promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
35164
- queryKey: _tanstack_query_core67.QueryKey;
36087
+ queryKey: _tanstack_query_core0.QueryKey;
35165
36088
  data: {
35166
36089
  canExtend: boolean;
35167
36090
  canExercise: boolean;
@@ -35209,7 +36132,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
35209
36132
  isRefetching: boolean;
35210
36133
  isStale: boolean;
35211
36134
  isEnabled: boolean;
35212
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
36135
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35213
36136
  spendingApproval: bigint;
35214
36137
  operatorAddr: string;
35215
36138
  __typename: "UserMarketOperator";
@@ -35223,7 +36146,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
35223
36146
  address: string;
35224
36147
  } | null;
35225
36148
  }[] | undefined, Error>>;
35226
- fetchStatus: _tanstack_query_core67.FetchStatus;
36149
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35227
36150
  promise: Promise<{
35228
36151
  spendingApproval: bigint;
35229
36152
  operatorAddr: string;
@@ -35275,7 +36198,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
35275
36198
  isRefetching: boolean;
35276
36199
  isStale: boolean;
35277
36200
  isEnabled: boolean;
35278
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
36201
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35279
36202
  spendingApproval: bigint;
35280
36203
  operatorAddr: string;
35281
36204
  __typename: "UserMarketOperator";
@@ -35289,7 +36212,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
35289
36212
  address: string;
35290
36213
  } | null;
35291
36214
  }[] | undefined, Error>>;
35292
- fetchStatus: _tanstack_query_core67.FetchStatus;
36215
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35293
36216
  promise: Promise<{
35294
36217
  spendingApproval: bigint;
35295
36218
  operatorAddr: string;
@@ -35341,7 +36264,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
35341
36264
  isRefetching: boolean;
35342
36265
  isStale: boolean;
35343
36266
  isEnabled: boolean;
35344
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
36267
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35345
36268
  spendingApproval: bigint;
35346
36269
  operatorAddr: string;
35347
36270
  __typename: "UserMarketOperator";
@@ -35355,7 +36278,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
35355
36278
  address: string;
35356
36279
  } | null;
35357
36280
  }[] | undefined, Error>>;
35358
- fetchStatus: _tanstack_query_core67.FetchStatus;
36281
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35359
36282
  promise: Promise<{
35360
36283
  spendingApproval: bigint;
35361
36284
  operatorAddr: string;
@@ -35407,7 +36330,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
35407
36330
  isRefetching: boolean;
35408
36331
  isStale: boolean;
35409
36332
  isEnabled: boolean;
35410
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
36333
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35411
36334
  spendingApproval: bigint;
35412
36335
  operatorAddr: string;
35413
36336
  __typename: "UserMarketOperator";
@@ -35421,7 +36344,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
35421
36344
  address: string;
35422
36345
  } | null;
35423
36346
  }[] | undefined, Error>>;
35424
- fetchStatus: _tanstack_query_core67.FetchStatus;
36347
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35425
36348
  promise: Promise<{
35426
36349
  spendingApproval: bigint;
35427
36350
  operatorAddr: string;
@@ -35473,7 +36396,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
35473
36396
  isRefetching: boolean;
35474
36397
  isStale: boolean;
35475
36398
  isEnabled: boolean;
35476
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
36399
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35477
36400
  spendingApproval: bigint;
35478
36401
  operatorAddr: string;
35479
36402
  __typename: "UserMarketOperator";
@@ -35487,7 +36410,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
35487
36410
  address: string;
35488
36411
  } | null;
35489
36412
  }[] | undefined, Error>>;
35490
- fetchStatus: _tanstack_query_core67.FetchStatus;
36413
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35491
36414
  promise: Promise<{
35492
36415
  spendingApproval: bigint;
35493
36416
  operatorAddr: string;
@@ -35539,7 +36462,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
35539
36462
  isRefetching: boolean;
35540
36463
  isStale: boolean;
35541
36464
  isEnabled: boolean;
35542
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<{
36465
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35543
36466
  spendingApproval: bigint;
35544
36467
  operatorAddr: string;
35545
36468
  __typename: "UserMarketOperator";
@@ -35553,7 +36476,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
35553
36476
  address: string;
35554
36477
  } | null;
35555
36478
  }[] | undefined, Error>>;
35556
- fetchStatus: _tanstack_query_core67.FetchStatus;
36479
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35557
36480
  promise: Promise<{
35558
36481
  spendingApproval: bigint;
35559
36482
  operatorAddr: string;
@@ -35571,7 +36494,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
35571
36494
  };
35572
36495
  //#endregion
35573
36496
  //#region src/hooks/operators/useSetOperatorPerms.d.ts
35574
- declare const useSetOperatorPerms: (marketAddr?: Address) => _tanstack_react_query1.UseMutationResult<`0x${string}`, Error, {
36497
+ declare const useSetOperatorPerms: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
35575
36498
  operator: Address;
35576
36499
  canExtend: boolean;
35577
36500
  canExercise: boolean;
@@ -35647,7 +36570,7 @@ declare const usePoolData: (poolAddr?: Address) => Partial<NonUndefined<{
35647
36570
  declare const usePriceAtTick: (tick?: number, poolAddr?: Address) => Amount | undefined;
35648
36571
  //#endregion
35649
36572
  //#region src/hooks/pool/usePriceHistory.d.ts
35650
- declare const usePriceHistory: (pool: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query1.UseQueryResult<PriceDataPoint[], Error>;
36573
+ declare const usePriceHistory: (pool: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query0.UseQueryResult<PriceDataPoint[], Error>;
35651
36574
  //#endregion
35652
36575
  //#region src/hooks/vault/useBurnLiquidity.d.ts
35653
36576
  interface BurnPosition {
@@ -35691,7 +36614,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
35691
36614
  isRefetching: boolean;
35692
36615
  isStale: boolean;
35693
36616
  isEnabled: boolean;
35694
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly {
36617
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
35695
36618
  tickLower: number;
35696
36619
  tickUpper: number;
35697
36620
  prevTickLower: number;
@@ -35702,7 +36625,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
35702
36625
  borrowedAmount0: bigint;
35703
36626
  borrowedAmount1: bigint;
35704
36627
  }[], viem145.ReadContractErrorType>>;
35705
- fetchStatus: _tanstack_query_core67.FetchStatus;
36628
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35706
36629
  promise: Promise<readonly {
35707
36630
  tickLower: number;
35708
36631
  tickUpper: number;
@@ -35714,7 +36637,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
35714
36637
  borrowedAmount0: bigint;
35715
36638
  borrowedAmount1: bigint;
35716
36639
  }[]>;
35717
- queryKey: _tanstack_query_core67.QueryKey;
36640
+ queryKey: _tanstack_query_core0.QueryKey;
35718
36641
  data: readonly {
35719
36642
  tickLower: number;
35720
36643
  tickUpper: number;
@@ -35749,7 +36672,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
35749
36672
  isRefetching: boolean;
35750
36673
  isStale: boolean;
35751
36674
  isEnabled: boolean;
35752
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly {
36675
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
35753
36676
  tickLower: number;
35754
36677
  tickUpper: number;
35755
36678
  prevTickLower: number;
@@ -35760,7 +36683,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
35760
36683
  borrowedAmount0: bigint;
35761
36684
  borrowedAmount1: bigint;
35762
36685
  }[], viem145.ReadContractErrorType>>;
35763
- fetchStatus: _tanstack_query_core67.FetchStatus;
36686
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35764
36687
  promise: Promise<readonly {
35765
36688
  tickLower: number;
35766
36689
  tickUpper: number;
@@ -35772,7 +36695,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
35772
36695
  borrowedAmount0: bigint;
35773
36696
  borrowedAmount1: bigint;
35774
36697
  }[]>;
35775
- queryKey: _tanstack_query_core67.QueryKey;
36698
+ queryKey: _tanstack_query_core0.QueryKey;
35776
36699
  data: readonly {
35777
36700
  tickLower: number;
35778
36701
  tickUpper: number;
@@ -35807,7 +36730,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
35807
36730
  isRefetching: boolean;
35808
36731
  isStale: boolean;
35809
36732
  isEnabled: boolean;
35810
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly {
36733
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
35811
36734
  tickLower: number;
35812
36735
  tickUpper: number;
35813
36736
  prevTickLower: number;
@@ -35818,7 +36741,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
35818
36741
  borrowedAmount0: bigint;
35819
36742
  borrowedAmount1: bigint;
35820
36743
  }[], viem145.ReadContractErrorType>>;
35821
- fetchStatus: _tanstack_query_core67.FetchStatus;
36744
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35822
36745
  promise: Promise<readonly {
35823
36746
  tickLower: number;
35824
36747
  tickUpper: number;
@@ -35830,7 +36753,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
35830
36753
  borrowedAmount0: bigint;
35831
36754
  borrowedAmount1: bigint;
35832
36755
  }[]>;
35833
- queryKey: _tanstack_query_core67.QueryKey;
36756
+ queryKey: _tanstack_query_core0.QueryKey;
35834
36757
  data: readonly {
35835
36758
  tickLower: number;
35836
36759
  tickUpper: number;
@@ -35865,7 +36788,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
35865
36788
  isRefetching: boolean;
35866
36789
  isStale: boolean;
35867
36790
  isEnabled: boolean;
35868
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly {
36791
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
35869
36792
  tickLower: number;
35870
36793
  tickUpper: number;
35871
36794
  prevTickLower: number;
@@ -35876,7 +36799,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
35876
36799
  borrowedAmount0: bigint;
35877
36800
  borrowedAmount1: bigint;
35878
36801
  }[], viem145.ReadContractErrorType>>;
35879
- fetchStatus: _tanstack_query_core67.FetchStatus;
36802
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35880
36803
  promise: Promise<readonly {
35881
36804
  tickLower: number;
35882
36805
  tickUpper: number;
@@ -35888,7 +36811,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
35888
36811
  borrowedAmount0: bigint;
35889
36812
  borrowedAmount1: bigint;
35890
36813
  }[]>;
35891
- queryKey: _tanstack_query_core67.QueryKey;
36814
+ queryKey: _tanstack_query_core0.QueryKey;
35892
36815
  data: readonly {
35893
36816
  tickLower: number;
35894
36817
  tickUpper: number;
@@ -35923,7 +36846,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
35923
36846
  isRefetching: boolean;
35924
36847
  isStale: boolean;
35925
36848
  isEnabled: boolean;
35926
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly {
36849
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
35927
36850
  tickLower: number;
35928
36851
  tickUpper: number;
35929
36852
  prevTickLower: number;
@@ -35934,7 +36857,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
35934
36857
  borrowedAmount0: bigint;
35935
36858
  borrowedAmount1: bigint;
35936
36859
  }[], viem145.ReadContractErrorType>>;
35937
- fetchStatus: _tanstack_query_core67.FetchStatus;
36860
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35938
36861
  promise: Promise<readonly {
35939
36862
  tickLower: number;
35940
36863
  tickUpper: number;
@@ -35946,7 +36869,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
35946
36869
  borrowedAmount0: bigint;
35947
36870
  borrowedAmount1: bigint;
35948
36871
  }[]>;
35949
- queryKey: _tanstack_query_core67.QueryKey;
36872
+ queryKey: _tanstack_query_core0.QueryKey;
35950
36873
  data: readonly {
35951
36874
  tickLower: number;
35952
36875
  tickUpper: number;
@@ -35981,7 +36904,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
35981
36904
  isRefetching: boolean;
35982
36905
  isStale: boolean;
35983
36906
  isEnabled: boolean;
35984
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly {
36907
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
35985
36908
  tickLower: number;
35986
36909
  tickUpper: number;
35987
36910
  prevTickLower: number;
@@ -35992,7 +36915,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
35992
36915
  borrowedAmount0: bigint;
35993
36916
  borrowedAmount1: bigint;
35994
36917
  }[], viem145.ReadContractErrorType>>;
35995
- fetchStatus: _tanstack_query_core67.FetchStatus;
36918
+ fetchStatus: _tanstack_query_core0.FetchStatus;
35996
36919
  promise: Promise<readonly {
35997
36920
  tickLower: number;
35998
36921
  tickUpper: number;
@@ -36004,7 +36927,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
36004
36927
  borrowedAmount0: bigint;
36005
36928
  borrowedAmount1: bigint;
36006
36929
  }[]>;
36007
- queryKey: _tanstack_query_core67.QueryKey;
36930
+ queryKey: _tanstack_query_core0.QueryKey;
36008
36931
  data: readonly {
36009
36932
  tickLower: number;
36010
36933
  tickUpper: number;
@@ -36030,7 +36953,7 @@ interface MintPositionParams {
36030
36953
  tickUpper: number;
36031
36954
  liquidity: bigint;
36032
36955
  }
36033
- declare const useMintLiquidity: (vaultAddr?: Address) => _tanstack_react_query1.UseMutationResult<void, Error, MintPositionParams | MintPositionParams[], unknown>;
36956
+ declare const useMintLiquidity: (vaultAddr?: Address) => _tanstack_react_query0.UseMutationResult<void, Error, MintPositionParams | MintPositionParams[], unknown>;
36034
36957
  //#endregion
36035
36958
  //#region src/hooks/vault/useVaultData.d.ts
36036
36959
  declare const useVaultData: (vaultAddr?: Address) => {
@@ -36055,7 +36978,7 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
36055
36978
  borrowedAmount0: Amount;
36056
36979
  borrowedAmount1: Amount;
36057
36980
  blocksCount: bigint;
36058
- refetch: (options?: _tanstack_query_core67.RefetchOptions) => Promise<_tanstack_query_core67.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem145.ReadContractErrorType>>;
36981
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem145.ReadContractErrorType>>;
36059
36982
  };
36060
36983
  //#endregion
36061
36984
  //#region src/hooks/useLens.d.ts
@@ -61930,5 +62853,5 @@ declare const useApproval: () => {
61930
62853
  reset: () => void;
61931
62854
  };
61932
62855
  //#endregion
61933
- export { scaleAmount as $, PriceDataPoint as A, OptionTimelineData as B, liquiditiesToAmount1 as C, getUniswapMathLens as Ct, token0ToToken1 as D, roundTickUp as E, useUserOperators as F, useMintOption as G, useExtendOption as H, useOperatorPerms as I, EMPTY_ARRAY as J, useMaxPositionSize as K, usePerpsOperator as L, getCurrentPrice as M, getPriceHistory as N, token1ToToken0 as O, useSetOperatorPerms as P, formatVagueAmount as Q, useClosePerp as R, liquiditiesToAmount0 as S, getTimelockMarket as St, roundTickDown as T, uniswapMathLenses as Tt, useOptionPremium as U, useOptionTimeline as V, useOptionPnl as W, formatCondensed as X, formatAmount as Y, formatUSD as Z, PRICE_PRECISION as _, TimelockMarket as _t, batchGetAmountsFromLiquidity as a, wrapPrice as at, getPriceAtTick as b, getErc20 as bt, useLiquidityBlocks as c, useMarketData as ct, usePriceAtTick as d, useActiveUserOptions as dt, scalePrice as et, UniswapPoolData as f, useClosedUserOptions as ft, getPayoutAtTick as g, TimelockLens as gt, useCurrentPrice as h, useTimelockConfig as ht, useVaultData as i, wrapAmountUnscaled as it, PriceResolution as j, PriceData as k, useBurnLiquidity as l, useExerciseOption as lt, useCurrentTick as m, useCurrentMarket as mt, useLens as n, unscalePrice as nt, useMintLiquidity as o, wrapPriceUnscaled as ot, usePoolData as p, TimelockProvider as pt, Amount as q, useVaultTVL as r, wrapAmount as rt, LiquidityBlockData as s, zero as st, useApproval as t, unscaleAmount as tt, usePriceHistory as u, OptionData as ut, getAmountsFromLiquidity as v, TimelockMarketData as vt, liquiditiesToAmounts as w, timelockLenses as wt, getTickAtPrice as x, getTimelockLens as xt, getNearestValidStrikeTick as y, UniswapMathLens as yt, useMintPerp as z };
61934
- //# sourceMappingURL=client-1hXpAcRP.d.cts.map
62856
+ export { formatCondensed as $, PriceDataPoint as A, usePerpsOperator as B, liquiditiesToAmount1 as C, getErc20 as Ct, token0ToToken1 as D, timelockLenses as Dt, roundTickUp as E, getUniswapMathLens as Et, useUserOperators as F, useExtendOption as G, useMintPerp as H, useOperatorPerms as I, useMintOption as J, useOptionPremium as K, useActiveUserPerps as L, getCurrentPrice as M, getPriceHistory as N, token1ToToken0 as O, uniswapMathLenses as Ot, useSetOperatorPerms as P, formatAmount as Q, useClosedUserPerps as R, liquiditiesToAmount0 as S, UniswapMathLens as St, roundTickDown as T, getTimelockMarket as Tt, OptionTimelineData as U, useClosePerp as V, useOptionTimeline as W, Amount as X, useMaxPositionSize as Y, EMPTY_ARRAY as Z, PRICE_PRECISION as _, useCurrentMarket as _t, batchGetAmountsFromLiquidity as a, unscalePrice as at, getPriceAtTick as b, TimelockMarket as bt, useLiquidityBlocks as c, wrapPrice as ct, usePriceAtTick as d, useMarketData as dt, formatUSD as et, UniswapPoolData as f, useExerciseOption as ft, getPayoutAtTick as g, TimelockProvider as gt, useCurrentPrice as h, useClosedUserOptions as ht, useVaultData as i, unscaleAmount as it, PriceResolution as j, PriceData as k, useBurnLiquidity as l, wrapPriceUnscaled as lt, useCurrentTick as m, useActiveUserOptions as mt, useLens as n, scaleAmount as nt, useMintLiquidity as o, wrapAmount as ot, usePoolData as p, OptionData as pt, useOptionPnl as q, useVaultTVL as r, scalePrice as rt, LiquidityBlockData as s, wrapAmountUnscaled as st, useApproval as t, formatVagueAmount as tt, usePriceHistory as u, zero as ut, getAmountsFromLiquidity as v, useTimelockConfig as vt, liquiditiesToAmounts as w, getTimelockLens as wt, getTickAtPrice as x, TimelockMarketData as xt, getNearestValidStrikeTick as y, TimelockLens as yt, useUserPerps as z };
62857
+ //# sourceMappingURL=client-DlkfUDwU.d.cts.map