timelock-sdk 0.0.121 → 0.0.122
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-bCuyjf6z.d.cts → client-B05FmAOu.d.cts} +304 -295
- package/dist/{client-D7objc4l.d.ts → client-DD0ZqvvE.d.ts} +154 -145
- package/dist/client.cjs +1 -1
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +1 -1
- package/dist/client.js.map +1 -1
- package/dist/{optionUtils-MZU-Gklx.js → optionUtils-BTJL8VrK.js} +6 -6
- package/dist/{optionUtils-MZU-Gklx.js.map → optionUtils-BTJL8VrK.js.map} +1 -1
- package/dist/{optionUtils-DENHUR2w.cjs → optionUtils-TQHs3mDI.cjs} +6 -6
- package/dist/optionUtils-TQHs3mDI.cjs.map +1 -0
- package/dist/package.cjs +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/dist/package.js +1 -1
- package/package.json +1 -1
- package/dist/optionUtils-DENHUR2w.cjs.map +0 -1
|
@@ -8,7 +8,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
10
|
import "graphql";
|
|
11
|
-
import * as
|
|
11
|
+
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
12
12
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
13
13
|
|
|
14
14
|
//#region src/generated/graphql.d.ts
|
|
@@ -407,7 +407,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
407
407
|
}];
|
|
408
408
|
readonly stateMutability: "nonpayable";
|
|
409
409
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
410
|
-
|
|
410
|
+
name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
411
411
|
readonly type: "constructor";
|
|
412
412
|
readonly inputs: readonly [{
|
|
413
413
|
readonly name: "name_";
|
|
@@ -585,8 +585,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
585
585
|
readonly internalType: "bool";
|
|
586
586
|
}];
|
|
587
587
|
readonly stateMutability: "nonpayable";
|
|
588
|
-
}], "
|
|
589
|
-
|
|
588
|
+
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
589
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
590
590
|
readonly type: "constructor";
|
|
591
591
|
readonly inputs: readonly [{
|
|
592
592
|
readonly name: "name_";
|
|
@@ -764,8 +764,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
764
764
|
readonly internalType: "bool";
|
|
765
765
|
}];
|
|
766
766
|
readonly stateMutability: "nonpayable";
|
|
767
|
-
}], "
|
|
768
|
-
|
|
767
|
+
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
768
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
769
769
|
readonly type: "constructor";
|
|
770
770
|
readonly inputs: readonly [{
|
|
771
771
|
readonly name: "name_";
|
|
@@ -943,8 +943,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
943
943
|
readonly internalType: "bool";
|
|
944
944
|
}];
|
|
945
945
|
readonly stateMutability: "nonpayable";
|
|
946
|
-
}], "
|
|
947
|
-
|
|
946
|
+
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
947
|
+
decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
948
948
|
readonly type: "constructor";
|
|
949
949
|
readonly inputs: readonly [{
|
|
950
950
|
readonly name: "name_";
|
|
@@ -1122,7 +1122,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1122
1122
|
readonly internalType: "bool";
|
|
1123
1123
|
}];
|
|
1124
1124
|
readonly stateMutability: "nonpayable";
|
|
1125
|
-
}], "
|
|
1125
|
+
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
1126
1126
|
totalSupply: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
1127
1127
|
readonly type: "constructor";
|
|
1128
1128
|
readonly inputs: readonly [{
|
|
@@ -31752,7 +31752,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31752
31752
|
isRefetching: boolean;
|
|
31753
31753
|
isStale: boolean;
|
|
31754
31754
|
isEnabled: boolean;
|
|
31755
|
-
refetch: (options?:
|
|
31755
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
31756
31756
|
optionId: bigint;
|
|
31757
31757
|
marketAddr: Address;
|
|
31758
31758
|
ownerAddr: Address;
|
|
@@ -31782,7 +31782,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31782
31782
|
address: string;
|
|
31783
31783
|
} | null;
|
|
31784
31784
|
}[], Error>>;
|
|
31785
|
-
fetchStatus:
|
|
31785
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
31786
31786
|
promise: Promise<{
|
|
31787
31787
|
optionId: bigint;
|
|
31788
31788
|
marketAddr: Address;
|
|
@@ -31866,7 +31866,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31866
31866
|
isRefetching: boolean;
|
|
31867
31867
|
isStale: boolean;
|
|
31868
31868
|
isEnabled: boolean;
|
|
31869
|
-
refetch: (options?:
|
|
31869
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
31870
31870
|
optionId: bigint;
|
|
31871
31871
|
marketAddr: Address;
|
|
31872
31872
|
ownerAddr: Address;
|
|
@@ -31896,7 +31896,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31896
31896
|
address: string;
|
|
31897
31897
|
} | null;
|
|
31898
31898
|
}[], Error>>;
|
|
31899
|
-
fetchStatus:
|
|
31899
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
31900
31900
|
promise: Promise<{
|
|
31901
31901
|
optionId: bigint;
|
|
31902
31902
|
marketAddr: Address;
|
|
@@ -31980,7 +31980,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31980
31980
|
isRefetching: boolean;
|
|
31981
31981
|
isStale: boolean;
|
|
31982
31982
|
isEnabled: boolean;
|
|
31983
|
-
refetch: (options?:
|
|
31983
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
31984
31984
|
optionId: bigint;
|
|
31985
31985
|
marketAddr: Address;
|
|
31986
31986
|
ownerAddr: Address;
|
|
@@ -32010,7 +32010,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32010
32010
|
address: string;
|
|
32011
32011
|
} | null;
|
|
32012
32012
|
}[], Error>>;
|
|
32013
|
-
fetchStatus:
|
|
32013
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32014
32014
|
promise: Promise<{
|
|
32015
32015
|
optionId: bigint;
|
|
32016
32016
|
marketAddr: Address;
|
|
@@ -32094,7 +32094,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32094
32094
|
isRefetching: boolean;
|
|
32095
32095
|
isStale: boolean;
|
|
32096
32096
|
isEnabled: boolean;
|
|
32097
|
-
refetch: (options?:
|
|
32097
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32098
32098
|
optionId: bigint;
|
|
32099
32099
|
marketAddr: Address;
|
|
32100
32100
|
ownerAddr: Address;
|
|
@@ -32124,7 +32124,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32124
32124
|
address: string;
|
|
32125
32125
|
} | null;
|
|
32126
32126
|
}[], Error>>;
|
|
32127
|
-
fetchStatus:
|
|
32127
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32128
32128
|
promise: Promise<{
|
|
32129
32129
|
optionId: bigint;
|
|
32130
32130
|
marketAddr: Address;
|
|
@@ -32208,7 +32208,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32208
32208
|
isRefetching: boolean;
|
|
32209
32209
|
isStale: boolean;
|
|
32210
32210
|
isEnabled: boolean;
|
|
32211
|
-
refetch: (options?:
|
|
32211
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32212
32212
|
optionId: bigint;
|
|
32213
32213
|
marketAddr: Address;
|
|
32214
32214
|
ownerAddr: Address;
|
|
@@ -32238,7 +32238,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32238
32238
|
address: string;
|
|
32239
32239
|
} | null;
|
|
32240
32240
|
}[], Error>>;
|
|
32241
|
-
fetchStatus:
|
|
32241
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32242
32242
|
promise: Promise<{
|
|
32243
32243
|
optionId: bigint;
|
|
32244
32244
|
marketAddr: Address;
|
|
@@ -32322,7 +32322,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32322
32322
|
isRefetching: boolean;
|
|
32323
32323
|
isStale: boolean;
|
|
32324
32324
|
isEnabled: boolean;
|
|
32325
|
-
refetch: (options?:
|
|
32325
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32326
32326
|
optionId: bigint;
|
|
32327
32327
|
marketAddr: Address;
|
|
32328
32328
|
ownerAddr: Address;
|
|
@@ -32352,7 +32352,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32352
32352
|
address: string;
|
|
32353
32353
|
} | null;
|
|
32354
32354
|
}[], Error>>;
|
|
32355
|
-
fetchStatus:
|
|
32355
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32356
32356
|
promise: Promise<{
|
|
32357
32357
|
optionId: bigint;
|
|
32358
32358
|
marketAddr: Address;
|
|
@@ -32437,7 +32437,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32437
32437
|
isRefetching: boolean;
|
|
32438
32438
|
isStale: boolean;
|
|
32439
32439
|
isEnabled: boolean;
|
|
32440
|
-
refetch: (options?:
|
|
32440
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32441
32441
|
optionId: bigint;
|
|
32442
32442
|
marketAddr: Address;
|
|
32443
32443
|
ownerAddr: Address;
|
|
@@ -32467,7 +32467,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32467
32467
|
address: string;
|
|
32468
32468
|
} | null;
|
|
32469
32469
|
}[], Error>>;
|
|
32470
|
-
fetchStatus:
|
|
32470
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32471
32471
|
promise: Promise<{
|
|
32472
32472
|
optionId: bigint;
|
|
32473
32473
|
marketAddr: Address;
|
|
@@ -32551,7 +32551,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32551
32551
|
isRefetching: boolean;
|
|
32552
32552
|
isStale: boolean;
|
|
32553
32553
|
isEnabled: boolean;
|
|
32554
|
-
refetch: (options?:
|
|
32554
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32555
32555
|
optionId: bigint;
|
|
32556
32556
|
marketAddr: Address;
|
|
32557
32557
|
ownerAddr: Address;
|
|
@@ -32581,7 +32581,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32581
32581
|
address: string;
|
|
32582
32582
|
} | null;
|
|
32583
32583
|
}[], Error>>;
|
|
32584
|
-
fetchStatus:
|
|
32584
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32585
32585
|
promise: Promise<{
|
|
32586
32586
|
optionId: bigint;
|
|
32587
32587
|
marketAddr: Address;
|
|
@@ -32665,7 +32665,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32665
32665
|
isRefetching: boolean;
|
|
32666
32666
|
isStale: boolean;
|
|
32667
32667
|
isEnabled: boolean;
|
|
32668
|
-
refetch: (options?:
|
|
32668
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32669
32669
|
optionId: bigint;
|
|
32670
32670
|
marketAddr: Address;
|
|
32671
32671
|
ownerAddr: Address;
|
|
@@ -32695,7 +32695,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32695
32695
|
address: string;
|
|
32696
32696
|
} | null;
|
|
32697
32697
|
}[], Error>>;
|
|
32698
|
-
fetchStatus:
|
|
32698
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32699
32699
|
promise: Promise<{
|
|
32700
32700
|
optionId: bigint;
|
|
32701
32701
|
marketAddr: Address;
|
|
@@ -32779,7 +32779,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32779
32779
|
isRefetching: boolean;
|
|
32780
32780
|
isStale: boolean;
|
|
32781
32781
|
isEnabled: boolean;
|
|
32782
|
-
refetch: (options?:
|
|
32782
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32783
32783
|
optionId: bigint;
|
|
32784
32784
|
marketAddr: Address;
|
|
32785
32785
|
ownerAddr: Address;
|
|
@@ -32809,7 +32809,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32809
32809
|
address: string;
|
|
32810
32810
|
} | null;
|
|
32811
32811
|
}[], Error>>;
|
|
32812
|
-
fetchStatus:
|
|
32812
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32813
32813
|
promise: Promise<{
|
|
32814
32814
|
optionId: bigint;
|
|
32815
32815
|
marketAddr: Address;
|
|
@@ -32893,7 +32893,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32893
32893
|
isRefetching: boolean;
|
|
32894
32894
|
isStale: boolean;
|
|
32895
32895
|
isEnabled: boolean;
|
|
32896
|
-
refetch: (options?:
|
|
32896
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32897
32897
|
optionId: bigint;
|
|
32898
32898
|
marketAddr: Address;
|
|
32899
32899
|
ownerAddr: Address;
|
|
@@ -32923,7 +32923,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32923
32923
|
address: string;
|
|
32924
32924
|
} | null;
|
|
32925
32925
|
}[], Error>>;
|
|
32926
|
-
fetchStatus:
|
|
32926
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32927
32927
|
promise: Promise<{
|
|
32928
32928
|
optionId: bigint;
|
|
32929
32929
|
marketAddr: Address;
|
|
@@ -33007,7 +33007,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33007
33007
|
isRefetching: boolean;
|
|
33008
33008
|
isStale: boolean;
|
|
33009
33009
|
isEnabled: boolean;
|
|
33010
|
-
refetch: (options?:
|
|
33010
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33011
33011
|
optionId: bigint;
|
|
33012
33012
|
marketAddr: Address;
|
|
33013
33013
|
ownerAddr: Address;
|
|
@@ -33037,7 +33037,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33037
33037
|
address: string;
|
|
33038
33038
|
} | null;
|
|
33039
33039
|
}[], Error>>;
|
|
33040
|
-
fetchStatus:
|
|
33040
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33041
33041
|
promise: Promise<{
|
|
33042
33042
|
optionId: bigint;
|
|
33043
33043
|
marketAddr: Address;
|
|
@@ -33122,7 +33122,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33122
33122
|
isRefetching: boolean;
|
|
33123
33123
|
isStale: boolean;
|
|
33124
33124
|
isEnabled: boolean;
|
|
33125
|
-
refetch: (options?:
|
|
33125
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33126
33126
|
optionId: bigint;
|
|
33127
33127
|
marketAddr: Address;
|
|
33128
33128
|
ownerAddr: Address;
|
|
@@ -33152,7 +33152,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33152
33152
|
address: string;
|
|
33153
33153
|
} | null;
|
|
33154
33154
|
}[], Error>>;
|
|
33155
|
-
fetchStatus:
|
|
33155
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33156
33156
|
promise: Promise<{
|
|
33157
33157
|
optionId: bigint;
|
|
33158
33158
|
marketAddr: Address;
|
|
@@ -33236,7 +33236,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33236
33236
|
isRefetching: boolean;
|
|
33237
33237
|
isStale: boolean;
|
|
33238
33238
|
isEnabled: boolean;
|
|
33239
|
-
refetch: (options?:
|
|
33239
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33240
33240
|
optionId: bigint;
|
|
33241
33241
|
marketAddr: Address;
|
|
33242
33242
|
ownerAddr: Address;
|
|
@@ -33266,7 +33266,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33266
33266
|
address: string;
|
|
33267
33267
|
} | null;
|
|
33268
33268
|
}[], Error>>;
|
|
33269
|
-
fetchStatus:
|
|
33269
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33270
33270
|
promise: Promise<{
|
|
33271
33271
|
optionId: bigint;
|
|
33272
33272
|
marketAddr: Address;
|
|
@@ -33350,7 +33350,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33350
33350
|
isRefetching: boolean;
|
|
33351
33351
|
isStale: boolean;
|
|
33352
33352
|
isEnabled: boolean;
|
|
33353
|
-
refetch: (options?:
|
|
33353
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33354
33354
|
optionId: bigint;
|
|
33355
33355
|
marketAddr: Address;
|
|
33356
33356
|
ownerAddr: Address;
|
|
@@ -33380,7 +33380,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33380
33380
|
address: string;
|
|
33381
33381
|
} | null;
|
|
33382
33382
|
}[], Error>>;
|
|
33383
|
-
fetchStatus:
|
|
33383
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33384
33384
|
promise: Promise<{
|
|
33385
33385
|
optionId: bigint;
|
|
33386
33386
|
marketAddr: Address;
|
|
@@ -33464,7 +33464,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33464
33464
|
isRefetching: boolean;
|
|
33465
33465
|
isStale: boolean;
|
|
33466
33466
|
isEnabled: boolean;
|
|
33467
|
-
refetch: (options?:
|
|
33467
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33468
33468
|
optionId: bigint;
|
|
33469
33469
|
marketAddr: Address;
|
|
33470
33470
|
ownerAddr: Address;
|
|
@@ -33494,7 +33494,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33494
33494
|
address: string;
|
|
33495
33495
|
} | null;
|
|
33496
33496
|
}[], Error>>;
|
|
33497
|
-
fetchStatus:
|
|
33497
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33498
33498
|
promise: Promise<{
|
|
33499
33499
|
optionId: bigint;
|
|
33500
33500
|
marketAddr: Address;
|
|
@@ -33578,7 +33578,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33578
33578
|
isRefetching: boolean;
|
|
33579
33579
|
isStale: boolean;
|
|
33580
33580
|
isEnabled: boolean;
|
|
33581
|
-
refetch: (options?:
|
|
33581
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33582
33582
|
optionId: bigint;
|
|
33583
33583
|
marketAddr: Address;
|
|
33584
33584
|
ownerAddr: Address;
|
|
@@ -33608,7 +33608,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33608
33608
|
address: string;
|
|
33609
33609
|
} | null;
|
|
33610
33610
|
}[], Error>>;
|
|
33611
|
-
fetchStatus:
|
|
33611
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33612
33612
|
promise: Promise<{
|
|
33613
33613
|
optionId: bigint;
|
|
33614
33614
|
marketAddr: Address;
|
|
@@ -33692,7 +33692,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33692
33692
|
isRefetching: boolean;
|
|
33693
33693
|
isStale: boolean;
|
|
33694
33694
|
isEnabled: boolean;
|
|
33695
|
-
refetch: (options?:
|
|
33695
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33696
33696
|
optionId: bigint;
|
|
33697
33697
|
marketAddr: Address;
|
|
33698
33698
|
ownerAddr: Address;
|
|
@@ -33722,7 +33722,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33722
33722
|
address: string;
|
|
33723
33723
|
} | null;
|
|
33724
33724
|
}[], Error>>;
|
|
33725
|
-
fetchStatus:
|
|
33725
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33726
33726
|
promise: Promise<{
|
|
33727
33727
|
optionId: bigint;
|
|
33728
33728
|
marketAddr: Address;
|
|
@@ -33873,7 +33873,16 @@ declare const useExtendOption: (marketAddr?: Address) => _tanstack_react_query0.
|
|
|
33873
33873
|
}, unknown>;
|
|
33874
33874
|
//#endregion
|
|
33875
33875
|
//#region src/hooks/options/useOptionTimeline.d.ts
|
|
33876
|
-
type
|
|
33876
|
+
type OptionEvent = ReturnType<typeof useOptionTimeline>['data'][number];
|
|
33877
|
+
type MintOptionEvent = Extract<OptionEvent, {
|
|
33878
|
+
type: 'mint';
|
|
33879
|
+
}>;
|
|
33880
|
+
type ExerciseOptionEvent = Extract<OptionEvent, {
|
|
33881
|
+
type: 'exercise';
|
|
33882
|
+
}>;
|
|
33883
|
+
type Extend = Extract<OptionEvent, {
|
|
33884
|
+
type: 'extend';
|
|
33885
|
+
}>;
|
|
33877
33886
|
declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
33878
33887
|
error: Error;
|
|
33879
33888
|
isError: true;
|
|
@@ -33897,7 +33906,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
33897
33906
|
isRefetching: boolean;
|
|
33898
33907
|
isStale: boolean;
|
|
33899
33908
|
isEnabled: boolean;
|
|
33900
|
-
refetch: (options?:
|
|
33909
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
33901
33910
|
type: "mint";
|
|
33902
33911
|
data: {
|
|
33903
33912
|
id: string;
|
|
@@ -33936,7 +33945,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
33936
33945
|
transactionHash: string;
|
|
33937
33946
|
};
|
|
33938
33947
|
})[], Error>>;
|
|
33939
|
-
fetchStatus:
|
|
33948
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33940
33949
|
promise: Promise<({
|
|
33941
33950
|
type: "mint";
|
|
33942
33951
|
data: {
|
|
@@ -34038,7 +34047,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34038
34047
|
isRefetching: boolean;
|
|
34039
34048
|
isStale: boolean;
|
|
34040
34049
|
isEnabled: boolean;
|
|
34041
|
-
refetch: (options?:
|
|
34050
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
34042
34051
|
type: "mint";
|
|
34043
34052
|
data: {
|
|
34044
34053
|
id: string;
|
|
@@ -34077,7 +34086,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34077
34086
|
transactionHash: string;
|
|
34078
34087
|
};
|
|
34079
34088
|
})[], Error>>;
|
|
34080
|
-
fetchStatus:
|
|
34089
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34081
34090
|
promise: Promise<({
|
|
34082
34091
|
type: "mint";
|
|
34083
34092
|
data: {
|
|
@@ -34179,7 +34188,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34179
34188
|
isRefetching: boolean;
|
|
34180
34189
|
isStale: boolean;
|
|
34181
34190
|
isEnabled: boolean;
|
|
34182
|
-
refetch: (options?:
|
|
34191
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
34183
34192
|
type: "mint";
|
|
34184
34193
|
data: {
|
|
34185
34194
|
id: string;
|
|
@@ -34218,7 +34227,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34218
34227
|
transactionHash: string;
|
|
34219
34228
|
};
|
|
34220
34229
|
})[], Error>>;
|
|
34221
|
-
fetchStatus:
|
|
34230
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34222
34231
|
promise: Promise<({
|
|
34223
34232
|
type: "mint";
|
|
34224
34233
|
data: {
|
|
@@ -34320,7 +34329,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34320
34329
|
isRefetching: boolean;
|
|
34321
34330
|
isStale: boolean;
|
|
34322
34331
|
isEnabled: boolean;
|
|
34323
|
-
refetch: (options?:
|
|
34332
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
34324
34333
|
type: "mint";
|
|
34325
34334
|
data: {
|
|
34326
34335
|
id: string;
|
|
@@ -34359,7 +34368,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34359
34368
|
transactionHash: string;
|
|
34360
34369
|
};
|
|
34361
34370
|
})[], Error>>;
|
|
34362
|
-
fetchStatus:
|
|
34371
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34363
34372
|
promise: Promise<({
|
|
34364
34373
|
type: "mint";
|
|
34365
34374
|
data: {
|
|
@@ -34461,7 +34470,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34461
34470
|
isRefetching: boolean;
|
|
34462
34471
|
isStale: boolean;
|
|
34463
34472
|
isEnabled: boolean;
|
|
34464
|
-
refetch: (options?:
|
|
34473
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
34465
34474
|
type: "mint";
|
|
34466
34475
|
data: {
|
|
34467
34476
|
id: string;
|
|
@@ -34500,7 +34509,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34500
34509
|
transactionHash: string;
|
|
34501
34510
|
};
|
|
34502
34511
|
})[], Error>>;
|
|
34503
|
-
fetchStatus:
|
|
34512
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34504
34513
|
promise: Promise<({
|
|
34505
34514
|
type: "mint";
|
|
34506
34515
|
data: {
|
|
@@ -34602,7 +34611,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34602
34611
|
isRefetching: boolean;
|
|
34603
34612
|
isStale: boolean;
|
|
34604
34613
|
isEnabled: boolean;
|
|
34605
|
-
refetch: (options?:
|
|
34614
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
34606
34615
|
type: "mint";
|
|
34607
34616
|
data: {
|
|
34608
34617
|
id: string;
|
|
@@ -34641,7 +34650,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34641
34650
|
transactionHash: string;
|
|
34642
34651
|
};
|
|
34643
34652
|
})[], Error>>;
|
|
34644
|
-
fetchStatus:
|
|
34653
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34645
34654
|
promise: Promise<({
|
|
34646
34655
|
type: "mint";
|
|
34647
34656
|
data: {
|
|
@@ -34764,7 +34773,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34764
34773
|
isRefetching: boolean;
|
|
34765
34774
|
isStale: boolean;
|
|
34766
34775
|
isEnabled: boolean;
|
|
34767
|
-
refetch: (options?:
|
|
34776
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
34768
34777
|
optionId: bigint;
|
|
34769
34778
|
id: string;
|
|
34770
34779
|
ownerAddr: Address;
|
|
@@ -34773,7 +34782,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34773
34782
|
expiresAt: number;
|
|
34774
34783
|
closed: boolean;
|
|
34775
34784
|
}[] | undefined, Error>>;
|
|
34776
|
-
fetchStatus:
|
|
34785
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34777
34786
|
promise: Promise<{
|
|
34778
34787
|
optionId: bigint;
|
|
34779
34788
|
id: string;
|
|
@@ -34815,7 +34824,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34815
34824
|
isRefetching: boolean;
|
|
34816
34825
|
isStale: boolean;
|
|
34817
34826
|
isEnabled: boolean;
|
|
34818
|
-
refetch: (options?:
|
|
34827
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
34819
34828
|
optionId: bigint;
|
|
34820
34829
|
id: string;
|
|
34821
34830
|
ownerAddr: Address;
|
|
@@ -34824,7 +34833,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34824
34833
|
expiresAt: number;
|
|
34825
34834
|
closed: boolean;
|
|
34826
34835
|
}[] | undefined, Error>>;
|
|
34827
|
-
fetchStatus:
|
|
34836
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34828
34837
|
promise: Promise<{
|
|
34829
34838
|
optionId: bigint;
|
|
34830
34839
|
id: string;
|
|
@@ -34866,7 +34875,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34866
34875
|
isRefetching: boolean;
|
|
34867
34876
|
isStale: boolean;
|
|
34868
34877
|
isEnabled: boolean;
|
|
34869
|
-
refetch: (options?:
|
|
34878
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
34870
34879
|
optionId: bigint;
|
|
34871
34880
|
id: string;
|
|
34872
34881
|
ownerAddr: Address;
|
|
@@ -34875,7 +34884,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34875
34884
|
expiresAt: number;
|
|
34876
34885
|
closed: boolean;
|
|
34877
34886
|
}[] | undefined, Error>>;
|
|
34878
|
-
fetchStatus:
|
|
34887
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34879
34888
|
promise: Promise<{
|
|
34880
34889
|
optionId: bigint;
|
|
34881
34890
|
id: string;
|
|
@@ -34917,7 +34926,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34917
34926
|
isRefetching: boolean;
|
|
34918
34927
|
isStale: boolean;
|
|
34919
34928
|
isEnabled: boolean;
|
|
34920
|
-
refetch: (options?:
|
|
34929
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
34921
34930
|
optionId: bigint;
|
|
34922
34931
|
id: string;
|
|
34923
34932
|
ownerAddr: Address;
|
|
@@ -34926,7 +34935,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34926
34935
|
expiresAt: number;
|
|
34927
34936
|
closed: boolean;
|
|
34928
34937
|
}[] | undefined, Error>>;
|
|
34929
|
-
fetchStatus:
|
|
34938
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34930
34939
|
promise: Promise<{
|
|
34931
34940
|
optionId: bigint;
|
|
34932
34941
|
id: string;
|
|
@@ -34968,7 +34977,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34968
34977
|
isRefetching: boolean;
|
|
34969
34978
|
isStale: boolean;
|
|
34970
34979
|
isEnabled: boolean;
|
|
34971
|
-
refetch: (options?:
|
|
34980
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
34972
34981
|
optionId: bigint;
|
|
34973
34982
|
id: string;
|
|
34974
34983
|
ownerAddr: Address;
|
|
@@ -34977,7 +34986,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34977
34986
|
expiresAt: number;
|
|
34978
34987
|
closed: boolean;
|
|
34979
34988
|
}[] | undefined, Error>>;
|
|
34980
|
-
fetchStatus:
|
|
34989
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34981
34990
|
promise: Promise<{
|
|
34982
34991
|
optionId: bigint;
|
|
34983
34992
|
id: string;
|
|
@@ -35019,7 +35028,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35019
35028
|
isRefetching: boolean;
|
|
35020
35029
|
isStale: boolean;
|
|
35021
35030
|
isEnabled: boolean;
|
|
35022
|
-
refetch: (options?:
|
|
35031
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35023
35032
|
optionId: bigint;
|
|
35024
35033
|
id: string;
|
|
35025
35034
|
ownerAddr: Address;
|
|
@@ -35028,7 +35037,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35028
35037
|
expiresAt: number;
|
|
35029
35038
|
closed: boolean;
|
|
35030
35039
|
}[] | undefined, Error>>;
|
|
35031
|
-
fetchStatus:
|
|
35040
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35032
35041
|
promise: Promise<{
|
|
35033
35042
|
optionId: bigint;
|
|
35034
35043
|
id: string;
|
|
@@ -35071,7 +35080,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35071
35080
|
isRefetching: boolean;
|
|
35072
35081
|
isStale: boolean;
|
|
35073
35082
|
isEnabled: boolean;
|
|
35074
|
-
refetch: (options?:
|
|
35083
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35075
35084
|
optionId: bigint;
|
|
35076
35085
|
id: string;
|
|
35077
35086
|
ownerAddr: Address;
|
|
@@ -35080,7 +35089,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35080
35089
|
expiresAt: number;
|
|
35081
35090
|
closed: boolean;
|
|
35082
35091
|
}[] | undefined, Error>>;
|
|
35083
|
-
fetchStatus:
|
|
35092
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35084
35093
|
promise: Promise<{
|
|
35085
35094
|
optionId: bigint;
|
|
35086
35095
|
id: string;
|
|
@@ -35122,7 +35131,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35122
35131
|
isRefetching: boolean;
|
|
35123
35132
|
isStale: boolean;
|
|
35124
35133
|
isEnabled: boolean;
|
|
35125
|
-
refetch: (options?:
|
|
35134
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35126
35135
|
optionId: bigint;
|
|
35127
35136
|
id: string;
|
|
35128
35137
|
ownerAddr: Address;
|
|
@@ -35131,7 +35140,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35131
35140
|
expiresAt: number;
|
|
35132
35141
|
closed: boolean;
|
|
35133
35142
|
}[] | undefined, Error>>;
|
|
35134
|
-
fetchStatus:
|
|
35143
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35135
35144
|
promise: Promise<{
|
|
35136
35145
|
optionId: bigint;
|
|
35137
35146
|
id: string;
|
|
@@ -35173,7 +35182,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35173
35182
|
isRefetching: boolean;
|
|
35174
35183
|
isStale: boolean;
|
|
35175
35184
|
isEnabled: boolean;
|
|
35176
|
-
refetch: (options?:
|
|
35185
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35177
35186
|
optionId: bigint;
|
|
35178
35187
|
id: string;
|
|
35179
35188
|
ownerAddr: Address;
|
|
@@ -35182,7 +35191,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35182
35191
|
expiresAt: number;
|
|
35183
35192
|
closed: boolean;
|
|
35184
35193
|
}[] | undefined, Error>>;
|
|
35185
|
-
fetchStatus:
|
|
35194
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35186
35195
|
promise: Promise<{
|
|
35187
35196
|
optionId: bigint;
|
|
35188
35197
|
id: string;
|
|
@@ -35224,7 +35233,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35224
35233
|
isRefetching: boolean;
|
|
35225
35234
|
isStale: boolean;
|
|
35226
35235
|
isEnabled: boolean;
|
|
35227
|
-
refetch: (options?:
|
|
35236
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35228
35237
|
optionId: bigint;
|
|
35229
35238
|
id: string;
|
|
35230
35239
|
ownerAddr: Address;
|
|
@@ -35233,7 +35242,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35233
35242
|
expiresAt: number;
|
|
35234
35243
|
closed: boolean;
|
|
35235
35244
|
}[] | undefined, Error>>;
|
|
35236
|
-
fetchStatus:
|
|
35245
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35237
35246
|
promise: Promise<{
|
|
35238
35247
|
optionId: bigint;
|
|
35239
35248
|
id: string;
|
|
@@ -35275,7 +35284,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35275
35284
|
isRefetching: boolean;
|
|
35276
35285
|
isStale: boolean;
|
|
35277
35286
|
isEnabled: boolean;
|
|
35278
|
-
refetch: (options?:
|
|
35287
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35279
35288
|
optionId: bigint;
|
|
35280
35289
|
id: string;
|
|
35281
35290
|
ownerAddr: Address;
|
|
@@ -35284,7 +35293,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35284
35293
|
expiresAt: number;
|
|
35285
35294
|
closed: boolean;
|
|
35286
35295
|
}[] | undefined, Error>>;
|
|
35287
|
-
fetchStatus:
|
|
35296
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35288
35297
|
promise: Promise<{
|
|
35289
35298
|
optionId: bigint;
|
|
35290
35299
|
id: string;
|
|
@@ -35326,7 +35335,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35326
35335
|
isRefetching: boolean;
|
|
35327
35336
|
isStale: boolean;
|
|
35328
35337
|
isEnabled: boolean;
|
|
35329
|
-
refetch: (options?:
|
|
35338
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35330
35339
|
optionId: bigint;
|
|
35331
35340
|
id: string;
|
|
35332
35341
|
ownerAddr: Address;
|
|
@@ -35335,7 +35344,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35335
35344
|
expiresAt: number;
|
|
35336
35345
|
closed: boolean;
|
|
35337
35346
|
}[] | undefined, Error>>;
|
|
35338
|
-
fetchStatus:
|
|
35347
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35339
35348
|
promise: Promise<{
|
|
35340
35349
|
optionId: bigint;
|
|
35341
35350
|
id: string;
|
|
@@ -35378,7 +35387,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35378
35387
|
isRefetching: boolean;
|
|
35379
35388
|
isStale: boolean;
|
|
35380
35389
|
isEnabled: boolean;
|
|
35381
|
-
refetch: (options?:
|
|
35390
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35382
35391
|
optionId: bigint;
|
|
35383
35392
|
id: string;
|
|
35384
35393
|
ownerAddr: Address;
|
|
@@ -35387,7 +35396,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35387
35396
|
expiresAt: number;
|
|
35388
35397
|
closed: boolean;
|
|
35389
35398
|
}[] | undefined, Error>>;
|
|
35390
|
-
fetchStatus:
|
|
35399
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35391
35400
|
promise: Promise<{
|
|
35392
35401
|
optionId: bigint;
|
|
35393
35402
|
id: string;
|
|
@@ -35429,7 +35438,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35429
35438
|
isRefetching: boolean;
|
|
35430
35439
|
isStale: boolean;
|
|
35431
35440
|
isEnabled: boolean;
|
|
35432
|
-
refetch: (options?:
|
|
35441
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35433
35442
|
optionId: bigint;
|
|
35434
35443
|
id: string;
|
|
35435
35444
|
ownerAddr: Address;
|
|
@@ -35438,7 +35447,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35438
35447
|
expiresAt: number;
|
|
35439
35448
|
closed: boolean;
|
|
35440
35449
|
}[] | undefined, Error>>;
|
|
35441
|
-
fetchStatus:
|
|
35450
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35442
35451
|
promise: Promise<{
|
|
35443
35452
|
optionId: bigint;
|
|
35444
35453
|
id: string;
|
|
@@ -35480,7 +35489,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35480
35489
|
isRefetching: boolean;
|
|
35481
35490
|
isStale: boolean;
|
|
35482
35491
|
isEnabled: boolean;
|
|
35483
|
-
refetch: (options?:
|
|
35492
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35484
35493
|
optionId: bigint;
|
|
35485
35494
|
id: string;
|
|
35486
35495
|
ownerAddr: Address;
|
|
@@ -35489,7 +35498,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35489
35498
|
expiresAt: number;
|
|
35490
35499
|
closed: boolean;
|
|
35491
35500
|
}[] | undefined, Error>>;
|
|
35492
|
-
fetchStatus:
|
|
35501
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35493
35502
|
promise: Promise<{
|
|
35494
35503
|
optionId: bigint;
|
|
35495
35504
|
id: string;
|
|
@@ -35531,7 +35540,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35531
35540
|
isRefetching: boolean;
|
|
35532
35541
|
isStale: boolean;
|
|
35533
35542
|
isEnabled: boolean;
|
|
35534
|
-
refetch: (options?:
|
|
35543
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35535
35544
|
optionId: bigint;
|
|
35536
35545
|
id: string;
|
|
35537
35546
|
ownerAddr: Address;
|
|
@@ -35540,7 +35549,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35540
35549
|
expiresAt: number;
|
|
35541
35550
|
closed: boolean;
|
|
35542
35551
|
}[] | undefined, Error>>;
|
|
35543
|
-
fetchStatus:
|
|
35552
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35544
35553
|
promise: Promise<{
|
|
35545
35554
|
optionId: bigint;
|
|
35546
35555
|
id: string;
|
|
@@ -35582,7 +35591,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35582
35591
|
isRefetching: boolean;
|
|
35583
35592
|
isStale: boolean;
|
|
35584
35593
|
isEnabled: boolean;
|
|
35585
|
-
refetch: (options?:
|
|
35594
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35586
35595
|
optionId: bigint;
|
|
35587
35596
|
id: string;
|
|
35588
35597
|
ownerAddr: Address;
|
|
@@ -35591,7 +35600,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35591
35600
|
expiresAt: number;
|
|
35592
35601
|
closed: boolean;
|
|
35593
35602
|
}[] | undefined, Error>>;
|
|
35594
|
-
fetchStatus:
|
|
35603
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35595
35604
|
promise: Promise<{
|
|
35596
35605
|
optionId: bigint;
|
|
35597
35606
|
id: string;
|
|
@@ -35633,7 +35642,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35633
35642
|
isRefetching: boolean;
|
|
35634
35643
|
isStale: boolean;
|
|
35635
35644
|
isEnabled: boolean;
|
|
35636
|
-
refetch: (options?:
|
|
35645
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35637
35646
|
optionId: bigint;
|
|
35638
35647
|
id: string;
|
|
35639
35648
|
ownerAddr: Address;
|
|
@@ -35642,7 +35651,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35642
35651
|
expiresAt: number;
|
|
35643
35652
|
closed: boolean;
|
|
35644
35653
|
}[] | undefined, Error>>;
|
|
35645
|
-
fetchStatus:
|
|
35654
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35646
35655
|
promise: Promise<{
|
|
35647
35656
|
optionId: bigint;
|
|
35648
35657
|
id: string;
|
|
@@ -35687,10 +35696,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35687
35696
|
isRefetching: boolean;
|
|
35688
35697
|
isStale: boolean;
|
|
35689
35698
|
isEnabled: boolean;
|
|
35690
|
-
refetch: (options?:
|
|
35691
|
-
fetchStatus:
|
|
35699
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35700
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35692
35701
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35693
|
-
queryKey:
|
|
35702
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35694
35703
|
data: {
|
|
35695
35704
|
canExtend: boolean | undefined;
|
|
35696
35705
|
canExercise: boolean | undefined;
|
|
@@ -35722,10 +35731,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35722
35731
|
isRefetching: boolean;
|
|
35723
35732
|
isStale: boolean;
|
|
35724
35733
|
isEnabled: boolean;
|
|
35725
|
-
refetch: (options?:
|
|
35726
|
-
fetchStatus:
|
|
35734
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35735
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35727
35736
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35728
|
-
queryKey:
|
|
35737
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35729
35738
|
data: {
|
|
35730
35739
|
canExtend: boolean | undefined;
|
|
35731
35740
|
canExercise: boolean | undefined;
|
|
@@ -35757,10 +35766,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35757
35766
|
isRefetching: boolean;
|
|
35758
35767
|
isStale: boolean;
|
|
35759
35768
|
isEnabled: boolean;
|
|
35760
|
-
refetch: (options?:
|
|
35761
|
-
fetchStatus:
|
|
35769
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35770
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35762
35771
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35763
|
-
queryKey:
|
|
35772
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35764
35773
|
data: {
|
|
35765
35774
|
canExtend: boolean | undefined;
|
|
35766
35775
|
canExercise: boolean | undefined;
|
|
@@ -35792,10 +35801,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35792
35801
|
isRefetching: boolean;
|
|
35793
35802
|
isStale: boolean;
|
|
35794
35803
|
isEnabled: boolean;
|
|
35795
|
-
refetch: (options?:
|
|
35796
|
-
fetchStatus:
|
|
35804
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35805
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35797
35806
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35798
|
-
queryKey:
|
|
35807
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35799
35808
|
data: {
|
|
35800
35809
|
canExtend: boolean | undefined;
|
|
35801
35810
|
canExercise: boolean | undefined;
|
|
@@ -35827,10 +35836,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35827
35836
|
isRefetching: boolean;
|
|
35828
35837
|
isStale: boolean;
|
|
35829
35838
|
isEnabled: boolean;
|
|
35830
|
-
refetch: (options?:
|
|
35831
|
-
fetchStatus:
|
|
35839
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35840
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35832
35841
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35833
|
-
queryKey:
|
|
35842
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35834
35843
|
data: {
|
|
35835
35844
|
canExtend: boolean | undefined;
|
|
35836
35845
|
canExercise: boolean | undefined;
|
|
@@ -35862,10 +35871,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35862
35871
|
isRefetching: boolean;
|
|
35863
35872
|
isStale: boolean;
|
|
35864
35873
|
isEnabled: boolean;
|
|
35865
|
-
refetch: (options?:
|
|
35866
|
-
fetchStatus:
|
|
35874
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35875
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35867
35876
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35868
|
-
queryKey:
|
|
35877
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35869
35878
|
data: {
|
|
35870
35879
|
canExtend: boolean | undefined;
|
|
35871
35880
|
canExercise: boolean | undefined;
|
|
@@ -35914,7 +35923,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35914
35923
|
isRefetching: boolean;
|
|
35915
35924
|
isStale: boolean;
|
|
35916
35925
|
isEnabled: boolean;
|
|
35917
|
-
refetch: (options?:
|
|
35926
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35918
35927
|
spendingApproval: bigint;
|
|
35919
35928
|
operatorAddr: string;
|
|
35920
35929
|
__typename: "UserMarketOperator";
|
|
@@ -35928,7 +35937,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35928
35937
|
address: string;
|
|
35929
35938
|
} | null;
|
|
35930
35939
|
}[] | undefined, Error>>;
|
|
35931
|
-
fetchStatus:
|
|
35940
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35932
35941
|
promise: Promise<{
|
|
35933
35942
|
spendingApproval: bigint;
|
|
35934
35943
|
operatorAddr: string;
|
|
@@ -35980,7 +35989,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35980
35989
|
isRefetching: boolean;
|
|
35981
35990
|
isStale: boolean;
|
|
35982
35991
|
isEnabled: boolean;
|
|
35983
|
-
refetch: (options?:
|
|
35992
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35984
35993
|
spendingApproval: bigint;
|
|
35985
35994
|
operatorAddr: string;
|
|
35986
35995
|
__typename: "UserMarketOperator";
|
|
@@ -35994,7 +36003,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35994
36003
|
address: string;
|
|
35995
36004
|
} | null;
|
|
35996
36005
|
}[] | undefined, Error>>;
|
|
35997
|
-
fetchStatus:
|
|
36006
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35998
36007
|
promise: Promise<{
|
|
35999
36008
|
spendingApproval: bigint;
|
|
36000
36009
|
operatorAddr: string;
|
|
@@ -36046,7 +36055,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36046
36055
|
isRefetching: boolean;
|
|
36047
36056
|
isStale: boolean;
|
|
36048
36057
|
isEnabled: boolean;
|
|
36049
|
-
refetch: (options?:
|
|
36058
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36050
36059
|
spendingApproval: bigint;
|
|
36051
36060
|
operatorAddr: string;
|
|
36052
36061
|
__typename: "UserMarketOperator";
|
|
@@ -36060,7 +36069,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36060
36069
|
address: string;
|
|
36061
36070
|
} | null;
|
|
36062
36071
|
}[] | undefined, Error>>;
|
|
36063
|
-
fetchStatus:
|
|
36072
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36064
36073
|
promise: Promise<{
|
|
36065
36074
|
spendingApproval: bigint;
|
|
36066
36075
|
operatorAddr: string;
|
|
@@ -36112,7 +36121,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36112
36121
|
isRefetching: boolean;
|
|
36113
36122
|
isStale: boolean;
|
|
36114
36123
|
isEnabled: boolean;
|
|
36115
|
-
refetch: (options?:
|
|
36124
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36116
36125
|
spendingApproval: bigint;
|
|
36117
36126
|
operatorAddr: string;
|
|
36118
36127
|
__typename: "UserMarketOperator";
|
|
@@ -36126,7 +36135,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36126
36135
|
address: string;
|
|
36127
36136
|
} | null;
|
|
36128
36137
|
}[] | undefined, Error>>;
|
|
36129
|
-
fetchStatus:
|
|
36138
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36130
36139
|
promise: Promise<{
|
|
36131
36140
|
spendingApproval: bigint;
|
|
36132
36141
|
operatorAddr: string;
|
|
@@ -36178,7 +36187,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36178
36187
|
isRefetching: boolean;
|
|
36179
36188
|
isStale: boolean;
|
|
36180
36189
|
isEnabled: boolean;
|
|
36181
|
-
refetch: (options?:
|
|
36190
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36182
36191
|
spendingApproval: bigint;
|
|
36183
36192
|
operatorAddr: string;
|
|
36184
36193
|
__typename: "UserMarketOperator";
|
|
@@ -36192,7 +36201,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36192
36201
|
address: string;
|
|
36193
36202
|
} | null;
|
|
36194
36203
|
}[] | undefined, Error>>;
|
|
36195
|
-
fetchStatus:
|
|
36204
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36196
36205
|
promise: Promise<{
|
|
36197
36206
|
spendingApproval: bigint;
|
|
36198
36207
|
operatorAddr: string;
|
|
@@ -36244,7 +36253,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36244
36253
|
isRefetching: boolean;
|
|
36245
36254
|
isStale: boolean;
|
|
36246
36255
|
isEnabled: boolean;
|
|
36247
|
-
refetch: (options?:
|
|
36256
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36248
36257
|
spendingApproval: bigint;
|
|
36249
36258
|
operatorAddr: string;
|
|
36250
36259
|
__typename: "UserMarketOperator";
|
|
@@ -36258,7 +36267,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36258
36267
|
address: string;
|
|
36259
36268
|
} | null;
|
|
36260
36269
|
}[] | undefined, Error>>;
|
|
36261
|
-
fetchStatus:
|
|
36270
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36262
36271
|
promise: Promise<{
|
|
36263
36272
|
spendingApproval: bigint;
|
|
36264
36273
|
operatorAddr: string;
|
|
@@ -36404,7 +36413,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36404
36413
|
isRefetching: boolean;
|
|
36405
36414
|
isStale: boolean;
|
|
36406
36415
|
isEnabled: boolean;
|
|
36407
|
-
refetch: (options?:
|
|
36416
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36408
36417
|
tickLower: number;
|
|
36409
36418
|
tickUpper: number;
|
|
36410
36419
|
prevTickLower: number;
|
|
@@ -36415,7 +36424,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36415
36424
|
borrowedAmount0: bigint;
|
|
36416
36425
|
borrowedAmount1: bigint;
|
|
36417
36426
|
}[], viem0.ReadContractErrorType>>;
|
|
36418
|
-
fetchStatus:
|
|
36427
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36419
36428
|
promise: Promise<readonly {
|
|
36420
36429
|
tickLower: number;
|
|
36421
36430
|
tickUpper: number;
|
|
@@ -36427,7 +36436,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36427
36436
|
borrowedAmount0: bigint;
|
|
36428
36437
|
borrowedAmount1: bigint;
|
|
36429
36438
|
}[]>;
|
|
36430
|
-
queryKey:
|
|
36439
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36431
36440
|
data: readonly {
|
|
36432
36441
|
tickLower: number;
|
|
36433
36442
|
tickUpper: number;
|
|
@@ -36462,7 +36471,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36462
36471
|
isRefetching: boolean;
|
|
36463
36472
|
isStale: boolean;
|
|
36464
36473
|
isEnabled: boolean;
|
|
36465
|
-
refetch: (options?:
|
|
36474
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36466
36475
|
tickLower: number;
|
|
36467
36476
|
tickUpper: number;
|
|
36468
36477
|
prevTickLower: number;
|
|
@@ -36473,7 +36482,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36473
36482
|
borrowedAmount0: bigint;
|
|
36474
36483
|
borrowedAmount1: bigint;
|
|
36475
36484
|
}[], viem0.ReadContractErrorType>>;
|
|
36476
|
-
fetchStatus:
|
|
36485
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36477
36486
|
promise: Promise<readonly {
|
|
36478
36487
|
tickLower: number;
|
|
36479
36488
|
tickUpper: number;
|
|
@@ -36485,7 +36494,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36485
36494
|
borrowedAmount0: bigint;
|
|
36486
36495
|
borrowedAmount1: bigint;
|
|
36487
36496
|
}[]>;
|
|
36488
|
-
queryKey:
|
|
36497
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36489
36498
|
data: readonly {
|
|
36490
36499
|
tickLower: number;
|
|
36491
36500
|
tickUpper: number;
|
|
@@ -36520,7 +36529,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36520
36529
|
isRefetching: boolean;
|
|
36521
36530
|
isStale: boolean;
|
|
36522
36531
|
isEnabled: boolean;
|
|
36523
|
-
refetch: (options?:
|
|
36532
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36524
36533
|
tickLower: number;
|
|
36525
36534
|
tickUpper: number;
|
|
36526
36535
|
prevTickLower: number;
|
|
@@ -36531,7 +36540,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36531
36540
|
borrowedAmount0: bigint;
|
|
36532
36541
|
borrowedAmount1: bigint;
|
|
36533
36542
|
}[], viem0.ReadContractErrorType>>;
|
|
36534
|
-
fetchStatus:
|
|
36543
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36535
36544
|
promise: Promise<readonly {
|
|
36536
36545
|
tickLower: number;
|
|
36537
36546
|
tickUpper: number;
|
|
@@ -36543,7 +36552,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36543
36552
|
borrowedAmount0: bigint;
|
|
36544
36553
|
borrowedAmount1: bigint;
|
|
36545
36554
|
}[]>;
|
|
36546
|
-
queryKey:
|
|
36555
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36547
36556
|
data: readonly {
|
|
36548
36557
|
tickLower: number;
|
|
36549
36558
|
tickUpper: number;
|
|
@@ -36578,7 +36587,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36578
36587
|
isRefetching: boolean;
|
|
36579
36588
|
isStale: boolean;
|
|
36580
36589
|
isEnabled: boolean;
|
|
36581
|
-
refetch: (options?:
|
|
36590
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36582
36591
|
tickLower: number;
|
|
36583
36592
|
tickUpper: number;
|
|
36584
36593
|
prevTickLower: number;
|
|
@@ -36589,7 +36598,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36589
36598
|
borrowedAmount0: bigint;
|
|
36590
36599
|
borrowedAmount1: bigint;
|
|
36591
36600
|
}[], viem0.ReadContractErrorType>>;
|
|
36592
|
-
fetchStatus:
|
|
36601
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36593
36602
|
promise: Promise<readonly {
|
|
36594
36603
|
tickLower: number;
|
|
36595
36604
|
tickUpper: number;
|
|
@@ -36601,7 +36610,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36601
36610
|
borrowedAmount0: bigint;
|
|
36602
36611
|
borrowedAmount1: bigint;
|
|
36603
36612
|
}[]>;
|
|
36604
|
-
queryKey:
|
|
36613
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36605
36614
|
data: readonly {
|
|
36606
36615
|
tickLower: number;
|
|
36607
36616
|
tickUpper: number;
|
|
@@ -36636,7 +36645,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36636
36645
|
isRefetching: boolean;
|
|
36637
36646
|
isStale: boolean;
|
|
36638
36647
|
isEnabled: boolean;
|
|
36639
|
-
refetch: (options?:
|
|
36648
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36640
36649
|
tickLower: number;
|
|
36641
36650
|
tickUpper: number;
|
|
36642
36651
|
prevTickLower: number;
|
|
@@ -36647,7 +36656,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36647
36656
|
borrowedAmount0: bigint;
|
|
36648
36657
|
borrowedAmount1: bigint;
|
|
36649
36658
|
}[], viem0.ReadContractErrorType>>;
|
|
36650
|
-
fetchStatus:
|
|
36659
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36651
36660
|
promise: Promise<readonly {
|
|
36652
36661
|
tickLower: number;
|
|
36653
36662
|
tickUpper: number;
|
|
@@ -36659,7 +36668,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36659
36668
|
borrowedAmount0: bigint;
|
|
36660
36669
|
borrowedAmount1: bigint;
|
|
36661
36670
|
}[]>;
|
|
36662
|
-
queryKey:
|
|
36671
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36663
36672
|
data: readonly {
|
|
36664
36673
|
tickLower: number;
|
|
36665
36674
|
tickUpper: number;
|
|
@@ -36694,7 +36703,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36694
36703
|
isRefetching: boolean;
|
|
36695
36704
|
isStale: boolean;
|
|
36696
36705
|
isEnabled: boolean;
|
|
36697
|
-
refetch: (options?:
|
|
36706
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36698
36707
|
tickLower: number;
|
|
36699
36708
|
tickUpper: number;
|
|
36700
36709
|
prevTickLower: number;
|
|
@@ -36705,7 +36714,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36705
36714
|
borrowedAmount0: bigint;
|
|
36706
36715
|
borrowedAmount1: bigint;
|
|
36707
36716
|
}[], viem0.ReadContractErrorType>>;
|
|
36708
|
-
fetchStatus:
|
|
36717
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36709
36718
|
promise: Promise<readonly {
|
|
36710
36719
|
tickLower: number;
|
|
36711
36720
|
tickUpper: number;
|
|
@@ -36717,7 +36726,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36717
36726
|
borrowedAmount0: bigint;
|
|
36718
36727
|
borrowedAmount1: bigint;
|
|
36719
36728
|
}[]>;
|
|
36720
|
-
queryKey:
|
|
36729
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36721
36730
|
data: readonly {
|
|
36722
36731
|
tickLower: number;
|
|
36723
36732
|
tickUpper: number;
|
|
@@ -36768,7 +36777,7 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
36768
36777
|
borrowedAmount0: Amount;
|
|
36769
36778
|
borrowedAmount1: Amount;
|
|
36770
36779
|
blocksCount: bigint;
|
|
36771
|
-
refetch: (options?:
|
|
36780
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
|
|
36772
36781
|
};
|
|
36773
36782
|
//#endregion
|
|
36774
36783
|
//#region src/hooks/useLens.d.ts
|
|
@@ -62474,5 +62483,5 @@ declare const useApproval: () => {
|
|
|
62474
62483
|
reset: () => void;
|
|
62475
62484
|
};
|
|
62476
62485
|
//#endregion
|
|
62477
|
-
export {
|
|
62478
|
-
//# sourceMappingURL=client-
|
|
62486
|
+
export { useOptionTimeline as $, roundTickUp as A, TimelockMarketData as At, useSetOperatorPerms as B, getPriceAtTick as C, useActiveUserOptions as Ct, liquiditiesToAmount1 as D, useTimelockConfig as Dt, liquiditiesToAmount0 as E, useCurrentMarket as Et, PriceData as F, getUniswapMathLens as Ft, useUserPerps as G, useOperatorPerms as H, PriceDataPoint as I, swappers as It, useMintPerp as J, usePerpsOperator as K, PriceResolution as L, timelockLenses as Lt, token0ToToken1AtTick as M, getErc20 as Mt, token1ToToken0 as N, getTimelockLens as Nt, liquiditiesToAmounts as O, TimelockLens as Ot, token1ToToken0AtTick as P, getTimelockMarket as Pt, OptionEvent as Q, getCurrentPrice as R, uniswapMathLenses as Rt, getPriceAtSqrtPriceX96 as S, OptionData as St, getTickAtPrice as T, TimelockProvider as Tt, useActiveUserPerps as U, useUserOperators as V, useClosedUserPerps as W, Extend as X, ExerciseOptionEvent as Y, MintOptionEvent as Z, getPayoutAtPrice as _, wrapPrice as _t, batchGetAmountsFromLiquidity as a, Amount as at, getAmountsFromLiquidity as b, useMarketData as bt, useLiquidityBlocks as c, formatCondensed as ct, usePriceAtTick as d, scaleAmount as dt, useExtendOption as et, usePriceSqrtPriceX96 as f, scalePrice as ft, useCurrentPrice as g, wrapAmountUnscaled as gt, useCurrentTick as h, wrapAmount as ht, useVaultData as i, useMaxPositionSize as it, token0ToToken1 as j, UniswapMathLens as jt, roundTickDown as k, TimelockMarket as kt, useBurnLiquidity as l, formatUSD as lt, usePoolData as m, unscalePrice as mt, useLens as n, useOptionPnl as nt, useMintLiquidity as o, EMPTY_ARRAY as ot, UniswapPoolData as p, unscaleAmount as pt, useClosePerp as q, useVaultTVL as r, useMintOption as rt, LiquidityBlockData as s, formatAmount as st, useApproval as t, useOptionPremium as tt, usePriceHistory as u, formatVagueAmount as ut, getPayoutAtTick as v, wrapPriceUnscaled as vt, getSqrtPriceX96AtPrice as w, useClosedUserOptions as wt, getNearestValidStrikeTick as x, useExerciseOption as xt, PRICE_PRECISION as y, zero as yt, getPriceHistory as z };
|
|
62487
|
+
//# sourceMappingURL=client-DD0ZqvvE.d.ts.map
|