timelock-sdk 0.0.128 → 0.0.129
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-BO26n70m.d.ts → client-DrMMUpE7.d.ts} +378 -154
- package/dist/{client-BLEAyw98.d.cts → client-Dxww1phu.d.cts} +528 -304
- package/dist/client.cjs +28 -15
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +28 -15
- 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
|
@@ -5,10 +5,10 @@ import Big from "big.js";
|
|
|
5
5
|
import JSBI from "jsbi";
|
|
6
6
|
import React, { ReactNode } from "react";
|
|
7
7
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
8
|
-
import * as
|
|
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
|
+
decimals: (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
|
+
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
589
|
+
name: (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
|
+
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
768
|
+
allowance: (args: readonly [`0x${string}`, `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
|
+
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
947
|
+
balanceOf: (args: readonly [`0x${string}`], 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
|
+
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
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;
|
|
@@ -33786,7 +33786,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33786
33786
|
};
|
|
33787
33787
|
//#endregion
|
|
33788
33788
|
//#region src/hooks/options/useExerciseOption.d.ts
|
|
33789
|
-
declare const useExerciseOption: (marketAddr?: Address) =>
|
|
33789
|
+
declare const useExerciseOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
33790
33790
|
option: OptionData;
|
|
33791
33791
|
liquidities: readonly bigint[];
|
|
33792
33792
|
}, unknown>;
|
|
@@ -33842,7 +33842,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
33842
33842
|
};
|
|
33843
33843
|
//#endregion
|
|
33844
33844
|
//#region src/hooks/options/useMintOption.d.ts
|
|
33845
|
-
declare const useMintOption: (marketAddr?: Address) =>
|
|
33845
|
+
declare const useMintOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
33846
33846
|
optionType: "CALL" | "PUT";
|
|
33847
33847
|
amount: bigint;
|
|
33848
33848
|
duration: number;
|
|
@@ -33867,7 +33867,7 @@ declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "C
|
|
|
33867
33867
|
};
|
|
33868
33868
|
//#endregion
|
|
33869
33869
|
//#region src/hooks/options/useExtendOption.d.ts
|
|
33870
|
-
declare const useExtendOption: (marketAddr?: Address) =>
|
|
33870
|
+
declare const useExtendOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
33871
33871
|
option: OptionData;
|
|
33872
33872
|
duration: number;
|
|
33873
33873
|
}, unknown>;
|
|
@@ -33906,7 +33906,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
33906
33906
|
isRefetching: boolean;
|
|
33907
33907
|
isStale: boolean;
|
|
33908
33908
|
isEnabled: boolean;
|
|
33909
|
-
refetch: (options?:
|
|
33909
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
33910
33910
|
type: "mint";
|
|
33911
33911
|
data: {
|
|
33912
33912
|
id: string;
|
|
@@ -33945,7 +33945,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
33945
33945
|
transactionHash: string;
|
|
33946
33946
|
};
|
|
33947
33947
|
})[], Error>>;
|
|
33948
|
-
fetchStatus:
|
|
33948
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33949
33949
|
promise: Promise<({
|
|
33950
33950
|
type: "mint";
|
|
33951
33951
|
data: {
|
|
@@ -34047,7 +34047,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34047
34047
|
isRefetching: boolean;
|
|
34048
34048
|
isStale: boolean;
|
|
34049
34049
|
isEnabled: boolean;
|
|
34050
|
-
refetch: (options?:
|
|
34050
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
34051
34051
|
type: "mint";
|
|
34052
34052
|
data: {
|
|
34053
34053
|
id: string;
|
|
@@ -34086,7 +34086,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34086
34086
|
transactionHash: string;
|
|
34087
34087
|
};
|
|
34088
34088
|
})[], Error>>;
|
|
34089
|
-
fetchStatus:
|
|
34089
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34090
34090
|
promise: Promise<({
|
|
34091
34091
|
type: "mint";
|
|
34092
34092
|
data: {
|
|
@@ -34188,7 +34188,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34188
34188
|
isRefetching: boolean;
|
|
34189
34189
|
isStale: boolean;
|
|
34190
34190
|
isEnabled: boolean;
|
|
34191
|
-
refetch: (options?:
|
|
34191
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
34192
34192
|
type: "mint";
|
|
34193
34193
|
data: {
|
|
34194
34194
|
id: string;
|
|
@@ -34227,7 +34227,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34227
34227
|
transactionHash: string;
|
|
34228
34228
|
};
|
|
34229
34229
|
})[], Error>>;
|
|
34230
|
-
fetchStatus:
|
|
34230
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34231
34231
|
promise: Promise<({
|
|
34232
34232
|
type: "mint";
|
|
34233
34233
|
data: {
|
|
@@ -34329,7 +34329,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34329
34329
|
isRefetching: boolean;
|
|
34330
34330
|
isStale: boolean;
|
|
34331
34331
|
isEnabled: boolean;
|
|
34332
|
-
refetch: (options?:
|
|
34332
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
34333
34333
|
type: "mint";
|
|
34334
34334
|
data: {
|
|
34335
34335
|
id: string;
|
|
@@ -34368,7 +34368,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34368
34368
|
transactionHash: string;
|
|
34369
34369
|
};
|
|
34370
34370
|
})[], Error>>;
|
|
34371
|
-
fetchStatus:
|
|
34371
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34372
34372
|
promise: Promise<({
|
|
34373
34373
|
type: "mint";
|
|
34374
34374
|
data: {
|
|
@@ -34470,7 +34470,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34470
34470
|
isRefetching: boolean;
|
|
34471
34471
|
isStale: boolean;
|
|
34472
34472
|
isEnabled: boolean;
|
|
34473
|
-
refetch: (options?:
|
|
34473
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
34474
34474
|
type: "mint";
|
|
34475
34475
|
data: {
|
|
34476
34476
|
id: string;
|
|
@@ -34509,7 +34509,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34509
34509
|
transactionHash: string;
|
|
34510
34510
|
};
|
|
34511
34511
|
})[], Error>>;
|
|
34512
|
-
fetchStatus:
|
|
34512
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34513
34513
|
promise: Promise<({
|
|
34514
34514
|
type: "mint";
|
|
34515
34515
|
data: {
|
|
@@ -34611,7 +34611,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34611
34611
|
isRefetching: boolean;
|
|
34612
34612
|
isStale: boolean;
|
|
34613
34613
|
isEnabled: boolean;
|
|
34614
|
-
refetch: (options?:
|
|
34614
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
34615
34615
|
type: "mint";
|
|
34616
34616
|
data: {
|
|
34617
34617
|
id: string;
|
|
@@ -34650,7 +34650,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34650
34650
|
transactionHash: string;
|
|
34651
34651
|
};
|
|
34652
34652
|
})[], Error>>;
|
|
34653
|
-
fetchStatus:
|
|
34653
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34654
34654
|
promise: Promise<({
|
|
34655
34655
|
type: "mint";
|
|
34656
34656
|
data: {
|
|
@@ -34732,7 +34732,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34732
34732
|
};
|
|
34733
34733
|
//#endregion
|
|
34734
34734
|
//#region src/hooks/perps/useMintPerp.d.ts
|
|
34735
|
-
declare const useMintPerp: (marketAddr?: Address) =>
|
|
34735
|
+
declare const useMintPerp: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<void, Error, {
|
|
34736
34736
|
optionType: "CALL" | "PUT";
|
|
34737
34737
|
amount: bigint;
|
|
34738
34738
|
duration: number;
|
|
@@ -34740,13 +34740,13 @@ declare const useMintPerp: (marketAddr?: Address) => _tanstack_react_query4.UseM
|
|
|
34740
34740
|
}, unknown>;
|
|
34741
34741
|
//#endregion
|
|
34742
34742
|
//#region src/hooks/perps/useClosePerp.d.ts
|
|
34743
|
-
declare const useClosePerp: () =>
|
|
34743
|
+
declare const useClosePerp: () => _tanstack_react_query0.UseMutationResult<void, Error, ExercisePerpBody, unknown>;
|
|
34744
34744
|
//#endregion
|
|
34745
34745
|
//#region src/hooks/perps/usePerpsOperator.d.ts
|
|
34746
34746
|
declare const usePerpsOperator: () => {
|
|
34747
34747
|
operator: PerpsOperator | undefined;
|
|
34748
34748
|
address: `0x${string}` | undefined;
|
|
34749
|
-
signMessage:
|
|
34749
|
+
signMessage: _tanstack_react_query0.UseMutationResult<void, Error, void, unknown>;
|
|
34750
34750
|
};
|
|
34751
34751
|
//#endregion
|
|
34752
34752
|
//#region src/hooks/perps/useUserPerps.d.ts
|
|
@@ -34773,7 +34773,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34773
34773
|
isRefetching: boolean;
|
|
34774
34774
|
isStale: boolean;
|
|
34775
34775
|
isEnabled: boolean;
|
|
34776
|
-
refetch: (options?:
|
|
34776
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
34777
34777
|
optionId: bigint;
|
|
34778
34778
|
id: string;
|
|
34779
34779
|
ownerAddr: Address;
|
|
@@ -34782,7 +34782,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34782
34782
|
expiresAt: number;
|
|
34783
34783
|
closed: boolean;
|
|
34784
34784
|
}[] | undefined, Error>>;
|
|
34785
|
-
fetchStatus:
|
|
34785
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34786
34786
|
promise: Promise<{
|
|
34787
34787
|
optionId: bigint;
|
|
34788
34788
|
id: string;
|
|
@@ -34824,7 +34824,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34824
34824
|
isRefetching: boolean;
|
|
34825
34825
|
isStale: boolean;
|
|
34826
34826
|
isEnabled: boolean;
|
|
34827
|
-
refetch: (options?:
|
|
34827
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
34828
34828
|
optionId: bigint;
|
|
34829
34829
|
id: string;
|
|
34830
34830
|
ownerAddr: Address;
|
|
@@ -34833,7 +34833,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34833
34833
|
expiresAt: number;
|
|
34834
34834
|
closed: boolean;
|
|
34835
34835
|
}[] | undefined, Error>>;
|
|
34836
|
-
fetchStatus:
|
|
34836
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34837
34837
|
promise: Promise<{
|
|
34838
34838
|
optionId: bigint;
|
|
34839
34839
|
id: string;
|
|
@@ -34875,7 +34875,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34875
34875
|
isRefetching: boolean;
|
|
34876
34876
|
isStale: boolean;
|
|
34877
34877
|
isEnabled: boolean;
|
|
34878
|
-
refetch: (options?:
|
|
34878
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
34879
34879
|
optionId: bigint;
|
|
34880
34880
|
id: string;
|
|
34881
34881
|
ownerAddr: Address;
|
|
@@ -34884,7 +34884,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34884
34884
|
expiresAt: number;
|
|
34885
34885
|
closed: boolean;
|
|
34886
34886
|
}[] | undefined, Error>>;
|
|
34887
|
-
fetchStatus:
|
|
34887
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34888
34888
|
promise: Promise<{
|
|
34889
34889
|
optionId: bigint;
|
|
34890
34890
|
id: string;
|
|
@@ -34926,7 +34926,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34926
34926
|
isRefetching: boolean;
|
|
34927
34927
|
isStale: boolean;
|
|
34928
34928
|
isEnabled: boolean;
|
|
34929
|
-
refetch: (options?:
|
|
34929
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
34930
34930
|
optionId: bigint;
|
|
34931
34931
|
id: string;
|
|
34932
34932
|
ownerAddr: Address;
|
|
@@ -34935,7 +34935,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34935
34935
|
expiresAt: number;
|
|
34936
34936
|
closed: boolean;
|
|
34937
34937
|
}[] | undefined, Error>>;
|
|
34938
|
-
fetchStatus:
|
|
34938
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34939
34939
|
promise: Promise<{
|
|
34940
34940
|
optionId: bigint;
|
|
34941
34941
|
id: string;
|
|
@@ -34977,7 +34977,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34977
34977
|
isRefetching: boolean;
|
|
34978
34978
|
isStale: boolean;
|
|
34979
34979
|
isEnabled: boolean;
|
|
34980
|
-
refetch: (options?:
|
|
34980
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
34981
34981
|
optionId: bigint;
|
|
34982
34982
|
id: string;
|
|
34983
34983
|
ownerAddr: Address;
|
|
@@ -34986,7 +34986,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34986
34986
|
expiresAt: number;
|
|
34987
34987
|
closed: boolean;
|
|
34988
34988
|
}[] | undefined, Error>>;
|
|
34989
|
-
fetchStatus:
|
|
34989
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34990
34990
|
promise: Promise<{
|
|
34991
34991
|
optionId: bigint;
|
|
34992
34992
|
id: string;
|
|
@@ -35028,7 +35028,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35028
35028
|
isRefetching: boolean;
|
|
35029
35029
|
isStale: boolean;
|
|
35030
35030
|
isEnabled: boolean;
|
|
35031
|
-
refetch: (options?:
|
|
35031
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35032
35032
|
optionId: bigint;
|
|
35033
35033
|
id: string;
|
|
35034
35034
|
ownerAddr: Address;
|
|
@@ -35037,7 +35037,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35037
35037
|
expiresAt: number;
|
|
35038
35038
|
closed: boolean;
|
|
35039
35039
|
}[] | undefined, Error>>;
|
|
35040
|
-
fetchStatus:
|
|
35040
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35041
35041
|
promise: Promise<{
|
|
35042
35042
|
optionId: bigint;
|
|
35043
35043
|
id: string;
|
|
@@ -35080,7 +35080,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35080
35080
|
isRefetching: boolean;
|
|
35081
35081
|
isStale: boolean;
|
|
35082
35082
|
isEnabled: boolean;
|
|
35083
|
-
refetch: (options?:
|
|
35083
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35084
35084
|
optionId: bigint;
|
|
35085
35085
|
id: string;
|
|
35086
35086
|
ownerAddr: Address;
|
|
@@ -35089,7 +35089,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35089
35089
|
expiresAt: number;
|
|
35090
35090
|
closed: boolean;
|
|
35091
35091
|
}[] | undefined, Error>>;
|
|
35092
|
-
fetchStatus:
|
|
35092
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35093
35093
|
promise: Promise<{
|
|
35094
35094
|
optionId: bigint;
|
|
35095
35095
|
id: string;
|
|
@@ -35131,7 +35131,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35131
35131
|
isRefetching: boolean;
|
|
35132
35132
|
isStale: boolean;
|
|
35133
35133
|
isEnabled: boolean;
|
|
35134
|
-
refetch: (options?:
|
|
35134
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35135
35135
|
optionId: bigint;
|
|
35136
35136
|
id: string;
|
|
35137
35137
|
ownerAddr: Address;
|
|
@@ -35140,7 +35140,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35140
35140
|
expiresAt: number;
|
|
35141
35141
|
closed: boolean;
|
|
35142
35142
|
}[] | undefined, Error>>;
|
|
35143
|
-
fetchStatus:
|
|
35143
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35144
35144
|
promise: Promise<{
|
|
35145
35145
|
optionId: bigint;
|
|
35146
35146
|
id: string;
|
|
@@ -35182,7 +35182,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35182
35182
|
isRefetching: boolean;
|
|
35183
35183
|
isStale: boolean;
|
|
35184
35184
|
isEnabled: boolean;
|
|
35185
|
-
refetch: (options?:
|
|
35185
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35186
35186
|
optionId: bigint;
|
|
35187
35187
|
id: string;
|
|
35188
35188
|
ownerAddr: Address;
|
|
@@ -35191,7 +35191,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35191
35191
|
expiresAt: number;
|
|
35192
35192
|
closed: boolean;
|
|
35193
35193
|
}[] | undefined, Error>>;
|
|
35194
|
-
fetchStatus:
|
|
35194
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35195
35195
|
promise: Promise<{
|
|
35196
35196
|
optionId: bigint;
|
|
35197
35197
|
id: string;
|
|
@@ -35233,7 +35233,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35233
35233
|
isRefetching: boolean;
|
|
35234
35234
|
isStale: boolean;
|
|
35235
35235
|
isEnabled: boolean;
|
|
35236
|
-
refetch: (options?:
|
|
35236
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35237
35237
|
optionId: bigint;
|
|
35238
35238
|
id: string;
|
|
35239
35239
|
ownerAddr: Address;
|
|
@@ -35242,7 +35242,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35242
35242
|
expiresAt: number;
|
|
35243
35243
|
closed: boolean;
|
|
35244
35244
|
}[] | undefined, Error>>;
|
|
35245
|
-
fetchStatus:
|
|
35245
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35246
35246
|
promise: Promise<{
|
|
35247
35247
|
optionId: bigint;
|
|
35248
35248
|
id: string;
|
|
@@ -35284,7 +35284,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35284
35284
|
isRefetching: boolean;
|
|
35285
35285
|
isStale: boolean;
|
|
35286
35286
|
isEnabled: boolean;
|
|
35287
|
-
refetch: (options?:
|
|
35287
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35288
35288
|
optionId: bigint;
|
|
35289
35289
|
id: string;
|
|
35290
35290
|
ownerAddr: Address;
|
|
@@ -35293,7 +35293,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35293
35293
|
expiresAt: number;
|
|
35294
35294
|
closed: boolean;
|
|
35295
35295
|
}[] | undefined, Error>>;
|
|
35296
|
-
fetchStatus:
|
|
35296
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35297
35297
|
promise: Promise<{
|
|
35298
35298
|
optionId: bigint;
|
|
35299
35299
|
id: string;
|
|
@@ -35335,7 +35335,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35335
35335
|
isRefetching: boolean;
|
|
35336
35336
|
isStale: boolean;
|
|
35337
35337
|
isEnabled: boolean;
|
|
35338
|
-
refetch: (options?:
|
|
35338
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35339
35339
|
optionId: bigint;
|
|
35340
35340
|
id: string;
|
|
35341
35341
|
ownerAddr: Address;
|
|
@@ -35344,7 +35344,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35344
35344
|
expiresAt: number;
|
|
35345
35345
|
closed: boolean;
|
|
35346
35346
|
}[] | undefined, Error>>;
|
|
35347
|
-
fetchStatus:
|
|
35347
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35348
35348
|
promise: Promise<{
|
|
35349
35349
|
optionId: bigint;
|
|
35350
35350
|
id: string;
|
|
@@ -35387,7 +35387,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35387
35387
|
isRefetching: boolean;
|
|
35388
35388
|
isStale: boolean;
|
|
35389
35389
|
isEnabled: boolean;
|
|
35390
|
-
refetch: (options?:
|
|
35390
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35391
35391
|
optionId: bigint;
|
|
35392
35392
|
id: string;
|
|
35393
35393
|
ownerAddr: Address;
|
|
@@ -35396,7 +35396,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35396
35396
|
expiresAt: number;
|
|
35397
35397
|
closed: boolean;
|
|
35398
35398
|
}[] | undefined, Error>>;
|
|
35399
|
-
fetchStatus:
|
|
35399
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35400
35400
|
promise: Promise<{
|
|
35401
35401
|
optionId: bigint;
|
|
35402
35402
|
id: string;
|
|
@@ -35438,7 +35438,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35438
35438
|
isRefetching: boolean;
|
|
35439
35439
|
isStale: boolean;
|
|
35440
35440
|
isEnabled: boolean;
|
|
35441
|
-
refetch: (options?:
|
|
35441
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35442
35442
|
optionId: bigint;
|
|
35443
35443
|
id: string;
|
|
35444
35444
|
ownerAddr: Address;
|
|
@@ -35447,7 +35447,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35447
35447
|
expiresAt: number;
|
|
35448
35448
|
closed: boolean;
|
|
35449
35449
|
}[] | undefined, Error>>;
|
|
35450
|
-
fetchStatus:
|
|
35450
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35451
35451
|
promise: Promise<{
|
|
35452
35452
|
optionId: bigint;
|
|
35453
35453
|
id: string;
|
|
@@ -35489,7 +35489,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35489
35489
|
isRefetching: boolean;
|
|
35490
35490
|
isStale: boolean;
|
|
35491
35491
|
isEnabled: boolean;
|
|
35492
|
-
refetch: (options?:
|
|
35492
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35493
35493
|
optionId: bigint;
|
|
35494
35494
|
id: string;
|
|
35495
35495
|
ownerAddr: Address;
|
|
@@ -35498,7 +35498,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35498
35498
|
expiresAt: number;
|
|
35499
35499
|
closed: boolean;
|
|
35500
35500
|
}[] | undefined, Error>>;
|
|
35501
|
-
fetchStatus:
|
|
35501
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35502
35502
|
promise: Promise<{
|
|
35503
35503
|
optionId: bigint;
|
|
35504
35504
|
id: string;
|
|
@@ -35540,7 +35540,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35540
35540
|
isRefetching: boolean;
|
|
35541
35541
|
isStale: boolean;
|
|
35542
35542
|
isEnabled: boolean;
|
|
35543
|
-
refetch: (options?:
|
|
35543
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35544
35544
|
optionId: bigint;
|
|
35545
35545
|
id: string;
|
|
35546
35546
|
ownerAddr: Address;
|
|
@@ -35549,7 +35549,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35549
35549
|
expiresAt: number;
|
|
35550
35550
|
closed: boolean;
|
|
35551
35551
|
}[] | undefined, Error>>;
|
|
35552
|
-
fetchStatus:
|
|
35552
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35553
35553
|
promise: Promise<{
|
|
35554
35554
|
optionId: bigint;
|
|
35555
35555
|
id: string;
|
|
@@ -35591,7 +35591,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35591
35591
|
isRefetching: boolean;
|
|
35592
35592
|
isStale: boolean;
|
|
35593
35593
|
isEnabled: boolean;
|
|
35594
|
-
refetch: (options?:
|
|
35594
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35595
35595
|
optionId: bigint;
|
|
35596
35596
|
id: string;
|
|
35597
35597
|
ownerAddr: Address;
|
|
@@ -35600,7 +35600,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35600
35600
|
expiresAt: number;
|
|
35601
35601
|
closed: boolean;
|
|
35602
35602
|
}[] | undefined, Error>>;
|
|
35603
|
-
fetchStatus:
|
|
35603
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35604
35604
|
promise: Promise<{
|
|
35605
35605
|
optionId: bigint;
|
|
35606
35606
|
id: string;
|
|
@@ -35642,7 +35642,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35642
35642
|
isRefetching: boolean;
|
|
35643
35643
|
isStale: boolean;
|
|
35644
35644
|
isEnabled: boolean;
|
|
35645
|
-
refetch: (options?:
|
|
35645
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35646
35646
|
optionId: bigint;
|
|
35647
35647
|
id: string;
|
|
35648
35648
|
ownerAddr: Address;
|
|
@@ -35651,7 +35651,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35651
35651
|
expiresAt: number;
|
|
35652
35652
|
closed: boolean;
|
|
35653
35653
|
}[] | undefined, Error>>;
|
|
35654
|
-
fetchStatus:
|
|
35654
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35655
35655
|
promise: Promise<{
|
|
35656
35656
|
optionId: bigint;
|
|
35657
35657
|
id: string;
|
|
@@ -35696,10 +35696,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35696
35696
|
isRefetching: boolean;
|
|
35697
35697
|
isStale: boolean;
|
|
35698
35698
|
isEnabled: boolean;
|
|
35699
|
-
refetch: (options?:
|
|
35700
|
-
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;
|
|
35701
35701
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35702
|
-
queryKey:
|
|
35702
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35703
35703
|
data: {
|
|
35704
35704
|
canExtend: boolean | undefined;
|
|
35705
35705
|
canExercise: boolean | undefined;
|
|
@@ -35731,10 +35731,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35731
35731
|
isRefetching: boolean;
|
|
35732
35732
|
isStale: boolean;
|
|
35733
35733
|
isEnabled: boolean;
|
|
35734
|
-
refetch: (options?:
|
|
35735
|
-
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;
|
|
35736
35736
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35737
|
-
queryKey:
|
|
35737
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35738
35738
|
data: {
|
|
35739
35739
|
canExtend: boolean | undefined;
|
|
35740
35740
|
canExercise: boolean | undefined;
|
|
@@ -35766,10 +35766,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35766
35766
|
isRefetching: boolean;
|
|
35767
35767
|
isStale: boolean;
|
|
35768
35768
|
isEnabled: boolean;
|
|
35769
|
-
refetch: (options?:
|
|
35770
|
-
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;
|
|
35771
35771
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35772
|
-
queryKey:
|
|
35772
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35773
35773
|
data: {
|
|
35774
35774
|
canExtend: boolean | undefined;
|
|
35775
35775
|
canExercise: boolean | undefined;
|
|
@@ -35801,10 +35801,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35801
35801
|
isRefetching: boolean;
|
|
35802
35802
|
isStale: boolean;
|
|
35803
35803
|
isEnabled: boolean;
|
|
35804
|
-
refetch: (options?:
|
|
35805
|
-
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;
|
|
35806
35806
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35807
|
-
queryKey:
|
|
35807
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35808
35808
|
data: {
|
|
35809
35809
|
canExtend: boolean | undefined;
|
|
35810
35810
|
canExercise: boolean | undefined;
|
|
@@ -35836,10 +35836,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35836
35836
|
isRefetching: boolean;
|
|
35837
35837
|
isStale: boolean;
|
|
35838
35838
|
isEnabled: boolean;
|
|
35839
|
-
refetch: (options?:
|
|
35840
|
-
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;
|
|
35841
35841
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35842
|
-
queryKey:
|
|
35842
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35843
35843
|
data: {
|
|
35844
35844
|
canExtend: boolean | undefined;
|
|
35845
35845
|
canExercise: boolean | undefined;
|
|
@@ -35871,10 +35871,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35871
35871
|
isRefetching: boolean;
|
|
35872
35872
|
isStale: boolean;
|
|
35873
35873
|
isEnabled: boolean;
|
|
35874
|
-
refetch: (options?:
|
|
35875
|
-
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;
|
|
35876
35876
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35877
|
-
queryKey:
|
|
35877
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35878
35878
|
data: {
|
|
35879
35879
|
canExtend: boolean | undefined;
|
|
35880
35880
|
canExercise: boolean | undefined;
|
|
@@ -35923,7 +35923,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35923
35923
|
isRefetching: boolean;
|
|
35924
35924
|
isStale: boolean;
|
|
35925
35925
|
isEnabled: boolean;
|
|
35926
|
-
refetch: (options?:
|
|
35926
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35927
35927
|
spendingApproval: bigint;
|
|
35928
35928
|
operatorAddr: string;
|
|
35929
35929
|
__typename: "UserMarketOperator";
|
|
@@ -35937,7 +35937,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35937
35937
|
address: string;
|
|
35938
35938
|
} | null;
|
|
35939
35939
|
}[] | undefined, Error>>;
|
|
35940
|
-
fetchStatus:
|
|
35940
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35941
35941
|
promise: Promise<{
|
|
35942
35942
|
spendingApproval: bigint;
|
|
35943
35943
|
operatorAddr: string;
|
|
@@ -35989,7 +35989,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35989
35989
|
isRefetching: boolean;
|
|
35990
35990
|
isStale: boolean;
|
|
35991
35991
|
isEnabled: boolean;
|
|
35992
|
-
refetch: (options?:
|
|
35992
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35993
35993
|
spendingApproval: bigint;
|
|
35994
35994
|
operatorAddr: string;
|
|
35995
35995
|
__typename: "UserMarketOperator";
|
|
@@ -36003,7 +36003,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36003
36003
|
address: string;
|
|
36004
36004
|
} | null;
|
|
36005
36005
|
}[] | undefined, Error>>;
|
|
36006
|
-
fetchStatus:
|
|
36006
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36007
36007
|
promise: Promise<{
|
|
36008
36008
|
spendingApproval: bigint;
|
|
36009
36009
|
operatorAddr: string;
|
|
@@ -36055,7 +36055,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36055
36055
|
isRefetching: boolean;
|
|
36056
36056
|
isStale: boolean;
|
|
36057
36057
|
isEnabled: boolean;
|
|
36058
|
-
refetch: (options?:
|
|
36058
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36059
36059
|
spendingApproval: bigint;
|
|
36060
36060
|
operatorAddr: string;
|
|
36061
36061
|
__typename: "UserMarketOperator";
|
|
@@ -36069,7 +36069,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36069
36069
|
address: string;
|
|
36070
36070
|
} | null;
|
|
36071
36071
|
}[] | undefined, Error>>;
|
|
36072
|
-
fetchStatus:
|
|
36072
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36073
36073
|
promise: Promise<{
|
|
36074
36074
|
spendingApproval: bigint;
|
|
36075
36075
|
operatorAddr: string;
|
|
@@ -36121,7 +36121,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36121
36121
|
isRefetching: boolean;
|
|
36122
36122
|
isStale: boolean;
|
|
36123
36123
|
isEnabled: boolean;
|
|
36124
|
-
refetch: (options?:
|
|
36124
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36125
36125
|
spendingApproval: bigint;
|
|
36126
36126
|
operatorAddr: string;
|
|
36127
36127
|
__typename: "UserMarketOperator";
|
|
@@ -36135,7 +36135,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36135
36135
|
address: string;
|
|
36136
36136
|
} | null;
|
|
36137
36137
|
}[] | undefined, Error>>;
|
|
36138
|
-
fetchStatus:
|
|
36138
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36139
36139
|
promise: Promise<{
|
|
36140
36140
|
spendingApproval: bigint;
|
|
36141
36141
|
operatorAddr: string;
|
|
@@ -36187,7 +36187,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36187
36187
|
isRefetching: boolean;
|
|
36188
36188
|
isStale: boolean;
|
|
36189
36189
|
isEnabled: boolean;
|
|
36190
|
-
refetch: (options?:
|
|
36190
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36191
36191
|
spendingApproval: bigint;
|
|
36192
36192
|
operatorAddr: string;
|
|
36193
36193
|
__typename: "UserMarketOperator";
|
|
@@ -36201,7 +36201,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36201
36201
|
address: string;
|
|
36202
36202
|
} | null;
|
|
36203
36203
|
}[] | undefined, Error>>;
|
|
36204
|
-
fetchStatus:
|
|
36204
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36205
36205
|
promise: Promise<{
|
|
36206
36206
|
spendingApproval: bigint;
|
|
36207
36207
|
operatorAddr: string;
|
|
@@ -36253,7 +36253,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36253
36253
|
isRefetching: boolean;
|
|
36254
36254
|
isStale: boolean;
|
|
36255
36255
|
isEnabled: boolean;
|
|
36256
|
-
refetch: (options?:
|
|
36256
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36257
36257
|
spendingApproval: bigint;
|
|
36258
36258
|
operatorAddr: string;
|
|
36259
36259
|
__typename: "UserMarketOperator";
|
|
@@ -36267,7 +36267,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36267
36267
|
address: string;
|
|
36268
36268
|
} | null;
|
|
36269
36269
|
}[] | undefined, Error>>;
|
|
36270
|
-
fetchStatus:
|
|
36270
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36271
36271
|
promise: Promise<{
|
|
36272
36272
|
spendingApproval: bigint;
|
|
36273
36273
|
operatorAddr: string;
|
|
@@ -36285,7 +36285,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36285
36285
|
};
|
|
36286
36286
|
//#endregion
|
|
36287
36287
|
//#region src/hooks/operators/useSetOperatorPerms.d.ts
|
|
36288
|
-
declare const useSetOperatorPerms: (marketAddr?: Address) =>
|
|
36288
|
+
declare const useSetOperatorPerms: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
36289
36289
|
operator: Address;
|
|
36290
36290
|
canExtend: boolean;
|
|
36291
36291
|
canExercise: boolean;
|
|
@@ -36343,6 +36343,230 @@ declare const useCurrentPrice: (poolAddr?: Address) => {
|
|
|
36343
36343
|
//#endregion
|
|
36344
36344
|
//#region src/hooks/pool/useCurrentTick.d.ts
|
|
36345
36345
|
declare const useCurrentTick: (poolAddr?: Address) => {
|
|
36346
|
+
error: viem0.ReadContractErrorType;
|
|
36347
|
+
isError: true;
|
|
36348
|
+
isPending: false;
|
|
36349
|
+
isLoading: false;
|
|
36350
|
+
isLoadingError: false;
|
|
36351
|
+
isRefetchError: true;
|
|
36352
|
+
isSuccess: false;
|
|
36353
|
+
isPlaceholderData: false;
|
|
36354
|
+
status: "error";
|
|
36355
|
+
dataUpdatedAt: number;
|
|
36356
|
+
errorUpdatedAt: number;
|
|
36357
|
+
failureCount: number;
|
|
36358
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36359
|
+
errorUpdateCount: number;
|
|
36360
|
+
isFetched: boolean;
|
|
36361
|
+
isFetchedAfterMount: boolean;
|
|
36362
|
+
isFetching: boolean;
|
|
36363
|
+
isInitialLoading: boolean;
|
|
36364
|
+
isPaused: boolean;
|
|
36365
|
+
isRefetching: boolean;
|
|
36366
|
+
isStale: boolean;
|
|
36367
|
+
isEnabled: boolean;
|
|
36368
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36369
|
+
exact: number;
|
|
36370
|
+
rounded: number | undefined;
|
|
36371
|
+
sqrtPriceX96: bigint;
|
|
36372
|
+
}, viem0.ReadContractErrorType>>;
|
|
36373
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36374
|
+
promise: Promise<{
|
|
36375
|
+
exact: number;
|
|
36376
|
+
rounded: number | undefined;
|
|
36377
|
+
sqrtPriceX96: bigint;
|
|
36378
|
+
}>;
|
|
36379
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36380
|
+
exact: number | undefined;
|
|
36381
|
+
rounded: number | undefined;
|
|
36382
|
+
sqrtPriceX96: bigint | undefined;
|
|
36383
|
+
} | {
|
|
36384
|
+
error: null;
|
|
36385
|
+
isError: false;
|
|
36386
|
+
isPending: false;
|
|
36387
|
+
isLoading: false;
|
|
36388
|
+
isLoadingError: false;
|
|
36389
|
+
isRefetchError: false;
|
|
36390
|
+
isSuccess: true;
|
|
36391
|
+
isPlaceholderData: false;
|
|
36392
|
+
status: "success";
|
|
36393
|
+
dataUpdatedAt: number;
|
|
36394
|
+
errorUpdatedAt: number;
|
|
36395
|
+
failureCount: number;
|
|
36396
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36397
|
+
errorUpdateCount: number;
|
|
36398
|
+
isFetched: boolean;
|
|
36399
|
+
isFetchedAfterMount: boolean;
|
|
36400
|
+
isFetching: boolean;
|
|
36401
|
+
isInitialLoading: boolean;
|
|
36402
|
+
isPaused: boolean;
|
|
36403
|
+
isRefetching: boolean;
|
|
36404
|
+
isStale: boolean;
|
|
36405
|
+
isEnabled: boolean;
|
|
36406
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36407
|
+
exact: number;
|
|
36408
|
+
rounded: number | undefined;
|
|
36409
|
+
sqrtPriceX96: bigint;
|
|
36410
|
+
}, viem0.ReadContractErrorType>>;
|
|
36411
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36412
|
+
promise: Promise<{
|
|
36413
|
+
exact: number;
|
|
36414
|
+
rounded: number | undefined;
|
|
36415
|
+
sqrtPriceX96: bigint;
|
|
36416
|
+
}>;
|
|
36417
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36418
|
+
exact: number | undefined;
|
|
36419
|
+
rounded: number | undefined;
|
|
36420
|
+
sqrtPriceX96: bigint | undefined;
|
|
36421
|
+
} | {
|
|
36422
|
+
error: viem0.ReadContractErrorType;
|
|
36423
|
+
isError: true;
|
|
36424
|
+
isPending: false;
|
|
36425
|
+
isLoading: false;
|
|
36426
|
+
isLoadingError: true;
|
|
36427
|
+
isRefetchError: false;
|
|
36428
|
+
isSuccess: false;
|
|
36429
|
+
isPlaceholderData: false;
|
|
36430
|
+
status: "error";
|
|
36431
|
+
dataUpdatedAt: number;
|
|
36432
|
+
errorUpdatedAt: number;
|
|
36433
|
+
failureCount: number;
|
|
36434
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36435
|
+
errorUpdateCount: number;
|
|
36436
|
+
isFetched: boolean;
|
|
36437
|
+
isFetchedAfterMount: boolean;
|
|
36438
|
+
isFetching: boolean;
|
|
36439
|
+
isInitialLoading: boolean;
|
|
36440
|
+
isPaused: boolean;
|
|
36441
|
+
isRefetching: boolean;
|
|
36442
|
+
isStale: boolean;
|
|
36443
|
+
isEnabled: boolean;
|
|
36444
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36445
|
+
exact: number;
|
|
36446
|
+
rounded: number | undefined;
|
|
36447
|
+
sqrtPriceX96: bigint;
|
|
36448
|
+
}, viem0.ReadContractErrorType>>;
|
|
36449
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36450
|
+
promise: Promise<{
|
|
36451
|
+
exact: number;
|
|
36452
|
+
rounded: number | undefined;
|
|
36453
|
+
sqrtPriceX96: bigint;
|
|
36454
|
+
}>;
|
|
36455
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36456
|
+
exact: number | undefined;
|
|
36457
|
+
rounded: number | undefined;
|
|
36458
|
+
sqrtPriceX96: bigint | undefined;
|
|
36459
|
+
} | {
|
|
36460
|
+
error: null;
|
|
36461
|
+
isError: false;
|
|
36462
|
+
isPending: true;
|
|
36463
|
+
isLoading: true;
|
|
36464
|
+
isLoadingError: false;
|
|
36465
|
+
isRefetchError: false;
|
|
36466
|
+
isSuccess: false;
|
|
36467
|
+
isPlaceholderData: false;
|
|
36468
|
+
status: "pending";
|
|
36469
|
+
dataUpdatedAt: number;
|
|
36470
|
+
errorUpdatedAt: number;
|
|
36471
|
+
failureCount: number;
|
|
36472
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36473
|
+
errorUpdateCount: number;
|
|
36474
|
+
isFetched: boolean;
|
|
36475
|
+
isFetchedAfterMount: boolean;
|
|
36476
|
+
isFetching: boolean;
|
|
36477
|
+
isInitialLoading: boolean;
|
|
36478
|
+
isPaused: boolean;
|
|
36479
|
+
isRefetching: boolean;
|
|
36480
|
+
isStale: boolean;
|
|
36481
|
+
isEnabled: boolean;
|
|
36482
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36483
|
+
exact: number;
|
|
36484
|
+
rounded: number | undefined;
|
|
36485
|
+
sqrtPriceX96: bigint;
|
|
36486
|
+
}, viem0.ReadContractErrorType>>;
|
|
36487
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36488
|
+
promise: Promise<{
|
|
36489
|
+
exact: number;
|
|
36490
|
+
rounded: number | undefined;
|
|
36491
|
+
sqrtPriceX96: bigint;
|
|
36492
|
+
}>;
|
|
36493
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36494
|
+
exact: number | undefined;
|
|
36495
|
+
rounded: number | undefined;
|
|
36496
|
+
sqrtPriceX96: bigint | undefined;
|
|
36497
|
+
} | {
|
|
36498
|
+
error: null;
|
|
36499
|
+
isError: false;
|
|
36500
|
+
isPending: true;
|
|
36501
|
+
isLoadingError: false;
|
|
36502
|
+
isRefetchError: false;
|
|
36503
|
+
isSuccess: false;
|
|
36504
|
+
isPlaceholderData: false;
|
|
36505
|
+
status: "pending";
|
|
36506
|
+
dataUpdatedAt: number;
|
|
36507
|
+
errorUpdatedAt: number;
|
|
36508
|
+
failureCount: number;
|
|
36509
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36510
|
+
errorUpdateCount: number;
|
|
36511
|
+
isFetched: boolean;
|
|
36512
|
+
isFetchedAfterMount: boolean;
|
|
36513
|
+
isFetching: boolean;
|
|
36514
|
+
isLoading: boolean;
|
|
36515
|
+
isInitialLoading: boolean;
|
|
36516
|
+
isPaused: boolean;
|
|
36517
|
+
isRefetching: boolean;
|
|
36518
|
+
isStale: boolean;
|
|
36519
|
+
isEnabled: boolean;
|
|
36520
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36521
|
+
exact: number;
|
|
36522
|
+
rounded: number | undefined;
|
|
36523
|
+
sqrtPriceX96: bigint;
|
|
36524
|
+
}, viem0.ReadContractErrorType>>;
|
|
36525
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36526
|
+
promise: Promise<{
|
|
36527
|
+
exact: number;
|
|
36528
|
+
rounded: number | undefined;
|
|
36529
|
+
sqrtPriceX96: bigint;
|
|
36530
|
+
}>;
|
|
36531
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36532
|
+
exact: number | undefined;
|
|
36533
|
+
rounded: number | undefined;
|
|
36534
|
+
sqrtPriceX96: bigint | undefined;
|
|
36535
|
+
} | {
|
|
36536
|
+
isError: false;
|
|
36537
|
+
error: null;
|
|
36538
|
+
isPending: false;
|
|
36539
|
+
isLoading: false;
|
|
36540
|
+
isLoadingError: false;
|
|
36541
|
+
isRefetchError: false;
|
|
36542
|
+
isSuccess: true;
|
|
36543
|
+
isPlaceholderData: true;
|
|
36544
|
+
status: "success";
|
|
36545
|
+
dataUpdatedAt: number;
|
|
36546
|
+
errorUpdatedAt: number;
|
|
36547
|
+
failureCount: number;
|
|
36548
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36549
|
+
errorUpdateCount: number;
|
|
36550
|
+
isFetched: boolean;
|
|
36551
|
+
isFetchedAfterMount: boolean;
|
|
36552
|
+
isFetching: boolean;
|
|
36553
|
+
isInitialLoading: boolean;
|
|
36554
|
+
isPaused: boolean;
|
|
36555
|
+
isRefetching: boolean;
|
|
36556
|
+
isStale: boolean;
|
|
36557
|
+
isEnabled: boolean;
|
|
36558
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36559
|
+
exact: number;
|
|
36560
|
+
rounded: number | undefined;
|
|
36561
|
+
sqrtPriceX96: bigint;
|
|
36562
|
+
}, viem0.ReadContractErrorType>>;
|
|
36563
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36564
|
+
promise: Promise<{
|
|
36565
|
+
exact: number;
|
|
36566
|
+
rounded: number | undefined;
|
|
36567
|
+
sqrtPriceX96: bigint;
|
|
36568
|
+
}>;
|
|
36569
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36346
36570
|
exact: number | undefined;
|
|
36347
36571
|
rounded: number | undefined;
|
|
36348
36572
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -36369,8 +36593,8 @@ declare const usePriceAtTick: (tick?: number, poolAddr?: Address) => Amount | un
|
|
|
36369
36593
|
declare const usePriceSqrtPriceX96: (sqrtPriceX96?: bigint, poolAddr?: Address) => Amount | undefined;
|
|
36370
36594
|
//#endregion
|
|
36371
36595
|
//#region src/hooks/pool/usePriceHistory.d.ts
|
|
36372
|
-
declare const usePriceHistory: (pool: Address | undefined, token: 0 | 1, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) =>
|
|
36373
|
-
declare const useMarketPriceHistory: (marketAddr: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) =>
|
|
36596
|
+
declare const usePriceHistory: (pool: Address | undefined, token: 0 | 1, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query0.UseQueryResult<PriceDataPoint[], Error>;
|
|
36597
|
+
declare const useMarketPriceHistory: (marketAddr: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query0.UseQueryResult<PriceDataPoint[], Error>;
|
|
36374
36598
|
//#endregion
|
|
36375
36599
|
//#region src/hooks/vault/useBurnLiquidity.d.ts
|
|
36376
36600
|
interface BurnPosition {
|
|
@@ -36414,7 +36638,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36414
36638
|
isRefetching: boolean;
|
|
36415
36639
|
isStale: boolean;
|
|
36416
36640
|
isEnabled: boolean;
|
|
36417
|
-
refetch: (options?:
|
|
36641
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36418
36642
|
tickLower: number;
|
|
36419
36643
|
tickUpper: number;
|
|
36420
36644
|
prevTickLower: number;
|
|
@@ -36425,7 +36649,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36425
36649
|
borrowedAmount0: bigint;
|
|
36426
36650
|
borrowedAmount1: bigint;
|
|
36427
36651
|
}[], viem0.ReadContractErrorType>>;
|
|
36428
|
-
fetchStatus:
|
|
36652
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36429
36653
|
promise: Promise<readonly {
|
|
36430
36654
|
tickLower: number;
|
|
36431
36655
|
tickUpper: number;
|
|
@@ -36437,7 +36661,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36437
36661
|
borrowedAmount0: bigint;
|
|
36438
36662
|
borrowedAmount1: bigint;
|
|
36439
36663
|
}[]>;
|
|
36440
|
-
queryKey:
|
|
36664
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36441
36665
|
data: readonly {
|
|
36442
36666
|
tickLower: number;
|
|
36443
36667
|
tickUpper: number;
|
|
@@ -36472,7 +36696,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36472
36696
|
isRefetching: boolean;
|
|
36473
36697
|
isStale: boolean;
|
|
36474
36698
|
isEnabled: boolean;
|
|
36475
|
-
refetch: (options?:
|
|
36699
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36476
36700
|
tickLower: number;
|
|
36477
36701
|
tickUpper: number;
|
|
36478
36702
|
prevTickLower: number;
|
|
@@ -36483,7 +36707,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36483
36707
|
borrowedAmount0: bigint;
|
|
36484
36708
|
borrowedAmount1: bigint;
|
|
36485
36709
|
}[], viem0.ReadContractErrorType>>;
|
|
36486
|
-
fetchStatus:
|
|
36710
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36487
36711
|
promise: Promise<readonly {
|
|
36488
36712
|
tickLower: number;
|
|
36489
36713
|
tickUpper: number;
|
|
@@ -36495,7 +36719,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36495
36719
|
borrowedAmount0: bigint;
|
|
36496
36720
|
borrowedAmount1: bigint;
|
|
36497
36721
|
}[]>;
|
|
36498
|
-
queryKey:
|
|
36722
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36499
36723
|
data: readonly {
|
|
36500
36724
|
tickLower: number;
|
|
36501
36725
|
tickUpper: number;
|
|
@@ -36530,7 +36754,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36530
36754
|
isRefetching: boolean;
|
|
36531
36755
|
isStale: boolean;
|
|
36532
36756
|
isEnabled: boolean;
|
|
36533
|
-
refetch: (options?:
|
|
36757
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36534
36758
|
tickLower: number;
|
|
36535
36759
|
tickUpper: number;
|
|
36536
36760
|
prevTickLower: number;
|
|
@@ -36541,7 +36765,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36541
36765
|
borrowedAmount0: bigint;
|
|
36542
36766
|
borrowedAmount1: bigint;
|
|
36543
36767
|
}[], viem0.ReadContractErrorType>>;
|
|
36544
|
-
fetchStatus:
|
|
36768
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36545
36769
|
promise: Promise<readonly {
|
|
36546
36770
|
tickLower: number;
|
|
36547
36771
|
tickUpper: number;
|
|
@@ -36553,7 +36777,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36553
36777
|
borrowedAmount0: bigint;
|
|
36554
36778
|
borrowedAmount1: bigint;
|
|
36555
36779
|
}[]>;
|
|
36556
|
-
queryKey:
|
|
36780
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36557
36781
|
data: readonly {
|
|
36558
36782
|
tickLower: number;
|
|
36559
36783
|
tickUpper: number;
|
|
@@ -36588,7 +36812,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36588
36812
|
isRefetching: boolean;
|
|
36589
36813
|
isStale: boolean;
|
|
36590
36814
|
isEnabled: boolean;
|
|
36591
|
-
refetch: (options?:
|
|
36815
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36592
36816
|
tickLower: number;
|
|
36593
36817
|
tickUpper: number;
|
|
36594
36818
|
prevTickLower: number;
|
|
@@ -36599,7 +36823,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36599
36823
|
borrowedAmount0: bigint;
|
|
36600
36824
|
borrowedAmount1: bigint;
|
|
36601
36825
|
}[], viem0.ReadContractErrorType>>;
|
|
36602
|
-
fetchStatus:
|
|
36826
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36603
36827
|
promise: Promise<readonly {
|
|
36604
36828
|
tickLower: number;
|
|
36605
36829
|
tickUpper: number;
|
|
@@ -36611,7 +36835,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36611
36835
|
borrowedAmount0: bigint;
|
|
36612
36836
|
borrowedAmount1: bigint;
|
|
36613
36837
|
}[]>;
|
|
36614
|
-
queryKey:
|
|
36838
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36615
36839
|
data: readonly {
|
|
36616
36840
|
tickLower: number;
|
|
36617
36841
|
tickUpper: number;
|
|
@@ -36646,7 +36870,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36646
36870
|
isRefetching: boolean;
|
|
36647
36871
|
isStale: boolean;
|
|
36648
36872
|
isEnabled: boolean;
|
|
36649
|
-
refetch: (options?:
|
|
36873
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36650
36874
|
tickLower: number;
|
|
36651
36875
|
tickUpper: number;
|
|
36652
36876
|
prevTickLower: number;
|
|
@@ -36657,7 +36881,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36657
36881
|
borrowedAmount0: bigint;
|
|
36658
36882
|
borrowedAmount1: bigint;
|
|
36659
36883
|
}[], viem0.ReadContractErrorType>>;
|
|
36660
|
-
fetchStatus:
|
|
36884
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36661
36885
|
promise: Promise<readonly {
|
|
36662
36886
|
tickLower: number;
|
|
36663
36887
|
tickUpper: number;
|
|
@@ -36669,7 +36893,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36669
36893
|
borrowedAmount0: bigint;
|
|
36670
36894
|
borrowedAmount1: bigint;
|
|
36671
36895
|
}[]>;
|
|
36672
|
-
queryKey:
|
|
36896
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36673
36897
|
data: readonly {
|
|
36674
36898
|
tickLower: number;
|
|
36675
36899
|
tickUpper: number;
|
|
@@ -36704,7 +36928,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36704
36928
|
isRefetching: boolean;
|
|
36705
36929
|
isStale: boolean;
|
|
36706
36930
|
isEnabled: boolean;
|
|
36707
|
-
refetch: (options?:
|
|
36931
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36708
36932
|
tickLower: number;
|
|
36709
36933
|
tickUpper: number;
|
|
36710
36934
|
prevTickLower: number;
|
|
@@ -36715,7 +36939,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36715
36939
|
borrowedAmount0: bigint;
|
|
36716
36940
|
borrowedAmount1: bigint;
|
|
36717
36941
|
}[], viem0.ReadContractErrorType>>;
|
|
36718
|
-
fetchStatus:
|
|
36942
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36719
36943
|
promise: Promise<readonly {
|
|
36720
36944
|
tickLower: number;
|
|
36721
36945
|
tickUpper: number;
|
|
@@ -36727,7 +36951,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36727
36951
|
borrowedAmount0: bigint;
|
|
36728
36952
|
borrowedAmount1: bigint;
|
|
36729
36953
|
}[]>;
|
|
36730
|
-
queryKey:
|
|
36954
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36731
36955
|
data: readonly {
|
|
36732
36956
|
tickLower: number;
|
|
36733
36957
|
tickUpper: number;
|
|
@@ -36753,7 +36977,7 @@ interface MintPositionParams {
|
|
|
36753
36977
|
tickUpper: number;
|
|
36754
36978
|
liquidity: bigint;
|
|
36755
36979
|
}
|
|
36756
|
-
declare const useMintLiquidity: (vaultAddr?: Address) =>
|
|
36980
|
+
declare const useMintLiquidity: (vaultAddr?: Address) => _tanstack_react_query0.UseMutationResult<void, Error, MintPositionParams | MintPositionParams[], unknown>;
|
|
36757
36981
|
//#endregion
|
|
36758
36982
|
//#region src/hooks/vault/useVaultData.d.ts
|
|
36759
36983
|
declare const useVaultData: (vaultAddr?: Address) => {
|
|
@@ -36778,7 +37002,7 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
36778
37002
|
borrowedAmount0: Amount;
|
|
36779
37003
|
borrowedAmount1: Amount;
|
|
36780
37004
|
blocksCount: bigint;
|
|
36781
|
-
refetch: (options?:
|
|
37005
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
|
|
36782
37006
|
};
|
|
36783
37007
|
//#endregion
|
|
36784
37008
|
//#region src/hooks/useLens.d.ts
|
|
@@ -62485,4 +62709,4 @@ declare const useApproval: () => {
|
|
|
62485
62709
|
};
|
|
62486
62710
|
//#endregion
|
|
62487
62711
|
export { OptionEvent as $, roundTickDown as A, TimelockMarket as At, getPriceHistory as B, getPriceAtSqrtPriceX96 as C, OptionData as Ct, liquiditiesToAmount0 as D, useCurrentMarket as Dt, getTickAtPrice as E, TimelockProvider as Et, token1ToToken0AtTick as F, getTimelockMarket as Ft, useClosedUserPerps as G, useUserOperators as H, PriceData as I, getUniswapMathLens as It, useClosePerp as J, useUserPerps as K, PriceDataPoint as L, swappers as Lt, token0ToToken1 as M, UniswapMathLens as Mt, token0ToToken1AtTick as N, getErc20 as Nt, liquiditiesToAmount1 as O, useTimelockConfig as Ot, token1ToToken0 as P, getTimelockLens as Pt, MintOptionEvent as Q, PriceResolution as R, timelockLenses as Rt, getNearestValidStrikeTick as S, useExerciseOption as St, getSqrtPriceX96AtPrice as T, useClosedUserOptions 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, TimelockMarketData as jt, liquiditiesToAmounts as k, TimelockLens 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, useActiveUserOptions as wt, getAmountsFromLiquidity as x, useMarketData as xt, getPayoutAtTick as y, wrapPriceUnscaled as yt, getCurrentPrice as z, uniswapMathLenses as zt };
|
|
62488
|
-
//# sourceMappingURL=client-
|
|
62712
|
+
//# sourceMappingURL=client-DrMMUpE7.d.ts.map
|