timelock-sdk 0.0.133 → 0.0.135
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-QYPs5kB7.d.cts → client-BQGLnbLD.d.ts} +210 -189
- package/dist/{client-BuKYj0pW.d.ts → client-DXq_0YH-.d.cts} +210 -189
- package/dist/client.cjs +46 -5
- 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 +46 -6
- package/dist/client.js.map +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-
|
|
1
|
+
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-DHfzEjej.js";
|
|
2
2
|
import * as viem0 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
|
+
import Big from "big.js";
|
|
5
|
+
import JSBI from "jsbi";
|
|
4
6
|
import React, { ReactNode } from "react";
|
|
5
|
-
import "graphql";
|
|
6
7
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
7
8
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
8
9
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import JSBI from "jsbi";
|
|
10
|
+
import "graphql";
|
|
11
|
+
import * as _tanstack_query_core41 from "@tanstack/query-core";
|
|
12
12
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
13
13
|
|
|
14
14
|
//#region src/generated/graphql.d.ts
|
|
@@ -130,8 +130,6 @@ type GetMarketDataQuery = {
|
|
|
130
130
|
__typename: 'TimelockMarket';
|
|
131
131
|
id: string;
|
|
132
132
|
address: string;
|
|
133
|
-
optionsCount: any;
|
|
134
|
-
tradersCount: any;
|
|
135
133
|
vault: string;
|
|
136
134
|
pool: string;
|
|
137
135
|
tickSpacing: number;
|
|
@@ -146,6 +144,20 @@ type GetMarketDataQuery = {
|
|
|
146
144
|
payoutAssetName: string;
|
|
147
145
|
}>;
|
|
148
146
|
};
|
|
147
|
+
type GetMarketVolumeQueryVariables = Exact<{
|
|
148
|
+
marketAddr: Scalars['String']['input'];
|
|
149
|
+
}>;
|
|
150
|
+
type GetMarketVolumeQuery = {
|
|
151
|
+
__typename: 'query_root';
|
|
152
|
+
TimelockMarket: Array<{
|
|
153
|
+
__typename: 'TimelockMarket';
|
|
154
|
+
id: string;
|
|
155
|
+
address: string;
|
|
156
|
+
optionsCount: any;
|
|
157
|
+
tradersCount: any;
|
|
158
|
+
volume: any;
|
|
159
|
+
}>;
|
|
160
|
+
};
|
|
149
161
|
type GetUserMarketOperatorsQueryVariables = Exact<{
|
|
150
162
|
userAddr: Scalars['String']['input'];
|
|
151
163
|
marketAddr: Scalars['String']['input'];
|
|
@@ -215,6 +227,7 @@ declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper)
|
|
|
215
227
|
GetClosedUserOptions(variables: GetClosedUserOptionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClosedUserOptionsQuery>;
|
|
216
228
|
GetClosedUserOptionsByMarket(variables: GetClosedUserOptionsByMarketQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClosedUserOptionsByMarketQuery>;
|
|
217
229
|
GetMarketData(variables: GetMarketDataQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetMarketDataQuery>;
|
|
230
|
+
GetMarketVolume(variables: GetMarketVolumeQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetMarketVolumeQuery>;
|
|
218
231
|
GetUserMarketOperators(variables: GetUserMarketOperatorsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetUserMarketOperatorsQuery>;
|
|
219
232
|
GetOptionEvents(variables: GetOptionEventsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetOptionEventsQuery>;
|
|
220
233
|
};
|
|
@@ -407,7 +420,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
407
420
|
}];
|
|
408
421
|
readonly stateMutability: "nonpayable";
|
|
409
422
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
410
|
-
|
|
423
|
+
decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
411
424
|
readonly type: "constructor";
|
|
412
425
|
readonly inputs: readonly [{
|
|
413
426
|
readonly name: "name_";
|
|
@@ -585,8 +598,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
585
598
|
readonly internalType: "bool";
|
|
586
599
|
}];
|
|
587
600
|
readonly stateMutability: "nonpayable";
|
|
588
|
-
}], "
|
|
589
|
-
|
|
601
|
+
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
602
|
+
name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
590
603
|
readonly type: "constructor";
|
|
591
604
|
readonly inputs: readonly [{
|
|
592
605
|
readonly name: "name_";
|
|
@@ -764,8 +777,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
764
777
|
readonly internalType: "bool";
|
|
765
778
|
}];
|
|
766
779
|
readonly stateMutability: "nonpayable";
|
|
767
|
-
}], "
|
|
768
|
-
|
|
780
|
+
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
781
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
769
782
|
readonly type: "constructor";
|
|
770
783
|
readonly inputs: readonly [{
|
|
771
784
|
readonly name: "name_";
|
|
@@ -943,8 +956,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
943
956
|
readonly internalType: "bool";
|
|
944
957
|
}];
|
|
945
958
|
readonly stateMutability: "nonpayable";
|
|
946
|
-
}], "
|
|
947
|
-
|
|
959
|
+
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
960
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
948
961
|
readonly type: "constructor";
|
|
949
962
|
readonly inputs: readonly [{
|
|
950
963
|
readonly name: "name_";
|
|
@@ -1122,7 +1135,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1122
1135
|
readonly internalType: "bool";
|
|
1123
1136
|
}];
|
|
1124
1137
|
readonly stateMutability: "nonpayable";
|
|
1125
|
-
}], "
|
|
1138
|
+
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1126
1139
|
totalSupply: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
1127
1140
|
readonly type: "constructor";
|
|
1128
1141
|
readonly inputs: readonly [{
|
|
@@ -32629,7 +32642,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32629
32642
|
isRefetching: boolean;
|
|
32630
32643
|
isStale: boolean;
|
|
32631
32644
|
isEnabled: boolean;
|
|
32632
|
-
refetch: (options?:
|
|
32645
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
32633
32646
|
optionId: bigint;
|
|
32634
32647
|
marketAddr: Address;
|
|
32635
32648
|
ownerAddr: Address;
|
|
@@ -32659,7 +32672,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32659
32672
|
address: string;
|
|
32660
32673
|
} | null;
|
|
32661
32674
|
}[], Error>>;
|
|
32662
|
-
fetchStatus:
|
|
32675
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
32663
32676
|
promise: Promise<{
|
|
32664
32677
|
optionId: bigint;
|
|
32665
32678
|
marketAddr: Address;
|
|
@@ -32743,7 +32756,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32743
32756
|
isRefetching: boolean;
|
|
32744
32757
|
isStale: boolean;
|
|
32745
32758
|
isEnabled: boolean;
|
|
32746
|
-
refetch: (options?:
|
|
32759
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
32747
32760
|
optionId: bigint;
|
|
32748
32761
|
marketAddr: Address;
|
|
32749
32762
|
ownerAddr: Address;
|
|
@@ -32773,7 +32786,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32773
32786
|
address: string;
|
|
32774
32787
|
} | null;
|
|
32775
32788
|
}[], Error>>;
|
|
32776
|
-
fetchStatus:
|
|
32789
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
32777
32790
|
promise: Promise<{
|
|
32778
32791
|
optionId: bigint;
|
|
32779
32792
|
marketAddr: Address;
|
|
@@ -32857,7 +32870,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32857
32870
|
isRefetching: boolean;
|
|
32858
32871
|
isStale: boolean;
|
|
32859
32872
|
isEnabled: boolean;
|
|
32860
|
-
refetch: (options?:
|
|
32873
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
32861
32874
|
optionId: bigint;
|
|
32862
32875
|
marketAddr: Address;
|
|
32863
32876
|
ownerAddr: Address;
|
|
@@ -32887,7 +32900,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32887
32900
|
address: string;
|
|
32888
32901
|
} | null;
|
|
32889
32902
|
}[], Error>>;
|
|
32890
|
-
fetchStatus:
|
|
32903
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
32891
32904
|
promise: Promise<{
|
|
32892
32905
|
optionId: bigint;
|
|
32893
32906
|
marketAddr: Address;
|
|
@@ -32971,7 +32984,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32971
32984
|
isRefetching: boolean;
|
|
32972
32985
|
isStale: boolean;
|
|
32973
32986
|
isEnabled: boolean;
|
|
32974
|
-
refetch: (options?:
|
|
32987
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
32975
32988
|
optionId: bigint;
|
|
32976
32989
|
marketAddr: Address;
|
|
32977
32990
|
ownerAddr: Address;
|
|
@@ -33001,7 +33014,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
33001
33014
|
address: string;
|
|
33002
33015
|
} | null;
|
|
33003
33016
|
}[], Error>>;
|
|
33004
|
-
fetchStatus:
|
|
33017
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33005
33018
|
promise: Promise<{
|
|
33006
33019
|
optionId: bigint;
|
|
33007
33020
|
marketAddr: Address;
|
|
@@ -33085,7 +33098,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
33085
33098
|
isRefetching: boolean;
|
|
33086
33099
|
isStale: boolean;
|
|
33087
33100
|
isEnabled: boolean;
|
|
33088
|
-
refetch: (options?:
|
|
33101
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
33089
33102
|
optionId: bigint;
|
|
33090
33103
|
marketAddr: Address;
|
|
33091
33104
|
ownerAddr: Address;
|
|
@@ -33115,7 +33128,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
33115
33128
|
address: string;
|
|
33116
33129
|
} | null;
|
|
33117
33130
|
}[], Error>>;
|
|
33118
|
-
fetchStatus:
|
|
33131
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33119
33132
|
promise: Promise<{
|
|
33120
33133
|
optionId: bigint;
|
|
33121
33134
|
marketAddr: Address;
|
|
@@ -33199,7 +33212,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
33199
33212
|
isRefetching: boolean;
|
|
33200
33213
|
isStale: boolean;
|
|
33201
33214
|
isEnabled: boolean;
|
|
33202
|
-
refetch: (options?:
|
|
33215
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
33203
33216
|
optionId: bigint;
|
|
33204
33217
|
marketAddr: Address;
|
|
33205
33218
|
ownerAddr: Address;
|
|
@@ -33229,7 +33242,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
33229
33242
|
address: string;
|
|
33230
33243
|
} | null;
|
|
33231
33244
|
}[], Error>>;
|
|
33232
|
-
fetchStatus:
|
|
33245
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33233
33246
|
promise: Promise<{
|
|
33234
33247
|
optionId: bigint;
|
|
33235
33248
|
marketAddr: Address;
|
|
@@ -33314,7 +33327,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33314
33327
|
isRefetching: boolean;
|
|
33315
33328
|
isStale: boolean;
|
|
33316
33329
|
isEnabled: boolean;
|
|
33317
|
-
refetch: (options?:
|
|
33330
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
33318
33331
|
optionId: bigint;
|
|
33319
33332
|
marketAddr: Address;
|
|
33320
33333
|
ownerAddr: Address;
|
|
@@ -33344,7 +33357,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33344
33357
|
address: string;
|
|
33345
33358
|
} | null;
|
|
33346
33359
|
}[], Error>>;
|
|
33347
|
-
fetchStatus:
|
|
33360
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33348
33361
|
promise: Promise<{
|
|
33349
33362
|
optionId: bigint;
|
|
33350
33363
|
marketAddr: Address;
|
|
@@ -33428,7 +33441,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33428
33441
|
isRefetching: boolean;
|
|
33429
33442
|
isStale: boolean;
|
|
33430
33443
|
isEnabled: boolean;
|
|
33431
|
-
refetch: (options?:
|
|
33444
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
33432
33445
|
optionId: bigint;
|
|
33433
33446
|
marketAddr: Address;
|
|
33434
33447
|
ownerAddr: Address;
|
|
@@ -33458,7 +33471,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33458
33471
|
address: string;
|
|
33459
33472
|
} | null;
|
|
33460
33473
|
}[], Error>>;
|
|
33461
|
-
fetchStatus:
|
|
33474
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33462
33475
|
promise: Promise<{
|
|
33463
33476
|
optionId: bigint;
|
|
33464
33477
|
marketAddr: Address;
|
|
@@ -33542,7 +33555,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33542
33555
|
isRefetching: boolean;
|
|
33543
33556
|
isStale: boolean;
|
|
33544
33557
|
isEnabled: boolean;
|
|
33545
|
-
refetch: (options?:
|
|
33558
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
33546
33559
|
optionId: bigint;
|
|
33547
33560
|
marketAddr: Address;
|
|
33548
33561
|
ownerAddr: Address;
|
|
@@ -33572,7 +33585,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33572
33585
|
address: string;
|
|
33573
33586
|
} | null;
|
|
33574
33587
|
}[], Error>>;
|
|
33575
|
-
fetchStatus:
|
|
33588
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33576
33589
|
promise: Promise<{
|
|
33577
33590
|
optionId: bigint;
|
|
33578
33591
|
marketAddr: Address;
|
|
@@ -33656,7 +33669,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33656
33669
|
isRefetching: boolean;
|
|
33657
33670
|
isStale: boolean;
|
|
33658
33671
|
isEnabled: boolean;
|
|
33659
|
-
refetch: (options?:
|
|
33672
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
33660
33673
|
optionId: bigint;
|
|
33661
33674
|
marketAddr: Address;
|
|
33662
33675
|
ownerAddr: Address;
|
|
@@ -33686,7 +33699,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33686
33699
|
address: string;
|
|
33687
33700
|
} | null;
|
|
33688
33701
|
}[], Error>>;
|
|
33689
|
-
fetchStatus:
|
|
33702
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33690
33703
|
promise: Promise<{
|
|
33691
33704
|
optionId: bigint;
|
|
33692
33705
|
marketAddr: Address;
|
|
@@ -33770,7 +33783,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33770
33783
|
isRefetching: boolean;
|
|
33771
33784
|
isStale: boolean;
|
|
33772
33785
|
isEnabled: boolean;
|
|
33773
|
-
refetch: (options?:
|
|
33786
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
33774
33787
|
optionId: bigint;
|
|
33775
33788
|
marketAddr: Address;
|
|
33776
33789
|
ownerAddr: Address;
|
|
@@ -33800,7 +33813,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33800
33813
|
address: string;
|
|
33801
33814
|
} | null;
|
|
33802
33815
|
}[], Error>>;
|
|
33803
|
-
fetchStatus:
|
|
33816
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33804
33817
|
promise: Promise<{
|
|
33805
33818
|
optionId: bigint;
|
|
33806
33819
|
marketAddr: Address;
|
|
@@ -33884,7 +33897,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33884
33897
|
isRefetching: boolean;
|
|
33885
33898
|
isStale: boolean;
|
|
33886
33899
|
isEnabled: boolean;
|
|
33887
|
-
refetch: (options?:
|
|
33900
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
33888
33901
|
optionId: bigint;
|
|
33889
33902
|
marketAddr: Address;
|
|
33890
33903
|
ownerAddr: Address;
|
|
@@ -33914,7 +33927,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33914
33927
|
address: string;
|
|
33915
33928
|
} | null;
|
|
33916
33929
|
}[], Error>>;
|
|
33917
|
-
fetchStatus:
|
|
33930
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33918
33931
|
promise: Promise<{
|
|
33919
33932
|
optionId: bigint;
|
|
33920
33933
|
marketAddr: Address;
|
|
@@ -33999,7 +34012,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33999
34012
|
isRefetching: boolean;
|
|
34000
34013
|
isStale: boolean;
|
|
34001
34014
|
isEnabled: boolean;
|
|
34002
|
-
refetch: (options?:
|
|
34015
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
34003
34016
|
optionId: bigint;
|
|
34004
34017
|
marketAddr: Address;
|
|
34005
34018
|
ownerAddr: Address;
|
|
@@ -34029,7 +34042,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34029
34042
|
address: string;
|
|
34030
34043
|
} | null;
|
|
34031
34044
|
}[], Error>>;
|
|
34032
|
-
fetchStatus:
|
|
34045
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34033
34046
|
promise: Promise<{
|
|
34034
34047
|
optionId: bigint;
|
|
34035
34048
|
marketAddr: Address;
|
|
@@ -34113,7 +34126,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34113
34126
|
isRefetching: boolean;
|
|
34114
34127
|
isStale: boolean;
|
|
34115
34128
|
isEnabled: boolean;
|
|
34116
|
-
refetch: (options?:
|
|
34129
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
34117
34130
|
optionId: bigint;
|
|
34118
34131
|
marketAddr: Address;
|
|
34119
34132
|
ownerAddr: Address;
|
|
@@ -34143,7 +34156,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34143
34156
|
address: string;
|
|
34144
34157
|
} | null;
|
|
34145
34158
|
}[], Error>>;
|
|
34146
|
-
fetchStatus:
|
|
34159
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34147
34160
|
promise: Promise<{
|
|
34148
34161
|
optionId: bigint;
|
|
34149
34162
|
marketAddr: Address;
|
|
@@ -34227,7 +34240,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34227
34240
|
isRefetching: boolean;
|
|
34228
34241
|
isStale: boolean;
|
|
34229
34242
|
isEnabled: boolean;
|
|
34230
|
-
refetch: (options?:
|
|
34243
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
34231
34244
|
optionId: bigint;
|
|
34232
34245
|
marketAddr: Address;
|
|
34233
34246
|
ownerAddr: Address;
|
|
@@ -34257,7 +34270,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34257
34270
|
address: string;
|
|
34258
34271
|
} | null;
|
|
34259
34272
|
}[], Error>>;
|
|
34260
|
-
fetchStatus:
|
|
34273
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34261
34274
|
promise: Promise<{
|
|
34262
34275
|
optionId: bigint;
|
|
34263
34276
|
marketAddr: Address;
|
|
@@ -34341,7 +34354,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34341
34354
|
isRefetching: boolean;
|
|
34342
34355
|
isStale: boolean;
|
|
34343
34356
|
isEnabled: boolean;
|
|
34344
|
-
refetch: (options?:
|
|
34357
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
34345
34358
|
optionId: bigint;
|
|
34346
34359
|
marketAddr: Address;
|
|
34347
34360
|
ownerAddr: Address;
|
|
@@ -34371,7 +34384,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34371
34384
|
address: string;
|
|
34372
34385
|
} | null;
|
|
34373
34386
|
}[], Error>>;
|
|
34374
|
-
fetchStatus:
|
|
34387
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34375
34388
|
promise: Promise<{
|
|
34376
34389
|
optionId: bigint;
|
|
34377
34390
|
marketAddr: Address;
|
|
@@ -34455,7 +34468,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34455
34468
|
isRefetching: boolean;
|
|
34456
34469
|
isStale: boolean;
|
|
34457
34470
|
isEnabled: boolean;
|
|
34458
|
-
refetch: (options?:
|
|
34471
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
34459
34472
|
optionId: bigint;
|
|
34460
34473
|
marketAddr: Address;
|
|
34461
34474
|
ownerAddr: Address;
|
|
@@ -34485,7 +34498,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34485
34498
|
address: string;
|
|
34486
34499
|
} | null;
|
|
34487
34500
|
}[], Error>>;
|
|
34488
|
-
fetchStatus:
|
|
34501
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34489
34502
|
promise: Promise<{
|
|
34490
34503
|
optionId: bigint;
|
|
34491
34504
|
marketAddr: Address;
|
|
@@ -34569,7 +34582,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34569
34582
|
isRefetching: boolean;
|
|
34570
34583
|
isStale: boolean;
|
|
34571
34584
|
isEnabled: boolean;
|
|
34572
|
-
refetch: (options?:
|
|
34585
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
34573
34586
|
optionId: bigint;
|
|
34574
34587
|
marketAddr: Address;
|
|
34575
34588
|
ownerAddr: Address;
|
|
@@ -34599,7 +34612,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34599
34612
|
address: string;
|
|
34600
34613
|
} | null;
|
|
34601
34614
|
}[], Error>>;
|
|
34602
|
-
fetchStatus:
|
|
34615
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34603
34616
|
promise: Promise<{
|
|
34604
34617
|
optionId: bigint;
|
|
34605
34618
|
marketAddr: Address;
|
|
@@ -34670,15 +34683,13 @@ declare const useExerciseOption: (marketAddr?: Address) => _tanstack_react_query
|
|
|
34670
34683
|
//#endregion
|
|
34671
34684
|
//#region src/hooks/options/useMarketData.d.ts
|
|
34672
34685
|
declare const useMarketData: (marketAddr?: Address) => Partial<NonUndefinedGuard<{
|
|
34686
|
+
address: Address;
|
|
34673
34687
|
pool: Address;
|
|
34674
34688
|
vault: Address;
|
|
34675
34689
|
optionAsset: Address;
|
|
34676
34690
|
payoutAsset: Address;
|
|
34677
|
-
optionsCount: bigint;
|
|
34678
|
-
tradersCount: bigint;
|
|
34679
34691
|
__typename: "TimelockMarket";
|
|
34680
34692
|
id: string;
|
|
34681
|
-
address: string;
|
|
34682
34693
|
tickSpacing: number;
|
|
34683
34694
|
optionAssetIsToken0: boolean;
|
|
34684
34695
|
optionAssetDecimals: number;
|
|
@@ -34689,6 +34700,16 @@ declare const useMarketData: (marketAddr?: Address) => Partial<NonUndefinedGuard
|
|
|
34689
34700
|
payoutAssetName: string;
|
|
34690
34701
|
} | undefined>>;
|
|
34691
34702
|
//#endregion
|
|
34703
|
+
//#region src/hooks/options/useMarketVolume.d.ts
|
|
34704
|
+
declare const useMarketVolume: (marketAddr?: Address) => Partial<NonUndefinedGuard<{
|
|
34705
|
+
address: Address;
|
|
34706
|
+
volume: bigint;
|
|
34707
|
+
optionsCount: bigint;
|
|
34708
|
+
tradersCount: bigint;
|
|
34709
|
+
__typename: "TimelockMarket";
|
|
34710
|
+
id: string;
|
|
34711
|
+
} | undefined>>;
|
|
34712
|
+
//#endregion
|
|
34692
34713
|
//#region src/lib/numberUtils.d.ts
|
|
34693
34714
|
declare const EMPTY_ARRAY: never[];
|
|
34694
34715
|
type Amount = {
|
|
@@ -34735,10 +34756,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34735
34756
|
isRefetching: boolean;
|
|
34736
34757
|
isStale: boolean;
|
|
34737
34758
|
isEnabled: boolean;
|
|
34738
|
-
refetch: (options?:
|
|
34739
|
-
fetchStatus:
|
|
34759
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [bigint, bigint], viem0.ReadContractErrorType>>;
|
|
34760
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34740
34761
|
promise: Promise<readonly [bigint, bigint]>;
|
|
34741
|
-
queryKey:
|
|
34762
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
34742
34763
|
maxCallSize: Amount | undefined;
|
|
34743
34764
|
maxPutSize: Amount | undefined;
|
|
34744
34765
|
} | {
|
|
@@ -34764,10 +34785,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34764
34785
|
isRefetching: boolean;
|
|
34765
34786
|
isStale: boolean;
|
|
34766
34787
|
isEnabled: boolean;
|
|
34767
|
-
refetch: (options?:
|
|
34768
|
-
fetchStatus:
|
|
34788
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [bigint, bigint], viem0.ReadContractErrorType>>;
|
|
34789
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34769
34790
|
promise: Promise<readonly [bigint, bigint]>;
|
|
34770
|
-
queryKey:
|
|
34791
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
34771
34792
|
maxCallSize: Amount | undefined;
|
|
34772
34793
|
maxPutSize: Amount | undefined;
|
|
34773
34794
|
} | {
|
|
@@ -34793,10 +34814,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34793
34814
|
isRefetching: boolean;
|
|
34794
34815
|
isStale: boolean;
|
|
34795
34816
|
isEnabled: boolean;
|
|
34796
|
-
refetch: (options?:
|
|
34797
|
-
fetchStatus:
|
|
34817
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [bigint, bigint], viem0.ReadContractErrorType>>;
|
|
34818
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34798
34819
|
promise: Promise<readonly [bigint, bigint]>;
|
|
34799
|
-
queryKey:
|
|
34820
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
34800
34821
|
maxCallSize: Amount | undefined;
|
|
34801
34822
|
maxPutSize: Amount | undefined;
|
|
34802
34823
|
} | {
|
|
@@ -34822,10 +34843,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34822
34843
|
isRefetching: boolean;
|
|
34823
34844
|
isStale: boolean;
|
|
34824
34845
|
isEnabled: boolean;
|
|
34825
|
-
refetch: (options?:
|
|
34826
|
-
fetchStatus:
|
|
34846
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [bigint, bigint], viem0.ReadContractErrorType>>;
|
|
34847
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34827
34848
|
promise: Promise<readonly [bigint, bigint]>;
|
|
34828
|
-
queryKey:
|
|
34849
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
34829
34850
|
maxCallSize: Amount | undefined;
|
|
34830
34851
|
maxPutSize: Amount | undefined;
|
|
34831
34852
|
} | {
|
|
@@ -34851,10 +34872,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34851
34872
|
isRefetching: boolean;
|
|
34852
34873
|
isStale: boolean;
|
|
34853
34874
|
isEnabled: boolean;
|
|
34854
|
-
refetch: (options?:
|
|
34855
|
-
fetchStatus:
|
|
34875
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [bigint, bigint], viem0.ReadContractErrorType>>;
|
|
34876
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34856
34877
|
promise: Promise<readonly [bigint, bigint]>;
|
|
34857
|
-
queryKey:
|
|
34878
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
34858
34879
|
maxCallSize: Amount | undefined;
|
|
34859
34880
|
maxPutSize: Amount | undefined;
|
|
34860
34881
|
} | {
|
|
@@ -34880,10 +34901,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34880
34901
|
isRefetching: boolean;
|
|
34881
34902
|
isStale: boolean;
|
|
34882
34903
|
isEnabled: boolean;
|
|
34883
|
-
refetch: (options?:
|
|
34884
|
-
fetchStatus:
|
|
34904
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [bigint, bigint], viem0.ReadContractErrorType>>;
|
|
34905
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34885
34906
|
promise: Promise<readonly [bigint, bigint]>;
|
|
34886
|
-
queryKey:
|
|
34907
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
34887
34908
|
maxCallSize: Amount | undefined;
|
|
34888
34909
|
maxPutSize: Amount | undefined;
|
|
34889
34910
|
};
|
|
@@ -34953,7 +34974,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34953
34974
|
isRefetching: boolean;
|
|
34954
34975
|
isStale: boolean;
|
|
34955
34976
|
isEnabled: boolean;
|
|
34956
|
-
refetch: (options?:
|
|
34977
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<({
|
|
34957
34978
|
type: "mint";
|
|
34958
34979
|
data: {
|
|
34959
34980
|
id: string;
|
|
@@ -34992,7 +35013,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34992
35013
|
transactionHash: string;
|
|
34993
35014
|
};
|
|
34994
35015
|
})[], Error>>;
|
|
34995
|
-
fetchStatus:
|
|
35016
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34996
35017
|
promise: Promise<({
|
|
34997
35018
|
type: "mint";
|
|
34998
35019
|
data: {
|
|
@@ -35094,7 +35115,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35094
35115
|
isRefetching: boolean;
|
|
35095
35116
|
isStale: boolean;
|
|
35096
35117
|
isEnabled: boolean;
|
|
35097
|
-
refetch: (options?:
|
|
35118
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<({
|
|
35098
35119
|
type: "mint";
|
|
35099
35120
|
data: {
|
|
35100
35121
|
id: string;
|
|
@@ -35133,7 +35154,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35133
35154
|
transactionHash: string;
|
|
35134
35155
|
};
|
|
35135
35156
|
})[], Error>>;
|
|
35136
|
-
fetchStatus:
|
|
35157
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35137
35158
|
promise: Promise<({
|
|
35138
35159
|
type: "mint";
|
|
35139
35160
|
data: {
|
|
@@ -35235,7 +35256,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35235
35256
|
isRefetching: boolean;
|
|
35236
35257
|
isStale: boolean;
|
|
35237
35258
|
isEnabled: boolean;
|
|
35238
|
-
refetch: (options?:
|
|
35259
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<({
|
|
35239
35260
|
type: "mint";
|
|
35240
35261
|
data: {
|
|
35241
35262
|
id: string;
|
|
@@ -35274,7 +35295,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35274
35295
|
transactionHash: string;
|
|
35275
35296
|
};
|
|
35276
35297
|
})[], Error>>;
|
|
35277
|
-
fetchStatus:
|
|
35298
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35278
35299
|
promise: Promise<({
|
|
35279
35300
|
type: "mint";
|
|
35280
35301
|
data: {
|
|
@@ -35376,7 +35397,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35376
35397
|
isRefetching: boolean;
|
|
35377
35398
|
isStale: boolean;
|
|
35378
35399
|
isEnabled: boolean;
|
|
35379
|
-
refetch: (options?:
|
|
35400
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<({
|
|
35380
35401
|
type: "mint";
|
|
35381
35402
|
data: {
|
|
35382
35403
|
id: string;
|
|
@@ -35415,7 +35436,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35415
35436
|
transactionHash: string;
|
|
35416
35437
|
};
|
|
35417
35438
|
})[], Error>>;
|
|
35418
|
-
fetchStatus:
|
|
35439
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35419
35440
|
promise: Promise<({
|
|
35420
35441
|
type: "mint";
|
|
35421
35442
|
data: {
|
|
@@ -35517,7 +35538,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35517
35538
|
isRefetching: boolean;
|
|
35518
35539
|
isStale: boolean;
|
|
35519
35540
|
isEnabled: boolean;
|
|
35520
|
-
refetch: (options?:
|
|
35541
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<({
|
|
35521
35542
|
type: "mint";
|
|
35522
35543
|
data: {
|
|
35523
35544
|
id: string;
|
|
@@ -35556,7 +35577,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35556
35577
|
transactionHash: string;
|
|
35557
35578
|
};
|
|
35558
35579
|
})[], Error>>;
|
|
35559
|
-
fetchStatus:
|
|
35580
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35560
35581
|
promise: Promise<({
|
|
35561
35582
|
type: "mint";
|
|
35562
35583
|
data: {
|
|
@@ -35658,7 +35679,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35658
35679
|
isRefetching: boolean;
|
|
35659
35680
|
isStale: boolean;
|
|
35660
35681
|
isEnabled: boolean;
|
|
35661
|
-
refetch: (options?:
|
|
35682
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<({
|
|
35662
35683
|
type: "mint";
|
|
35663
35684
|
data: {
|
|
35664
35685
|
id: string;
|
|
@@ -35697,7 +35718,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35697
35718
|
transactionHash: string;
|
|
35698
35719
|
};
|
|
35699
35720
|
})[], Error>>;
|
|
35700
|
-
fetchStatus:
|
|
35721
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35701
35722
|
promise: Promise<({
|
|
35702
35723
|
type: "mint";
|
|
35703
35724
|
data: {
|
|
@@ -35820,7 +35841,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35820
35841
|
isRefetching: boolean;
|
|
35821
35842
|
isStale: boolean;
|
|
35822
35843
|
isEnabled: boolean;
|
|
35823
|
-
refetch: (options?:
|
|
35844
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
35824
35845
|
optionId: bigint;
|
|
35825
35846
|
id: string;
|
|
35826
35847
|
ownerAddr: Address;
|
|
@@ -35829,7 +35850,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35829
35850
|
expiresAt: number;
|
|
35830
35851
|
closed: boolean;
|
|
35831
35852
|
}[] | undefined, Error>>;
|
|
35832
|
-
fetchStatus:
|
|
35853
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35833
35854
|
promise: Promise<{
|
|
35834
35855
|
optionId: bigint;
|
|
35835
35856
|
id: string;
|
|
@@ -35871,7 +35892,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35871
35892
|
isRefetching: boolean;
|
|
35872
35893
|
isStale: boolean;
|
|
35873
35894
|
isEnabled: boolean;
|
|
35874
|
-
refetch: (options?:
|
|
35895
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
35875
35896
|
optionId: bigint;
|
|
35876
35897
|
id: string;
|
|
35877
35898
|
ownerAddr: Address;
|
|
@@ -35880,7 +35901,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35880
35901
|
expiresAt: number;
|
|
35881
35902
|
closed: boolean;
|
|
35882
35903
|
}[] | undefined, Error>>;
|
|
35883
|
-
fetchStatus:
|
|
35904
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35884
35905
|
promise: Promise<{
|
|
35885
35906
|
optionId: bigint;
|
|
35886
35907
|
id: string;
|
|
@@ -35922,7 +35943,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35922
35943
|
isRefetching: boolean;
|
|
35923
35944
|
isStale: boolean;
|
|
35924
35945
|
isEnabled: boolean;
|
|
35925
|
-
refetch: (options?:
|
|
35946
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
35926
35947
|
optionId: bigint;
|
|
35927
35948
|
id: string;
|
|
35928
35949
|
ownerAddr: Address;
|
|
@@ -35931,7 +35952,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35931
35952
|
expiresAt: number;
|
|
35932
35953
|
closed: boolean;
|
|
35933
35954
|
}[] | undefined, Error>>;
|
|
35934
|
-
fetchStatus:
|
|
35955
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35935
35956
|
promise: Promise<{
|
|
35936
35957
|
optionId: bigint;
|
|
35937
35958
|
id: string;
|
|
@@ -35973,7 +35994,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35973
35994
|
isRefetching: boolean;
|
|
35974
35995
|
isStale: boolean;
|
|
35975
35996
|
isEnabled: boolean;
|
|
35976
|
-
refetch: (options?:
|
|
35997
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
35977
35998
|
optionId: bigint;
|
|
35978
35999
|
id: string;
|
|
35979
36000
|
ownerAddr: Address;
|
|
@@ -35982,7 +36003,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35982
36003
|
expiresAt: number;
|
|
35983
36004
|
closed: boolean;
|
|
35984
36005
|
}[] | undefined, Error>>;
|
|
35985
|
-
fetchStatus:
|
|
36006
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35986
36007
|
promise: Promise<{
|
|
35987
36008
|
optionId: bigint;
|
|
35988
36009
|
id: string;
|
|
@@ -36024,7 +36045,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
36024
36045
|
isRefetching: boolean;
|
|
36025
36046
|
isStale: boolean;
|
|
36026
36047
|
isEnabled: boolean;
|
|
36027
|
-
refetch: (options?:
|
|
36048
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36028
36049
|
optionId: bigint;
|
|
36029
36050
|
id: string;
|
|
36030
36051
|
ownerAddr: Address;
|
|
@@ -36033,7 +36054,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
36033
36054
|
expiresAt: number;
|
|
36034
36055
|
closed: boolean;
|
|
36035
36056
|
}[] | undefined, Error>>;
|
|
36036
|
-
fetchStatus:
|
|
36057
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36037
36058
|
promise: Promise<{
|
|
36038
36059
|
optionId: bigint;
|
|
36039
36060
|
id: string;
|
|
@@ -36075,7 +36096,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
36075
36096
|
isRefetching: boolean;
|
|
36076
36097
|
isStale: boolean;
|
|
36077
36098
|
isEnabled: boolean;
|
|
36078
|
-
refetch: (options?:
|
|
36099
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36079
36100
|
optionId: bigint;
|
|
36080
36101
|
id: string;
|
|
36081
36102
|
ownerAddr: Address;
|
|
@@ -36084,7 +36105,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
36084
36105
|
expiresAt: number;
|
|
36085
36106
|
closed: boolean;
|
|
36086
36107
|
}[] | undefined, Error>>;
|
|
36087
|
-
fetchStatus:
|
|
36108
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36088
36109
|
promise: Promise<{
|
|
36089
36110
|
optionId: bigint;
|
|
36090
36111
|
id: string;
|
|
@@ -36127,7 +36148,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36127
36148
|
isRefetching: boolean;
|
|
36128
36149
|
isStale: boolean;
|
|
36129
36150
|
isEnabled: boolean;
|
|
36130
|
-
refetch: (options?:
|
|
36151
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36131
36152
|
optionId: bigint;
|
|
36132
36153
|
id: string;
|
|
36133
36154
|
ownerAddr: Address;
|
|
@@ -36136,7 +36157,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36136
36157
|
expiresAt: number;
|
|
36137
36158
|
closed: boolean;
|
|
36138
36159
|
}[] | undefined, Error>>;
|
|
36139
|
-
fetchStatus:
|
|
36160
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36140
36161
|
promise: Promise<{
|
|
36141
36162
|
optionId: bigint;
|
|
36142
36163
|
id: string;
|
|
@@ -36178,7 +36199,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36178
36199
|
isRefetching: boolean;
|
|
36179
36200
|
isStale: boolean;
|
|
36180
36201
|
isEnabled: boolean;
|
|
36181
|
-
refetch: (options?:
|
|
36202
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36182
36203
|
optionId: bigint;
|
|
36183
36204
|
id: string;
|
|
36184
36205
|
ownerAddr: Address;
|
|
@@ -36187,7 +36208,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36187
36208
|
expiresAt: number;
|
|
36188
36209
|
closed: boolean;
|
|
36189
36210
|
}[] | undefined, Error>>;
|
|
36190
|
-
fetchStatus:
|
|
36211
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36191
36212
|
promise: Promise<{
|
|
36192
36213
|
optionId: bigint;
|
|
36193
36214
|
id: string;
|
|
@@ -36229,7 +36250,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36229
36250
|
isRefetching: boolean;
|
|
36230
36251
|
isStale: boolean;
|
|
36231
36252
|
isEnabled: boolean;
|
|
36232
|
-
refetch: (options?:
|
|
36253
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36233
36254
|
optionId: bigint;
|
|
36234
36255
|
id: string;
|
|
36235
36256
|
ownerAddr: Address;
|
|
@@ -36238,7 +36259,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36238
36259
|
expiresAt: number;
|
|
36239
36260
|
closed: boolean;
|
|
36240
36261
|
}[] | undefined, Error>>;
|
|
36241
|
-
fetchStatus:
|
|
36262
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36242
36263
|
promise: Promise<{
|
|
36243
36264
|
optionId: bigint;
|
|
36244
36265
|
id: string;
|
|
@@ -36280,7 +36301,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36280
36301
|
isRefetching: boolean;
|
|
36281
36302
|
isStale: boolean;
|
|
36282
36303
|
isEnabled: boolean;
|
|
36283
|
-
refetch: (options?:
|
|
36304
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36284
36305
|
optionId: bigint;
|
|
36285
36306
|
id: string;
|
|
36286
36307
|
ownerAddr: Address;
|
|
@@ -36289,7 +36310,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36289
36310
|
expiresAt: number;
|
|
36290
36311
|
closed: boolean;
|
|
36291
36312
|
}[] | undefined, Error>>;
|
|
36292
|
-
fetchStatus:
|
|
36313
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36293
36314
|
promise: Promise<{
|
|
36294
36315
|
optionId: bigint;
|
|
36295
36316
|
id: string;
|
|
@@ -36331,7 +36352,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36331
36352
|
isRefetching: boolean;
|
|
36332
36353
|
isStale: boolean;
|
|
36333
36354
|
isEnabled: boolean;
|
|
36334
|
-
refetch: (options?:
|
|
36355
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36335
36356
|
optionId: bigint;
|
|
36336
36357
|
id: string;
|
|
36337
36358
|
ownerAddr: Address;
|
|
@@ -36340,7 +36361,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36340
36361
|
expiresAt: number;
|
|
36341
36362
|
closed: boolean;
|
|
36342
36363
|
}[] | undefined, Error>>;
|
|
36343
|
-
fetchStatus:
|
|
36364
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36344
36365
|
promise: Promise<{
|
|
36345
36366
|
optionId: bigint;
|
|
36346
36367
|
id: string;
|
|
@@ -36382,7 +36403,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36382
36403
|
isRefetching: boolean;
|
|
36383
36404
|
isStale: boolean;
|
|
36384
36405
|
isEnabled: boolean;
|
|
36385
|
-
refetch: (options?:
|
|
36406
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36386
36407
|
optionId: bigint;
|
|
36387
36408
|
id: string;
|
|
36388
36409
|
ownerAddr: Address;
|
|
@@ -36391,7 +36412,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36391
36412
|
expiresAt: number;
|
|
36392
36413
|
closed: boolean;
|
|
36393
36414
|
}[] | undefined, Error>>;
|
|
36394
|
-
fetchStatus:
|
|
36415
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36395
36416
|
promise: Promise<{
|
|
36396
36417
|
optionId: bigint;
|
|
36397
36418
|
id: string;
|
|
@@ -36434,7 +36455,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36434
36455
|
isRefetching: boolean;
|
|
36435
36456
|
isStale: boolean;
|
|
36436
36457
|
isEnabled: boolean;
|
|
36437
|
-
refetch: (options?:
|
|
36458
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36438
36459
|
optionId: bigint;
|
|
36439
36460
|
id: string;
|
|
36440
36461
|
ownerAddr: Address;
|
|
@@ -36443,7 +36464,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36443
36464
|
expiresAt: number;
|
|
36444
36465
|
closed: boolean;
|
|
36445
36466
|
}[] | undefined, Error>>;
|
|
36446
|
-
fetchStatus:
|
|
36467
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36447
36468
|
promise: Promise<{
|
|
36448
36469
|
optionId: bigint;
|
|
36449
36470
|
id: string;
|
|
@@ -36485,7 +36506,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36485
36506
|
isRefetching: boolean;
|
|
36486
36507
|
isStale: boolean;
|
|
36487
36508
|
isEnabled: boolean;
|
|
36488
|
-
refetch: (options?:
|
|
36509
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36489
36510
|
optionId: bigint;
|
|
36490
36511
|
id: string;
|
|
36491
36512
|
ownerAddr: Address;
|
|
@@ -36494,7 +36515,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36494
36515
|
expiresAt: number;
|
|
36495
36516
|
closed: boolean;
|
|
36496
36517
|
}[] | undefined, Error>>;
|
|
36497
|
-
fetchStatus:
|
|
36518
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36498
36519
|
promise: Promise<{
|
|
36499
36520
|
optionId: bigint;
|
|
36500
36521
|
id: string;
|
|
@@ -36536,7 +36557,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36536
36557
|
isRefetching: boolean;
|
|
36537
36558
|
isStale: boolean;
|
|
36538
36559
|
isEnabled: boolean;
|
|
36539
|
-
refetch: (options?:
|
|
36560
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36540
36561
|
optionId: bigint;
|
|
36541
36562
|
id: string;
|
|
36542
36563
|
ownerAddr: Address;
|
|
@@ -36545,7 +36566,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36545
36566
|
expiresAt: number;
|
|
36546
36567
|
closed: boolean;
|
|
36547
36568
|
}[] | undefined, Error>>;
|
|
36548
|
-
fetchStatus:
|
|
36569
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36549
36570
|
promise: Promise<{
|
|
36550
36571
|
optionId: bigint;
|
|
36551
36572
|
id: string;
|
|
@@ -36587,7 +36608,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36587
36608
|
isRefetching: boolean;
|
|
36588
36609
|
isStale: boolean;
|
|
36589
36610
|
isEnabled: boolean;
|
|
36590
|
-
refetch: (options?:
|
|
36611
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36591
36612
|
optionId: bigint;
|
|
36592
36613
|
id: string;
|
|
36593
36614
|
ownerAddr: Address;
|
|
@@ -36596,7 +36617,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36596
36617
|
expiresAt: number;
|
|
36597
36618
|
closed: boolean;
|
|
36598
36619
|
}[] | undefined, Error>>;
|
|
36599
|
-
fetchStatus:
|
|
36620
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36600
36621
|
promise: Promise<{
|
|
36601
36622
|
optionId: bigint;
|
|
36602
36623
|
id: string;
|
|
@@ -36638,7 +36659,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36638
36659
|
isRefetching: boolean;
|
|
36639
36660
|
isStale: boolean;
|
|
36640
36661
|
isEnabled: boolean;
|
|
36641
|
-
refetch: (options?:
|
|
36662
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36642
36663
|
optionId: bigint;
|
|
36643
36664
|
id: string;
|
|
36644
36665
|
ownerAddr: Address;
|
|
@@ -36647,7 +36668,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36647
36668
|
expiresAt: number;
|
|
36648
36669
|
closed: boolean;
|
|
36649
36670
|
}[] | undefined, Error>>;
|
|
36650
|
-
fetchStatus:
|
|
36671
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36651
36672
|
promise: Promise<{
|
|
36652
36673
|
optionId: bigint;
|
|
36653
36674
|
id: string;
|
|
@@ -36689,7 +36710,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36689
36710
|
isRefetching: boolean;
|
|
36690
36711
|
isStale: boolean;
|
|
36691
36712
|
isEnabled: boolean;
|
|
36692
|
-
refetch: (options?:
|
|
36713
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36693
36714
|
optionId: bigint;
|
|
36694
36715
|
id: string;
|
|
36695
36716
|
ownerAddr: Address;
|
|
@@ -36698,7 +36719,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36698
36719
|
expiresAt: number;
|
|
36699
36720
|
closed: boolean;
|
|
36700
36721
|
}[] | undefined, Error>>;
|
|
36701
|
-
fetchStatus:
|
|
36722
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36702
36723
|
promise: Promise<{
|
|
36703
36724
|
optionId: bigint;
|
|
36704
36725
|
id: string;
|
|
@@ -36743,10 +36764,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36743
36764
|
isRefetching: boolean;
|
|
36744
36765
|
isStale: boolean;
|
|
36745
36766
|
isEnabled: boolean;
|
|
36746
|
-
refetch: (options?:
|
|
36747
|
-
fetchStatus:
|
|
36767
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
36768
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36748
36769
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36749
|
-
queryKey:
|
|
36770
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
36750
36771
|
data: {
|
|
36751
36772
|
canExtend: boolean | undefined;
|
|
36752
36773
|
canExercise: boolean | undefined;
|
|
@@ -36778,10 +36799,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36778
36799
|
isRefetching: boolean;
|
|
36779
36800
|
isStale: boolean;
|
|
36780
36801
|
isEnabled: boolean;
|
|
36781
|
-
refetch: (options?:
|
|
36782
|
-
fetchStatus:
|
|
36802
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
36803
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36783
36804
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36784
|
-
queryKey:
|
|
36805
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
36785
36806
|
data: {
|
|
36786
36807
|
canExtend: boolean | undefined;
|
|
36787
36808
|
canExercise: boolean | undefined;
|
|
@@ -36813,10 +36834,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36813
36834
|
isRefetching: boolean;
|
|
36814
36835
|
isStale: boolean;
|
|
36815
36836
|
isEnabled: boolean;
|
|
36816
|
-
refetch: (options?:
|
|
36817
|
-
fetchStatus:
|
|
36837
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
36838
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36818
36839
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36819
|
-
queryKey:
|
|
36840
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
36820
36841
|
data: {
|
|
36821
36842
|
canExtend: boolean | undefined;
|
|
36822
36843
|
canExercise: boolean | undefined;
|
|
@@ -36848,10 +36869,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36848
36869
|
isRefetching: boolean;
|
|
36849
36870
|
isStale: boolean;
|
|
36850
36871
|
isEnabled: boolean;
|
|
36851
|
-
refetch: (options?:
|
|
36852
|
-
fetchStatus:
|
|
36872
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
36873
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36853
36874
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36854
|
-
queryKey:
|
|
36875
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
36855
36876
|
data: {
|
|
36856
36877
|
canExtend: boolean | undefined;
|
|
36857
36878
|
canExercise: boolean | undefined;
|
|
@@ -36883,10 +36904,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36883
36904
|
isRefetching: boolean;
|
|
36884
36905
|
isStale: boolean;
|
|
36885
36906
|
isEnabled: boolean;
|
|
36886
|
-
refetch: (options?:
|
|
36887
|
-
fetchStatus:
|
|
36907
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
36908
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36888
36909
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36889
|
-
queryKey:
|
|
36910
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
36890
36911
|
data: {
|
|
36891
36912
|
canExtend: boolean | undefined;
|
|
36892
36913
|
canExercise: boolean | undefined;
|
|
@@ -36918,10 +36939,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36918
36939
|
isRefetching: boolean;
|
|
36919
36940
|
isStale: boolean;
|
|
36920
36941
|
isEnabled: boolean;
|
|
36921
|
-
refetch: (options?:
|
|
36922
|
-
fetchStatus:
|
|
36942
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
36943
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36923
36944
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36924
|
-
queryKey:
|
|
36945
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
36925
36946
|
data: {
|
|
36926
36947
|
canExtend: boolean | undefined;
|
|
36927
36948
|
canExercise: boolean | undefined;
|
|
@@ -36970,7 +36991,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36970
36991
|
isRefetching: boolean;
|
|
36971
36992
|
isStale: boolean;
|
|
36972
36993
|
isEnabled: boolean;
|
|
36973
|
-
refetch: (options?:
|
|
36994
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36974
36995
|
spendingApproval: bigint;
|
|
36975
36996
|
operatorAddr: string;
|
|
36976
36997
|
__typename: "UserMarketOperator";
|
|
@@ -36984,7 +37005,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36984
37005
|
address: string;
|
|
36985
37006
|
} | null;
|
|
36986
37007
|
}[] | undefined, Error>>;
|
|
36987
|
-
fetchStatus:
|
|
37008
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36988
37009
|
promise: Promise<{
|
|
36989
37010
|
spendingApproval: bigint;
|
|
36990
37011
|
operatorAddr: string;
|
|
@@ -37036,7 +37057,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37036
37057
|
isRefetching: boolean;
|
|
37037
37058
|
isStale: boolean;
|
|
37038
37059
|
isEnabled: boolean;
|
|
37039
|
-
refetch: (options?:
|
|
37060
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37040
37061
|
spendingApproval: bigint;
|
|
37041
37062
|
operatorAddr: string;
|
|
37042
37063
|
__typename: "UserMarketOperator";
|
|
@@ -37050,7 +37071,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37050
37071
|
address: string;
|
|
37051
37072
|
} | null;
|
|
37052
37073
|
}[] | undefined, Error>>;
|
|
37053
|
-
fetchStatus:
|
|
37074
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37054
37075
|
promise: Promise<{
|
|
37055
37076
|
spendingApproval: bigint;
|
|
37056
37077
|
operatorAddr: string;
|
|
@@ -37102,7 +37123,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37102
37123
|
isRefetching: boolean;
|
|
37103
37124
|
isStale: boolean;
|
|
37104
37125
|
isEnabled: boolean;
|
|
37105
|
-
refetch: (options?:
|
|
37126
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37106
37127
|
spendingApproval: bigint;
|
|
37107
37128
|
operatorAddr: string;
|
|
37108
37129
|
__typename: "UserMarketOperator";
|
|
@@ -37116,7 +37137,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37116
37137
|
address: string;
|
|
37117
37138
|
} | null;
|
|
37118
37139
|
}[] | undefined, Error>>;
|
|
37119
|
-
fetchStatus:
|
|
37140
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37120
37141
|
promise: Promise<{
|
|
37121
37142
|
spendingApproval: bigint;
|
|
37122
37143
|
operatorAddr: string;
|
|
@@ -37168,7 +37189,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37168
37189
|
isRefetching: boolean;
|
|
37169
37190
|
isStale: boolean;
|
|
37170
37191
|
isEnabled: boolean;
|
|
37171
|
-
refetch: (options?:
|
|
37192
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37172
37193
|
spendingApproval: bigint;
|
|
37173
37194
|
operatorAddr: string;
|
|
37174
37195
|
__typename: "UserMarketOperator";
|
|
@@ -37182,7 +37203,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37182
37203
|
address: string;
|
|
37183
37204
|
} | null;
|
|
37184
37205
|
}[] | undefined, Error>>;
|
|
37185
|
-
fetchStatus:
|
|
37206
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37186
37207
|
promise: Promise<{
|
|
37187
37208
|
spendingApproval: bigint;
|
|
37188
37209
|
operatorAddr: string;
|
|
@@ -37234,7 +37255,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37234
37255
|
isRefetching: boolean;
|
|
37235
37256
|
isStale: boolean;
|
|
37236
37257
|
isEnabled: boolean;
|
|
37237
|
-
refetch: (options?:
|
|
37258
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37238
37259
|
spendingApproval: bigint;
|
|
37239
37260
|
operatorAddr: string;
|
|
37240
37261
|
__typename: "UserMarketOperator";
|
|
@@ -37248,7 +37269,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37248
37269
|
address: string;
|
|
37249
37270
|
} | null;
|
|
37250
37271
|
}[] | undefined, Error>>;
|
|
37251
|
-
fetchStatus:
|
|
37272
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37252
37273
|
promise: Promise<{
|
|
37253
37274
|
spendingApproval: bigint;
|
|
37254
37275
|
operatorAddr: string;
|
|
@@ -37300,7 +37321,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37300
37321
|
isRefetching: boolean;
|
|
37301
37322
|
isStale: boolean;
|
|
37302
37323
|
isEnabled: boolean;
|
|
37303
|
-
refetch: (options?:
|
|
37324
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37304
37325
|
spendingApproval: bigint;
|
|
37305
37326
|
operatorAddr: string;
|
|
37306
37327
|
__typename: "UserMarketOperator";
|
|
@@ -37314,7 +37335,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37314
37335
|
address: string;
|
|
37315
37336
|
} | null;
|
|
37316
37337
|
}[] | undefined, Error>>;
|
|
37317
|
-
fetchStatus:
|
|
37338
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37318
37339
|
promise: Promise<{
|
|
37319
37340
|
spendingApproval: bigint;
|
|
37320
37341
|
operatorAddr: string;
|
|
@@ -37412,18 +37433,18 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37412
37433
|
isRefetching: boolean;
|
|
37413
37434
|
isStale: boolean;
|
|
37414
37435
|
isEnabled: boolean;
|
|
37415
|
-
refetch: (options?:
|
|
37436
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37416
37437
|
exact: number;
|
|
37417
37438
|
rounded: number | undefined;
|
|
37418
37439
|
sqrtPriceX96: bigint;
|
|
37419
37440
|
}, viem0.ReadContractErrorType>>;
|
|
37420
|
-
fetchStatus:
|
|
37441
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37421
37442
|
promise: Promise<{
|
|
37422
37443
|
exact: number;
|
|
37423
37444
|
rounded: number | undefined;
|
|
37424
37445
|
sqrtPriceX96: bigint;
|
|
37425
37446
|
}>;
|
|
37426
|
-
queryKey:
|
|
37447
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37427
37448
|
exact: number | undefined;
|
|
37428
37449
|
rounded: number | undefined;
|
|
37429
37450
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -37450,18 +37471,18 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37450
37471
|
isRefetching: boolean;
|
|
37451
37472
|
isStale: boolean;
|
|
37452
37473
|
isEnabled: boolean;
|
|
37453
|
-
refetch: (options?:
|
|
37474
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37454
37475
|
exact: number;
|
|
37455
37476
|
rounded: number | undefined;
|
|
37456
37477
|
sqrtPriceX96: bigint;
|
|
37457
37478
|
}, viem0.ReadContractErrorType>>;
|
|
37458
|
-
fetchStatus:
|
|
37479
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37459
37480
|
promise: Promise<{
|
|
37460
37481
|
exact: number;
|
|
37461
37482
|
rounded: number | undefined;
|
|
37462
37483
|
sqrtPriceX96: bigint;
|
|
37463
37484
|
}>;
|
|
37464
|
-
queryKey:
|
|
37485
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37465
37486
|
exact: number | undefined;
|
|
37466
37487
|
rounded: number | undefined;
|
|
37467
37488
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -37488,18 +37509,18 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37488
37509
|
isRefetching: boolean;
|
|
37489
37510
|
isStale: boolean;
|
|
37490
37511
|
isEnabled: boolean;
|
|
37491
|
-
refetch: (options?:
|
|
37512
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37492
37513
|
exact: number;
|
|
37493
37514
|
rounded: number | undefined;
|
|
37494
37515
|
sqrtPriceX96: bigint;
|
|
37495
37516
|
}, viem0.ReadContractErrorType>>;
|
|
37496
|
-
fetchStatus:
|
|
37517
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37497
37518
|
promise: Promise<{
|
|
37498
37519
|
exact: number;
|
|
37499
37520
|
rounded: number | undefined;
|
|
37500
37521
|
sqrtPriceX96: bigint;
|
|
37501
37522
|
}>;
|
|
37502
|
-
queryKey:
|
|
37523
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37503
37524
|
exact: number | undefined;
|
|
37504
37525
|
rounded: number | undefined;
|
|
37505
37526
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -37526,18 +37547,18 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37526
37547
|
isRefetching: boolean;
|
|
37527
37548
|
isStale: boolean;
|
|
37528
37549
|
isEnabled: boolean;
|
|
37529
|
-
refetch: (options?:
|
|
37550
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37530
37551
|
exact: number;
|
|
37531
37552
|
rounded: number | undefined;
|
|
37532
37553
|
sqrtPriceX96: bigint;
|
|
37533
37554
|
}, viem0.ReadContractErrorType>>;
|
|
37534
|
-
fetchStatus:
|
|
37555
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37535
37556
|
promise: Promise<{
|
|
37536
37557
|
exact: number;
|
|
37537
37558
|
rounded: number | undefined;
|
|
37538
37559
|
sqrtPriceX96: bigint;
|
|
37539
37560
|
}>;
|
|
37540
|
-
queryKey:
|
|
37561
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37541
37562
|
exact: number | undefined;
|
|
37542
37563
|
rounded: number | undefined;
|
|
37543
37564
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -37564,18 +37585,18 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37564
37585
|
isRefetching: boolean;
|
|
37565
37586
|
isStale: boolean;
|
|
37566
37587
|
isEnabled: boolean;
|
|
37567
|
-
refetch: (options?:
|
|
37588
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37568
37589
|
exact: number;
|
|
37569
37590
|
rounded: number | undefined;
|
|
37570
37591
|
sqrtPriceX96: bigint;
|
|
37571
37592
|
}, viem0.ReadContractErrorType>>;
|
|
37572
|
-
fetchStatus:
|
|
37593
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37573
37594
|
promise: Promise<{
|
|
37574
37595
|
exact: number;
|
|
37575
37596
|
rounded: number | undefined;
|
|
37576
37597
|
sqrtPriceX96: bigint;
|
|
37577
37598
|
}>;
|
|
37578
|
-
queryKey:
|
|
37599
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37579
37600
|
exact: number | undefined;
|
|
37580
37601
|
rounded: number | undefined;
|
|
37581
37602
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -37602,18 +37623,18 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37602
37623
|
isRefetching: boolean;
|
|
37603
37624
|
isStale: boolean;
|
|
37604
37625
|
isEnabled: boolean;
|
|
37605
|
-
refetch: (options?:
|
|
37626
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37606
37627
|
exact: number;
|
|
37607
37628
|
rounded: number | undefined;
|
|
37608
37629
|
sqrtPriceX96: bigint;
|
|
37609
37630
|
}, viem0.ReadContractErrorType>>;
|
|
37610
|
-
fetchStatus:
|
|
37631
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37611
37632
|
promise: Promise<{
|
|
37612
37633
|
exact: number;
|
|
37613
37634
|
rounded: number | undefined;
|
|
37614
37635
|
sqrtPriceX96: bigint;
|
|
37615
37636
|
}>;
|
|
37616
|
-
queryKey:
|
|
37637
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37617
37638
|
exact: number | undefined;
|
|
37618
37639
|
rounded: number | undefined;
|
|
37619
37640
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -37685,7 +37706,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37685
37706
|
isRefetching: boolean;
|
|
37686
37707
|
isStale: boolean;
|
|
37687
37708
|
isEnabled: boolean;
|
|
37688
|
-
refetch: (options?:
|
|
37709
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly {
|
|
37689
37710
|
tickLower: number;
|
|
37690
37711
|
tickUpper: number;
|
|
37691
37712
|
prevTickLower: number;
|
|
@@ -37696,7 +37717,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37696
37717
|
borrowedAmount0: bigint;
|
|
37697
37718
|
borrowedAmount1: bigint;
|
|
37698
37719
|
}[], viem0.ReadContractErrorType>>;
|
|
37699
|
-
fetchStatus:
|
|
37720
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37700
37721
|
promise: Promise<readonly {
|
|
37701
37722
|
tickLower: number;
|
|
37702
37723
|
tickUpper: number;
|
|
@@ -37708,7 +37729,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37708
37729
|
borrowedAmount0: bigint;
|
|
37709
37730
|
borrowedAmount1: bigint;
|
|
37710
37731
|
}[]>;
|
|
37711
|
-
queryKey:
|
|
37732
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37712
37733
|
data: readonly {
|
|
37713
37734
|
tickLower: number;
|
|
37714
37735
|
tickUpper: number;
|
|
@@ -37743,7 +37764,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37743
37764
|
isRefetching: boolean;
|
|
37744
37765
|
isStale: boolean;
|
|
37745
37766
|
isEnabled: boolean;
|
|
37746
|
-
refetch: (options?:
|
|
37767
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly {
|
|
37747
37768
|
tickLower: number;
|
|
37748
37769
|
tickUpper: number;
|
|
37749
37770
|
prevTickLower: number;
|
|
@@ -37754,7 +37775,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37754
37775
|
borrowedAmount0: bigint;
|
|
37755
37776
|
borrowedAmount1: bigint;
|
|
37756
37777
|
}[], viem0.ReadContractErrorType>>;
|
|
37757
|
-
fetchStatus:
|
|
37778
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37758
37779
|
promise: Promise<readonly {
|
|
37759
37780
|
tickLower: number;
|
|
37760
37781
|
tickUpper: number;
|
|
@@ -37766,7 +37787,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37766
37787
|
borrowedAmount0: bigint;
|
|
37767
37788
|
borrowedAmount1: bigint;
|
|
37768
37789
|
}[]>;
|
|
37769
|
-
queryKey:
|
|
37790
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37770
37791
|
data: readonly {
|
|
37771
37792
|
tickLower: number;
|
|
37772
37793
|
tickUpper: number;
|
|
@@ -37801,7 +37822,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37801
37822
|
isRefetching: boolean;
|
|
37802
37823
|
isStale: boolean;
|
|
37803
37824
|
isEnabled: boolean;
|
|
37804
|
-
refetch: (options?:
|
|
37825
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly {
|
|
37805
37826
|
tickLower: number;
|
|
37806
37827
|
tickUpper: number;
|
|
37807
37828
|
prevTickLower: number;
|
|
@@ -37812,7 +37833,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37812
37833
|
borrowedAmount0: bigint;
|
|
37813
37834
|
borrowedAmount1: bigint;
|
|
37814
37835
|
}[], viem0.ReadContractErrorType>>;
|
|
37815
|
-
fetchStatus:
|
|
37836
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37816
37837
|
promise: Promise<readonly {
|
|
37817
37838
|
tickLower: number;
|
|
37818
37839
|
tickUpper: number;
|
|
@@ -37824,7 +37845,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37824
37845
|
borrowedAmount0: bigint;
|
|
37825
37846
|
borrowedAmount1: bigint;
|
|
37826
37847
|
}[]>;
|
|
37827
|
-
queryKey:
|
|
37848
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37828
37849
|
data: readonly {
|
|
37829
37850
|
tickLower: number;
|
|
37830
37851
|
tickUpper: number;
|
|
@@ -37859,7 +37880,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37859
37880
|
isRefetching: boolean;
|
|
37860
37881
|
isStale: boolean;
|
|
37861
37882
|
isEnabled: boolean;
|
|
37862
|
-
refetch: (options?:
|
|
37883
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly {
|
|
37863
37884
|
tickLower: number;
|
|
37864
37885
|
tickUpper: number;
|
|
37865
37886
|
prevTickLower: number;
|
|
@@ -37870,7 +37891,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37870
37891
|
borrowedAmount0: bigint;
|
|
37871
37892
|
borrowedAmount1: bigint;
|
|
37872
37893
|
}[], viem0.ReadContractErrorType>>;
|
|
37873
|
-
fetchStatus:
|
|
37894
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37874
37895
|
promise: Promise<readonly {
|
|
37875
37896
|
tickLower: number;
|
|
37876
37897
|
tickUpper: number;
|
|
@@ -37882,7 +37903,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37882
37903
|
borrowedAmount0: bigint;
|
|
37883
37904
|
borrowedAmount1: bigint;
|
|
37884
37905
|
}[]>;
|
|
37885
|
-
queryKey:
|
|
37906
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37886
37907
|
data: readonly {
|
|
37887
37908
|
tickLower: number;
|
|
37888
37909
|
tickUpper: number;
|
|
@@ -37917,7 +37938,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37917
37938
|
isRefetching: boolean;
|
|
37918
37939
|
isStale: boolean;
|
|
37919
37940
|
isEnabled: boolean;
|
|
37920
|
-
refetch: (options?:
|
|
37941
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly {
|
|
37921
37942
|
tickLower: number;
|
|
37922
37943
|
tickUpper: number;
|
|
37923
37944
|
prevTickLower: number;
|
|
@@ -37928,7 +37949,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37928
37949
|
borrowedAmount0: bigint;
|
|
37929
37950
|
borrowedAmount1: bigint;
|
|
37930
37951
|
}[], viem0.ReadContractErrorType>>;
|
|
37931
|
-
fetchStatus:
|
|
37952
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37932
37953
|
promise: Promise<readonly {
|
|
37933
37954
|
tickLower: number;
|
|
37934
37955
|
tickUpper: number;
|
|
@@ -37940,7 +37961,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37940
37961
|
borrowedAmount0: bigint;
|
|
37941
37962
|
borrowedAmount1: bigint;
|
|
37942
37963
|
}[]>;
|
|
37943
|
-
queryKey:
|
|
37964
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37944
37965
|
data: readonly {
|
|
37945
37966
|
tickLower: number;
|
|
37946
37967
|
tickUpper: number;
|
|
@@ -37975,7 +37996,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37975
37996
|
isRefetching: boolean;
|
|
37976
37997
|
isStale: boolean;
|
|
37977
37998
|
isEnabled: boolean;
|
|
37978
|
-
refetch: (options?:
|
|
37999
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly {
|
|
37979
38000
|
tickLower: number;
|
|
37980
38001
|
tickUpper: number;
|
|
37981
38002
|
prevTickLower: number;
|
|
@@ -37986,7 +38007,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37986
38007
|
borrowedAmount0: bigint;
|
|
37987
38008
|
borrowedAmount1: bigint;
|
|
37988
38009
|
}[], viem0.ReadContractErrorType>>;
|
|
37989
|
-
fetchStatus:
|
|
38010
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37990
38011
|
promise: Promise<readonly {
|
|
37991
38012
|
tickLower: number;
|
|
37992
38013
|
tickUpper: number;
|
|
@@ -37998,7 +38019,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37998
38019
|
borrowedAmount0: bigint;
|
|
37999
38020
|
borrowedAmount1: bigint;
|
|
38000
38021
|
}[]>;
|
|
38001
|
-
queryKey:
|
|
38022
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
38002
38023
|
data: readonly {
|
|
38003
38024
|
tickLower: number;
|
|
38004
38025
|
tickUpper: number;
|
|
@@ -38049,7 +38070,7 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
38049
38070
|
borrowedAmount0: Amount;
|
|
38050
38071
|
borrowedAmount1: Amount;
|
|
38051
38072
|
blocksCount: bigint;
|
|
38052
|
-
refetch: (options?:
|
|
38073
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
|
|
38053
38074
|
};
|
|
38054
38075
|
//#endregion
|
|
38055
38076
|
//#region src/hooks/useLens.d.ts
|
|
@@ -64632,5 +64653,5 @@ declare const useApproval: () => {
|
|
|
64632
64653
|
reset: () => void;
|
|
64633
64654
|
};
|
|
64634
64655
|
//#endregion
|
|
64635
|
-
export { OptionEvent as $, roundTickDown as A,
|
|
64636
|
-
//# sourceMappingURL=client-
|
|
64656
|
+
export { OptionEvent as $, roundTickDown as A, TimelockLens as At, getPriceHistory as B, uniswapMathLenses as Bt, getPriceAtSqrtPriceX96 as C, useExerciseOption as Ct, liquiditiesToAmount0 as D, TimelockProvider as Dt, getTickAtPrice as E, useClosedUserOptions as Et, token1ToToken0AtTick as F, getTimelockLens as Ft, useClosedUserPerps as G, useUserOperators as H, PriceData as I, getTimelockMarket as It, useClosePerp as J, useUserPerps as K, PriceDataPoint as L, getUniswapMathLens as Lt, token0ToToken1 as M, TimelockMarketData as Mt, token0ToToken1AtTick as N, UniswapMathLens as Nt, liquiditiesToAmount1 as O, useCurrentMarket as Ot, token1ToToken0 as P, getErc20 as Pt, MintOptionEvent as Q, PriceResolution as R, swappers as Rt, getNearestValidStrikeTick as S, useMarketData as St, getSqrtPriceX96AtPrice as T, useActiveUserOptions as Tt, useOperatorPerms as U, useSetOperatorPerms as V, useActiveUserPerps as W, ExerciseOptionEvent as X, useMintPerp as Y, ExtendEvent as Z, useCurrentPrice as _, wrapAmountUnscaled as _t, batchGetAmountsFromLiquidity as a, useMaxPositionSize as at, PRICE_PRECISION as b, zero as bt, useLiquidityBlocks as c, formatAmount as ct, usePriceHistory as d, formatVagueAmount as dt, useOptionTimeline as et, usePriceAtTick as f, scaleAmount as ft, useCurrentTick as g, wrapAmount as gt, usePoolData as h, unscalePrice as ht, useVaultData as i, useMintOption as it, roundTickUp as j, TimelockMarket as jt, liquiditiesToAmounts as k, useTimelockConfig as kt, useBurnLiquidity as l, formatCondensed as lt, UniswapPoolData as m, unscaleAmount as mt, useLens as n, useOptionPremium as nt, useMintLiquidity as o, Amount as ot, usePriceSqrtPriceX96 as p, scalePrice as pt, usePerpsOperator as q, useVaultTVL as r, useOptionPnl as rt, LiquidityBlockData as s, EMPTY_ARRAY as st, useApproval as t, useExtendOption as tt, useMarketPriceHistory as u, formatUSD as ut, getPayoutAtPrice as v, wrapPrice as vt, getPriceAtTick as w, OptionData as wt, getAmountsFromLiquidity as x, useMarketVolume as xt, getPayoutAtTick as y, wrapPriceUnscaled as yt, getCurrentPrice as z, timelockLenses as zt };
|
|
64657
|
+
//# sourceMappingURL=client-BQGLnbLD.d.ts.map
|