timelock-sdk 0.0.122 → 0.0.124
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-B05FmAOu.d.cts → client-CEeCYAvF.d.ts} +300 -300
- package/dist/{client-DD0ZqvvE.d.ts → client-DYEdFtwG.d.cts} +150 -150
- package/dist/client.cjs +1 -1
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +1 -1
- package/dist/client.js.map +1 -1
- package/dist/{optionUtils-BTJL8VrK.js → optionUtils-BuQmVUD4.js} +6 -4
- package/dist/{optionUtils-BTJL8VrK.js.map → optionUtils-BuQmVUD4.js.map} +1 -1
- package/dist/{optionUtils-TQHs3mDI.cjs → optionUtils-Cv3pCXVh.cjs} +6 -4
- package/dist/{optionUtils-TQHs3mDI.cjs.map → optionUtils-Cv3pCXVh.cjs.map} +1 -1
- package/dist/package.cjs +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/dist/package.js +1 -1
- package/package.json +1 -1
|
@@ -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-DtacRMPz.cjs";
|
|
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";
|
|
6
4
|
import React, { ReactNode } from "react";
|
|
5
|
+
import "graphql";
|
|
7
6
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
8
7
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
9
8
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
10
|
-
import "
|
|
11
|
-
import
|
|
9
|
+
import * as _tanstack_query_core53 from "@tanstack/query-core";
|
|
10
|
+
import Big from "big.js";
|
|
11
|
+
import JSBI from "jsbi";
|
|
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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.FetchStatus;
|
|
33726
33726
|
promise: Promise<{
|
|
33727
33727
|
optionId: bigint;
|
|
33728
33728
|
marketAddr: Address;
|
|
@@ -33830,7 +33830,7 @@ declare const scaleAmount: (unscaled: Big | number | string, decimals: number) =
|
|
|
33830
33830
|
declare const unscalePrice: (scaled: bigint, decimals0: number, decimals1: number, precision?: number) => Big.Big;
|
|
33831
33831
|
declare const scalePrice: (unscaled: Big | number | string, decimals0: number, decimals1: number, precision?: number) => bigint;
|
|
33832
33832
|
declare const formatAmount: (value?: Big | number | string) => string;
|
|
33833
|
-
declare const formatVagueAmount: (value: number | bigint) => string;
|
|
33833
|
+
declare const formatVagueAmount: (value: Big | number | bigint | string, fractionDigits?: number) => string;
|
|
33834
33834
|
declare const formatCondensed: (input: string | number, decimals?: number) => string;
|
|
33835
33835
|
declare const formatUSD: (value: Big | string | number) => string;
|
|
33836
33836
|
//#endregion
|
|
@@ -33880,7 +33880,7 @@ type MintOptionEvent = Extract<OptionEvent, {
|
|
|
33880
33880
|
type ExerciseOptionEvent = Extract<OptionEvent, {
|
|
33881
33881
|
type: 'exercise';
|
|
33882
33882
|
}>;
|
|
33883
|
-
type
|
|
33883
|
+
type ExtendEvent = Extract<OptionEvent, {
|
|
33884
33884
|
type: 'extend';
|
|
33885
33885
|
}>;
|
|
33886
33886
|
declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
@@ -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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.FetchStatus;
|
|
34654
34654
|
promise: Promise<({
|
|
34655
34655
|
type: "mint";
|
|
34656
34656
|
data: {
|
|
@@ -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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35700
|
+
fetchStatus: _tanstack_query_core53.FetchStatus;
|
|
35701
35701
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35702
|
-
queryKey:
|
|
35702
|
+
queryKey: _tanstack_query_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35735
|
+
fetchStatus: _tanstack_query_core53.FetchStatus;
|
|
35736
35736
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35737
|
-
queryKey:
|
|
35737
|
+
queryKey: _tanstack_query_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35770
|
+
fetchStatus: _tanstack_query_core53.FetchStatus;
|
|
35771
35771
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35772
|
-
queryKey:
|
|
35772
|
+
queryKey: _tanstack_query_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35805
|
+
fetchStatus: _tanstack_query_core53.FetchStatus;
|
|
35806
35806
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35807
|
-
queryKey:
|
|
35807
|
+
queryKey: _tanstack_query_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35840
|
+
fetchStatus: _tanstack_query_core53.FetchStatus;
|
|
35841
35841
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35842
|
-
queryKey:
|
|
35842
|
+
queryKey: _tanstack_query_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35875
|
+
fetchStatus: _tanstack_query_core53.FetchStatus;
|
|
35876
35876
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35877
|
-
queryKey:
|
|
35877
|
+
queryKey: _tanstack_query_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.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_core53.RefetchOptions) => Promise<_tanstack_query_core53.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_core53.FetchStatus;
|
|
36271
36271
|
promise: Promise<{
|
|
36272
36272
|
spendingApproval: bigint;
|
|
36273
36273
|
operatorAddr: string;
|
|
@@ -36413,7 +36413,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36413
36413
|
isRefetching: boolean;
|
|
36414
36414
|
isStale: boolean;
|
|
36415
36415
|
isEnabled: boolean;
|
|
36416
|
-
refetch: (options?:
|
|
36416
|
+
refetch: (options?: _tanstack_query_core53.RefetchOptions) => Promise<_tanstack_query_core53.QueryObserverResult<readonly {
|
|
36417
36417
|
tickLower: number;
|
|
36418
36418
|
tickUpper: number;
|
|
36419
36419
|
prevTickLower: number;
|
|
@@ -36424,7 +36424,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36424
36424
|
borrowedAmount0: bigint;
|
|
36425
36425
|
borrowedAmount1: bigint;
|
|
36426
36426
|
}[], viem0.ReadContractErrorType>>;
|
|
36427
|
-
fetchStatus:
|
|
36427
|
+
fetchStatus: _tanstack_query_core53.FetchStatus;
|
|
36428
36428
|
promise: Promise<readonly {
|
|
36429
36429
|
tickLower: number;
|
|
36430
36430
|
tickUpper: number;
|
|
@@ -36436,7 +36436,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36436
36436
|
borrowedAmount0: bigint;
|
|
36437
36437
|
borrowedAmount1: bigint;
|
|
36438
36438
|
}[]>;
|
|
36439
|
-
queryKey:
|
|
36439
|
+
queryKey: _tanstack_query_core53.QueryKey;
|
|
36440
36440
|
data: readonly {
|
|
36441
36441
|
tickLower: number;
|
|
36442
36442
|
tickUpper: number;
|
|
@@ -36471,7 +36471,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36471
36471
|
isRefetching: boolean;
|
|
36472
36472
|
isStale: boolean;
|
|
36473
36473
|
isEnabled: boolean;
|
|
36474
|
-
refetch: (options?:
|
|
36474
|
+
refetch: (options?: _tanstack_query_core53.RefetchOptions) => Promise<_tanstack_query_core53.QueryObserverResult<readonly {
|
|
36475
36475
|
tickLower: number;
|
|
36476
36476
|
tickUpper: number;
|
|
36477
36477
|
prevTickLower: number;
|
|
@@ -36482,7 +36482,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36482
36482
|
borrowedAmount0: bigint;
|
|
36483
36483
|
borrowedAmount1: bigint;
|
|
36484
36484
|
}[], viem0.ReadContractErrorType>>;
|
|
36485
|
-
fetchStatus:
|
|
36485
|
+
fetchStatus: _tanstack_query_core53.FetchStatus;
|
|
36486
36486
|
promise: Promise<readonly {
|
|
36487
36487
|
tickLower: number;
|
|
36488
36488
|
tickUpper: number;
|
|
@@ -36494,7 +36494,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36494
36494
|
borrowedAmount0: bigint;
|
|
36495
36495
|
borrowedAmount1: bigint;
|
|
36496
36496
|
}[]>;
|
|
36497
|
-
queryKey:
|
|
36497
|
+
queryKey: _tanstack_query_core53.QueryKey;
|
|
36498
36498
|
data: readonly {
|
|
36499
36499
|
tickLower: number;
|
|
36500
36500
|
tickUpper: number;
|
|
@@ -36529,7 +36529,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36529
36529
|
isRefetching: boolean;
|
|
36530
36530
|
isStale: boolean;
|
|
36531
36531
|
isEnabled: boolean;
|
|
36532
|
-
refetch: (options?:
|
|
36532
|
+
refetch: (options?: _tanstack_query_core53.RefetchOptions) => Promise<_tanstack_query_core53.QueryObserverResult<readonly {
|
|
36533
36533
|
tickLower: number;
|
|
36534
36534
|
tickUpper: number;
|
|
36535
36535
|
prevTickLower: number;
|
|
@@ -36540,7 +36540,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36540
36540
|
borrowedAmount0: bigint;
|
|
36541
36541
|
borrowedAmount1: bigint;
|
|
36542
36542
|
}[], viem0.ReadContractErrorType>>;
|
|
36543
|
-
fetchStatus:
|
|
36543
|
+
fetchStatus: _tanstack_query_core53.FetchStatus;
|
|
36544
36544
|
promise: Promise<readonly {
|
|
36545
36545
|
tickLower: number;
|
|
36546
36546
|
tickUpper: number;
|
|
@@ -36552,7 +36552,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36552
36552
|
borrowedAmount0: bigint;
|
|
36553
36553
|
borrowedAmount1: bigint;
|
|
36554
36554
|
}[]>;
|
|
36555
|
-
queryKey:
|
|
36555
|
+
queryKey: _tanstack_query_core53.QueryKey;
|
|
36556
36556
|
data: readonly {
|
|
36557
36557
|
tickLower: number;
|
|
36558
36558
|
tickUpper: number;
|
|
@@ -36587,7 +36587,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36587
36587
|
isRefetching: boolean;
|
|
36588
36588
|
isStale: boolean;
|
|
36589
36589
|
isEnabled: boolean;
|
|
36590
|
-
refetch: (options?:
|
|
36590
|
+
refetch: (options?: _tanstack_query_core53.RefetchOptions) => Promise<_tanstack_query_core53.QueryObserverResult<readonly {
|
|
36591
36591
|
tickLower: number;
|
|
36592
36592
|
tickUpper: number;
|
|
36593
36593
|
prevTickLower: number;
|
|
@@ -36598,7 +36598,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36598
36598
|
borrowedAmount0: bigint;
|
|
36599
36599
|
borrowedAmount1: bigint;
|
|
36600
36600
|
}[], viem0.ReadContractErrorType>>;
|
|
36601
|
-
fetchStatus:
|
|
36601
|
+
fetchStatus: _tanstack_query_core53.FetchStatus;
|
|
36602
36602
|
promise: Promise<readonly {
|
|
36603
36603
|
tickLower: number;
|
|
36604
36604
|
tickUpper: number;
|
|
@@ -36610,7 +36610,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36610
36610
|
borrowedAmount0: bigint;
|
|
36611
36611
|
borrowedAmount1: bigint;
|
|
36612
36612
|
}[]>;
|
|
36613
|
-
queryKey:
|
|
36613
|
+
queryKey: _tanstack_query_core53.QueryKey;
|
|
36614
36614
|
data: readonly {
|
|
36615
36615
|
tickLower: number;
|
|
36616
36616
|
tickUpper: number;
|
|
@@ -36645,7 +36645,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36645
36645
|
isRefetching: boolean;
|
|
36646
36646
|
isStale: boolean;
|
|
36647
36647
|
isEnabled: boolean;
|
|
36648
|
-
refetch: (options?:
|
|
36648
|
+
refetch: (options?: _tanstack_query_core53.RefetchOptions) => Promise<_tanstack_query_core53.QueryObserverResult<readonly {
|
|
36649
36649
|
tickLower: number;
|
|
36650
36650
|
tickUpper: number;
|
|
36651
36651
|
prevTickLower: number;
|
|
@@ -36656,7 +36656,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36656
36656
|
borrowedAmount0: bigint;
|
|
36657
36657
|
borrowedAmount1: bigint;
|
|
36658
36658
|
}[], viem0.ReadContractErrorType>>;
|
|
36659
|
-
fetchStatus:
|
|
36659
|
+
fetchStatus: _tanstack_query_core53.FetchStatus;
|
|
36660
36660
|
promise: Promise<readonly {
|
|
36661
36661
|
tickLower: number;
|
|
36662
36662
|
tickUpper: number;
|
|
@@ -36668,7 +36668,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36668
36668
|
borrowedAmount0: bigint;
|
|
36669
36669
|
borrowedAmount1: bigint;
|
|
36670
36670
|
}[]>;
|
|
36671
|
-
queryKey:
|
|
36671
|
+
queryKey: _tanstack_query_core53.QueryKey;
|
|
36672
36672
|
data: readonly {
|
|
36673
36673
|
tickLower: number;
|
|
36674
36674
|
tickUpper: number;
|
|
@@ -36703,7 +36703,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36703
36703
|
isRefetching: boolean;
|
|
36704
36704
|
isStale: boolean;
|
|
36705
36705
|
isEnabled: boolean;
|
|
36706
|
-
refetch: (options?:
|
|
36706
|
+
refetch: (options?: _tanstack_query_core53.RefetchOptions) => Promise<_tanstack_query_core53.QueryObserverResult<readonly {
|
|
36707
36707
|
tickLower: number;
|
|
36708
36708
|
tickUpper: number;
|
|
36709
36709
|
prevTickLower: number;
|
|
@@ -36714,7 +36714,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36714
36714
|
borrowedAmount0: bigint;
|
|
36715
36715
|
borrowedAmount1: bigint;
|
|
36716
36716
|
}[], viem0.ReadContractErrorType>>;
|
|
36717
|
-
fetchStatus:
|
|
36717
|
+
fetchStatus: _tanstack_query_core53.FetchStatus;
|
|
36718
36718
|
promise: Promise<readonly {
|
|
36719
36719
|
tickLower: number;
|
|
36720
36720
|
tickUpper: number;
|
|
@@ -36726,7 +36726,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36726
36726
|
borrowedAmount0: bigint;
|
|
36727
36727
|
borrowedAmount1: bigint;
|
|
36728
36728
|
}[]>;
|
|
36729
|
-
queryKey:
|
|
36729
|
+
queryKey: _tanstack_query_core53.QueryKey;
|
|
36730
36730
|
data: readonly {
|
|
36731
36731
|
tickLower: number;
|
|
36732
36732
|
tickUpper: number;
|
|
@@ -36777,7 +36777,7 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
36777
36777
|
borrowedAmount0: Amount;
|
|
36778
36778
|
borrowedAmount1: Amount;
|
|
36779
36779
|
blocksCount: bigint;
|
|
36780
|
-
refetch: (options?:
|
|
36780
|
+
refetch: (options?: _tanstack_query_core53.RefetchOptions) => Promise<_tanstack_query_core53.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
|
|
36781
36781
|
};
|
|
36782
36782
|
//#endregion
|
|
36783
36783
|
//#region src/hooks/useLens.d.ts
|
|
@@ -62483,5 +62483,5 @@ declare const useApproval: () => {
|
|
|
62483
62483
|
reset: () => void;
|
|
62484
62484
|
};
|
|
62485
62485
|
//#endregion
|
|
62486
|
-
export { useOptionTimeline as $, roundTickUp as A, TimelockMarketData as At, useSetOperatorPerms as B, getPriceAtTick as C, useActiveUserOptions as Ct, liquiditiesToAmount1 as D, useTimelockConfig as Dt, liquiditiesToAmount0 as E, useCurrentMarket as Et, PriceData as F, getUniswapMathLens as Ft, useUserPerps as G, useOperatorPerms as H, PriceDataPoint as I, swappers as It, useMintPerp as J, usePerpsOperator as K, PriceResolution as L, timelockLenses as Lt, token0ToToken1AtTick as M, getErc20 as Mt, token1ToToken0 as N, getTimelockLens as Nt, liquiditiesToAmounts as O, TimelockLens as Ot, token1ToToken0AtTick as P, getTimelockMarket as Pt, OptionEvent as Q, getCurrentPrice as R, uniswapMathLenses as Rt, getPriceAtSqrtPriceX96 as S, OptionData as St, getTickAtPrice as T, TimelockProvider as Tt, useActiveUserPerps as U, useUserOperators as V, useClosedUserPerps as W,
|
|
62487
|
-
//# sourceMappingURL=client-
|
|
62486
|
+
export { useOptionTimeline as $, roundTickUp as A, TimelockMarketData as At, useSetOperatorPerms as B, getPriceAtTick as C, useActiveUserOptions as Ct, liquiditiesToAmount1 as D, useTimelockConfig as Dt, liquiditiesToAmount0 as E, useCurrentMarket as Et, PriceData as F, getUniswapMathLens as Ft, useUserPerps as G, useOperatorPerms as H, PriceDataPoint as I, swappers as It, useMintPerp as J, usePerpsOperator as K, PriceResolution as L, timelockLenses as Lt, token0ToToken1AtTick as M, getErc20 as Mt, token1ToToken0 as N, getTimelockLens as Nt, liquiditiesToAmounts as O, TimelockLens as Ot, token1ToToken0AtTick as P, getTimelockMarket as Pt, OptionEvent as Q, getCurrentPrice as R, uniswapMathLenses as Rt, getPriceAtSqrtPriceX96 as S, OptionData as St, getTickAtPrice as T, TimelockProvider as Tt, useActiveUserPerps as U, useUserOperators as V, useClosedUserPerps as W, ExtendEvent as X, ExerciseOptionEvent as Y, MintOptionEvent as Z, getPayoutAtPrice as _, wrapPrice as _t, batchGetAmountsFromLiquidity as a, Amount as at, getAmountsFromLiquidity as b, useMarketData as bt, useLiquidityBlocks as c, formatCondensed as ct, usePriceAtTick as d, scaleAmount as dt, useExtendOption as et, usePriceSqrtPriceX96 as f, scalePrice as ft, useCurrentPrice as g, wrapAmountUnscaled as gt, useCurrentTick as h, wrapAmount as ht, useVaultData as i, useMaxPositionSize as it, token0ToToken1 as j, UniswapMathLens as jt, roundTickDown as k, TimelockMarket as kt, useBurnLiquidity as l, formatUSD as lt, usePoolData as m, unscalePrice as mt, useLens as n, useOptionPnl as nt, useMintLiquidity as o, EMPTY_ARRAY as ot, UniswapPoolData as p, unscaleAmount as pt, useClosePerp as q, useVaultTVL as r, useMintOption as rt, LiquidityBlockData as s, formatAmount as st, useApproval as t, useOptionPremium as tt, usePriceHistory as u, formatVagueAmount as ut, getPayoutAtTick as v, wrapPriceUnscaled as vt, getSqrtPriceX96AtPrice as w, useClosedUserOptions as wt, getNearestValidStrikeTick as x, useExerciseOption as xt, PRICE_PRECISION as y, zero as yt, getPriceHistory as z };
|
|
62487
|
+
//# sourceMappingURL=client-DYEdFtwG.d.cts.map
|