timelock-sdk 0.0.80 → 0.0.82
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-euowNGgz.d.ts → client-BjjoSITU.d.ts} +767 -714
- package/dist/{client-D_t-2-g5.d.cts → client-GoHd57RL.d.cts} +914 -861
- package/dist/client.cjs +279 -182
- 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 +278 -186
- package/dist/client.js.map +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,15 +1,224 @@
|
|
|
1
1
|
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-CK8C7WOt.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as viem0 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, PublicClient } from "viem";
|
|
4
4
|
import React, { ReactNode } from "react";
|
|
5
5
|
import "graphql";
|
|
6
6
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
7
7
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
8
8
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
9
|
-
import * as
|
|
9
|
+
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
10
10
|
import Big from "big.js";
|
|
11
|
-
import * as
|
|
11
|
+
import * as _wagmi_core0 from "@wagmi/core";
|
|
12
12
|
|
|
13
|
+
//#region src/generated/graphql.d.ts
|
|
14
|
+
type Exact<T$1 extends {
|
|
15
|
+
[key: string]: unknown;
|
|
16
|
+
}> = { [K in keyof T$1]: T$1[K] };
|
|
17
|
+
type GraphQLClientRequestHeaders = RequestOptions['requestHeaders'];
|
|
18
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
19
|
+
type Scalars = {
|
|
20
|
+
ID: {
|
|
21
|
+
input: string;
|
|
22
|
+
output: string;
|
|
23
|
+
};
|
|
24
|
+
String: {
|
|
25
|
+
input: string;
|
|
26
|
+
output: string;
|
|
27
|
+
};
|
|
28
|
+
Boolean: {
|
|
29
|
+
input: boolean;
|
|
30
|
+
output: boolean;
|
|
31
|
+
};
|
|
32
|
+
Int: {
|
|
33
|
+
input: number;
|
|
34
|
+
output: number;
|
|
35
|
+
};
|
|
36
|
+
Float: {
|
|
37
|
+
input: number;
|
|
38
|
+
output: number;
|
|
39
|
+
};
|
|
40
|
+
jsonb: {
|
|
41
|
+
input: any;
|
|
42
|
+
output: any;
|
|
43
|
+
};
|
|
44
|
+
numeric: {
|
|
45
|
+
input: any;
|
|
46
|
+
output: any;
|
|
47
|
+
};
|
|
48
|
+
optiontype: {
|
|
49
|
+
input: any;
|
|
50
|
+
output: any;
|
|
51
|
+
};
|
|
52
|
+
timestamptz: {
|
|
53
|
+
input: any;
|
|
54
|
+
output: any;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
type UserOptionFieldsFragment = {
|
|
58
|
+
__typename: 'UserOption';
|
|
59
|
+
id: string;
|
|
60
|
+
optionId: any;
|
|
61
|
+
optionType: any;
|
|
62
|
+
strikeTick: number;
|
|
63
|
+
entryTick: number;
|
|
64
|
+
startTick: number;
|
|
65
|
+
strikePrice: any;
|
|
66
|
+
entryPrice: any;
|
|
67
|
+
expiresAt: any;
|
|
68
|
+
createdAt: any;
|
|
69
|
+
premium: any;
|
|
70
|
+
protocolFee: any;
|
|
71
|
+
realizedPayout: any;
|
|
72
|
+
liquiditiesAtOpen: Array<string>;
|
|
73
|
+
liquiditiesCurrent: Array<string>;
|
|
74
|
+
positionSizeAtOpen: any;
|
|
75
|
+
positionSizeCurrent: any;
|
|
76
|
+
fullyExercised: boolean;
|
|
77
|
+
owner?: {
|
|
78
|
+
__typename: 'TimelockMarketUser';
|
|
79
|
+
address: string;
|
|
80
|
+
} | null;
|
|
81
|
+
market?: {
|
|
82
|
+
__typename: 'TimelockMarket';
|
|
83
|
+
address: string;
|
|
84
|
+
} | null;
|
|
85
|
+
};
|
|
86
|
+
type GetActiveUserOptionsQueryVariables = Exact<{
|
|
87
|
+
userAddr: Scalars['String']['input'];
|
|
88
|
+
}>;
|
|
89
|
+
type GetActiveUserOptionsQuery = {
|
|
90
|
+
__typename: 'query_root';
|
|
91
|
+
UserOption: Array<{
|
|
92
|
+
__typename: 'UserOption';
|
|
93
|
+
} & UserOptionFieldsFragment>;
|
|
94
|
+
};
|
|
95
|
+
type GetActiveUserOptionsByMarketQueryVariables = Exact<{
|
|
96
|
+
userAddr: Scalars['String']['input'];
|
|
97
|
+
marketAddr: Scalars['String']['input'];
|
|
98
|
+
}>;
|
|
99
|
+
type GetActiveUserOptionsByMarketQuery = {
|
|
100
|
+
__typename: 'query_root';
|
|
101
|
+
UserOption: Array<{
|
|
102
|
+
__typename: 'UserOption';
|
|
103
|
+
} & UserOptionFieldsFragment>;
|
|
104
|
+
};
|
|
105
|
+
type GetClosedUserOptionsQueryVariables = Exact<{
|
|
106
|
+
userAddr: Scalars['String']['input'];
|
|
107
|
+
}>;
|
|
108
|
+
type GetClosedUserOptionsQuery = {
|
|
109
|
+
__typename: 'query_root';
|
|
110
|
+
UserOption: Array<{
|
|
111
|
+
__typename: 'UserOption';
|
|
112
|
+
} & UserOptionFieldsFragment>;
|
|
113
|
+
};
|
|
114
|
+
type GetClosedUserOptionsByMarketQueryVariables = Exact<{
|
|
115
|
+
userAddr: Scalars['String']['input'];
|
|
116
|
+
marketAddr: Scalars['String']['input'];
|
|
117
|
+
}>;
|
|
118
|
+
type GetClosedUserOptionsByMarketQuery = {
|
|
119
|
+
__typename: 'query_root';
|
|
120
|
+
UserOption: Array<{
|
|
121
|
+
__typename: 'UserOption';
|
|
122
|
+
} & UserOptionFieldsFragment>;
|
|
123
|
+
};
|
|
124
|
+
type GetMarketDataQueryVariables = Exact<{
|
|
125
|
+
marketAddr: Scalars['String']['input'];
|
|
126
|
+
}>;
|
|
127
|
+
type GetMarketDataQuery = {
|
|
128
|
+
__typename: 'query_root';
|
|
129
|
+
TimelockMarket: Array<{
|
|
130
|
+
__typename: 'TimelockMarket';
|
|
131
|
+
id: string;
|
|
132
|
+
address: string;
|
|
133
|
+
optionsCount: any;
|
|
134
|
+
tradersCount: any;
|
|
135
|
+
vault: string;
|
|
136
|
+
pool: string;
|
|
137
|
+
tickSpacing: number;
|
|
138
|
+
optionAssetIsToken0: boolean;
|
|
139
|
+
optionAsset: string;
|
|
140
|
+
payoutAsset: string;
|
|
141
|
+
optionAssetDecimals: number;
|
|
142
|
+
payoutAssetDecimals: number;
|
|
143
|
+
optionAssetSymbol: string;
|
|
144
|
+
payoutAssetSymbol: string;
|
|
145
|
+
optionAssetName: string;
|
|
146
|
+
payoutAssetName: string;
|
|
147
|
+
}>;
|
|
148
|
+
};
|
|
149
|
+
type GetUserMarketOperatorsQueryVariables = Exact<{
|
|
150
|
+
userAddr: Scalars['String']['input'];
|
|
151
|
+
marketAddr: Scalars['String']['input'];
|
|
152
|
+
}>;
|
|
153
|
+
type GetUserMarketOperatorsQuery = {
|
|
154
|
+
__typename: 'query_root';
|
|
155
|
+
UserMarketOperator: Array<{
|
|
156
|
+
__typename: 'UserMarketOperator';
|
|
157
|
+
id: string;
|
|
158
|
+
canExtend: boolean;
|
|
159
|
+
canExercise: boolean;
|
|
160
|
+
canTransfer: boolean;
|
|
161
|
+
canMint: boolean;
|
|
162
|
+
spendingApproval: any;
|
|
163
|
+
operator?: {
|
|
164
|
+
__typename: 'MarketOperator';
|
|
165
|
+
address: string;
|
|
166
|
+
} | null;
|
|
167
|
+
}>;
|
|
168
|
+
};
|
|
169
|
+
type GetOptionEventsQueryVariables = Exact<{
|
|
170
|
+
marketAddr: Scalars['String']['input'];
|
|
171
|
+
optionId: Scalars['numeric']['input'];
|
|
172
|
+
}>;
|
|
173
|
+
type GetOptionEventsQuery = {
|
|
174
|
+
__typename: 'query_root';
|
|
175
|
+
MintOptionEvent: Array<{
|
|
176
|
+
__typename: 'MintOptionEvent';
|
|
177
|
+
id: string;
|
|
178
|
+
optionType: number;
|
|
179
|
+
strikeTick: number;
|
|
180
|
+
currentTick: number;
|
|
181
|
+
expiresAt: any;
|
|
182
|
+
premium: any;
|
|
183
|
+
protocolFee: any;
|
|
184
|
+
liquidities: Array<string>;
|
|
185
|
+
timestamp: any;
|
|
186
|
+
blockNumber: any;
|
|
187
|
+
transactionHash: string;
|
|
188
|
+
}>;
|
|
189
|
+
ExerciseOptionEvent: Array<{
|
|
190
|
+
__typename: 'ExerciseOptionEvent';
|
|
191
|
+
id: string;
|
|
192
|
+
liquidities: Array<string>;
|
|
193
|
+
currentTick: number;
|
|
194
|
+
payout: any;
|
|
195
|
+
timestamp: any;
|
|
196
|
+
blockNumber: any;
|
|
197
|
+
transactionHash: string;
|
|
198
|
+
}>;
|
|
199
|
+
ExtendOptionEvent: Array<{
|
|
200
|
+
__typename: 'ExtendOptionEvent';
|
|
201
|
+
id: string;
|
|
202
|
+
premium: any;
|
|
203
|
+
protocolFee: any;
|
|
204
|
+
currentTick: number;
|
|
205
|
+
addedDuration: any;
|
|
206
|
+
timestamp: any;
|
|
207
|
+
blockNumber: any;
|
|
208
|
+
transactionHash: string;
|
|
209
|
+
}>;
|
|
210
|
+
};
|
|
211
|
+
type SdkFunctionWrapper = <T$1>(action: (requestHeaders?: Record<string, string>) => Promise<T$1>, operationName: string, operationType?: string, variables?: any) => Promise<T$1>;
|
|
212
|
+
declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
213
|
+
GetActiveUserOptions(variables: GetActiveUserOptionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetActiveUserOptionsQuery>;
|
|
214
|
+
GetActiveUserOptionsByMarket(variables: GetActiveUserOptionsByMarketQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetActiveUserOptionsByMarketQuery>;
|
|
215
|
+
GetClosedUserOptions(variables: GetClosedUserOptionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClosedUserOptionsQuery>;
|
|
216
|
+
GetClosedUserOptionsByMarket(variables: GetClosedUserOptionsByMarketQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClosedUserOptionsByMarketQuery>;
|
|
217
|
+
GetMarketData(variables: GetMarketDataQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetMarketDataQuery>;
|
|
218
|
+
GetUserMarketOperators(variables: GetUserMarketOperatorsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetUserMarketOperatorsQuery>;
|
|
219
|
+
GetOptionEvents(variables: GetOptionEventsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetOptionEventsQuery>;
|
|
220
|
+
};
|
|
221
|
+
//#endregion
|
|
13
222
|
//#region src/lib/contracts.d.ts
|
|
14
223
|
type TimelockMarket = GetContractReturnType<typeof optionsMarketAbi, Client, Address>;
|
|
15
224
|
type TimelockLens = GetContractReturnType<typeof lensAbi, Client, Address>;
|
|
@@ -19,7 +228,7 @@ type TimelockMarketData = Awaited<ReturnType<TimelockLens['read']['getMarketData
|
|
|
19
228
|
};
|
|
20
229
|
declare const getErc20: (address: Address, client: Client) => {
|
|
21
230
|
read: {
|
|
22
|
-
symbol: (options?:
|
|
231
|
+
symbol: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23
232
|
readonly type: "constructor";
|
|
24
233
|
readonly inputs: readonly [{
|
|
25
234
|
readonly name: "name_";
|
|
@@ -198,7 +407,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
198
407
|
}];
|
|
199
408
|
readonly stateMutability: "nonpayable";
|
|
200
409
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
201
|
-
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
410
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
202
411
|
readonly type: "constructor";
|
|
203
412
|
readonly inputs: readonly [{
|
|
204
413
|
readonly name: "name_";
|
|
@@ -377,7 +586,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
377
586
|
}];
|
|
378
587
|
readonly stateMutability: "nonpayable";
|
|
379
588
|
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
380
|
-
balanceOf: (args: readonly [`0x${string}`], options?:
|
|
589
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
381
590
|
readonly type: "constructor";
|
|
382
591
|
readonly inputs: readonly [{
|
|
383
592
|
readonly name: "name_";
|
|
@@ -556,7 +765,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
556
765
|
}];
|
|
557
766
|
readonly stateMutability: "nonpayable";
|
|
558
767
|
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
559
|
-
decimals: (options?:
|
|
768
|
+
decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
560
769
|
readonly type: "constructor";
|
|
561
770
|
readonly inputs: readonly [{
|
|
562
771
|
readonly name: "name_";
|
|
@@ -735,7 +944,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
735
944
|
}];
|
|
736
945
|
readonly stateMutability: "nonpayable";
|
|
737
946
|
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
738
|
-
name: (options?:
|
|
947
|
+
name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
739
948
|
readonly type: "constructor";
|
|
740
949
|
readonly inputs: readonly [{
|
|
741
950
|
readonly name: "name_";
|
|
@@ -914,7 +1123,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
914
1123
|
}];
|
|
915
1124
|
readonly stateMutability: "nonpayable";
|
|
916
1125
|
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
917
|
-
totalSupply: (options?:
|
|
1126
|
+
totalSupply: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
918
1127
|
readonly type: "constructor";
|
|
919
1128
|
readonly inputs: readonly [{
|
|
920
1129
|
readonly name: "name_";
|
|
@@ -1095,7 +1304,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1095
1304
|
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1096
1305
|
};
|
|
1097
1306
|
estimateGas: {
|
|
1098
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
1307
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1099
1308
|
readonly type: "constructor";
|
|
1100
1309
|
readonly inputs: readonly [{
|
|
1101
1310
|
readonly name: "name_";
|
|
@@ -1273,8 +1482,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1273
1482
|
readonly internalType: "bool";
|
|
1274
1483
|
}];
|
|
1275
1484
|
readonly stateMutability: "nonpayable";
|
|
1276
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
1277
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1485
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
1486
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1278
1487
|
readonly type: "constructor";
|
|
1279
1488
|
readonly inputs: readonly [{
|
|
1280
1489
|
readonly name: "name_";
|
|
@@ -1452,8 +1661,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1452
1661
|
readonly internalType: "bool";
|
|
1453
1662
|
}];
|
|
1454
1663
|
readonly stateMutability: "nonpayable";
|
|
1455
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
1456
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1664
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
1665
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1457
1666
|
readonly type: "constructor";
|
|
1458
1667
|
readonly inputs: readonly [{
|
|
1459
1668
|
readonly name: "name_";
|
|
@@ -1631,8 +1840,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1631
1840
|
readonly internalType: "bool";
|
|
1632
1841
|
}];
|
|
1633
1842
|
readonly stateMutability: "nonpayable";
|
|
1634
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
1635
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
1843
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
1844
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1636
1845
|
readonly type: "constructor";
|
|
1637
1846
|
readonly inputs: readonly [{
|
|
1638
1847
|
readonly name: "name_";
|
|
@@ -1810,8 +2019,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1810
2019
|
readonly internalType: "bool";
|
|
1811
2020
|
}];
|
|
1812
2021
|
readonly stateMutability: "nonpayable";
|
|
1813
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
1814
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2022
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2023
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1815
2024
|
readonly type: "constructor";
|
|
1816
2025
|
readonly inputs: readonly [{
|
|
1817
2026
|
readonly name: "name_";
|
|
@@ -1989,9 +2198,9 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1989
2198
|
readonly internalType: "bool";
|
|
1990
2199
|
}];
|
|
1991
2200
|
readonly stateMutability: "nonpayable";
|
|
1992
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
2201
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
1993
2202
|
} & {
|
|
1994
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
2203
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1995
2204
|
readonly type: "constructor";
|
|
1996
2205
|
readonly inputs: readonly [{
|
|
1997
2206
|
readonly name: "name_";
|
|
@@ -2169,8 +2378,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2169
2378
|
readonly internalType: "bool";
|
|
2170
2379
|
}];
|
|
2171
2380
|
readonly stateMutability: "nonpayable";
|
|
2172
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
2173
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2381
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2382
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2174
2383
|
readonly type: "constructor";
|
|
2175
2384
|
readonly inputs: readonly [{
|
|
2176
2385
|
readonly name: "name_";
|
|
@@ -2348,8 +2557,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2348
2557
|
readonly internalType: "bool";
|
|
2349
2558
|
}];
|
|
2350
2559
|
readonly stateMutability: "nonpayable";
|
|
2351
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
2352
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2560
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2561
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2353
2562
|
readonly type: "constructor";
|
|
2354
2563
|
readonly inputs: readonly [{
|
|
2355
2564
|
readonly name: "name_";
|
|
@@ -2527,8 +2736,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2527
2736
|
readonly internalType: "bool";
|
|
2528
2737
|
}];
|
|
2529
2738
|
readonly stateMutability: "nonpayable";
|
|
2530
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
2531
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
2739
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2740
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2532
2741
|
readonly type: "constructor";
|
|
2533
2742
|
readonly inputs: readonly [{
|
|
2534
2743
|
readonly name: "name_";
|
|
@@ -2706,8 +2915,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2706
2915
|
readonly internalType: "bool";
|
|
2707
2916
|
}];
|
|
2708
2917
|
readonly stateMutability: "nonpayable";
|
|
2709
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2710
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2918
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2919
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2711
2920
|
readonly type: "constructor";
|
|
2712
2921
|
readonly inputs: readonly [{
|
|
2713
2922
|
readonly name: "name_";
|
|
@@ -2885,10 +3094,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2885
3094
|
readonly internalType: "bool";
|
|
2886
3095
|
}];
|
|
2887
3096
|
readonly stateMutability: "nonpayable";
|
|
2888
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
3097
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2889
3098
|
};
|
|
2890
3099
|
simulate: {
|
|
2891
|
-
approve: <chainOverride extends
|
|
3100
|
+
approve: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
2892
3101
|
readonly type: "constructor";
|
|
2893
3102
|
readonly inputs: readonly [{
|
|
2894
3103
|
readonly name: "name_";
|
|
@@ -3066,7 +3275,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3066
3275
|
readonly internalType: "bool";
|
|
3067
3276
|
}];
|
|
3068
3277
|
readonly stateMutability: "nonpayable";
|
|
3069
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3278
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
3070
3279
|
readonly type: "constructor";
|
|
3071
3280
|
readonly inputs: readonly [{
|
|
3072
3281
|
readonly name: "name_";
|
|
@@ -3244,8 +3453,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3244
3453
|
readonly internalType: "bool";
|
|
3245
3454
|
}];
|
|
3246
3455
|
readonly stateMutability: "nonpayable";
|
|
3247
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3248
|
-
decreaseAllowance: <chainOverride extends
|
|
3456
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
3457
|
+
decreaseAllowance: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
3249
3458
|
readonly type: "constructor";
|
|
3250
3459
|
readonly inputs: readonly [{
|
|
3251
3460
|
readonly name: "name_";
|
|
@@ -3423,7 +3632,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3423
3632
|
readonly internalType: "bool";
|
|
3424
3633
|
}];
|
|
3425
3634
|
readonly stateMutability: "nonpayable";
|
|
3426
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3635
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
3427
3636
|
readonly type: "constructor";
|
|
3428
3637
|
readonly inputs: readonly [{
|
|
3429
3638
|
readonly name: "name_";
|
|
@@ -3601,8 +3810,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3601
3810
|
readonly internalType: "bool";
|
|
3602
3811
|
}];
|
|
3603
3812
|
readonly stateMutability: "nonpayable";
|
|
3604
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3605
|
-
increaseAllowance: <chainOverride extends
|
|
3813
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
3814
|
+
increaseAllowance: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
3606
3815
|
readonly type: "constructor";
|
|
3607
3816
|
readonly inputs: readonly [{
|
|
3608
3817
|
readonly name: "name_";
|
|
@@ -3780,7 +3989,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3780
3989
|
readonly internalType: "bool";
|
|
3781
3990
|
}];
|
|
3782
3991
|
readonly stateMutability: "nonpayable";
|
|
3783
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
3992
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
3784
3993
|
readonly type: "constructor";
|
|
3785
3994
|
readonly inputs: readonly [{
|
|
3786
3995
|
readonly name: "name_";
|
|
@@ -3958,8 +4167,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3958
4167
|
readonly internalType: "bool";
|
|
3959
4168
|
}];
|
|
3960
4169
|
readonly stateMutability: "nonpayable";
|
|
3961
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
3962
|
-
transfer: <chainOverride extends
|
|
4170
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
4171
|
+
transfer: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
3963
4172
|
readonly type: "constructor";
|
|
3964
4173
|
readonly inputs: readonly [{
|
|
3965
4174
|
readonly name: "name_";
|
|
@@ -4137,7 +4346,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4137
4346
|
readonly internalType: "bool";
|
|
4138
4347
|
}];
|
|
4139
4348
|
readonly stateMutability: "nonpayable";
|
|
4140
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4349
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
4141
4350
|
readonly type: "constructor";
|
|
4142
4351
|
readonly inputs: readonly [{
|
|
4143
4352
|
readonly name: "name_";
|
|
@@ -4315,8 +4524,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4315
4524
|
readonly internalType: "bool";
|
|
4316
4525
|
}];
|
|
4317
4526
|
readonly stateMutability: "nonpayable";
|
|
4318
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4319
|
-
transferFrom: <chainOverride extends
|
|
4527
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
4528
|
+
transferFrom: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
4320
4529
|
readonly type: "constructor";
|
|
4321
4530
|
readonly inputs: readonly [{
|
|
4322
4531
|
readonly name: "name_";
|
|
@@ -4494,7 +4703,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4494
4703
|
readonly internalType: "bool";
|
|
4495
4704
|
}];
|
|
4496
4705
|
readonly stateMutability: "nonpayable";
|
|
4497
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4706
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
4498
4707
|
readonly type: "constructor";
|
|
4499
4708
|
readonly inputs: readonly [{
|
|
4500
4709
|
readonly name: "name_";
|
|
@@ -4672,10 +4881,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4672
4881
|
readonly internalType: "bool";
|
|
4673
4882
|
}];
|
|
4674
4883
|
readonly stateMutability: "nonpayable";
|
|
4675
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4884
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
4676
4885
|
};
|
|
4677
4886
|
write: {
|
|
4678
|
-
approve: <chainOverride extends
|
|
4887
|
+
approve: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
4679
4888
|
readonly type: "constructor";
|
|
4680
4889
|
readonly inputs: readonly [{
|
|
4681
4890
|
readonly name: "name_";
|
|
@@ -4853,8 +5062,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4853
5062
|
readonly internalType: "bool";
|
|
4854
5063
|
}];
|
|
4855
5064
|
readonly stateMutability: "nonpayable";
|
|
4856
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
4857
|
-
decreaseAllowance: <chainOverride extends
|
|
5065
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5066
|
+
decreaseAllowance: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
4858
5067
|
readonly type: "constructor";
|
|
4859
5068
|
readonly inputs: readonly [{
|
|
4860
5069
|
readonly name: "name_";
|
|
@@ -5032,8 +5241,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5032
5241
|
readonly internalType: "bool";
|
|
5033
5242
|
}];
|
|
5034
5243
|
readonly stateMutability: "nonpayable";
|
|
5035
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
5036
|
-
increaseAllowance: <chainOverride extends
|
|
5244
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5245
|
+
increaseAllowance: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
5037
5246
|
readonly type: "constructor";
|
|
5038
5247
|
readonly inputs: readonly [{
|
|
5039
5248
|
readonly name: "name_";
|
|
@@ -5211,8 +5420,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5211
5420
|
readonly internalType: "bool";
|
|
5212
5421
|
}];
|
|
5213
5422
|
readonly stateMutability: "nonpayable";
|
|
5214
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
5215
|
-
transfer: <chainOverride extends
|
|
5423
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5424
|
+
transfer: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
5216
5425
|
readonly type: "constructor";
|
|
5217
5426
|
readonly inputs: readonly [{
|
|
5218
5427
|
readonly name: "name_";
|
|
@@ -5390,8 +5599,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5390
5599
|
readonly internalType: "bool";
|
|
5391
5600
|
}];
|
|
5392
5601
|
readonly stateMutability: "nonpayable";
|
|
5393
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
5394
|
-
transferFrom: <chainOverride extends
|
|
5602
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5603
|
+
transferFrom: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
5395
5604
|
readonly type: "constructor";
|
|
5396
5605
|
readonly inputs: readonly [{
|
|
5397
5606
|
readonly name: "name_";
|
|
@@ -5569,7 +5778,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5569
5778
|
readonly internalType: "bool";
|
|
5570
5779
|
}];
|
|
5571
5780
|
readonly stateMutability: "nonpayable";
|
|
5572
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
5781
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, `0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5573
5782
|
};
|
|
5574
5783
|
address: `0x${string}`;
|
|
5575
5784
|
abi: readonly [{
|
|
@@ -5755,7 +5964,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5755
5964
|
declare const getTimelockMarket: (address: Address, client: Client) => TimelockMarket;
|
|
5756
5965
|
declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
5757
5966
|
read: {
|
|
5758
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
5967
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
5759
5968
|
readonly type: "function";
|
|
5760
5969
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
5761
5970
|
readonly inputs: readonly [{
|
|
@@ -6376,7 +6585,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
6376
6585
|
}];
|
|
6377
6586
|
readonly stateMutability: "pure";
|
|
6378
6587
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
6379
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
6588
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
6380
6589
|
readonly type: "function";
|
|
6381
6590
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6382
6591
|
readonly inputs: readonly [{
|
|
@@ -6997,7 +7206,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
6997
7206
|
}];
|
|
6998
7207
|
readonly stateMutability: "pure";
|
|
6999
7208
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7000
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
7209
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
7001
7210
|
readonly type: "function";
|
|
7002
7211
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7003
7212
|
readonly inputs: readonly [{
|
|
@@ -7618,7 +7827,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
7618
7827
|
}];
|
|
7619
7828
|
readonly stateMutability: "pure";
|
|
7620
7829
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7621
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
7830
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
7622
7831
|
readonly type: "function";
|
|
7623
7832
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7624
7833
|
readonly inputs: readonly [{
|
|
@@ -8239,7 +8448,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
8239
8448
|
}];
|
|
8240
8449
|
readonly stateMutability: "pure";
|
|
8241
8450
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
8242
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
8451
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
8243
8452
|
readonly type: "function";
|
|
8244
8453
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8245
8454
|
readonly inputs: readonly [{
|
|
@@ -8860,7 +9069,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
8860
9069
|
}];
|
|
8861
9070
|
readonly stateMutability: "pure";
|
|
8862
9071
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
8863
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
9072
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
8864
9073
|
readonly type: "function";
|
|
8865
9074
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8866
9075
|
readonly inputs: readonly [{
|
|
@@ -9481,7 +9690,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
9481
9690
|
}];
|
|
9482
9691
|
readonly stateMutability: "pure";
|
|
9483
9692
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
9484
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
9693
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
9485
9694
|
readonly type: "function";
|
|
9486
9695
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9487
9696
|
readonly inputs: readonly [{
|
|
@@ -10102,7 +10311,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10102
10311
|
}];
|
|
10103
10312
|
readonly stateMutability: "pure";
|
|
10104
10313
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10105
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
10314
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
10106
10315
|
readonly type: "function";
|
|
10107
10316
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10108
10317
|
readonly inputs: readonly [{
|
|
@@ -10723,7 +10932,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10723
10932
|
}];
|
|
10724
10933
|
readonly stateMutability: "pure";
|
|
10725
10934
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10726
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
10935
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
10727
10936
|
readonly type: "function";
|
|
10728
10937
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10729
10938
|
readonly inputs: readonly [{
|
|
@@ -11344,7 +11553,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
11344
11553
|
}];
|
|
11345
11554
|
readonly stateMutability: "pure";
|
|
11346
11555
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
11347
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
11556
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
11348
11557
|
readonly type: "function";
|
|
11349
11558
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11350
11559
|
readonly inputs: readonly [{
|
|
@@ -11965,7 +12174,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
11965
12174
|
}];
|
|
11966
12175
|
readonly stateMutability: "pure";
|
|
11967
12176
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
11968
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
12177
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
11969
12178
|
readonly type: "function";
|
|
11970
12179
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11971
12180
|
readonly inputs: readonly [{
|
|
@@ -12586,7 +12795,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12586
12795
|
}];
|
|
12587
12796
|
readonly stateMutability: "pure";
|
|
12588
12797
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12589
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
12798
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
12590
12799
|
readonly type: "function";
|
|
12591
12800
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12592
12801
|
readonly inputs: readonly [{
|
|
@@ -13207,7 +13416,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
13207
13416
|
}];
|
|
13208
13417
|
readonly stateMutability: "pure";
|
|
13209
13418
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13210
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
13419
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
13211
13420
|
readonly type: "function";
|
|
13212
13421
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13213
13422
|
readonly inputs: readonly [{
|
|
@@ -13828,7 +14037,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
13828
14037
|
}];
|
|
13829
14038
|
readonly stateMutability: "pure";
|
|
13830
14039
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13831
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
14040
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
13832
14041
|
readonly type: "function";
|
|
13833
14042
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13834
14043
|
readonly inputs: readonly [{
|
|
@@ -14449,7 +14658,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14449
14658
|
}];
|
|
14450
14659
|
readonly stateMutability: "pure";
|
|
14451
14660
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
14452
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
14661
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
14453
14662
|
readonly type: "function";
|
|
14454
14663
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14455
14664
|
readonly inputs: readonly [{
|
|
@@ -15070,7 +15279,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15070
15279
|
}];
|
|
15071
15280
|
readonly stateMutability: "pure";
|
|
15072
15281
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15073
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
15282
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15074
15283
|
readonly type: "function";
|
|
15075
15284
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15076
15285
|
readonly inputs: readonly [{
|
|
@@ -15691,7 +15900,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15691
15900
|
}];
|
|
15692
15901
|
readonly stateMutability: "pure";
|
|
15693
15902
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15694
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
15903
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15695
15904
|
readonly type: "function";
|
|
15696
15905
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15697
15906
|
readonly inputs: readonly [{
|
|
@@ -16312,7 +16521,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
16312
16521
|
}];
|
|
16313
16522
|
readonly stateMutability: "pure";
|
|
16314
16523
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
16315
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
16524
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
16316
16525
|
readonly type: "function";
|
|
16317
16526
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16318
16527
|
readonly inputs: readonly [{
|
|
@@ -16933,7 +17142,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
16933
17142
|
}];
|
|
16934
17143
|
readonly stateMutability: "pure";
|
|
16935
17144
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
16936
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
17145
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
16937
17146
|
readonly type: "function";
|
|
16938
17147
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16939
17148
|
readonly inputs: readonly [{
|
|
@@ -17554,7 +17763,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17554
17763
|
}];
|
|
17555
17764
|
readonly stateMutability: "pure";
|
|
17556
17765
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
17557
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
17766
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
17558
17767
|
readonly type: "function";
|
|
17559
17768
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17560
17769
|
readonly inputs: readonly [{
|
|
@@ -18175,7 +18384,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
18175
18384
|
}];
|
|
18176
18385
|
readonly stateMutability: "pure";
|
|
18177
18386
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
18178
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
18387
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
18179
18388
|
readonly type: "function";
|
|
18180
18389
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18181
18390
|
readonly inputs: readonly [{
|
|
@@ -18796,7 +19005,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
18796
19005
|
}];
|
|
18797
19006
|
readonly stateMutability: "pure";
|
|
18798
19007
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
18799
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
19008
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
18800
19009
|
readonly type: "function";
|
|
18801
19010
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18802
19011
|
readonly inputs: readonly [{
|
|
@@ -19417,7 +19626,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19417
19626
|
}];
|
|
19418
19627
|
readonly stateMutability: "pure";
|
|
19419
19628
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
19420
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
19629
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
19421
19630
|
readonly type: "function";
|
|
19422
19631
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19423
19632
|
readonly inputs: readonly [{
|
|
@@ -20038,7 +20247,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20038
20247
|
}];
|
|
20039
20248
|
readonly stateMutability: "pure";
|
|
20040
20249
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20041
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
20250
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
20042
20251
|
readonly type: "function";
|
|
20043
20252
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20044
20253
|
readonly inputs: readonly [{
|
|
@@ -20659,7 +20868,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20659
20868
|
}];
|
|
20660
20869
|
readonly stateMutability: "pure";
|
|
20661
20870
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20662
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
20871
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
20663
20872
|
readonly type: "function";
|
|
20664
20873
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20665
20874
|
readonly inputs: readonly [{
|
|
@@ -21280,7 +21489,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
21280
21489
|
}];
|
|
21281
21490
|
readonly stateMutability: "pure";
|
|
21282
21491
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21283
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
21492
|
+
getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
21284
21493
|
readonly type: "function";
|
|
21285
21494
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21286
21495
|
readonly inputs: readonly [{
|
|
@@ -22527,7 +22736,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
22527
22736
|
};
|
|
22528
22737
|
declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
22529
22738
|
read: {
|
|
22530
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
22739
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
22531
22740
|
readonly type: "function";
|
|
22532
22741
|
readonly name: "batchGetRefTick";
|
|
22533
22742
|
readonly inputs: readonly [{
|
|
@@ -23201,7 +23410,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23201
23410
|
}];
|
|
23202
23411
|
readonly stateMutability: "view";
|
|
23203
23412
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
23204
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
23413
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23205
23414
|
readonly type: "function";
|
|
23206
23415
|
readonly name: "batchGetRefTick";
|
|
23207
23416
|
readonly inputs: readonly [{
|
|
@@ -23885,7 +24094,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23885
24094
|
borrowedAmount0: bigint;
|
|
23886
24095
|
borrowedAmount1: bigint;
|
|
23887
24096
|
}[]>;
|
|
23888
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
24097
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23889
24098
|
readonly type: "function";
|
|
23890
24099
|
readonly name: "batchGetRefTick";
|
|
23891
24100
|
readonly inputs: readonly [{
|
|
@@ -24576,7 +24785,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24576
24785
|
expiresAt: number;
|
|
24577
24786
|
liquidities: readonly bigint[];
|
|
24578
24787
|
}[], bigint, boolean]>;
|
|
24579
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
24788
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
24580
24789
|
readonly type: "function";
|
|
24581
24790
|
readonly name: "batchGetRefTick";
|
|
24582
24791
|
readonly inputs: readonly [{
|
|
@@ -25250,7 +25459,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25250
25459
|
}];
|
|
25251
25460
|
readonly stateMutability: "view";
|
|
25252
25461
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25253
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
25462
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25254
25463
|
readonly type: "function";
|
|
25255
25464
|
readonly name: "batchGetRefTick";
|
|
25256
25465
|
readonly inputs: readonly [{
|
|
@@ -25937,7 +26146,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25937
26146
|
payoutAssetName: string;
|
|
25938
26147
|
optionsCount: bigint;
|
|
25939
26148
|
}>;
|
|
25940
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
26149
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25941
26150
|
readonly type: "function";
|
|
25942
26151
|
readonly name: "batchGetRefTick";
|
|
25943
26152
|
readonly inputs: readonly [{
|
|
@@ -26611,7 +26820,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26611
26820
|
}];
|
|
26612
26821
|
readonly stateMutability: "view";
|
|
26613
26822
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
26614
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
26823
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26615
26824
|
readonly type: "function";
|
|
26616
26825
|
readonly name: "batchGetRefTick";
|
|
26617
26826
|
readonly inputs: readonly [{
|
|
@@ -27285,7 +27494,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27285
27494
|
}];
|
|
27286
27495
|
readonly stateMutability: "view";
|
|
27287
27496
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
27288
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
27497
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
27289
27498
|
readonly type: "function";
|
|
27290
27499
|
readonly name: "batchGetRefTick";
|
|
27291
27500
|
readonly inputs: readonly [{
|
|
@@ -27976,7 +28185,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27976
28185
|
expiresAt: number;
|
|
27977
28186
|
liquidities: readonly bigint[];
|
|
27978
28187
|
}>;
|
|
27979
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
28188
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
27980
28189
|
readonly type: "function";
|
|
27981
28190
|
readonly name: "batchGetRefTick";
|
|
27982
28191
|
readonly inputs: readonly [{
|
|
@@ -28667,7 +28876,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28667
28876
|
expiresAt: number;
|
|
28668
28877
|
liquidities: readonly bigint[];
|
|
28669
28878
|
}[]>;
|
|
28670
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
28879
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
28671
28880
|
readonly type: "function";
|
|
28672
28881
|
readonly name: "batchGetRefTick";
|
|
28673
28882
|
readonly inputs: readonly [{
|
|
@@ -29352,7 +29561,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29352
29561
|
tickSpacing: number;
|
|
29353
29562
|
fee: number;
|
|
29354
29563
|
}>;
|
|
29355
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
29564
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
29356
29565
|
readonly type: "function";
|
|
29357
29566
|
readonly name: "batchGetRefTick";
|
|
29358
29567
|
readonly inputs: readonly [{
|
|
@@ -30026,7 +30235,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30026
30235
|
}];
|
|
30027
30236
|
readonly stateMutability: "view";
|
|
30028
30237
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
30029
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
30238
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
30030
30239
|
readonly type: "function";
|
|
30031
30240
|
readonly name: "batchGetRefTick";
|
|
30032
30241
|
readonly inputs: readonly [{
|
|
@@ -30717,7 +30926,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30717
30926
|
expiresAt: number;
|
|
30718
30927
|
liquidities: readonly bigint[];
|
|
30719
30928
|
}[], bigint, boolean]>;
|
|
30720
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
30929
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
30721
30930
|
readonly type: "function";
|
|
30722
30931
|
readonly name: "batchGetRefTick";
|
|
30723
30932
|
readonly inputs: readonly [{
|
|
@@ -32071,236 +32280,30 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
32071
32280
|
declare const timelockLenses: Record<number, Address>;
|
|
32072
32281
|
declare const uniswapMathLenses: Record<number, Address>;
|
|
32073
32282
|
//#endregion
|
|
32074
|
-
//#region src/
|
|
32075
|
-
type
|
|
32076
|
-
[key: string]: unknown;
|
|
32077
|
-
}> = { [K in keyof T$1]: T$1[K] };
|
|
32078
|
-
type GraphQLClientRequestHeaders = RequestOptions['requestHeaders'];
|
|
32079
|
-
/** All built-in and custom scalars, mapped to their actual values */
|
|
32080
|
-
type Scalars = {
|
|
32081
|
-
ID: {
|
|
32082
|
-
input: string;
|
|
32083
|
-
output: string;
|
|
32084
|
-
};
|
|
32085
|
-
String: {
|
|
32086
|
-
input: string;
|
|
32087
|
-
output: string;
|
|
32088
|
-
};
|
|
32089
|
-
Boolean: {
|
|
32090
|
-
input: boolean;
|
|
32091
|
-
output: boolean;
|
|
32092
|
-
};
|
|
32093
|
-
Int: {
|
|
32094
|
-
input: number;
|
|
32095
|
-
output: number;
|
|
32096
|
-
};
|
|
32097
|
-
Float: {
|
|
32098
|
-
input: number;
|
|
32099
|
-
output: number;
|
|
32100
|
-
};
|
|
32101
|
-
jsonb: {
|
|
32102
|
-
input: any;
|
|
32103
|
-
output: any;
|
|
32104
|
-
};
|
|
32105
|
-
numeric: {
|
|
32106
|
-
input: any;
|
|
32107
|
-
output: any;
|
|
32108
|
-
};
|
|
32109
|
-
optiontype: {
|
|
32110
|
-
input: any;
|
|
32111
|
-
output: any;
|
|
32112
|
-
};
|
|
32113
|
-
timestamptz: {
|
|
32114
|
-
input: any;
|
|
32115
|
-
output: any;
|
|
32116
|
-
};
|
|
32117
|
-
};
|
|
32118
|
-
type UserOptionFieldsFragment = {
|
|
32119
|
-
__typename: 'UserOption';
|
|
32120
|
-
id: string;
|
|
32121
|
-
optionId: any;
|
|
32122
|
-
optionType: any;
|
|
32123
|
-
strikeTick: number;
|
|
32124
|
-
entryTick: number;
|
|
32125
|
-
startTick: number;
|
|
32126
|
-
strikePrice: any;
|
|
32127
|
-
entryPrice: any;
|
|
32128
|
-
expiresAt: any;
|
|
32129
|
-
createdAt: any;
|
|
32130
|
-
premium: any;
|
|
32131
|
-
protocolFee: any;
|
|
32132
|
-
realizedPayout: any;
|
|
32133
|
-
liquiditiesAtOpen: Array<string>;
|
|
32134
|
-
liquiditiesCurrent: Array<string>;
|
|
32135
|
-
positionSizeAtOpen: any;
|
|
32136
|
-
positionSizeCurrent: any;
|
|
32137
|
-
fullyExercised: boolean;
|
|
32138
|
-
owner?: {
|
|
32139
|
-
__typename: 'TimelockMarketUser';
|
|
32140
|
-
address: string;
|
|
32141
|
-
} | null;
|
|
32142
|
-
market?: {
|
|
32143
|
-
__typename: 'TimelockMarket';
|
|
32144
|
-
address: string;
|
|
32145
|
-
} | null;
|
|
32146
|
-
};
|
|
32147
|
-
type GetActiveUserOptionsQueryVariables = Exact<{
|
|
32148
|
-
userAddr: Scalars['String']['input'];
|
|
32149
|
-
}>;
|
|
32150
|
-
type GetActiveUserOptionsQuery = {
|
|
32151
|
-
__typename: 'query_root';
|
|
32152
|
-
UserOption: Array<{
|
|
32153
|
-
__typename: 'UserOption';
|
|
32154
|
-
} & UserOptionFieldsFragment>;
|
|
32155
|
-
};
|
|
32156
|
-
type GetActiveUserOptionsByMarketQueryVariables = Exact<{
|
|
32157
|
-
userAddr: Scalars['String']['input'];
|
|
32158
|
-
marketAddr: Scalars['String']['input'];
|
|
32159
|
-
}>;
|
|
32160
|
-
type GetActiveUserOptionsByMarketQuery = {
|
|
32161
|
-
__typename: 'query_root';
|
|
32162
|
-
UserOption: Array<{
|
|
32163
|
-
__typename: 'UserOption';
|
|
32164
|
-
} & UserOptionFieldsFragment>;
|
|
32165
|
-
};
|
|
32166
|
-
type GetClosedUserOptionsQueryVariables = Exact<{
|
|
32167
|
-
userAddr: Scalars['String']['input'];
|
|
32168
|
-
}>;
|
|
32169
|
-
type GetClosedUserOptionsQuery = {
|
|
32170
|
-
__typename: 'query_root';
|
|
32171
|
-
UserOption: Array<{
|
|
32172
|
-
__typename: 'UserOption';
|
|
32173
|
-
} & UserOptionFieldsFragment>;
|
|
32174
|
-
};
|
|
32175
|
-
type GetClosedUserOptionsByMarketQueryVariables = Exact<{
|
|
32176
|
-
userAddr: Scalars['String']['input'];
|
|
32177
|
-
marketAddr: Scalars['String']['input'];
|
|
32178
|
-
}>;
|
|
32179
|
-
type GetClosedUserOptionsByMarketQuery = {
|
|
32180
|
-
__typename: 'query_root';
|
|
32181
|
-
UserOption: Array<{
|
|
32182
|
-
__typename: 'UserOption';
|
|
32183
|
-
} & UserOptionFieldsFragment>;
|
|
32184
|
-
};
|
|
32185
|
-
type GetMarketDataQueryVariables = Exact<{
|
|
32186
|
-
marketAddr: Scalars['String']['input'];
|
|
32187
|
-
}>;
|
|
32188
|
-
type GetMarketDataQuery = {
|
|
32189
|
-
__typename: 'query_root';
|
|
32190
|
-
TimelockMarket: Array<{
|
|
32191
|
-
__typename: 'TimelockMarket';
|
|
32192
|
-
id: string;
|
|
32193
|
-
address: string;
|
|
32194
|
-
optionsCount: any;
|
|
32195
|
-
tradersCount: any;
|
|
32196
|
-
vault: string;
|
|
32197
|
-
pool: string;
|
|
32198
|
-
tickSpacing: number;
|
|
32199
|
-
optionAssetIsToken0: boolean;
|
|
32200
|
-
optionAsset: string;
|
|
32201
|
-
payoutAsset: string;
|
|
32202
|
-
optionAssetDecimals: number;
|
|
32203
|
-
payoutAssetDecimals: number;
|
|
32204
|
-
optionAssetSymbol: string;
|
|
32205
|
-
payoutAssetSymbol: string;
|
|
32206
|
-
optionAssetName: string;
|
|
32207
|
-
payoutAssetName: string;
|
|
32208
|
-
}>;
|
|
32209
|
-
};
|
|
32210
|
-
type GetUserMarketOperatorsQueryVariables = Exact<{
|
|
32211
|
-
userAddr: Scalars['String']['input'];
|
|
32212
|
-
marketAddr: Scalars['String']['input'];
|
|
32213
|
-
}>;
|
|
32214
|
-
type GetUserMarketOperatorsQuery = {
|
|
32215
|
-
__typename: 'query_root';
|
|
32216
|
-
UserMarketOperator: Array<{
|
|
32217
|
-
__typename: 'UserMarketOperator';
|
|
32218
|
-
id: string;
|
|
32219
|
-
canExtend: boolean;
|
|
32220
|
-
canExercise: boolean;
|
|
32221
|
-
canTransfer: boolean;
|
|
32222
|
-
canMint: boolean;
|
|
32223
|
-
spendingApproval: any;
|
|
32224
|
-
operator?: {
|
|
32225
|
-
__typename: 'MarketOperator';
|
|
32226
|
-
address: string;
|
|
32227
|
-
} | null;
|
|
32228
|
-
}>;
|
|
32229
|
-
};
|
|
32230
|
-
type GetOptionEventsQueryVariables = Exact<{
|
|
32231
|
-
marketAddr: Scalars['String']['input'];
|
|
32232
|
-
optionId: Scalars['numeric']['input'];
|
|
32233
|
-
}>;
|
|
32234
|
-
type GetOptionEventsQuery = {
|
|
32235
|
-
__typename: 'query_root';
|
|
32236
|
-
MintOptionEvent: Array<{
|
|
32237
|
-
__typename: 'MintOptionEvent';
|
|
32238
|
-
id: string;
|
|
32239
|
-
optionType: number;
|
|
32240
|
-
strikeTick: number;
|
|
32241
|
-
currentTick: number;
|
|
32242
|
-
expiresAt: any;
|
|
32243
|
-
premium: any;
|
|
32244
|
-
protocolFee: any;
|
|
32245
|
-
liquidities: Array<string>;
|
|
32246
|
-
timestamp: any;
|
|
32247
|
-
blockNumber: any;
|
|
32248
|
-
transactionHash: string;
|
|
32249
|
-
}>;
|
|
32250
|
-
ExerciseOptionEvent: Array<{
|
|
32251
|
-
__typename: 'ExerciseOptionEvent';
|
|
32252
|
-
id: string;
|
|
32253
|
-
liquidities: Array<string>;
|
|
32254
|
-
currentTick: number;
|
|
32255
|
-
payout: any;
|
|
32256
|
-
timestamp: any;
|
|
32257
|
-
blockNumber: any;
|
|
32258
|
-
transactionHash: string;
|
|
32259
|
-
}>;
|
|
32260
|
-
ExtendOptionEvent: Array<{
|
|
32261
|
-
__typename: 'ExtendOptionEvent';
|
|
32262
|
-
id: string;
|
|
32263
|
-
premium: any;
|
|
32264
|
-
protocolFee: any;
|
|
32265
|
-
currentTick: number;
|
|
32266
|
-
addedDuration: any;
|
|
32267
|
-
timestamp: any;
|
|
32268
|
-
blockNumber: any;
|
|
32269
|
-
transactionHash: string;
|
|
32270
|
-
}>;
|
|
32271
|
-
};
|
|
32272
|
-
type SdkFunctionWrapper = <T$1>(action: (requestHeaders?: Record<string, string>) => Promise<T$1>, operationName: string, operationType?: string, variables?: any) => Promise<T$1>;
|
|
32273
|
-
declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
32274
|
-
GetActiveUserOptions(variables: GetActiveUserOptionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetActiveUserOptionsQuery>;
|
|
32275
|
-
GetActiveUserOptionsByMarket(variables: GetActiveUserOptionsByMarketQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetActiveUserOptionsByMarketQuery>;
|
|
32276
|
-
GetClosedUserOptions(variables: GetClosedUserOptionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClosedUserOptionsQuery>;
|
|
32277
|
-
GetClosedUserOptionsByMarket(variables: GetClosedUserOptionsByMarketQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClosedUserOptionsByMarketQuery>;
|
|
32278
|
-
GetMarketData(variables: GetMarketDataQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetMarketDataQuery>;
|
|
32279
|
-
GetUserMarketOperators(variables: GetUserMarketOperatorsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetUserMarketOperatorsQuery>;
|
|
32280
|
-
GetOptionEvents(variables: GetOptionEventsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetOptionEventsQuery>;
|
|
32281
|
-
};
|
|
32282
|
-
//#endregion
|
|
32283
|
-
//#region src/providers/TimelockMarketProvider.d.ts
|
|
32284
|
-
type TimelockMarketContextValue = {
|
|
32283
|
+
//#region src/providers/TimelockProvider.d.ts
|
|
32284
|
+
type TimelockContextValue = {
|
|
32285
32285
|
marketData: Partial<TimelockMarketData>;
|
|
32286
32286
|
lensAddr?: Address;
|
|
32287
32287
|
uniswapMathLensAddr?: Address;
|
|
32288
32288
|
envioGraphqlUrl?: string;
|
|
32289
32289
|
graphqlClient?: ReturnType<typeof getSdk>;
|
|
32290
|
+
perpsOperatorUrl?: string;
|
|
32290
32291
|
};
|
|
32291
|
-
declare const
|
|
32292
|
+
declare const TimelockProvider: ({
|
|
32292
32293
|
children,
|
|
32293
32294
|
marketData,
|
|
32294
|
-
envioGraphqlUrl
|
|
32295
|
+
envioGraphqlUrl,
|
|
32296
|
+
perpsOperatorUrl
|
|
32295
32297
|
}: {
|
|
32296
32298
|
children: ReactNode;
|
|
32297
32299
|
marketData?: Partial<TimelockMarketData>;
|
|
32298
32300
|
envioGraphqlUrl?: string;
|
|
32301
|
+
perpsOperatorUrl?: string;
|
|
32299
32302
|
}) => React.JSX.Element;
|
|
32300
32303
|
declare const useCurrentMarket: () => Partial<TimelockMarketData>;
|
|
32301
|
-
declare const useTimelockConfig: () =>
|
|
32304
|
+
declare const useTimelockConfig: () => TimelockContextValue;
|
|
32302
32305
|
//#endregion
|
|
32303
|
-
//#region src/hooks/
|
|
32306
|
+
//#region src/hooks/options/useUserOptions.d.ts
|
|
32304
32307
|
type OptionData = ReturnType<typeof useUserOptions>['data'][0];
|
|
32305
32308
|
declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", active?: boolean) => {
|
|
32306
32309
|
error: Error;
|
|
@@ -32325,7 +32328,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32325
32328
|
isRefetching: boolean;
|
|
32326
32329
|
isStale: boolean;
|
|
32327
32330
|
isEnabled: boolean;
|
|
32328
|
-
refetch: (options?:
|
|
32331
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32329
32332
|
optionId: bigint;
|
|
32330
32333
|
marketAddr: Address;
|
|
32331
32334
|
ownerAddr: Address;
|
|
@@ -32356,7 +32359,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32356
32359
|
address: string;
|
|
32357
32360
|
} | null;
|
|
32358
32361
|
}[], Error>>;
|
|
32359
|
-
fetchStatus:
|
|
32362
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32360
32363
|
promise: Promise<{
|
|
32361
32364
|
optionId: bigint;
|
|
32362
32365
|
marketAddr: Address;
|
|
@@ -32442,7 +32445,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32442
32445
|
isRefetching: boolean;
|
|
32443
32446
|
isStale: boolean;
|
|
32444
32447
|
isEnabled: boolean;
|
|
32445
|
-
refetch: (options?:
|
|
32448
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32446
32449
|
optionId: bigint;
|
|
32447
32450
|
marketAddr: Address;
|
|
32448
32451
|
ownerAddr: Address;
|
|
@@ -32473,7 +32476,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32473
32476
|
address: string;
|
|
32474
32477
|
} | null;
|
|
32475
32478
|
}[], Error>>;
|
|
32476
|
-
fetchStatus:
|
|
32479
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32477
32480
|
promise: Promise<{
|
|
32478
32481
|
optionId: bigint;
|
|
32479
32482
|
marketAddr: Address;
|
|
@@ -32559,7 +32562,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32559
32562
|
isRefetching: boolean;
|
|
32560
32563
|
isStale: boolean;
|
|
32561
32564
|
isEnabled: boolean;
|
|
32562
|
-
refetch: (options?:
|
|
32565
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32563
32566
|
optionId: bigint;
|
|
32564
32567
|
marketAddr: Address;
|
|
32565
32568
|
ownerAddr: Address;
|
|
@@ -32590,7 +32593,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32590
32593
|
address: string;
|
|
32591
32594
|
} | null;
|
|
32592
32595
|
}[], Error>>;
|
|
32593
|
-
fetchStatus:
|
|
32596
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32594
32597
|
promise: Promise<{
|
|
32595
32598
|
optionId: bigint;
|
|
32596
32599
|
marketAddr: Address;
|
|
@@ -32676,7 +32679,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32676
32679
|
isRefetching: boolean;
|
|
32677
32680
|
isStale: boolean;
|
|
32678
32681
|
isEnabled: boolean;
|
|
32679
|
-
refetch: (options?:
|
|
32682
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32680
32683
|
optionId: bigint;
|
|
32681
32684
|
marketAddr: Address;
|
|
32682
32685
|
ownerAddr: Address;
|
|
@@ -32707,7 +32710,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32707
32710
|
address: string;
|
|
32708
32711
|
} | null;
|
|
32709
32712
|
}[], Error>>;
|
|
32710
|
-
fetchStatus:
|
|
32713
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32711
32714
|
promise: Promise<{
|
|
32712
32715
|
optionId: bigint;
|
|
32713
32716
|
marketAddr: Address;
|
|
@@ -32793,7 +32796,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32793
32796
|
isRefetching: boolean;
|
|
32794
32797
|
isStale: boolean;
|
|
32795
32798
|
isEnabled: boolean;
|
|
32796
|
-
refetch: (options?:
|
|
32799
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32797
32800
|
optionId: bigint;
|
|
32798
32801
|
marketAddr: Address;
|
|
32799
32802
|
ownerAddr: Address;
|
|
@@ -32824,7 +32827,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32824
32827
|
address: string;
|
|
32825
32828
|
} | null;
|
|
32826
32829
|
}[], Error>>;
|
|
32827
|
-
fetchStatus:
|
|
32830
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32828
32831
|
promise: Promise<{
|
|
32829
32832
|
optionId: bigint;
|
|
32830
32833
|
marketAddr: Address;
|
|
@@ -32910,7 +32913,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32910
32913
|
isRefetching: boolean;
|
|
32911
32914
|
isStale: boolean;
|
|
32912
32915
|
isEnabled: boolean;
|
|
32913
|
-
refetch: (options?:
|
|
32916
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32914
32917
|
optionId: bigint;
|
|
32915
32918
|
marketAddr: Address;
|
|
32916
32919
|
ownerAddr: Address;
|
|
@@ -32941,7 +32944,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32941
32944
|
address: string;
|
|
32942
32945
|
} | null;
|
|
32943
32946
|
}[], Error>>;
|
|
32944
|
-
fetchStatus:
|
|
32947
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32945
32948
|
promise: Promise<{
|
|
32946
32949
|
optionId: bigint;
|
|
32947
32950
|
marketAddr: Address;
|
|
@@ -33028,7 +33031,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33028
33031
|
isRefetching: boolean;
|
|
33029
33032
|
isStale: boolean;
|
|
33030
33033
|
isEnabled: boolean;
|
|
33031
|
-
refetch: (options?:
|
|
33034
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33032
33035
|
optionId: bigint;
|
|
33033
33036
|
marketAddr: Address;
|
|
33034
33037
|
ownerAddr: Address;
|
|
@@ -33059,7 +33062,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33059
33062
|
address: string;
|
|
33060
33063
|
} | null;
|
|
33061
33064
|
}[], Error>>;
|
|
33062
|
-
fetchStatus:
|
|
33065
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33063
33066
|
promise: Promise<{
|
|
33064
33067
|
optionId: bigint;
|
|
33065
33068
|
marketAddr: Address;
|
|
@@ -33145,7 +33148,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33145
33148
|
isRefetching: boolean;
|
|
33146
33149
|
isStale: boolean;
|
|
33147
33150
|
isEnabled: boolean;
|
|
33148
|
-
refetch: (options?:
|
|
33151
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33149
33152
|
optionId: bigint;
|
|
33150
33153
|
marketAddr: Address;
|
|
33151
33154
|
ownerAddr: Address;
|
|
@@ -33176,7 +33179,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33176
33179
|
address: string;
|
|
33177
33180
|
} | null;
|
|
33178
33181
|
}[], Error>>;
|
|
33179
|
-
fetchStatus:
|
|
33182
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33180
33183
|
promise: Promise<{
|
|
33181
33184
|
optionId: bigint;
|
|
33182
33185
|
marketAddr: Address;
|
|
@@ -33262,7 +33265,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33262
33265
|
isRefetching: boolean;
|
|
33263
33266
|
isStale: boolean;
|
|
33264
33267
|
isEnabled: boolean;
|
|
33265
|
-
refetch: (options?:
|
|
33268
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33266
33269
|
optionId: bigint;
|
|
33267
33270
|
marketAddr: Address;
|
|
33268
33271
|
ownerAddr: Address;
|
|
@@ -33293,7 +33296,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33293
33296
|
address: string;
|
|
33294
33297
|
} | null;
|
|
33295
33298
|
}[], Error>>;
|
|
33296
|
-
fetchStatus:
|
|
33299
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33297
33300
|
promise: Promise<{
|
|
33298
33301
|
optionId: bigint;
|
|
33299
33302
|
marketAddr: Address;
|
|
@@ -33379,7 +33382,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33379
33382
|
isRefetching: boolean;
|
|
33380
33383
|
isStale: boolean;
|
|
33381
33384
|
isEnabled: boolean;
|
|
33382
|
-
refetch: (options?:
|
|
33385
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33383
33386
|
optionId: bigint;
|
|
33384
33387
|
marketAddr: Address;
|
|
33385
33388
|
ownerAddr: Address;
|
|
@@ -33410,7 +33413,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33410
33413
|
address: string;
|
|
33411
33414
|
} | null;
|
|
33412
33415
|
}[], Error>>;
|
|
33413
|
-
fetchStatus:
|
|
33416
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33414
33417
|
promise: Promise<{
|
|
33415
33418
|
optionId: bigint;
|
|
33416
33419
|
marketAddr: Address;
|
|
@@ -33496,7 +33499,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33496
33499
|
isRefetching: boolean;
|
|
33497
33500
|
isStale: boolean;
|
|
33498
33501
|
isEnabled: boolean;
|
|
33499
|
-
refetch: (options?:
|
|
33502
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33500
33503
|
optionId: bigint;
|
|
33501
33504
|
marketAddr: Address;
|
|
33502
33505
|
ownerAddr: Address;
|
|
@@ -33527,7 +33530,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33527
33530
|
address: string;
|
|
33528
33531
|
} | null;
|
|
33529
33532
|
}[], Error>>;
|
|
33530
|
-
fetchStatus:
|
|
33533
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33531
33534
|
promise: Promise<{
|
|
33532
33535
|
optionId: bigint;
|
|
33533
33536
|
marketAddr: Address;
|
|
@@ -33613,7 +33616,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33613
33616
|
isRefetching: boolean;
|
|
33614
33617
|
isStale: boolean;
|
|
33615
33618
|
isEnabled: boolean;
|
|
33616
|
-
refetch: (options?:
|
|
33619
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33617
33620
|
optionId: bigint;
|
|
33618
33621
|
marketAddr: Address;
|
|
33619
33622
|
ownerAddr: Address;
|
|
@@ -33644,7 +33647,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33644
33647
|
address: string;
|
|
33645
33648
|
} | null;
|
|
33646
33649
|
}[], Error>>;
|
|
33647
|
-
fetchStatus:
|
|
33650
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33648
33651
|
promise: Promise<{
|
|
33649
33652
|
optionId: bigint;
|
|
33650
33653
|
marketAddr: Address;
|
|
@@ -33731,7 +33734,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33731
33734
|
isRefetching: boolean;
|
|
33732
33735
|
isStale: boolean;
|
|
33733
33736
|
isEnabled: boolean;
|
|
33734
|
-
refetch: (options?:
|
|
33737
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33735
33738
|
optionId: bigint;
|
|
33736
33739
|
marketAddr: Address;
|
|
33737
33740
|
ownerAddr: Address;
|
|
@@ -33762,7 +33765,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33762
33765
|
address: string;
|
|
33763
33766
|
} | null;
|
|
33764
33767
|
}[], Error>>;
|
|
33765
|
-
fetchStatus:
|
|
33768
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33766
33769
|
promise: Promise<{
|
|
33767
33770
|
optionId: bigint;
|
|
33768
33771
|
marketAddr: Address;
|
|
@@ -33848,7 +33851,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33848
33851
|
isRefetching: boolean;
|
|
33849
33852
|
isStale: boolean;
|
|
33850
33853
|
isEnabled: boolean;
|
|
33851
|
-
refetch: (options?:
|
|
33854
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33852
33855
|
optionId: bigint;
|
|
33853
33856
|
marketAddr: Address;
|
|
33854
33857
|
ownerAddr: Address;
|
|
@@ -33879,7 +33882,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33879
33882
|
address: string;
|
|
33880
33883
|
} | null;
|
|
33881
33884
|
}[], Error>>;
|
|
33882
|
-
fetchStatus:
|
|
33885
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33883
33886
|
promise: Promise<{
|
|
33884
33887
|
optionId: bigint;
|
|
33885
33888
|
marketAddr: Address;
|
|
@@ -33965,7 +33968,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33965
33968
|
isRefetching: boolean;
|
|
33966
33969
|
isStale: boolean;
|
|
33967
33970
|
isEnabled: boolean;
|
|
33968
|
-
refetch: (options?:
|
|
33971
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33969
33972
|
optionId: bigint;
|
|
33970
33973
|
marketAddr: Address;
|
|
33971
33974
|
ownerAddr: Address;
|
|
@@ -33996,7 +33999,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33996
33999
|
address: string;
|
|
33997
34000
|
} | null;
|
|
33998
34001
|
}[], Error>>;
|
|
33999
|
-
fetchStatus:
|
|
34002
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34000
34003
|
promise: Promise<{
|
|
34001
34004
|
optionId: bigint;
|
|
34002
34005
|
marketAddr: Address;
|
|
@@ -34082,7 +34085,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34082
34085
|
isRefetching: boolean;
|
|
34083
34086
|
isStale: boolean;
|
|
34084
34087
|
isEnabled: boolean;
|
|
34085
|
-
refetch: (options?:
|
|
34088
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
34086
34089
|
optionId: bigint;
|
|
34087
34090
|
marketAddr: Address;
|
|
34088
34091
|
ownerAddr: Address;
|
|
@@ -34113,7 +34116,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34113
34116
|
address: string;
|
|
34114
34117
|
} | null;
|
|
34115
34118
|
}[], Error>>;
|
|
34116
|
-
fetchStatus:
|
|
34119
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34117
34120
|
promise: Promise<{
|
|
34118
34121
|
optionId: bigint;
|
|
34119
34122
|
marketAddr: Address;
|
|
@@ -34199,7 +34202,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34199
34202
|
isRefetching: boolean;
|
|
34200
34203
|
isStale: boolean;
|
|
34201
34204
|
isEnabled: boolean;
|
|
34202
|
-
refetch: (options?:
|
|
34205
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
34203
34206
|
optionId: bigint;
|
|
34204
34207
|
marketAddr: Address;
|
|
34205
34208
|
ownerAddr: Address;
|
|
@@ -34230,7 +34233,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34230
34233
|
address: string;
|
|
34231
34234
|
} | null;
|
|
34232
34235
|
}[], Error>>;
|
|
34233
|
-
fetchStatus:
|
|
34236
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34234
34237
|
promise: Promise<{
|
|
34235
34238
|
optionId: bigint;
|
|
34236
34239
|
marketAddr: Address;
|
|
@@ -34316,7 +34319,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34316
34319
|
isRefetching: boolean;
|
|
34317
34320
|
isStale: boolean;
|
|
34318
34321
|
isEnabled: boolean;
|
|
34319
|
-
refetch: (options?:
|
|
34322
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
34320
34323
|
optionId: bigint;
|
|
34321
34324
|
marketAddr: Address;
|
|
34322
34325
|
ownerAddr: Address;
|
|
@@ -34347,7 +34350,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34347
34350
|
address: string;
|
|
34348
34351
|
} | null;
|
|
34349
34352
|
}[], Error>>;
|
|
34350
|
-
fetchStatus:
|
|
34353
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34351
34354
|
promise: Promise<{
|
|
34352
34355
|
optionId: bigint;
|
|
34353
34356
|
marketAddr: Address;
|
|
@@ -34412,13 +34415,13 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34412
34415
|
}[];
|
|
34413
34416
|
};
|
|
34414
34417
|
//#endregion
|
|
34415
|
-
//#region src/hooks/
|
|
34418
|
+
//#region src/hooks/options/useExerciseOption.d.ts
|
|
34416
34419
|
declare const useExerciseOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
34417
34420
|
option: OptionData;
|
|
34418
34421
|
liquidities: readonly bigint[];
|
|
34419
34422
|
}, unknown>;
|
|
34420
34423
|
//#endregion
|
|
34421
|
-
//#region src/hooks/
|
|
34424
|
+
//#region src/hooks/options/useMarketData.d.ts
|
|
34422
34425
|
declare const useMarketData: (marketAddr?: Address) => Partial<NonUndefinedGuard<{
|
|
34423
34426
|
pool: Address;
|
|
34424
34427
|
vault: Address;
|
|
@@ -34461,14 +34464,14 @@ declare const formatVagueAmount: (value: number | bigint) => string;
|
|
|
34461
34464
|
declare const formatCondensed: (input: string | number, decimals?: number) => string;
|
|
34462
34465
|
declare const formatUSD: (value: Big | string | number) => string;
|
|
34463
34466
|
//#endregion
|
|
34464
|
-
//#region src/hooks/
|
|
34467
|
+
//#region src/hooks/options/useMaxPositionSize.d.ts
|
|
34465
34468
|
declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?: number, maxBorrowableRange?: number) => {
|
|
34466
34469
|
maxCallSize: Amount | undefined;
|
|
34467
34470
|
maxPutSize: Amount | undefined;
|
|
34468
34471
|
refetch: () => void;
|
|
34469
34472
|
};
|
|
34470
34473
|
//#endregion
|
|
34471
|
-
//#region src/hooks/
|
|
34474
|
+
//#region src/hooks/options/useMintOption.d.ts
|
|
34472
34475
|
declare const useMintOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
34473
34476
|
optionType: "CALL" | "PUT";
|
|
34474
34477
|
amount: bigint;
|
|
@@ -34476,13 +34479,13 @@ declare const useMintOption: (marketAddr?: Address) => _tanstack_react_query0.Us
|
|
|
34476
34479
|
strikeTick?: number;
|
|
34477
34480
|
}, unknown>;
|
|
34478
34481
|
//#endregion
|
|
34479
|
-
//#region src/hooks/
|
|
34482
|
+
//#region src/hooks/options/useOptionPnl.d.ts
|
|
34480
34483
|
declare const useOptionPnl: (option: OptionData) => {
|
|
34481
34484
|
unrealizedPayout: Amount | undefined;
|
|
34482
34485
|
displayPnl: Amount | undefined;
|
|
34483
34486
|
};
|
|
34484
34487
|
//#endregion
|
|
34485
|
-
//#region src/hooks/
|
|
34488
|
+
//#region src/hooks/options/useOptionPremium.d.ts
|
|
34486
34489
|
declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "CALL" | "PUT", optionAmount: bigint, addedDuration: number, remainingDuration?: number, strikeTick?: number) => {
|
|
34487
34490
|
premium?: undefined;
|
|
34488
34491
|
protocolFee?: undefined;
|
|
@@ -34493,422 +34496,13 @@ declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "C
|
|
|
34493
34496
|
totalPremium: Amount;
|
|
34494
34497
|
};
|
|
34495
34498
|
//#endregion
|
|
34496
|
-
//#region src/hooks/
|
|
34499
|
+
//#region src/hooks/options/useExtendOption.d.ts
|
|
34497
34500
|
declare const useExtendOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
34498
34501
|
option: OptionData;
|
|
34499
34502
|
duration: number;
|
|
34500
34503
|
}, unknown>;
|
|
34501
34504
|
//#endregion
|
|
34502
|
-
//#region src/hooks/
|
|
34503
|
-
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
34504
|
-
data: {
|
|
34505
|
-
spendingApproval: bigint;
|
|
34506
|
-
operatorAddr: string;
|
|
34507
|
-
__typename: "UserMarketOperator";
|
|
34508
|
-
id: string;
|
|
34509
|
-
canExtend: boolean;
|
|
34510
|
-
canExercise: boolean;
|
|
34511
|
-
canTransfer: boolean;
|
|
34512
|
-
canMint: boolean;
|
|
34513
|
-
operator?: {
|
|
34514
|
-
__typename: "MarketOperator";
|
|
34515
|
-
address: string;
|
|
34516
|
-
} | null;
|
|
34517
|
-
}[];
|
|
34518
|
-
error: Error;
|
|
34519
|
-
isError: true;
|
|
34520
|
-
isPending: false;
|
|
34521
|
-
isLoading: false;
|
|
34522
|
-
isLoadingError: false;
|
|
34523
|
-
isRefetchError: true;
|
|
34524
|
-
isSuccess: false;
|
|
34525
|
-
isPlaceholderData: false;
|
|
34526
|
-
status: "error";
|
|
34527
|
-
dataUpdatedAt: number;
|
|
34528
|
-
errorUpdatedAt: number;
|
|
34529
|
-
failureCount: number;
|
|
34530
|
-
failureReason: Error | null;
|
|
34531
|
-
errorUpdateCount: number;
|
|
34532
|
-
isFetched: boolean;
|
|
34533
|
-
isFetchedAfterMount: boolean;
|
|
34534
|
-
isFetching: boolean;
|
|
34535
|
-
isInitialLoading: boolean;
|
|
34536
|
-
isPaused: boolean;
|
|
34537
|
-
isRefetching: boolean;
|
|
34538
|
-
isStale: boolean;
|
|
34539
|
-
isEnabled: boolean;
|
|
34540
|
-
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
34541
|
-
spendingApproval: bigint;
|
|
34542
|
-
operatorAddr: string;
|
|
34543
|
-
__typename: "UserMarketOperator";
|
|
34544
|
-
id: string;
|
|
34545
|
-
canExtend: boolean;
|
|
34546
|
-
canExercise: boolean;
|
|
34547
|
-
canTransfer: boolean;
|
|
34548
|
-
canMint: boolean;
|
|
34549
|
-
operator?: {
|
|
34550
|
-
__typename: "MarketOperator";
|
|
34551
|
-
address: string;
|
|
34552
|
-
} | null;
|
|
34553
|
-
}[] | undefined, Error>>;
|
|
34554
|
-
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34555
|
-
promise: Promise<{
|
|
34556
|
-
spendingApproval: bigint;
|
|
34557
|
-
operatorAddr: string;
|
|
34558
|
-
__typename: "UserMarketOperator";
|
|
34559
|
-
id: string;
|
|
34560
|
-
canExtend: boolean;
|
|
34561
|
-
canExercise: boolean;
|
|
34562
|
-
canTransfer: boolean;
|
|
34563
|
-
canMint: boolean;
|
|
34564
|
-
operator?: {
|
|
34565
|
-
__typename: "MarketOperator";
|
|
34566
|
-
address: string;
|
|
34567
|
-
} | null;
|
|
34568
|
-
}[] | undefined>;
|
|
34569
|
-
} | {
|
|
34570
|
-
data: {
|
|
34571
|
-
spendingApproval: bigint;
|
|
34572
|
-
operatorAddr: string;
|
|
34573
|
-
__typename: "UserMarketOperator";
|
|
34574
|
-
id: string;
|
|
34575
|
-
canExtend: boolean;
|
|
34576
|
-
canExercise: boolean;
|
|
34577
|
-
canTransfer: boolean;
|
|
34578
|
-
canMint: boolean;
|
|
34579
|
-
operator?: {
|
|
34580
|
-
__typename: "MarketOperator";
|
|
34581
|
-
address: string;
|
|
34582
|
-
} | null;
|
|
34583
|
-
}[];
|
|
34584
|
-
error: null;
|
|
34585
|
-
isError: false;
|
|
34586
|
-
isPending: false;
|
|
34587
|
-
isLoading: false;
|
|
34588
|
-
isLoadingError: false;
|
|
34589
|
-
isRefetchError: false;
|
|
34590
|
-
isSuccess: true;
|
|
34591
|
-
isPlaceholderData: false;
|
|
34592
|
-
status: "success";
|
|
34593
|
-
dataUpdatedAt: number;
|
|
34594
|
-
errorUpdatedAt: number;
|
|
34595
|
-
failureCount: number;
|
|
34596
|
-
failureReason: Error | null;
|
|
34597
|
-
errorUpdateCount: number;
|
|
34598
|
-
isFetched: boolean;
|
|
34599
|
-
isFetchedAfterMount: boolean;
|
|
34600
|
-
isFetching: boolean;
|
|
34601
|
-
isInitialLoading: boolean;
|
|
34602
|
-
isPaused: boolean;
|
|
34603
|
-
isRefetching: boolean;
|
|
34604
|
-
isStale: boolean;
|
|
34605
|
-
isEnabled: boolean;
|
|
34606
|
-
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
34607
|
-
spendingApproval: bigint;
|
|
34608
|
-
operatorAddr: string;
|
|
34609
|
-
__typename: "UserMarketOperator";
|
|
34610
|
-
id: string;
|
|
34611
|
-
canExtend: boolean;
|
|
34612
|
-
canExercise: boolean;
|
|
34613
|
-
canTransfer: boolean;
|
|
34614
|
-
canMint: boolean;
|
|
34615
|
-
operator?: {
|
|
34616
|
-
__typename: "MarketOperator";
|
|
34617
|
-
address: string;
|
|
34618
|
-
} | null;
|
|
34619
|
-
}[] | undefined, Error>>;
|
|
34620
|
-
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34621
|
-
promise: Promise<{
|
|
34622
|
-
spendingApproval: bigint;
|
|
34623
|
-
operatorAddr: string;
|
|
34624
|
-
__typename: "UserMarketOperator";
|
|
34625
|
-
id: string;
|
|
34626
|
-
canExtend: boolean;
|
|
34627
|
-
canExercise: boolean;
|
|
34628
|
-
canTransfer: boolean;
|
|
34629
|
-
canMint: boolean;
|
|
34630
|
-
operator?: {
|
|
34631
|
-
__typename: "MarketOperator";
|
|
34632
|
-
address: string;
|
|
34633
|
-
} | null;
|
|
34634
|
-
}[] | undefined>;
|
|
34635
|
-
} | {
|
|
34636
|
-
data: {
|
|
34637
|
-
spendingApproval: bigint;
|
|
34638
|
-
operatorAddr: string;
|
|
34639
|
-
__typename: "UserMarketOperator";
|
|
34640
|
-
id: string;
|
|
34641
|
-
canExtend: boolean;
|
|
34642
|
-
canExercise: boolean;
|
|
34643
|
-
canTransfer: boolean;
|
|
34644
|
-
canMint: boolean;
|
|
34645
|
-
operator?: {
|
|
34646
|
-
__typename: "MarketOperator";
|
|
34647
|
-
address: string;
|
|
34648
|
-
} | null;
|
|
34649
|
-
}[];
|
|
34650
|
-
error: Error;
|
|
34651
|
-
isError: true;
|
|
34652
|
-
isPending: false;
|
|
34653
|
-
isLoading: false;
|
|
34654
|
-
isLoadingError: true;
|
|
34655
|
-
isRefetchError: false;
|
|
34656
|
-
isSuccess: false;
|
|
34657
|
-
isPlaceholderData: false;
|
|
34658
|
-
status: "error";
|
|
34659
|
-
dataUpdatedAt: number;
|
|
34660
|
-
errorUpdatedAt: number;
|
|
34661
|
-
failureCount: number;
|
|
34662
|
-
failureReason: Error | null;
|
|
34663
|
-
errorUpdateCount: number;
|
|
34664
|
-
isFetched: boolean;
|
|
34665
|
-
isFetchedAfterMount: boolean;
|
|
34666
|
-
isFetching: boolean;
|
|
34667
|
-
isInitialLoading: boolean;
|
|
34668
|
-
isPaused: boolean;
|
|
34669
|
-
isRefetching: boolean;
|
|
34670
|
-
isStale: boolean;
|
|
34671
|
-
isEnabled: boolean;
|
|
34672
|
-
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
34673
|
-
spendingApproval: bigint;
|
|
34674
|
-
operatorAddr: string;
|
|
34675
|
-
__typename: "UserMarketOperator";
|
|
34676
|
-
id: string;
|
|
34677
|
-
canExtend: boolean;
|
|
34678
|
-
canExercise: boolean;
|
|
34679
|
-
canTransfer: boolean;
|
|
34680
|
-
canMint: boolean;
|
|
34681
|
-
operator?: {
|
|
34682
|
-
__typename: "MarketOperator";
|
|
34683
|
-
address: string;
|
|
34684
|
-
} | null;
|
|
34685
|
-
}[] | undefined, Error>>;
|
|
34686
|
-
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34687
|
-
promise: Promise<{
|
|
34688
|
-
spendingApproval: bigint;
|
|
34689
|
-
operatorAddr: string;
|
|
34690
|
-
__typename: "UserMarketOperator";
|
|
34691
|
-
id: string;
|
|
34692
|
-
canExtend: boolean;
|
|
34693
|
-
canExercise: boolean;
|
|
34694
|
-
canTransfer: boolean;
|
|
34695
|
-
canMint: boolean;
|
|
34696
|
-
operator?: {
|
|
34697
|
-
__typename: "MarketOperator";
|
|
34698
|
-
address: string;
|
|
34699
|
-
} | null;
|
|
34700
|
-
}[] | undefined>;
|
|
34701
|
-
} | {
|
|
34702
|
-
data: {
|
|
34703
|
-
spendingApproval: bigint;
|
|
34704
|
-
operatorAddr: string;
|
|
34705
|
-
__typename: "UserMarketOperator";
|
|
34706
|
-
id: string;
|
|
34707
|
-
canExtend: boolean;
|
|
34708
|
-
canExercise: boolean;
|
|
34709
|
-
canTransfer: boolean;
|
|
34710
|
-
canMint: boolean;
|
|
34711
|
-
operator?: {
|
|
34712
|
-
__typename: "MarketOperator";
|
|
34713
|
-
address: string;
|
|
34714
|
-
} | null;
|
|
34715
|
-
}[];
|
|
34716
|
-
error: null;
|
|
34717
|
-
isError: false;
|
|
34718
|
-
isPending: true;
|
|
34719
|
-
isLoading: true;
|
|
34720
|
-
isLoadingError: false;
|
|
34721
|
-
isRefetchError: false;
|
|
34722
|
-
isSuccess: false;
|
|
34723
|
-
isPlaceholderData: false;
|
|
34724
|
-
status: "pending";
|
|
34725
|
-
dataUpdatedAt: number;
|
|
34726
|
-
errorUpdatedAt: number;
|
|
34727
|
-
failureCount: number;
|
|
34728
|
-
failureReason: Error | null;
|
|
34729
|
-
errorUpdateCount: number;
|
|
34730
|
-
isFetched: boolean;
|
|
34731
|
-
isFetchedAfterMount: boolean;
|
|
34732
|
-
isFetching: boolean;
|
|
34733
|
-
isInitialLoading: boolean;
|
|
34734
|
-
isPaused: boolean;
|
|
34735
|
-
isRefetching: boolean;
|
|
34736
|
-
isStale: boolean;
|
|
34737
|
-
isEnabled: boolean;
|
|
34738
|
-
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
34739
|
-
spendingApproval: bigint;
|
|
34740
|
-
operatorAddr: string;
|
|
34741
|
-
__typename: "UserMarketOperator";
|
|
34742
|
-
id: string;
|
|
34743
|
-
canExtend: boolean;
|
|
34744
|
-
canExercise: boolean;
|
|
34745
|
-
canTransfer: boolean;
|
|
34746
|
-
canMint: boolean;
|
|
34747
|
-
operator?: {
|
|
34748
|
-
__typename: "MarketOperator";
|
|
34749
|
-
address: string;
|
|
34750
|
-
} | null;
|
|
34751
|
-
}[] | undefined, Error>>;
|
|
34752
|
-
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34753
|
-
promise: Promise<{
|
|
34754
|
-
spendingApproval: bigint;
|
|
34755
|
-
operatorAddr: string;
|
|
34756
|
-
__typename: "UserMarketOperator";
|
|
34757
|
-
id: string;
|
|
34758
|
-
canExtend: boolean;
|
|
34759
|
-
canExercise: boolean;
|
|
34760
|
-
canTransfer: boolean;
|
|
34761
|
-
canMint: boolean;
|
|
34762
|
-
operator?: {
|
|
34763
|
-
__typename: "MarketOperator";
|
|
34764
|
-
address: string;
|
|
34765
|
-
} | null;
|
|
34766
|
-
}[] | undefined>;
|
|
34767
|
-
} | {
|
|
34768
|
-
data: {
|
|
34769
|
-
spendingApproval: bigint;
|
|
34770
|
-
operatorAddr: string;
|
|
34771
|
-
__typename: "UserMarketOperator";
|
|
34772
|
-
id: string;
|
|
34773
|
-
canExtend: boolean;
|
|
34774
|
-
canExercise: boolean;
|
|
34775
|
-
canTransfer: boolean;
|
|
34776
|
-
canMint: boolean;
|
|
34777
|
-
operator?: {
|
|
34778
|
-
__typename: "MarketOperator";
|
|
34779
|
-
address: string;
|
|
34780
|
-
} | null;
|
|
34781
|
-
}[];
|
|
34782
|
-
error: null;
|
|
34783
|
-
isError: false;
|
|
34784
|
-
isPending: true;
|
|
34785
|
-
isLoadingError: false;
|
|
34786
|
-
isRefetchError: false;
|
|
34787
|
-
isSuccess: false;
|
|
34788
|
-
isPlaceholderData: false;
|
|
34789
|
-
status: "pending";
|
|
34790
|
-
dataUpdatedAt: number;
|
|
34791
|
-
errorUpdatedAt: number;
|
|
34792
|
-
failureCount: number;
|
|
34793
|
-
failureReason: Error | null;
|
|
34794
|
-
errorUpdateCount: number;
|
|
34795
|
-
isFetched: boolean;
|
|
34796
|
-
isFetchedAfterMount: boolean;
|
|
34797
|
-
isFetching: boolean;
|
|
34798
|
-
isLoading: boolean;
|
|
34799
|
-
isInitialLoading: boolean;
|
|
34800
|
-
isPaused: boolean;
|
|
34801
|
-
isRefetching: boolean;
|
|
34802
|
-
isStale: boolean;
|
|
34803
|
-
isEnabled: boolean;
|
|
34804
|
-
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
34805
|
-
spendingApproval: bigint;
|
|
34806
|
-
operatorAddr: string;
|
|
34807
|
-
__typename: "UserMarketOperator";
|
|
34808
|
-
id: string;
|
|
34809
|
-
canExtend: boolean;
|
|
34810
|
-
canExercise: boolean;
|
|
34811
|
-
canTransfer: boolean;
|
|
34812
|
-
canMint: boolean;
|
|
34813
|
-
operator?: {
|
|
34814
|
-
__typename: "MarketOperator";
|
|
34815
|
-
address: string;
|
|
34816
|
-
} | null;
|
|
34817
|
-
}[] | undefined, Error>>;
|
|
34818
|
-
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34819
|
-
promise: Promise<{
|
|
34820
|
-
spendingApproval: bigint;
|
|
34821
|
-
operatorAddr: string;
|
|
34822
|
-
__typename: "UserMarketOperator";
|
|
34823
|
-
id: string;
|
|
34824
|
-
canExtend: boolean;
|
|
34825
|
-
canExercise: boolean;
|
|
34826
|
-
canTransfer: boolean;
|
|
34827
|
-
canMint: boolean;
|
|
34828
|
-
operator?: {
|
|
34829
|
-
__typename: "MarketOperator";
|
|
34830
|
-
address: string;
|
|
34831
|
-
} | null;
|
|
34832
|
-
}[] | undefined>;
|
|
34833
|
-
} | {
|
|
34834
|
-
data: {
|
|
34835
|
-
spendingApproval: bigint;
|
|
34836
|
-
operatorAddr: string;
|
|
34837
|
-
__typename: "UserMarketOperator";
|
|
34838
|
-
id: string;
|
|
34839
|
-
canExtend: boolean;
|
|
34840
|
-
canExercise: boolean;
|
|
34841
|
-
canTransfer: boolean;
|
|
34842
|
-
canMint: boolean;
|
|
34843
|
-
operator?: {
|
|
34844
|
-
__typename: "MarketOperator";
|
|
34845
|
-
address: string;
|
|
34846
|
-
} | null;
|
|
34847
|
-
}[];
|
|
34848
|
-
isError: false;
|
|
34849
|
-
error: null;
|
|
34850
|
-
isPending: false;
|
|
34851
|
-
isLoading: false;
|
|
34852
|
-
isLoadingError: false;
|
|
34853
|
-
isRefetchError: false;
|
|
34854
|
-
isSuccess: true;
|
|
34855
|
-
isPlaceholderData: true;
|
|
34856
|
-
status: "success";
|
|
34857
|
-
dataUpdatedAt: number;
|
|
34858
|
-
errorUpdatedAt: number;
|
|
34859
|
-
failureCount: number;
|
|
34860
|
-
failureReason: Error | null;
|
|
34861
|
-
errorUpdateCount: number;
|
|
34862
|
-
isFetched: boolean;
|
|
34863
|
-
isFetchedAfterMount: boolean;
|
|
34864
|
-
isFetching: boolean;
|
|
34865
|
-
isInitialLoading: boolean;
|
|
34866
|
-
isPaused: boolean;
|
|
34867
|
-
isRefetching: boolean;
|
|
34868
|
-
isStale: boolean;
|
|
34869
|
-
isEnabled: boolean;
|
|
34870
|
-
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
34871
|
-
spendingApproval: bigint;
|
|
34872
|
-
operatorAddr: string;
|
|
34873
|
-
__typename: "UserMarketOperator";
|
|
34874
|
-
id: string;
|
|
34875
|
-
canExtend: boolean;
|
|
34876
|
-
canExercise: boolean;
|
|
34877
|
-
canTransfer: boolean;
|
|
34878
|
-
canMint: boolean;
|
|
34879
|
-
operator?: {
|
|
34880
|
-
__typename: "MarketOperator";
|
|
34881
|
-
address: string;
|
|
34882
|
-
} | null;
|
|
34883
|
-
}[] | undefined, Error>>;
|
|
34884
|
-
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34885
|
-
promise: Promise<{
|
|
34886
|
-
spendingApproval: bigint;
|
|
34887
|
-
operatorAddr: string;
|
|
34888
|
-
__typename: "UserMarketOperator";
|
|
34889
|
-
id: string;
|
|
34890
|
-
canExtend: boolean;
|
|
34891
|
-
canExercise: boolean;
|
|
34892
|
-
canTransfer: boolean;
|
|
34893
|
-
canMint: boolean;
|
|
34894
|
-
operator?: {
|
|
34895
|
-
__typename: "MarketOperator";
|
|
34896
|
-
address: string;
|
|
34897
|
-
} | null;
|
|
34898
|
-
}[] | undefined>;
|
|
34899
|
-
};
|
|
34900
|
-
//#endregion
|
|
34901
|
-
//#region src/hooks/market/useSetOperatorPerms.d.ts
|
|
34902
|
-
declare const useSetOperatorPerms: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
34903
|
-
operator: Address;
|
|
34904
|
-
canExtend: boolean;
|
|
34905
|
-
canExercise: boolean;
|
|
34906
|
-
canTransfer: boolean;
|
|
34907
|
-
canMint: boolean;
|
|
34908
|
-
spendingApproval: bigint;
|
|
34909
|
-
}, unknown>;
|
|
34910
|
-
//#endregion
|
|
34911
|
-
//#region src/hooks/market/useOptionTimeline.d.ts
|
|
34505
|
+
//#region src/hooks/options/useOptionTimeline.d.ts
|
|
34912
34506
|
type OptionTimelineData = ReturnType<typeof useOptionTimeline>['data'];
|
|
34913
34507
|
declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
34914
34508
|
error: Error;
|
|
@@ -34933,7 +34527,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34933
34527
|
isRefetching: boolean;
|
|
34934
34528
|
isStale: boolean;
|
|
34935
34529
|
isEnabled: boolean;
|
|
34936
|
-
refetch: (options?:
|
|
34530
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
34937
34531
|
type: "mint";
|
|
34938
34532
|
data: {
|
|
34939
34533
|
id: string;
|
|
@@ -34972,7 +34566,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34972
34566
|
transactionHash: string;
|
|
34973
34567
|
};
|
|
34974
34568
|
})[], Error>>;
|
|
34975
|
-
fetchStatus:
|
|
34569
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34976
34570
|
promise: Promise<({
|
|
34977
34571
|
type: "mint";
|
|
34978
34572
|
data: {
|
|
@@ -35074,7 +34668,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35074
34668
|
isRefetching: boolean;
|
|
35075
34669
|
isStale: boolean;
|
|
35076
34670
|
isEnabled: boolean;
|
|
35077
|
-
refetch: (options?:
|
|
34671
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
35078
34672
|
type: "mint";
|
|
35079
34673
|
data: {
|
|
35080
34674
|
id: string;
|
|
@@ -35113,7 +34707,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35113
34707
|
transactionHash: string;
|
|
35114
34708
|
};
|
|
35115
34709
|
})[], Error>>;
|
|
35116
|
-
fetchStatus:
|
|
34710
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35117
34711
|
promise: Promise<({
|
|
35118
34712
|
type: "mint";
|
|
35119
34713
|
data: {
|
|
@@ -35215,7 +34809,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35215
34809
|
isRefetching: boolean;
|
|
35216
34810
|
isStale: boolean;
|
|
35217
34811
|
isEnabled: boolean;
|
|
35218
|
-
refetch: (options?:
|
|
34812
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
35219
34813
|
type: "mint";
|
|
35220
34814
|
data: {
|
|
35221
34815
|
id: string;
|
|
@@ -35254,7 +34848,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35254
34848
|
transactionHash: string;
|
|
35255
34849
|
};
|
|
35256
34850
|
})[], Error>>;
|
|
35257
|
-
fetchStatus:
|
|
34851
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35258
34852
|
promise: Promise<({
|
|
35259
34853
|
type: "mint";
|
|
35260
34854
|
data: {
|
|
@@ -35356,7 +34950,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35356
34950
|
isRefetching: boolean;
|
|
35357
34951
|
isStale: boolean;
|
|
35358
34952
|
isEnabled: boolean;
|
|
35359
|
-
refetch: (options?:
|
|
34953
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
35360
34954
|
type: "mint";
|
|
35361
34955
|
data: {
|
|
35362
34956
|
id: string;
|
|
@@ -35395,7 +34989,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35395
34989
|
transactionHash: string;
|
|
35396
34990
|
};
|
|
35397
34991
|
})[], Error>>;
|
|
35398
|
-
fetchStatus:
|
|
34992
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35399
34993
|
promise: Promise<({
|
|
35400
34994
|
type: "mint";
|
|
35401
34995
|
data: {
|
|
@@ -35497,7 +35091,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35497
35091
|
isRefetching: boolean;
|
|
35498
35092
|
isStale: boolean;
|
|
35499
35093
|
isEnabled: boolean;
|
|
35500
|
-
refetch: (options?:
|
|
35094
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
35501
35095
|
type: "mint";
|
|
35502
35096
|
data: {
|
|
35503
35097
|
id: string;
|
|
@@ -35536,7 +35130,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35536
35130
|
transactionHash: string;
|
|
35537
35131
|
};
|
|
35538
35132
|
})[], Error>>;
|
|
35539
|
-
fetchStatus:
|
|
35133
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35540
35134
|
promise: Promise<({
|
|
35541
35135
|
type: "mint";
|
|
35542
35136
|
data: {
|
|
@@ -35638,7 +35232,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35638
35232
|
isRefetching: boolean;
|
|
35639
35233
|
isStale: boolean;
|
|
35640
35234
|
isEnabled: boolean;
|
|
35641
|
-
refetch: (options?:
|
|
35235
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
35642
35236
|
type: "mint";
|
|
35643
35237
|
data: {
|
|
35644
35238
|
id: string;
|
|
@@ -35677,7 +35271,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35677
35271
|
transactionHash: string;
|
|
35678
35272
|
};
|
|
35679
35273
|
})[], Error>>;
|
|
35680
|
-
fetchStatus:
|
|
35274
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35681
35275
|
promise: Promise<({
|
|
35682
35276
|
type: "mint";
|
|
35683
35277
|
data: {
|
|
@@ -35758,6 +35352,474 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35758
35352
|
})[];
|
|
35759
35353
|
};
|
|
35760
35354
|
//#endregion
|
|
35355
|
+
//#region src/hooks/perps/useMintPerp.d.ts
|
|
35356
|
+
declare const useMintPerp: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<void, Error, {
|
|
35357
|
+
optionType: "CALL" | "PUT";
|
|
35358
|
+
amount: bigint;
|
|
35359
|
+
duration: number;
|
|
35360
|
+
strikeTick?: number;
|
|
35361
|
+
}, unknown>;
|
|
35362
|
+
//#endregion
|
|
35363
|
+
//#region src/lib/perpsOperator.d.ts
|
|
35364
|
+
type MintPerpBody = {
|
|
35365
|
+
marketAddr: Address;
|
|
35366
|
+
userAddr: Address;
|
|
35367
|
+
optionType: 'CALL' | 'PUT';
|
|
35368
|
+
amount: bigint;
|
|
35369
|
+
duration: number;
|
|
35370
|
+
strikeTick: number;
|
|
35371
|
+
};
|
|
35372
|
+
type ExercisePerpBody = {
|
|
35373
|
+
userAddr: Address;
|
|
35374
|
+
marketAddr: Address;
|
|
35375
|
+
optionId: bigint;
|
|
35376
|
+
liquidities: bigint[];
|
|
35377
|
+
};
|
|
35378
|
+
declare class PerpsOperator {
|
|
35379
|
+
#private;
|
|
35380
|
+
private baseUrl;
|
|
35381
|
+
constructor(baseUrl: string);
|
|
35382
|
+
getOperatorAddr(): Promise<Address>;
|
|
35383
|
+
getUserPerps(userAddr: Address, marketAddr?: Address, type?: 'active' | 'closed', offset?: number, limit?: number): Promise<{
|
|
35384
|
+
optionId: bigint;
|
|
35385
|
+
id: string;
|
|
35386
|
+
ownerAddr: Address;
|
|
35387
|
+
marketAddr: Address;
|
|
35388
|
+
perpDuration: number;
|
|
35389
|
+
expiresAt: number;
|
|
35390
|
+
closed: boolean;
|
|
35391
|
+
}[]>;
|
|
35392
|
+
mintPerp(body: MintPerpBody): Promise<{
|
|
35393
|
+
txHash: string;
|
|
35394
|
+
optionId: bigint;
|
|
35395
|
+
}>;
|
|
35396
|
+
exercisePerp(body: ExercisePerpBody): Promise<{
|
|
35397
|
+
txHash: string;
|
|
35398
|
+
optionId: bigint;
|
|
35399
|
+
}>;
|
|
35400
|
+
}
|
|
35401
|
+
//#endregion
|
|
35402
|
+
//#region src/hooks/perps/useClosePerp.d.ts
|
|
35403
|
+
declare const useClosePerp: () => _tanstack_react_query0.UseMutationResult<{
|
|
35404
|
+
txHash: string;
|
|
35405
|
+
optionId: bigint;
|
|
35406
|
+
}, Error, ExercisePerpBody, unknown>;
|
|
35407
|
+
//#endregion
|
|
35408
|
+
//#region src/hooks/perps/usePerpsOperator.d.ts
|
|
35409
|
+
declare const usePerpsOperator: () => {
|
|
35410
|
+
operator: PerpsOperator | undefined;
|
|
35411
|
+
address: `0x${string}` | undefined;
|
|
35412
|
+
};
|
|
35413
|
+
//#endregion
|
|
35414
|
+
//#region src/hooks/operators/useUserOperators.d.ts
|
|
35415
|
+
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
35416
|
+
data: {
|
|
35417
|
+
spendingApproval: bigint;
|
|
35418
|
+
operatorAddr: string;
|
|
35419
|
+
__typename: "UserMarketOperator";
|
|
35420
|
+
id: string;
|
|
35421
|
+
canExtend: boolean;
|
|
35422
|
+
canExercise: boolean;
|
|
35423
|
+
canTransfer: boolean;
|
|
35424
|
+
canMint: boolean;
|
|
35425
|
+
operator?: {
|
|
35426
|
+
__typename: "MarketOperator";
|
|
35427
|
+
address: string;
|
|
35428
|
+
} | null;
|
|
35429
|
+
}[];
|
|
35430
|
+
error: Error;
|
|
35431
|
+
isError: true;
|
|
35432
|
+
isPending: false;
|
|
35433
|
+
isLoading: false;
|
|
35434
|
+
isLoadingError: false;
|
|
35435
|
+
isRefetchError: true;
|
|
35436
|
+
isSuccess: false;
|
|
35437
|
+
isPlaceholderData: false;
|
|
35438
|
+
status: "error";
|
|
35439
|
+
dataUpdatedAt: number;
|
|
35440
|
+
errorUpdatedAt: number;
|
|
35441
|
+
failureCount: number;
|
|
35442
|
+
failureReason: Error | null;
|
|
35443
|
+
errorUpdateCount: number;
|
|
35444
|
+
isFetched: boolean;
|
|
35445
|
+
isFetchedAfterMount: boolean;
|
|
35446
|
+
isFetching: boolean;
|
|
35447
|
+
isInitialLoading: boolean;
|
|
35448
|
+
isPaused: boolean;
|
|
35449
|
+
isRefetching: boolean;
|
|
35450
|
+
isStale: boolean;
|
|
35451
|
+
isEnabled: boolean;
|
|
35452
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35453
|
+
spendingApproval: bigint;
|
|
35454
|
+
operatorAddr: string;
|
|
35455
|
+
__typename: "UserMarketOperator";
|
|
35456
|
+
id: string;
|
|
35457
|
+
canExtend: boolean;
|
|
35458
|
+
canExercise: boolean;
|
|
35459
|
+
canTransfer: boolean;
|
|
35460
|
+
canMint: boolean;
|
|
35461
|
+
operator?: {
|
|
35462
|
+
__typename: "MarketOperator";
|
|
35463
|
+
address: string;
|
|
35464
|
+
} | null;
|
|
35465
|
+
}[] | undefined, Error>>;
|
|
35466
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35467
|
+
promise: Promise<{
|
|
35468
|
+
spendingApproval: bigint;
|
|
35469
|
+
operatorAddr: string;
|
|
35470
|
+
__typename: "UserMarketOperator";
|
|
35471
|
+
id: string;
|
|
35472
|
+
canExtend: boolean;
|
|
35473
|
+
canExercise: boolean;
|
|
35474
|
+
canTransfer: boolean;
|
|
35475
|
+
canMint: boolean;
|
|
35476
|
+
operator?: {
|
|
35477
|
+
__typename: "MarketOperator";
|
|
35478
|
+
address: string;
|
|
35479
|
+
} | null;
|
|
35480
|
+
}[] | undefined>;
|
|
35481
|
+
} | {
|
|
35482
|
+
data: {
|
|
35483
|
+
spendingApproval: bigint;
|
|
35484
|
+
operatorAddr: string;
|
|
35485
|
+
__typename: "UserMarketOperator";
|
|
35486
|
+
id: string;
|
|
35487
|
+
canExtend: boolean;
|
|
35488
|
+
canExercise: boolean;
|
|
35489
|
+
canTransfer: boolean;
|
|
35490
|
+
canMint: boolean;
|
|
35491
|
+
operator?: {
|
|
35492
|
+
__typename: "MarketOperator";
|
|
35493
|
+
address: string;
|
|
35494
|
+
} | null;
|
|
35495
|
+
}[];
|
|
35496
|
+
error: null;
|
|
35497
|
+
isError: false;
|
|
35498
|
+
isPending: false;
|
|
35499
|
+
isLoading: false;
|
|
35500
|
+
isLoadingError: false;
|
|
35501
|
+
isRefetchError: false;
|
|
35502
|
+
isSuccess: true;
|
|
35503
|
+
isPlaceholderData: false;
|
|
35504
|
+
status: "success";
|
|
35505
|
+
dataUpdatedAt: number;
|
|
35506
|
+
errorUpdatedAt: number;
|
|
35507
|
+
failureCount: number;
|
|
35508
|
+
failureReason: Error | null;
|
|
35509
|
+
errorUpdateCount: number;
|
|
35510
|
+
isFetched: boolean;
|
|
35511
|
+
isFetchedAfterMount: boolean;
|
|
35512
|
+
isFetching: boolean;
|
|
35513
|
+
isInitialLoading: boolean;
|
|
35514
|
+
isPaused: boolean;
|
|
35515
|
+
isRefetching: boolean;
|
|
35516
|
+
isStale: boolean;
|
|
35517
|
+
isEnabled: boolean;
|
|
35518
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35519
|
+
spendingApproval: bigint;
|
|
35520
|
+
operatorAddr: string;
|
|
35521
|
+
__typename: "UserMarketOperator";
|
|
35522
|
+
id: string;
|
|
35523
|
+
canExtend: boolean;
|
|
35524
|
+
canExercise: boolean;
|
|
35525
|
+
canTransfer: boolean;
|
|
35526
|
+
canMint: boolean;
|
|
35527
|
+
operator?: {
|
|
35528
|
+
__typename: "MarketOperator";
|
|
35529
|
+
address: string;
|
|
35530
|
+
} | null;
|
|
35531
|
+
}[] | undefined, Error>>;
|
|
35532
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35533
|
+
promise: Promise<{
|
|
35534
|
+
spendingApproval: bigint;
|
|
35535
|
+
operatorAddr: string;
|
|
35536
|
+
__typename: "UserMarketOperator";
|
|
35537
|
+
id: string;
|
|
35538
|
+
canExtend: boolean;
|
|
35539
|
+
canExercise: boolean;
|
|
35540
|
+
canTransfer: boolean;
|
|
35541
|
+
canMint: boolean;
|
|
35542
|
+
operator?: {
|
|
35543
|
+
__typename: "MarketOperator";
|
|
35544
|
+
address: string;
|
|
35545
|
+
} | null;
|
|
35546
|
+
}[] | undefined>;
|
|
35547
|
+
} | {
|
|
35548
|
+
data: {
|
|
35549
|
+
spendingApproval: bigint;
|
|
35550
|
+
operatorAddr: string;
|
|
35551
|
+
__typename: "UserMarketOperator";
|
|
35552
|
+
id: string;
|
|
35553
|
+
canExtend: boolean;
|
|
35554
|
+
canExercise: boolean;
|
|
35555
|
+
canTransfer: boolean;
|
|
35556
|
+
canMint: boolean;
|
|
35557
|
+
operator?: {
|
|
35558
|
+
__typename: "MarketOperator";
|
|
35559
|
+
address: string;
|
|
35560
|
+
} | null;
|
|
35561
|
+
}[];
|
|
35562
|
+
error: Error;
|
|
35563
|
+
isError: true;
|
|
35564
|
+
isPending: false;
|
|
35565
|
+
isLoading: false;
|
|
35566
|
+
isLoadingError: true;
|
|
35567
|
+
isRefetchError: false;
|
|
35568
|
+
isSuccess: false;
|
|
35569
|
+
isPlaceholderData: false;
|
|
35570
|
+
status: "error";
|
|
35571
|
+
dataUpdatedAt: number;
|
|
35572
|
+
errorUpdatedAt: number;
|
|
35573
|
+
failureCount: number;
|
|
35574
|
+
failureReason: Error | null;
|
|
35575
|
+
errorUpdateCount: number;
|
|
35576
|
+
isFetched: boolean;
|
|
35577
|
+
isFetchedAfterMount: boolean;
|
|
35578
|
+
isFetching: boolean;
|
|
35579
|
+
isInitialLoading: boolean;
|
|
35580
|
+
isPaused: boolean;
|
|
35581
|
+
isRefetching: boolean;
|
|
35582
|
+
isStale: boolean;
|
|
35583
|
+
isEnabled: boolean;
|
|
35584
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35585
|
+
spendingApproval: bigint;
|
|
35586
|
+
operatorAddr: string;
|
|
35587
|
+
__typename: "UserMarketOperator";
|
|
35588
|
+
id: string;
|
|
35589
|
+
canExtend: boolean;
|
|
35590
|
+
canExercise: boolean;
|
|
35591
|
+
canTransfer: boolean;
|
|
35592
|
+
canMint: boolean;
|
|
35593
|
+
operator?: {
|
|
35594
|
+
__typename: "MarketOperator";
|
|
35595
|
+
address: string;
|
|
35596
|
+
} | null;
|
|
35597
|
+
}[] | undefined, Error>>;
|
|
35598
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35599
|
+
promise: Promise<{
|
|
35600
|
+
spendingApproval: bigint;
|
|
35601
|
+
operatorAddr: string;
|
|
35602
|
+
__typename: "UserMarketOperator";
|
|
35603
|
+
id: string;
|
|
35604
|
+
canExtend: boolean;
|
|
35605
|
+
canExercise: boolean;
|
|
35606
|
+
canTransfer: boolean;
|
|
35607
|
+
canMint: boolean;
|
|
35608
|
+
operator?: {
|
|
35609
|
+
__typename: "MarketOperator";
|
|
35610
|
+
address: string;
|
|
35611
|
+
} | null;
|
|
35612
|
+
}[] | undefined>;
|
|
35613
|
+
} | {
|
|
35614
|
+
data: {
|
|
35615
|
+
spendingApproval: bigint;
|
|
35616
|
+
operatorAddr: string;
|
|
35617
|
+
__typename: "UserMarketOperator";
|
|
35618
|
+
id: string;
|
|
35619
|
+
canExtend: boolean;
|
|
35620
|
+
canExercise: boolean;
|
|
35621
|
+
canTransfer: boolean;
|
|
35622
|
+
canMint: boolean;
|
|
35623
|
+
operator?: {
|
|
35624
|
+
__typename: "MarketOperator";
|
|
35625
|
+
address: string;
|
|
35626
|
+
} | null;
|
|
35627
|
+
}[];
|
|
35628
|
+
error: null;
|
|
35629
|
+
isError: false;
|
|
35630
|
+
isPending: true;
|
|
35631
|
+
isLoading: true;
|
|
35632
|
+
isLoadingError: false;
|
|
35633
|
+
isRefetchError: false;
|
|
35634
|
+
isSuccess: false;
|
|
35635
|
+
isPlaceholderData: false;
|
|
35636
|
+
status: "pending";
|
|
35637
|
+
dataUpdatedAt: number;
|
|
35638
|
+
errorUpdatedAt: number;
|
|
35639
|
+
failureCount: number;
|
|
35640
|
+
failureReason: Error | null;
|
|
35641
|
+
errorUpdateCount: number;
|
|
35642
|
+
isFetched: boolean;
|
|
35643
|
+
isFetchedAfterMount: boolean;
|
|
35644
|
+
isFetching: boolean;
|
|
35645
|
+
isInitialLoading: boolean;
|
|
35646
|
+
isPaused: boolean;
|
|
35647
|
+
isRefetching: boolean;
|
|
35648
|
+
isStale: boolean;
|
|
35649
|
+
isEnabled: boolean;
|
|
35650
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35651
|
+
spendingApproval: bigint;
|
|
35652
|
+
operatorAddr: string;
|
|
35653
|
+
__typename: "UserMarketOperator";
|
|
35654
|
+
id: string;
|
|
35655
|
+
canExtend: boolean;
|
|
35656
|
+
canExercise: boolean;
|
|
35657
|
+
canTransfer: boolean;
|
|
35658
|
+
canMint: boolean;
|
|
35659
|
+
operator?: {
|
|
35660
|
+
__typename: "MarketOperator";
|
|
35661
|
+
address: string;
|
|
35662
|
+
} | null;
|
|
35663
|
+
}[] | undefined, Error>>;
|
|
35664
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35665
|
+
promise: Promise<{
|
|
35666
|
+
spendingApproval: bigint;
|
|
35667
|
+
operatorAddr: string;
|
|
35668
|
+
__typename: "UserMarketOperator";
|
|
35669
|
+
id: string;
|
|
35670
|
+
canExtend: boolean;
|
|
35671
|
+
canExercise: boolean;
|
|
35672
|
+
canTransfer: boolean;
|
|
35673
|
+
canMint: boolean;
|
|
35674
|
+
operator?: {
|
|
35675
|
+
__typename: "MarketOperator";
|
|
35676
|
+
address: string;
|
|
35677
|
+
} | null;
|
|
35678
|
+
}[] | undefined>;
|
|
35679
|
+
} | {
|
|
35680
|
+
data: {
|
|
35681
|
+
spendingApproval: bigint;
|
|
35682
|
+
operatorAddr: string;
|
|
35683
|
+
__typename: "UserMarketOperator";
|
|
35684
|
+
id: string;
|
|
35685
|
+
canExtend: boolean;
|
|
35686
|
+
canExercise: boolean;
|
|
35687
|
+
canTransfer: boolean;
|
|
35688
|
+
canMint: boolean;
|
|
35689
|
+
operator?: {
|
|
35690
|
+
__typename: "MarketOperator";
|
|
35691
|
+
address: string;
|
|
35692
|
+
} | null;
|
|
35693
|
+
}[];
|
|
35694
|
+
error: null;
|
|
35695
|
+
isError: false;
|
|
35696
|
+
isPending: true;
|
|
35697
|
+
isLoadingError: false;
|
|
35698
|
+
isRefetchError: false;
|
|
35699
|
+
isSuccess: false;
|
|
35700
|
+
isPlaceholderData: false;
|
|
35701
|
+
status: "pending";
|
|
35702
|
+
dataUpdatedAt: number;
|
|
35703
|
+
errorUpdatedAt: number;
|
|
35704
|
+
failureCount: number;
|
|
35705
|
+
failureReason: Error | null;
|
|
35706
|
+
errorUpdateCount: number;
|
|
35707
|
+
isFetched: boolean;
|
|
35708
|
+
isFetchedAfterMount: boolean;
|
|
35709
|
+
isFetching: boolean;
|
|
35710
|
+
isLoading: boolean;
|
|
35711
|
+
isInitialLoading: boolean;
|
|
35712
|
+
isPaused: boolean;
|
|
35713
|
+
isRefetching: boolean;
|
|
35714
|
+
isStale: boolean;
|
|
35715
|
+
isEnabled: boolean;
|
|
35716
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35717
|
+
spendingApproval: bigint;
|
|
35718
|
+
operatorAddr: string;
|
|
35719
|
+
__typename: "UserMarketOperator";
|
|
35720
|
+
id: string;
|
|
35721
|
+
canExtend: boolean;
|
|
35722
|
+
canExercise: boolean;
|
|
35723
|
+
canTransfer: boolean;
|
|
35724
|
+
canMint: boolean;
|
|
35725
|
+
operator?: {
|
|
35726
|
+
__typename: "MarketOperator";
|
|
35727
|
+
address: string;
|
|
35728
|
+
} | null;
|
|
35729
|
+
}[] | undefined, Error>>;
|
|
35730
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35731
|
+
promise: Promise<{
|
|
35732
|
+
spendingApproval: bigint;
|
|
35733
|
+
operatorAddr: string;
|
|
35734
|
+
__typename: "UserMarketOperator";
|
|
35735
|
+
id: string;
|
|
35736
|
+
canExtend: boolean;
|
|
35737
|
+
canExercise: boolean;
|
|
35738
|
+
canTransfer: boolean;
|
|
35739
|
+
canMint: boolean;
|
|
35740
|
+
operator?: {
|
|
35741
|
+
__typename: "MarketOperator";
|
|
35742
|
+
address: string;
|
|
35743
|
+
} | null;
|
|
35744
|
+
}[] | undefined>;
|
|
35745
|
+
} | {
|
|
35746
|
+
data: {
|
|
35747
|
+
spendingApproval: bigint;
|
|
35748
|
+
operatorAddr: string;
|
|
35749
|
+
__typename: "UserMarketOperator";
|
|
35750
|
+
id: string;
|
|
35751
|
+
canExtend: boolean;
|
|
35752
|
+
canExercise: boolean;
|
|
35753
|
+
canTransfer: boolean;
|
|
35754
|
+
canMint: boolean;
|
|
35755
|
+
operator?: {
|
|
35756
|
+
__typename: "MarketOperator";
|
|
35757
|
+
address: string;
|
|
35758
|
+
} | null;
|
|
35759
|
+
}[];
|
|
35760
|
+
isError: false;
|
|
35761
|
+
error: null;
|
|
35762
|
+
isPending: false;
|
|
35763
|
+
isLoading: false;
|
|
35764
|
+
isLoadingError: false;
|
|
35765
|
+
isRefetchError: false;
|
|
35766
|
+
isSuccess: true;
|
|
35767
|
+
isPlaceholderData: true;
|
|
35768
|
+
status: "success";
|
|
35769
|
+
dataUpdatedAt: number;
|
|
35770
|
+
errorUpdatedAt: number;
|
|
35771
|
+
failureCount: number;
|
|
35772
|
+
failureReason: Error | null;
|
|
35773
|
+
errorUpdateCount: number;
|
|
35774
|
+
isFetched: boolean;
|
|
35775
|
+
isFetchedAfterMount: boolean;
|
|
35776
|
+
isFetching: boolean;
|
|
35777
|
+
isInitialLoading: boolean;
|
|
35778
|
+
isPaused: boolean;
|
|
35779
|
+
isRefetching: boolean;
|
|
35780
|
+
isStale: boolean;
|
|
35781
|
+
isEnabled: boolean;
|
|
35782
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35783
|
+
spendingApproval: bigint;
|
|
35784
|
+
operatorAddr: string;
|
|
35785
|
+
__typename: "UserMarketOperator";
|
|
35786
|
+
id: string;
|
|
35787
|
+
canExtend: boolean;
|
|
35788
|
+
canExercise: boolean;
|
|
35789
|
+
canTransfer: boolean;
|
|
35790
|
+
canMint: boolean;
|
|
35791
|
+
operator?: {
|
|
35792
|
+
__typename: "MarketOperator";
|
|
35793
|
+
address: string;
|
|
35794
|
+
} | null;
|
|
35795
|
+
}[] | undefined, Error>>;
|
|
35796
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35797
|
+
promise: Promise<{
|
|
35798
|
+
spendingApproval: bigint;
|
|
35799
|
+
operatorAddr: string;
|
|
35800
|
+
__typename: "UserMarketOperator";
|
|
35801
|
+
id: string;
|
|
35802
|
+
canExtend: boolean;
|
|
35803
|
+
canExercise: boolean;
|
|
35804
|
+
canTransfer: boolean;
|
|
35805
|
+
canMint: boolean;
|
|
35806
|
+
operator?: {
|
|
35807
|
+
__typename: "MarketOperator";
|
|
35808
|
+
address: string;
|
|
35809
|
+
} | null;
|
|
35810
|
+
}[] | undefined>;
|
|
35811
|
+
};
|
|
35812
|
+
//#endregion
|
|
35813
|
+
//#region src/hooks/operators/useSetOperatorPerms.d.ts
|
|
35814
|
+
declare const useSetOperatorPerms: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
35815
|
+
operator: Address;
|
|
35816
|
+
canExtend: boolean;
|
|
35817
|
+
canExercise: boolean;
|
|
35818
|
+
canTransfer: boolean;
|
|
35819
|
+
canMint: boolean;
|
|
35820
|
+
spendingApproval: bigint;
|
|
35821
|
+
}, unknown>;
|
|
35822
|
+
//#endregion
|
|
35761
35823
|
//#region src/lib/price.d.ts
|
|
35762
35824
|
interface PriceData {
|
|
35763
35825
|
currentPrice: number;
|
|
@@ -35840,14 +35902,14 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
35840
35902
|
isPending: boolean;
|
|
35841
35903
|
isConfirming: boolean;
|
|
35842
35904
|
isSuccess: boolean;
|
|
35843
|
-
error:
|
|
35905
|
+
error: _wagmi_core0.WriteContractErrorType | null;
|
|
35844
35906
|
isLoading: boolean;
|
|
35845
35907
|
};
|
|
35846
35908
|
//#endregion
|
|
35847
35909
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
35848
35910
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
35849
35911
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
35850
|
-
error:
|
|
35912
|
+
error: viem0.ReadContractErrorType;
|
|
35851
35913
|
isError: true;
|
|
35852
35914
|
isPending: false;
|
|
35853
35915
|
isLoading: false;
|
|
@@ -35859,7 +35921,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35859
35921
|
dataUpdatedAt: number;
|
|
35860
35922
|
errorUpdatedAt: number;
|
|
35861
35923
|
failureCount: number;
|
|
35862
|
-
failureReason:
|
|
35924
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35863
35925
|
errorUpdateCount: number;
|
|
35864
35926
|
isFetched: boolean;
|
|
35865
35927
|
isFetchedAfterMount: boolean;
|
|
@@ -35869,7 +35931,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35869
35931
|
isRefetching: boolean;
|
|
35870
35932
|
isStale: boolean;
|
|
35871
35933
|
isEnabled: boolean;
|
|
35872
|
-
refetch: (options?:
|
|
35934
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
35873
35935
|
tickLower: number;
|
|
35874
35936
|
tickUpper: number;
|
|
35875
35937
|
prevTickLower: number;
|
|
@@ -35879,8 +35941,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35879
35941
|
totalAmount1: bigint;
|
|
35880
35942
|
borrowedAmount0: bigint;
|
|
35881
35943
|
borrowedAmount1: bigint;
|
|
35882
|
-
}[],
|
|
35883
|
-
fetchStatus:
|
|
35944
|
+
}[], viem0.ReadContractErrorType>>;
|
|
35945
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35884
35946
|
promise: Promise<readonly {
|
|
35885
35947
|
tickLower: number;
|
|
35886
35948
|
tickUpper: number;
|
|
@@ -35892,7 +35954,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35892
35954
|
borrowedAmount0: bigint;
|
|
35893
35955
|
borrowedAmount1: bigint;
|
|
35894
35956
|
}[]>;
|
|
35895
|
-
queryKey:
|
|
35957
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35896
35958
|
data: readonly {
|
|
35897
35959
|
tickLower: number;
|
|
35898
35960
|
tickUpper: number;
|
|
@@ -35917,7 +35979,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35917
35979
|
dataUpdatedAt: number;
|
|
35918
35980
|
errorUpdatedAt: number;
|
|
35919
35981
|
failureCount: number;
|
|
35920
|
-
failureReason:
|
|
35982
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35921
35983
|
errorUpdateCount: number;
|
|
35922
35984
|
isFetched: boolean;
|
|
35923
35985
|
isFetchedAfterMount: boolean;
|
|
@@ -35927,7 +35989,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35927
35989
|
isRefetching: boolean;
|
|
35928
35990
|
isStale: boolean;
|
|
35929
35991
|
isEnabled: boolean;
|
|
35930
|
-
refetch: (options?:
|
|
35992
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
35931
35993
|
tickLower: number;
|
|
35932
35994
|
tickUpper: number;
|
|
35933
35995
|
prevTickLower: number;
|
|
@@ -35937,8 +35999,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35937
35999
|
totalAmount1: bigint;
|
|
35938
36000
|
borrowedAmount0: bigint;
|
|
35939
36001
|
borrowedAmount1: bigint;
|
|
35940
|
-
}[],
|
|
35941
|
-
fetchStatus:
|
|
36002
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36003
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35942
36004
|
promise: Promise<readonly {
|
|
35943
36005
|
tickLower: number;
|
|
35944
36006
|
tickUpper: number;
|
|
@@ -35950,7 +36012,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35950
36012
|
borrowedAmount0: bigint;
|
|
35951
36013
|
borrowedAmount1: bigint;
|
|
35952
36014
|
}[]>;
|
|
35953
|
-
queryKey:
|
|
36015
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35954
36016
|
data: readonly {
|
|
35955
36017
|
tickLower: number;
|
|
35956
36018
|
tickUpper: number;
|
|
@@ -35963,7 +36025,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35963
36025
|
borrowedAmount1: bigint;
|
|
35964
36026
|
}[];
|
|
35965
36027
|
} | {
|
|
35966
|
-
error:
|
|
36028
|
+
error: viem0.ReadContractErrorType;
|
|
35967
36029
|
isError: true;
|
|
35968
36030
|
isPending: false;
|
|
35969
36031
|
isLoading: false;
|
|
@@ -35975,7 +36037,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35975
36037
|
dataUpdatedAt: number;
|
|
35976
36038
|
errorUpdatedAt: number;
|
|
35977
36039
|
failureCount: number;
|
|
35978
|
-
failureReason:
|
|
36040
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35979
36041
|
errorUpdateCount: number;
|
|
35980
36042
|
isFetched: boolean;
|
|
35981
36043
|
isFetchedAfterMount: boolean;
|
|
@@ -35985,7 +36047,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35985
36047
|
isRefetching: boolean;
|
|
35986
36048
|
isStale: boolean;
|
|
35987
36049
|
isEnabled: boolean;
|
|
35988
|
-
refetch: (options?:
|
|
36050
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
35989
36051
|
tickLower: number;
|
|
35990
36052
|
tickUpper: number;
|
|
35991
36053
|
prevTickLower: number;
|
|
@@ -35995,8 +36057,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35995
36057
|
totalAmount1: bigint;
|
|
35996
36058
|
borrowedAmount0: bigint;
|
|
35997
36059
|
borrowedAmount1: bigint;
|
|
35998
|
-
}[],
|
|
35999
|
-
fetchStatus:
|
|
36060
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36061
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36000
36062
|
promise: Promise<readonly {
|
|
36001
36063
|
tickLower: number;
|
|
36002
36064
|
tickUpper: number;
|
|
@@ -36008,7 +36070,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36008
36070
|
borrowedAmount0: bigint;
|
|
36009
36071
|
borrowedAmount1: bigint;
|
|
36010
36072
|
}[]>;
|
|
36011
|
-
queryKey:
|
|
36073
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36012
36074
|
data: readonly {
|
|
36013
36075
|
tickLower: number;
|
|
36014
36076
|
tickUpper: number;
|
|
@@ -36033,7 +36095,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36033
36095
|
dataUpdatedAt: number;
|
|
36034
36096
|
errorUpdatedAt: number;
|
|
36035
36097
|
failureCount: number;
|
|
36036
|
-
failureReason:
|
|
36098
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36037
36099
|
errorUpdateCount: number;
|
|
36038
36100
|
isFetched: boolean;
|
|
36039
36101
|
isFetchedAfterMount: boolean;
|
|
@@ -36043,7 +36105,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36043
36105
|
isRefetching: boolean;
|
|
36044
36106
|
isStale: boolean;
|
|
36045
36107
|
isEnabled: boolean;
|
|
36046
|
-
refetch: (options?:
|
|
36108
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36047
36109
|
tickLower: number;
|
|
36048
36110
|
tickUpper: number;
|
|
36049
36111
|
prevTickLower: number;
|
|
@@ -36053,8 +36115,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36053
36115
|
totalAmount1: bigint;
|
|
36054
36116
|
borrowedAmount0: bigint;
|
|
36055
36117
|
borrowedAmount1: bigint;
|
|
36056
|
-
}[],
|
|
36057
|
-
fetchStatus:
|
|
36118
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36119
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36058
36120
|
promise: Promise<readonly {
|
|
36059
36121
|
tickLower: number;
|
|
36060
36122
|
tickUpper: number;
|
|
@@ -36066,7 +36128,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36066
36128
|
borrowedAmount0: bigint;
|
|
36067
36129
|
borrowedAmount1: bigint;
|
|
36068
36130
|
}[]>;
|
|
36069
|
-
queryKey:
|
|
36131
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36070
36132
|
data: readonly {
|
|
36071
36133
|
tickLower: number;
|
|
36072
36134
|
tickUpper: number;
|
|
@@ -36090,7 +36152,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36090
36152
|
dataUpdatedAt: number;
|
|
36091
36153
|
errorUpdatedAt: number;
|
|
36092
36154
|
failureCount: number;
|
|
36093
|
-
failureReason:
|
|
36155
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36094
36156
|
errorUpdateCount: number;
|
|
36095
36157
|
isFetched: boolean;
|
|
36096
36158
|
isFetchedAfterMount: boolean;
|
|
@@ -36101,7 +36163,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36101
36163
|
isRefetching: boolean;
|
|
36102
36164
|
isStale: boolean;
|
|
36103
36165
|
isEnabled: boolean;
|
|
36104
|
-
refetch: (options?:
|
|
36166
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36105
36167
|
tickLower: number;
|
|
36106
36168
|
tickUpper: number;
|
|
36107
36169
|
prevTickLower: number;
|
|
@@ -36111,8 +36173,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36111
36173
|
totalAmount1: bigint;
|
|
36112
36174
|
borrowedAmount0: bigint;
|
|
36113
36175
|
borrowedAmount1: bigint;
|
|
36114
|
-
}[],
|
|
36115
|
-
fetchStatus:
|
|
36176
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36177
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36116
36178
|
promise: Promise<readonly {
|
|
36117
36179
|
tickLower: number;
|
|
36118
36180
|
tickUpper: number;
|
|
@@ -36124,7 +36186,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36124
36186
|
borrowedAmount0: bigint;
|
|
36125
36187
|
borrowedAmount1: bigint;
|
|
36126
36188
|
}[]>;
|
|
36127
|
-
queryKey:
|
|
36189
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36128
36190
|
data: readonly {
|
|
36129
36191
|
tickLower: number;
|
|
36130
36192
|
tickUpper: number;
|
|
@@ -36149,7 +36211,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36149
36211
|
dataUpdatedAt: number;
|
|
36150
36212
|
errorUpdatedAt: number;
|
|
36151
36213
|
failureCount: number;
|
|
36152
|
-
failureReason:
|
|
36214
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36153
36215
|
errorUpdateCount: number;
|
|
36154
36216
|
isFetched: boolean;
|
|
36155
36217
|
isFetchedAfterMount: boolean;
|
|
@@ -36159,7 +36221,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36159
36221
|
isRefetching: boolean;
|
|
36160
36222
|
isStale: boolean;
|
|
36161
36223
|
isEnabled: boolean;
|
|
36162
|
-
refetch: (options?:
|
|
36224
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36163
36225
|
tickLower: number;
|
|
36164
36226
|
tickUpper: number;
|
|
36165
36227
|
prevTickLower: number;
|
|
@@ -36169,8 +36231,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36169
36231
|
totalAmount1: bigint;
|
|
36170
36232
|
borrowedAmount0: bigint;
|
|
36171
36233
|
borrowedAmount1: bigint;
|
|
36172
|
-
}[],
|
|
36173
|
-
fetchStatus:
|
|
36234
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36235
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36174
36236
|
promise: Promise<readonly {
|
|
36175
36237
|
tickLower: number;
|
|
36176
36238
|
tickUpper: number;
|
|
@@ -36182,7 +36244,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36182
36244
|
borrowedAmount0: bigint;
|
|
36183
36245
|
borrowedAmount1: bigint;
|
|
36184
36246
|
}[]>;
|
|
36185
|
-
queryKey:
|
|
36247
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36186
36248
|
data: readonly {
|
|
36187
36249
|
tickLower: number;
|
|
36188
36250
|
tickUpper: number;
|
|
@@ -36197,27 +36259,18 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36197
36259
|
};
|
|
36198
36260
|
//#endregion
|
|
36199
36261
|
//#region src/hooks/vault/useMintLiquidity.d.ts
|
|
36200
|
-
declare const batchGetAmountsFromLiquidity: (
|
|
36262
|
+
declare const batchGetAmountsFromLiquidity: (tickLowers: number[], tickUppers: number[], liquidities: bigint[], currentTick: number) => {
|
|
36201
36263
|
totalAmount0: bigint;
|
|
36202
36264
|
totalAmount1: bigint;
|
|
36203
36265
|
amounts0: bigint[];
|
|
36204
36266
|
amounts1: bigint[];
|
|
36205
|
-
}
|
|
36267
|
+
};
|
|
36206
36268
|
interface MintPositionParams {
|
|
36207
36269
|
tickLower: number;
|
|
36208
36270
|
tickUpper: number;
|
|
36209
36271
|
liquidity: bigint;
|
|
36210
36272
|
}
|
|
36211
|
-
declare const useMintLiquidity: (vaultAddr?: Address) =>
|
|
36212
|
-
mintMultiple: (positions: MintPositionParams[]) => Promise<void>;
|
|
36213
|
-
mint: (tickLower: number, tickUpper: number, liquidity: bigint) => Promise<`0x${string}`>;
|
|
36214
|
-
hash: `0x${string}` | undefined;
|
|
36215
|
-
isPending: boolean;
|
|
36216
|
-
isConfirming: boolean;
|
|
36217
|
-
isSuccess: boolean;
|
|
36218
|
-
error: _wagmi_core1.WriteContractErrorType | null;
|
|
36219
|
-
isLoading: boolean;
|
|
36220
|
-
};
|
|
36273
|
+
declare const useMintLiquidity: (vaultAddr?: Address) => _tanstack_react_query0.UseMutationResult<void, Error, MintPositionParams | MintPositionParams[], unknown>;
|
|
36221
36274
|
//#endregion
|
|
36222
36275
|
//#region src/hooks/vault/useVaultData.d.ts
|
|
36223
36276
|
declare const useVaultData: (vaultAddr?: Address) => {
|
|
@@ -36242,14 +36295,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
36242
36295
|
borrowedAmount0: Amount;
|
|
36243
36296
|
borrowedAmount1: Amount;
|
|
36244
36297
|
blocksCount: bigint;
|
|
36245
|
-
refetch: (options?:
|
|
36298
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
|
|
36246
36299
|
};
|
|
36247
36300
|
//#endregion
|
|
36248
36301
|
//#region src/hooks/useLens.d.ts
|
|
36249
36302
|
declare const useLens: () => {
|
|
36250
36303
|
timelockLens: {
|
|
36251
36304
|
read: {
|
|
36252
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
36305
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
36253
36306
|
readonly type: "function";
|
|
36254
36307
|
readonly name: "batchGetRefTick";
|
|
36255
36308
|
readonly inputs: readonly [{
|
|
@@ -36923,7 +36976,7 @@ declare const useLens: () => {
|
|
|
36923
36976
|
}];
|
|
36924
36977
|
readonly stateMutability: "view";
|
|
36925
36978
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
36926
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
36979
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
36927
36980
|
readonly type: "function";
|
|
36928
36981
|
readonly name: "batchGetRefTick";
|
|
36929
36982
|
readonly inputs: readonly [{
|
|
@@ -37607,7 +37660,7 @@ declare const useLens: () => {
|
|
|
37607
37660
|
borrowedAmount0: bigint;
|
|
37608
37661
|
borrowedAmount1: bigint;
|
|
37609
37662
|
}[]>;
|
|
37610
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
37663
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
37611
37664
|
readonly type: "function";
|
|
37612
37665
|
readonly name: "batchGetRefTick";
|
|
37613
37666
|
readonly inputs: readonly [{
|
|
@@ -38298,7 +38351,7 @@ declare const useLens: () => {
|
|
|
38298
38351
|
expiresAt: number;
|
|
38299
38352
|
liquidities: readonly bigint[];
|
|
38300
38353
|
}[], bigint, boolean]>;
|
|
38301
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
38354
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
38302
38355
|
readonly type: "function";
|
|
38303
38356
|
readonly name: "batchGetRefTick";
|
|
38304
38357
|
readonly inputs: readonly [{
|
|
@@ -38972,7 +39025,7 @@ declare const useLens: () => {
|
|
|
38972
39025
|
}];
|
|
38973
39026
|
readonly stateMutability: "view";
|
|
38974
39027
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
38975
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
39028
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
38976
39029
|
readonly type: "function";
|
|
38977
39030
|
readonly name: "batchGetRefTick";
|
|
38978
39031
|
readonly inputs: readonly [{
|
|
@@ -39659,7 +39712,7 @@ declare const useLens: () => {
|
|
|
39659
39712
|
payoutAssetName: string;
|
|
39660
39713
|
optionsCount: bigint;
|
|
39661
39714
|
}>;
|
|
39662
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
39715
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
39663
39716
|
readonly type: "function";
|
|
39664
39717
|
readonly name: "batchGetRefTick";
|
|
39665
39718
|
readonly inputs: readonly [{
|
|
@@ -40333,7 +40386,7 @@ declare const useLens: () => {
|
|
|
40333
40386
|
}];
|
|
40334
40387
|
readonly stateMutability: "view";
|
|
40335
40388
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
40336
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
40389
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
40337
40390
|
readonly type: "function";
|
|
40338
40391
|
readonly name: "batchGetRefTick";
|
|
40339
40392
|
readonly inputs: readonly [{
|
|
@@ -41007,7 +41060,7 @@ declare const useLens: () => {
|
|
|
41007
41060
|
}];
|
|
41008
41061
|
readonly stateMutability: "view";
|
|
41009
41062
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
41010
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
41063
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
41011
41064
|
readonly type: "function";
|
|
41012
41065
|
readonly name: "batchGetRefTick";
|
|
41013
41066
|
readonly inputs: readonly [{
|
|
@@ -41698,7 +41751,7 @@ declare const useLens: () => {
|
|
|
41698
41751
|
expiresAt: number;
|
|
41699
41752
|
liquidities: readonly bigint[];
|
|
41700
41753
|
}>;
|
|
41701
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
41754
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
41702
41755
|
readonly type: "function";
|
|
41703
41756
|
readonly name: "batchGetRefTick";
|
|
41704
41757
|
readonly inputs: readonly [{
|
|
@@ -42389,7 +42442,7 @@ declare const useLens: () => {
|
|
|
42389
42442
|
expiresAt: number;
|
|
42390
42443
|
liquidities: readonly bigint[];
|
|
42391
42444
|
}[]>;
|
|
42392
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
42445
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
42393
42446
|
readonly type: "function";
|
|
42394
42447
|
readonly name: "batchGetRefTick";
|
|
42395
42448
|
readonly inputs: readonly [{
|
|
@@ -43074,7 +43127,7 @@ declare const useLens: () => {
|
|
|
43074
43127
|
tickSpacing: number;
|
|
43075
43128
|
fee: number;
|
|
43076
43129
|
}>;
|
|
43077
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
43130
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
43078
43131
|
readonly type: "function";
|
|
43079
43132
|
readonly name: "batchGetRefTick";
|
|
43080
43133
|
readonly inputs: readonly [{
|
|
@@ -43748,7 +43801,7 @@ declare const useLens: () => {
|
|
|
43748
43801
|
}];
|
|
43749
43802
|
readonly stateMutability: "view";
|
|
43750
43803
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
43751
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
43804
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
43752
43805
|
readonly type: "function";
|
|
43753
43806
|
readonly name: "batchGetRefTick";
|
|
43754
43807
|
readonly inputs: readonly [{
|
|
@@ -44439,7 +44492,7 @@ declare const useLens: () => {
|
|
|
44439
44492
|
expiresAt: number;
|
|
44440
44493
|
liquidities: readonly bigint[];
|
|
44441
44494
|
}[], bigint, boolean]>;
|
|
44442
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
44495
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
44443
44496
|
readonly type: "function";
|
|
44444
44497
|
readonly name: "batchGetRefTick";
|
|
44445
44498
|
readonly inputs: readonly [{
|
|
@@ -45792,7 +45845,7 @@ declare const useLens: () => {
|
|
|
45792
45845
|
} | undefined;
|
|
45793
45846
|
uniswapLens: {
|
|
45794
45847
|
read: {
|
|
45795
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
45848
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
45796
45849
|
readonly type: "function";
|
|
45797
45850
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
45798
45851
|
readonly inputs: readonly [{
|
|
@@ -46413,7 +46466,7 @@ declare const useLens: () => {
|
|
|
46413
46466
|
}];
|
|
46414
46467
|
readonly stateMutability: "pure";
|
|
46415
46468
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46416
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
46469
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
46417
46470
|
readonly type: "function";
|
|
46418
46471
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46419
46472
|
readonly inputs: readonly [{
|
|
@@ -47034,7 +47087,7 @@ declare const useLens: () => {
|
|
|
47034
47087
|
}];
|
|
47035
47088
|
readonly stateMutability: "pure";
|
|
47036
47089
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47037
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
47090
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
47038
47091
|
readonly type: "function";
|
|
47039
47092
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47040
47093
|
readonly inputs: readonly [{
|
|
@@ -47655,7 +47708,7 @@ declare const useLens: () => {
|
|
|
47655
47708
|
}];
|
|
47656
47709
|
readonly stateMutability: "pure";
|
|
47657
47710
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47658
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
47711
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
47659
47712
|
readonly type: "function";
|
|
47660
47713
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47661
47714
|
readonly inputs: readonly [{
|
|
@@ -48276,7 +48329,7 @@ declare const useLens: () => {
|
|
|
48276
48329
|
}];
|
|
48277
48330
|
readonly stateMutability: "pure";
|
|
48278
48331
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
48279
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
48332
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
48280
48333
|
readonly type: "function";
|
|
48281
48334
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48282
48335
|
readonly inputs: readonly [{
|
|
@@ -48897,7 +48950,7 @@ declare const useLens: () => {
|
|
|
48897
48950
|
}];
|
|
48898
48951
|
readonly stateMutability: "pure";
|
|
48899
48952
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
48900
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
48953
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
48901
48954
|
readonly type: "function";
|
|
48902
48955
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48903
48956
|
readonly inputs: readonly [{
|
|
@@ -49518,7 +49571,7 @@ declare const useLens: () => {
|
|
|
49518
49571
|
}];
|
|
49519
49572
|
readonly stateMutability: "pure";
|
|
49520
49573
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
49521
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
49574
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
49522
49575
|
readonly type: "function";
|
|
49523
49576
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49524
49577
|
readonly inputs: readonly [{
|
|
@@ -50139,7 +50192,7 @@ declare const useLens: () => {
|
|
|
50139
50192
|
}];
|
|
50140
50193
|
readonly stateMutability: "pure";
|
|
50141
50194
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50142
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
50195
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
50143
50196
|
readonly type: "function";
|
|
50144
50197
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50145
50198
|
readonly inputs: readonly [{
|
|
@@ -50760,7 +50813,7 @@ declare const useLens: () => {
|
|
|
50760
50813
|
}];
|
|
50761
50814
|
readonly stateMutability: "pure";
|
|
50762
50815
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50763
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
50816
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
50764
50817
|
readonly type: "function";
|
|
50765
50818
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50766
50819
|
readonly inputs: readonly [{
|
|
@@ -51381,7 +51434,7 @@ declare const useLens: () => {
|
|
|
51381
51434
|
}];
|
|
51382
51435
|
readonly stateMutability: "pure";
|
|
51383
51436
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51384
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
51437
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
51385
51438
|
readonly type: "function";
|
|
51386
51439
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51387
51440
|
readonly inputs: readonly [{
|
|
@@ -52002,7 +52055,7 @@ declare const useLens: () => {
|
|
|
52002
52055
|
}];
|
|
52003
52056
|
readonly stateMutability: "pure";
|
|
52004
52057
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52005
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
52058
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
52006
52059
|
readonly type: "function";
|
|
52007
52060
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52008
52061
|
readonly inputs: readonly [{
|
|
@@ -52623,7 +52676,7 @@ declare const useLens: () => {
|
|
|
52623
52676
|
}];
|
|
52624
52677
|
readonly stateMutability: "pure";
|
|
52625
52678
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52626
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
52679
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
52627
52680
|
readonly type: "function";
|
|
52628
52681
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52629
52682
|
readonly inputs: readonly [{
|
|
@@ -53244,7 +53297,7 @@ declare const useLens: () => {
|
|
|
53244
53297
|
}];
|
|
53245
53298
|
readonly stateMutability: "pure";
|
|
53246
53299
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53247
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
53300
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
53248
53301
|
readonly type: "function";
|
|
53249
53302
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53250
53303
|
readonly inputs: readonly [{
|
|
@@ -53865,7 +53918,7 @@ declare const useLens: () => {
|
|
|
53865
53918
|
}];
|
|
53866
53919
|
readonly stateMutability: "pure";
|
|
53867
53920
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53868
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
53921
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
53869
53922
|
readonly type: "function";
|
|
53870
53923
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53871
53924
|
readonly inputs: readonly [{
|
|
@@ -54486,7 +54539,7 @@ declare const useLens: () => {
|
|
|
54486
54539
|
}];
|
|
54487
54540
|
readonly stateMutability: "pure";
|
|
54488
54541
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54489
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
54542
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
54490
54543
|
readonly type: "function";
|
|
54491
54544
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54492
54545
|
readonly inputs: readonly [{
|
|
@@ -55107,7 +55160,7 @@ declare const useLens: () => {
|
|
|
55107
55160
|
}];
|
|
55108
55161
|
readonly stateMutability: "pure";
|
|
55109
55162
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55110
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
55163
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
55111
55164
|
readonly type: "function";
|
|
55112
55165
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55113
55166
|
readonly inputs: readonly [{
|
|
@@ -55728,7 +55781,7 @@ declare const useLens: () => {
|
|
|
55728
55781
|
}];
|
|
55729
55782
|
readonly stateMutability: "pure";
|
|
55730
55783
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55731
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
55784
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
55732
55785
|
readonly type: "function";
|
|
55733
55786
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55734
55787
|
readonly inputs: readonly [{
|
|
@@ -56349,7 +56402,7 @@ declare const useLens: () => {
|
|
|
56349
56402
|
}];
|
|
56350
56403
|
readonly stateMutability: "pure";
|
|
56351
56404
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
56352
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
56405
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
56353
56406
|
readonly type: "function";
|
|
56354
56407
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56355
56408
|
readonly inputs: readonly [{
|
|
@@ -56970,7 +57023,7 @@ declare const useLens: () => {
|
|
|
56970
57023
|
}];
|
|
56971
57024
|
readonly stateMutability: "pure";
|
|
56972
57025
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
56973
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
57026
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
56974
57027
|
readonly type: "function";
|
|
56975
57028
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56976
57029
|
readonly inputs: readonly [{
|
|
@@ -57591,7 +57644,7 @@ declare const useLens: () => {
|
|
|
57591
57644
|
}];
|
|
57592
57645
|
readonly stateMutability: "pure";
|
|
57593
57646
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
57594
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
57647
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
57595
57648
|
readonly type: "function";
|
|
57596
57649
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57597
57650
|
readonly inputs: readonly [{
|
|
@@ -58212,7 +58265,7 @@ declare const useLens: () => {
|
|
|
58212
58265
|
}];
|
|
58213
58266
|
readonly stateMutability: "pure";
|
|
58214
58267
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58215
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
58268
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
58216
58269
|
readonly type: "function";
|
|
58217
58270
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58218
58271
|
readonly inputs: readonly [{
|
|
@@ -58833,7 +58886,7 @@ declare const useLens: () => {
|
|
|
58833
58886
|
}];
|
|
58834
58887
|
readonly stateMutability: "pure";
|
|
58835
58888
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58836
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
58889
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
58837
58890
|
readonly type: "function";
|
|
58838
58891
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58839
58892
|
readonly inputs: readonly [{
|
|
@@ -59454,7 +59507,7 @@ declare const useLens: () => {
|
|
|
59454
59507
|
}];
|
|
59455
59508
|
readonly stateMutability: "pure";
|
|
59456
59509
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59457
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
59510
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
59458
59511
|
readonly type: "function";
|
|
59459
59512
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59460
59513
|
readonly inputs: readonly [{
|
|
@@ -60075,7 +60128,7 @@ declare const useLens: () => {
|
|
|
60075
60128
|
}];
|
|
60076
60129
|
readonly stateMutability: "pure";
|
|
60077
60130
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60078
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
60131
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
60079
60132
|
readonly type: "function";
|
|
60080
60133
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60081
60134
|
readonly inputs: readonly [{
|
|
@@ -60696,7 +60749,7 @@ declare const useLens: () => {
|
|
|
60696
60749
|
}];
|
|
60697
60750
|
readonly stateMutability: "pure";
|
|
60698
60751
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60699
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
60752
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
60700
60753
|
readonly type: "function";
|
|
60701
60754
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60702
60755
|
readonly inputs: readonly [{
|
|
@@ -61317,7 +61370,7 @@ declare const useLens: () => {
|
|
|
61317
61370
|
}];
|
|
61318
61371
|
readonly stateMutability: "pure";
|
|
61319
61372
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
61320
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
61373
|
+
getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
61321
61374
|
readonly type: "function";
|
|
61322
61375
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
61323
61376
|
readonly inputs: readonly [{
|
|
@@ -62569,9 +62622,9 @@ declare const useApproval: () => {
|
|
|
62569
62622
|
askForApproval: (tokenAddress: Address, spenderAddress: Address, amount: bigint) => Promise<void>;
|
|
62570
62623
|
hash: `0x${string}` | undefined;
|
|
62571
62624
|
isPending: boolean;
|
|
62572
|
-
error:
|
|
62625
|
+
error: _wagmi_core0.WriteContractErrorType | null;
|
|
62573
62626
|
reset: () => void;
|
|
62574
62627
|
};
|
|
62575
62628
|
//#endregion
|
|
62576
|
-
export {
|
|
62577
|
-
//# sourceMappingURL=client-
|
|
62629
|
+
export { scalePrice as $, PriceDataPoint as A, useOptionTimeline as B, liquiditiesToAmount1 as C, timelockLenses as Ct, token0ToToken1 as D, roundTickUp as E, useUserOperators as F, useMaxPositionSize as G, useOptionPremium as H, usePerpsOperator as I, formatAmount as J, Amount as K, useClosePerp as L, getCurrentPrice as M, getPriceHistory as N, token1ToToken0 as O, useSetOperatorPerms as P, scaleAmount as Q, useMintPerp as R, liquiditiesToAmount0 as S, getUniswapMathLens as St, roundTickDown as T, useOptionPnl as U, useExtendOption as V, useMintOption as W, formatUSD as X, formatCondensed as Y, formatVagueAmount as Z, PRICE_PRECISION as _, TimelockMarketData as _t, batchGetAmountsFromLiquidity as a, wrapPriceUnscaled as at, getPriceAtTick as b, getTimelockLens as bt, useLiquidityBlocks as c, useExerciseOption as ct, usePriceAtTick as d, useClosedUserOptions as dt, unscaleAmount as et, UniswapPoolData as f, TimelockProvider as ft, getPayoutAtTick as g, TimelockMarket as gt, useCurrentPrice as h, TimelockLens as ht, useVaultData as i, wrapPrice as it, PriceResolution as j, PriceData as k, useBurnLiquidity as l, OptionData as lt, useCurrentTick as m, useTimelockConfig as mt, useLens as n, wrapAmount as nt, useMintLiquidity as o, zero as ot, usePoolData as p, useCurrentMarket as pt, EMPTY_ARRAY as q, useVaultTVL as r, wrapAmountUnscaled as rt, LiquidityBlockData as s, useMarketData as st, useApproval as t, unscalePrice as tt, usePriceHistory as u, useActiveUserOptions as ut, getAmountsFromLiquidity as v, UniswapMathLens as vt, liquiditiesToAmounts as w, uniswapMathLenses as wt, getTickAtPrice as x, getTimelockMarket as xt, getNearestValidStrikeTick as y, getErc20 as yt, OptionTimelineData as z };
|
|
62630
|
+
//# sourceMappingURL=client-GoHd57RL.d.cts.map
|