timelock-sdk 0.0.120 → 0.0.121
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-CTL-mr5n.d.ts → client-D7objc4l.d.ts} +396 -446
- package/dist/{client-r3O6AK_5.d.cts → client-bCuyjf6z.d.cts} +246 -296
- package/dist/client.cjs +57 -58
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +57 -58
- package/dist/client.js.map +1 -1
- package/dist/{optionUtils-BHL27KMw.cjs → optionUtils-DENHUR2w.cjs} +50 -13
- package/dist/optionUtils-DENHUR2w.cjs.map +1 -0
- package/dist/{optionUtils-CtGcjfvf.js → optionUtils-MZU-Gklx.js} +25 -12
- package/dist/optionUtils-MZU-Gklx.js.map +1 -0
- package/dist/package.cjs +6 -2
- package/dist/package.d.cts +2 -2
- package/dist/package.d.ts +2 -2
- package/dist/package.js +2 -2
- package/package.json +1 -1
- package/dist/optionUtils-BHL27KMw.cjs.map +0 -1
- package/dist/optionUtils-CtGcjfvf.js.map +0 -1
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-JKcBN1v_.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as viem0 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
4
|
import Big from "big.js";
|
|
5
|
+
import JSBI from "jsbi";
|
|
5
6
|
import React, { ReactNode } from "react";
|
|
6
7
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
7
8
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
8
9
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
9
10
|
import "graphql";
|
|
10
|
-
import * as
|
|
11
|
+
import * as _tanstack_query_core17 from "@tanstack/query-core";
|
|
11
12
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
12
13
|
|
|
13
14
|
//#region src/generated/graphql.d.ts
|
|
@@ -60,7 +61,6 @@ type UserOptionFieldsFragment = {
|
|
|
60
61
|
optionId: any;
|
|
61
62
|
optionType: any;
|
|
62
63
|
strikeTick: number;
|
|
63
|
-
entryTick: number;
|
|
64
64
|
startTick: number;
|
|
65
65
|
strikePrice: any;
|
|
66
66
|
entryPrice: any;
|
|
@@ -177,7 +177,7 @@ type GetOptionEventsQuery = {
|
|
|
177
177
|
id: string;
|
|
178
178
|
optionType: number;
|
|
179
179
|
strikeTick: number;
|
|
180
|
-
|
|
180
|
+
price: any;
|
|
181
181
|
expiresAt: any;
|
|
182
182
|
premium: any;
|
|
183
183
|
protocolFee: any;
|
|
@@ -190,7 +190,7 @@ type GetOptionEventsQuery = {
|
|
|
190
190
|
__typename: 'ExerciseOptionEvent';
|
|
191
191
|
id: string;
|
|
192
192
|
liquidities: Array<string>;
|
|
193
|
-
|
|
193
|
+
price: any;
|
|
194
194
|
payout: any;
|
|
195
195
|
timestamp: any;
|
|
196
196
|
blockNumber: any;
|
|
@@ -201,7 +201,7 @@ type GetOptionEventsQuery = {
|
|
|
201
201
|
id: string;
|
|
202
202
|
premium: any;
|
|
203
203
|
protocolFee: any;
|
|
204
|
-
|
|
204
|
+
price: any;
|
|
205
205
|
addedDuration: any;
|
|
206
206
|
timestamp: any;
|
|
207
207
|
blockNumber: any;
|
|
@@ -228,7 +228,7 @@ type TimelockMarketData = Awaited<ReturnType<TimelockLens['read']['getMarketData
|
|
|
228
228
|
};
|
|
229
229
|
declare const getErc20: (address: Address, client: Client) => {
|
|
230
230
|
read: {
|
|
231
|
-
symbol: (options?:
|
|
231
|
+
symbol: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
232
232
|
readonly type: "constructor";
|
|
233
233
|
readonly inputs: readonly [{
|
|
234
234
|
readonly name: "name_";
|
|
@@ -407,7 +407,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
407
407
|
}];
|
|
408
408
|
readonly stateMutability: "nonpayable";
|
|
409
409
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
410
|
-
|
|
410
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
411
411
|
readonly type: "constructor";
|
|
412
412
|
readonly inputs: readonly [{
|
|
413
413
|
readonly name: "name_";
|
|
@@ -585,8 +585,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
585
585
|
readonly internalType: "bool";
|
|
586
586
|
}];
|
|
587
587
|
readonly stateMutability: "nonpayable";
|
|
588
|
-
}], "
|
|
589
|
-
|
|
588
|
+
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
589
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
590
590
|
readonly type: "constructor";
|
|
591
591
|
readonly inputs: readonly [{
|
|
592
592
|
readonly name: "name_";
|
|
@@ -764,8 +764,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
764
764
|
readonly internalType: "bool";
|
|
765
765
|
}];
|
|
766
766
|
readonly stateMutability: "nonpayable";
|
|
767
|
-
}], "
|
|
768
|
-
|
|
767
|
+
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
768
|
+
decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
769
769
|
readonly type: "constructor";
|
|
770
770
|
readonly inputs: readonly [{
|
|
771
771
|
readonly name: "name_";
|
|
@@ -943,8 +943,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
943
943
|
readonly internalType: "bool";
|
|
944
944
|
}];
|
|
945
945
|
readonly stateMutability: "nonpayable";
|
|
946
|
-
}], "
|
|
947
|
-
|
|
946
|
+
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
947
|
+
name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
948
948
|
readonly type: "constructor";
|
|
949
949
|
readonly inputs: readonly [{
|
|
950
950
|
readonly name: "name_";
|
|
@@ -1122,8 +1122,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1122
1122
|
readonly internalType: "bool";
|
|
1123
1123
|
}];
|
|
1124
1124
|
readonly stateMutability: "nonpayable";
|
|
1125
|
-
}], "
|
|
1126
|
-
totalSupply: (options?:
|
|
1125
|
+
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
1126
|
+
totalSupply: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
1127
1127
|
readonly type: "constructor";
|
|
1128
1128
|
readonly inputs: readonly [{
|
|
1129
1129
|
readonly name: "name_";
|
|
@@ -1304,7 +1304,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1304
1304
|
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1305
1305
|
};
|
|
1306
1306
|
estimateGas: {
|
|
1307
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
1307
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1308
1308
|
readonly type: "constructor";
|
|
1309
1309
|
readonly inputs: readonly [{
|
|
1310
1310
|
readonly name: "name_";
|
|
@@ -1482,8 +1482,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1482
1482
|
readonly internalType: "bool";
|
|
1483
1483
|
}];
|
|
1484
1484
|
readonly stateMutability: "nonpayable";
|
|
1485
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
1486
|
-
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 [{
|
|
1487
1487
|
readonly type: "constructor";
|
|
1488
1488
|
readonly inputs: readonly [{
|
|
1489
1489
|
readonly name: "name_";
|
|
@@ -1661,8 +1661,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1661
1661
|
readonly internalType: "bool";
|
|
1662
1662
|
}];
|
|
1663
1663
|
readonly stateMutability: "nonpayable";
|
|
1664
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
1665
|
-
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 [{
|
|
1666
1666
|
readonly type: "constructor";
|
|
1667
1667
|
readonly inputs: readonly [{
|
|
1668
1668
|
readonly name: "name_";
|
|
@@ -1840,8 +1840,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1840
1840
|
readonly internalType: "bool";
|
|
1841
1841
|
}];
|
|
1842
1842
|
readonly stateMutability: "nonpayable";
|
|
1843
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
1844
|
-
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 [{
|
|
1845
1845
|
readonly type: "constructor";
|
|
1846
1846
|
readonly inputs: readonly [{
|
|
1847
1847
|
readonly name: "name_";
|
|
@@ -2019,8 +2019,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2019
2019
|
readonly internalType: "bool";
|
|
2020
2020
|
}];
|
|
2021
2021
|
readonly stateMutability: "nonpayable";
|
|
2022
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2023
|
-
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 [{
|
|
2024
2024
|
readonly type: "constructor";
|
|
2025
2025
|
readonly inputs: readonly [{
|
|
2026
2026
|
readonly name: "name_";
|
|
@@ -2198,9 +2198,9 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2198
2198
|
readonly internalType: "bool";
|
|
2199
2199
|
}];
|
|
2200
2200
|
readonly stateMutability: "nonpayable";
|
|
2201
|
-
}], "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>;
|
|
2202
2202
|
} & {
|
|
2203
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
2203
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2204
2204
|
readonly type: "constructor";
|
|
2205
2205
|
readonly inputs: readonly [{
|
|
2206
2206
|
readonly name: "name_";
|
|
@@ -2378,8 +2378,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2378
2378
|
readonly internalType: "bool";
|
|
2379
2379
|
}];
|
|
2380
2380
|
readonly stateMutability: "nonpayable";
|
|
2381
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
2382
|
-
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 [{
|
|
2383
2383
|
readonly type: "constructor";
|
|
2384
2384
|
readonly inputs: readonly [{
|
|
2385
2385
|
readonly name: "name_";
|
|
@@ -2557,8 +2557,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2557
2557
|
readonly internalType: "bool";
|
|
2558
2558
|
}];
|
|
2559
2559
|
readonly stateMutability: "nonpayable";
|
|
2560
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
2561
|
-
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 [{
|
|
2562
2562
|
readonly type: "constructor";
|
|
2563
2563
|
readonly inputs: readonly [{
|
|
2564
2564
|
readonly name: "name_";
|
|
@@ -2736,8 +2736,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2736
2736
|
readonly internalType: "bool";
|
|
2737
2737
|
}];
|
|
2738
2738
|
readonly stateMutability: "nonpayable";
|
|
2739
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
2740
|
-
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 [{
|
|
2741
2741
|
readonly type: "constructor";
|
|
2742
2742
|
readonly inputs: readonly [{
|
|
2743
2743
|
readonly name: "name_";
|
|
@@ -2915,8 +2915,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2915
2915
|
readonly internalType: "bool";
|
|
2916
2916
|
}];
|
|
2917
2917
|
readonly stateMutability: "nonpayable";
|
|
2918
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2919
|
-
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 [{
|
|
2920
2920
|
readonly type: "constructor";
|
|
2921
2921
|
readonly inputs: readonly [{
|
|
2922
2922
|
readonly name: "name_";
|
|
@@ -3094,10 +3094,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3094
3094
|
readonly internalType: "bool";
|
|
3095
3095
|
}];
|
|
3096
3096
|
readonly stateMutability: "nonpayable";
|
|
3097
|
-
}], "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>;
|
|
3098
3098
|
};
|
|
3099
3099
|
simulate: {
|
|
3100
|
-
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 [{
|
|
3101
3101
|
readonly type: "constructor";
|
|
3102
3102
|
readonly inputs: readonly [{
|
|
3103
3103
|
readonly name: "name_";
|
|
@@ -3275,7 +3275,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3275
3275
|
readonly internalType: "bool";
|
|
3276
3276
|
}];
|
|
3277
3277
|
readonly stateMutability: "nonpayable";
|
|
3278
|
-
}], "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 [{
|
|
3279
3279
|
readonly type: "constructor";
|
|
3280
3280
|
readonly inputs: readonly [{
|
|
3281
3281
|
readonly name: "name_";
|
|
@@ -3453,8 +3453,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3453
3453
|
readonly internalType: "bool";
|
|
3454
3454
|
}];
|
|
3455
3455
|
readonly stateMutability: "nonpayable";
|
|
3456
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3457
|
-
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 [{
|
|
3458
3458
|
readonly type: "constructor";
|
|
3459
3459
|
readonly inputs: readonly [{
|
|
3460
3460
|
readonly name: "name_";
|
|
@@ -3632,7 +3632,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3632
3632
|
readonly internalType: "bool";
|
|
3633
3633
|
}];
|
|
3634
3634
|
readonly stateMutability: "nonpayable";
|
|
3635
|
-
}], "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 [{
|
|
3636
3636
|
readonly type: "constructor";
|
|
3637
3637
|
readonly inputs: readonly [{
|
|
3638
3638
|
readonly name: "name_";
|
|
@@ -3810,8 +3810,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3810
3810
|
readonly internalType: "bool";
|
|
3811
3811
|
}];
|
|
3812
3812
|
readonly stateMutability: "nonpayable";
|
|
3813
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3814
|
-
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 [{
|
|
3815
3815
|
readonly type: "constructor";
|
|
3816
3816
|
readonly inputs: readonly [{
|
|
3817
3817
|
readonly name: "name_";
|
|
@@ -3989,7 +3989,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3989
3989
|
readonly internalType: "bool";
|
|
3990
3990
|
}];
|
|
3991
3991
|
readonly stateMutability: "nonpayable";
|
|
3992
|
-
}], "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 [{
|
|
3993
3993
|
readonly type: "constructor";
|
|
3994
3994
|
readonly inputs: readonly [{
|
|
3995
3995
|
readonly name: "name_";
|
|
@@ -4167,8 +4167,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4167
4167
|
readonly internalType: "bool";
|
|
4168
4168
|
}];
|
|
4169
4169
|
readonly stateMutability: "nonpayable";
|
|
4170
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
4171
|
-
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 [{
|
|
4172
4172
|
readonly type: "constructor";
|
|
4173
4173
|
readonly inputs: readonly [{
|
|
4174
4174
|
readonly name: "name_";
|
|
@@ -4346,7 +4346,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4346
4346
|
readonly internalType: "bool";
|
|
4347
4347
|
}];
|
|
4348
4348
|
readonly stateMutability: "nonpayable";
|
|
4349
|
-
}], "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 [{
|
|
4350
4350
|
readonly type: "constructor";
|
|
4351
4351
|
readonly inputs: readonly [{
|
|
4352
4352
|
readonly name: "name_";
|
|
@@ -4524,8 +4524,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4524
4524
|
readonly internalType: "bool";
|
|
4525
4525
|
}];
|
|
4526
4526
|
readonly stateMutability: "nonpayable";
|
|
4527
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4528
|
-
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 [{
|
|
4529
4529
|
readonly type: "constructor";
|
|
4530
4530
|
readonly inputs: readonly [{
|
|
4531
4531
|
readonly name: "name_";
|
|
@@ -4703,7 +4703,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4703
4703
|
readonly internalType: "bool";
|
|
4704
4704
|
}];
|
|
4705
4705
|
readonly stateMutability: "nonpayable";
|
|
4706
|
-
}], "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 [{
|
|
4707
4707
|
readonly type: "constructor";
|
|
4708
4708
|
readonly inputs: readonly [{
|
|
4709
4709
|
readonly name: "name_";
|
|
@@ -4881,10 +4881,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4881
4881
|
readonly internalType: "bool";
|
|
4882
4882
|
}];
|
|
4883
4883
|
readonly stateMutability: "nonpayable";
|
|
4884
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4884
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
4885
4885
|
};
|
|
4886
4886
|
write: {
|
|
4887
|
-
approve: <chainOverride extends
|
|
4887
|
+
approve: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
4888
4888
|
readonly type: "constructor";
|
|
4889
4889
|
readonly inputs: readonly [{
|
|
4890
4890
|
readonly name: "name_";
|
|
@@ -5062,8 +5062,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5062
5062
|
readonly internalType: "bool";
|
|
5063
5063
|
}];
|
|
5064
5064
|
readonly stateMutability: "nonpayable";
|
|
5065
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
5066
|
-
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 [{
|
|
5067
5067
|
readonly type: "constructor";
|
|
5068
5068
|
readonly inputs: readonly [{
|
|
5069
5069
|
readonly name: "name_";
|
|
@@ -5241,8 +5241,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5241
5241
|
readonly internalType: "bool";
|
|
5242
5242
|
}];
|
|
5243
5243
|
readonly stateMutability: "nonpayable";
|
|
5244
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
5245
|
-
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 [{
|
|
5246
5246
|
readonly type: "constructor";
|
|
5247
5247
|
readonly inputs: readonly [{
|
|
5248
5248
|
readonly name: "name_";
|
|
@@ -5420,8 +5420,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5420
5420
|
readonly internalType: "bool";
|
|
5421
5421
|
}];
|
|
5422
5422
|
readonly stateMutability: "nonpayable";
|
|
5423
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
5424
|
-
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 [{
|
|
5425
5425
|
readonly type: "constructor";
|
|
5426
5426
|
readonly inputs: readonly [{
|
|
5427
5427
|
readonly name: "name_";
|
|
@@ -5599,8 +5599,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5599
5599
|
readonly internalType: "bool";
|
|
5600
5600
|
}];
|
|
5601
5601
|
readonly stateMutability: "nonpayable";
|
|
5602
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
5603
|
-
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 [{
|
|
5604
5604
|
readonly type: "constructor";
|
|
5605
5605
|
readonly inputs: readonly [{
|
|
5606
5606
|
readonly name: "name_";
|
|
@@ -5778,7 +5778,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5778
5778
|
readonly internalType: "bool";
|
|
5779
5779
|
}];
|
|
5780
5780
|
readonly stateMutability: "nonpayable";
|
|
5781
|
-
}], "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>;
|
|
5782
5782
|
};
|
|
5783
5783
|
address: `0x${string}`;
|
|
5784
5784
|
abi: readonly [{
|
|
@@ -5964,7 +5964,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5964
5964
|
declare const getTimelockMarket: (address: Address, client: Client) => TimelockMarket;
|
|
5965
5965
|
declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
5966
5966
|
read: {
|
|
5967
|
-
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 [{
|
|
5968
5968
|
readonly type: "function";
|
|
5969
5969
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
5970
5970
|
readonly inputs: readonly [{
|
|
@@ -6585,7 +6585,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
6585
6585
|
}];
|
|
6586
6586
|
readonly stateMutability: "pure";
|
|
6587
6587
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
6588
|
-
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 [{
|
|
6589
6589
|
readonly type: "function";
|
|
6590
6590
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6591
6591
|
readonly inputs: readonly [{
|
|
@@ -7206,7 +7206,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
7206
7206
|
}];
|
|
7207
7207
|
readonly stateMutability: "pure";
|
|
7208
7208
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7209
|
-
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 [{
|
|
7210
7210
|
readonly type: "function";
|
|
7211
7211
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7212
7212
|
readonly inputs: readonly [{
|
|
@@ -7827,7 +7827,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
7827
7827
|
}];
|
|
7828
7828
|
readonly stateMutability: "pure";
|
|
7829
7829
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7830
|
-
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 [{
|
|
7831
7831
|
readonly type: "function";
|
|
7832
7832
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7833
7833
|
readonly inputs: readonly [{
|
|
@@ -8448,7 +8448,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
8448
8448
|
}];
|
|
8449
8449
|
readonly stateMutability: "pure";
|
|
8450
8450
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
8451
|
-
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 [{
|
|
8452
8452
|
readonly type: "function";
|
|
8453
8453
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8454
8454
|
readonly inputs: readonly [{
|
|
@@ -9069,7 +9069,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
9069
9069
|
}];
|
|
9070
9070
|
readonly stateMutability: "pure";
|
|
9071
9071
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
9072
|
-
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 [{
|
|
9073
9073
|
readonly type: "function";
|
|
9074
9074
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9075
9075
|
readonly inputs: readonly [{
|
|
@@ -9690,7 +9690,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
9690
9690
|
}];
|
|
9691
9691
|
readonly stateMutability: "pure";
|
|
9692
9692
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
9693
|
-
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 [{
|
|
9694
9694
|
readonly type: "function";
|
|
9695
9695
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9696
9696
|
readonly inputs: readonly [{
|
|
@@ -10311,7 +10311,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10311
10311
|
}];
|
|
10312
10312
|
readonly stateMutability: "pure";
|
|
10313
10313
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10314
|
-
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 [{
|
|
10315
10315
|
readonly type: "function";
|
|
10316
10316
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10317
10317
|
readonly inputs: readonly [{
|
|
@@ -10932,7 +10932,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10932
10932
|
}];
|
|
10933
10933
|
readonly stateMutability: "pure";
|
|
10934
10934
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10935
|
-
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 [{
|
|
10936
10936
|
readonly type: "function";
|
|
10937
10937
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10938
10938
|
readonly inputs: readonly [{
|
|
@@ -11553,7 +11553,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
11553
11553
|
}];
|
|
11554
11554
|
readonly stateMutability: "pure";
|
|
11555
11555
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
11556
|
-
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 [{
|
|
11557
11557
|
readonly type: "function";
|
|
11558
11558
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11559
11559
|
readonly inputs: readonly [{
|
|
@@ -12174,7 +12174,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12174
12174
|
}];
|
|
12175
12175
|
readonly stateMutability: "pure";
|
|
12176
12176
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12177
|
-
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 [{
|
|
12178
12178
|
readonly type: "function";
|
|
12179
12179
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12180
12180
|
readonly inputs: readonly [{
|
|
@@ -12795,7 +12795,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12795
12795
|
}];
|
|
12796
12796
|
readonly stateMutability: "pure";
|
|
12797
12797
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12798
|
-
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 [{
|
|
12799
12799
|
readonly type: "function";
|
|
12800
12800
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12801
12801
|
readonly inputs: readonly [{
|
|
@@ -13416,7 +13416,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
13416
13416
|
}];
|
|
13417
13417
|
readonly stateMutability: "pure";
|
|
13418
13418
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13419
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
13419
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
13420
13420
|
readonly type: "function";
|
|
13421
13421
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13422
13422
|
readonly inputs: readonly [{
|
|
@@ -14037,7 +14037,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14037
14037
|
}];
|
|
14038
14038
|
readonly stateMutability: "pure";
|
|
14039
14039
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14040
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
14040
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
14041
14041
|
readonly type: "function";
|
|
14042
14042
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14043
14043
|
readonly inputs: readonly [{
|
|
@@ -14658,7 +14658,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14658
14658
|
}];
|
|
14659
14659
|
readonly stateMutability: "pure";
|
|
14660
14660
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
14661
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
14661
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
14662
14662
|
readonly type: "function";
|
|
14663
14663
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14664
14664
|
readonly inputs: readonly [{
|
|
@@ -15279,7 +15279,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15279
15279
|
}];
|
|
15280
15280
|
readonly stateMutability: "pure";
|
|
15281
15281
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15282
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
15282
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15283
15283
|
readonly type: "function";
|
|
15284
15284
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15285
15285
|
readonly inputs: readonly [{
|
|
@@ -15900,7 +15900,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15900
15900
|
}];
|
|
15901
15901
|
readonly stateMutability: "pure";
|
|
15902
15902
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15903
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
15903
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15904
15904
|
readonly type: "function";
|
|
15905
15905
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15906
15906
|
readonly inputs: readonly [{
|
|
@@ -16521,7 +16521,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
16521
16521
|
}];
|
|
16522
16522
|
readonly stateMutability: "pure";
|
|
16523
16523
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
16524
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
16524
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
16525
16525
|
readonly type: "function";
|
|
16526
16526
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16527
16527
|
readonly inputs: readonly [{
|
|
@@ -17142,7 +17142,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17142
17142
|
}];
|
|
17143
17143
|
readonly stateMutability: "pure";
|
|
17144
17144
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
17145
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
17145
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
17146
17146
|
readonly type: "function";
|
|
17147
17147
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17148
17148
|
readonly inputs: readonly [{
|
|
@@ -17763,7 +17763,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17763
17763
|
}];
|
|
17764
17764
|
readonly stateMutability: "pure";
|
|
17765
17765
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
17766
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
17766
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
17767
17767
|
readonly type: "function";
|
|
17768
17768
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17769
17769
|
readonly inputs: readonly [{
|
|
@@ -18384,7 +18384,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
18384
18384
|
}];
|
|
18385
18385
|
readonly stateMutability: "pure";
|
|
18386
18386
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
18387
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
18387
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
18388
18388
|
readonly type: "function";
|
|
18389
18389
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18390
18390
|
readonly inputs: readonly [{
|
|
@@ -19005,7 +19005,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19005
19005
|
}];
|
|
19006
19006
|
readonly stateMutability: "pure";
|
|
19007
19007
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
19008
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
19008
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
19009
19009
|
readonly type: "function";
|
|
19010
19010
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19011
19011
|
readonly inputs: readonly [{
|
|
@@ -19626,7 +19626,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19626
19626
|
}];
|
|
19627
19627
|
readonly stateMutability: "pure";
|
|
19628
19628
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
19629
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
19629
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
19630
19630
|
readonly type: "function";
|
|
19631
19631
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19632
19632
|
readonly inputs: readonly [{
|
|
@@ -20247,7 +20247,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20247
20247
|
}];
|
|
20248
20248
|
readonly stateMutability: "pure";
|
|
20249
20249
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20250
|
-
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 [{
|
|
20251
20251
|
readonly type: "function";
|
|
20252
20252
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20253
20253
|
readonly inputs: readonly [{
|
|
@@ -20868,7 +20868,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20868
20868
|
}];
|
|
20869
20869
|
readonly stateMutability: "pure";
|
|
20870
20870
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20871
|
-
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 [{
|
|
20872
20872
|
readonly type: "function";
|
|
20873
20873
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20874
20874
|
readonly inputs: readonly [{
|
|
@@ -21489,7 +21489,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
21489
21489
|
}];
|
|
21490
21490
|
readonly stateMutability: "pure";
|
|
21491
21491
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21492
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
21492
|
+
getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
21493
21493
|
readonly type: "function";
|
|
21494
21494
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21495
21495
|
readonly inputs: readonly [{
|
|
@@ -22736,7 +22736,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
22736
22736
|
};
|
|
22737
22737
|
declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
22738
22738
|
read: {
|
|
22739
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
22739
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
22740
22740
|
readonly type: "function";
|
|
22741
22741
|
readonly name: "batchGetRefTick";
|
|
22742
22742
|
readonly inputs: readonly [{
|
|
@@ -23325,7 +23325,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23325
23325
|
}];
|
|
23326
23326
|
readonly stateMutability: "view";
|
|
23327
23327
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
23328
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
23328
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23329
23329
|
readonly type: "function";
|
|
23330
23330
|
readonly name: "batchGetRefTick";
|
|
23331
23331
|
readonly inputs: readonly [{
|
|
@@ -23924,7 +23924,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23924
23924
|
borrowedAmount0: bigint;
|
|
23925
23925
|
borrowedAmount1: bigint;
|
|
23926
23926
|
}[]>;
|
|
23927
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
23927
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23928
23928
|
readonly type: "function";
|
|
23929
23929
|
readonly name: "batchGetRefTick";
|
|
23930
23930
|
readonly inputs: readonly [{
|
|
@@ -24523,7 +24523,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24523
24523
|
expiresAt: number;
|
|
24524
24524
|
liquidities: readonly bigint[];
|
|
24525
24525
|
}[], bigint, boolean]>;
|
|
24526
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
24526
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
24527
24527
|
readonly type: "function";
|
|
24528
24528
|
readonly name: "batchGetRefTick";
|
|
24529
24529
|
readonly inputs: readonly [{
|
|
@@ -25112,7 +25112,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25112
25112
|
}];
|
|
25113
25113
|
readonly stateMutability: "view";
|
|
25114
25114
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25115
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
25115
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25116
25116
|
readonly type: "function";
|
|
25117
25117
|
readonly name: "batchGetRefTick";
|
|
25118
25118
|
readonly inputs: readonly [{
|
|
@@ -25714,7 +25714,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25714
25714
|
payoutAssetName: string;
|
|
25715
25715
|
optionsCount: bigint;
|
|
25716
25716
|
}>;
|
|
25717
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
25717
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25718
25718
|
readonly type: "function";
|
|
25719
25719
|
readonly name: "batchGetRefTick";
|
|
25720
25720
|
readonly inputs: readonly [{
|
|
@@ -26303,7 +26303,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26303
26303
|
}];
|
|
26304
26304
|
readonly stateMutability: "view";
|
|
26305
26305
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
26306
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
26306
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26307
26307
|
readonly type: "function";
|
|
26308
26308
|
readonly name: "batchGetRefTick";
|
|
26309
26309
|
readonly inputs: readonly [{
|
|
@@ -26892,7 +26892,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26892
26892
|
}];
|
|
26893
26893
|
readonly stateMutability: "view";
|
|
26894
26894
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
26895
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
26895
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26896
26896
|
readonly type: "function";
|
|
26897
26897
|
readonly name: "batchGetRefTick";
|
|
26898
26898
|
readonly inputs: readonly [{
|
|
@@ -27491,7 +27491,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27491
27491
|
expiresAt: number;
|
|
27492
27492
|
liquidities: readonly bigint[];
|
|
27493
27493
|
}>;
|
|
27494
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
27494
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
27495
27495
|
readonly type: "function";
|
|
27496
27496
|
readonly name: "batchGetRefTick";
|
|
27497
27497
|
readonly inputs: readonly [{
|
|
@@ -28090,7 +28090,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28090
28090
|
expiresAt: number;
|
|
28091
28091
|
liquidities: readonly bigint[];
|
|
28092
28092
|
}[]>;
|
|
28093
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
28093
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
28094
28094
|
readonly type: "function";
|
|
28095
28095
|
readonly name: "batchGetRefTick";
|
|
28096
28096
|
readonly inputs: readonly [{
|
|
@@ -28690,7 +28690,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28690
28690
|
tickSpacing: number;
|
|
28691
28691
|
fee: number;
|
|
28692
28692
|
}>;
|
|
28693
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
28693
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
28694
28694
|
readonly type: "function";
|
|
28695
28695
|
readonly name: "batchGetRefTick";
|
|
28696
28696
|
readonly inputs: readonly [{
|
|
@@ -29279,7 +29279,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29279
29279
|
}];
|
|
29280
29280
|
readonly stateMutability: "view";
|
|
29281
29281
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
29282
|
-
getTokenData: (args: readonly [`0x${string}`], options?:
|
|
29282
|
+
getTokenData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
29283
29283
|
readonly type: "function";
|
|
29284
29284
|
readonly name: "batchGetRefTick";
|
|
29285
29285
|
readonly inputs: readonly [{
|
|
@@ -29872,7 +29872,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29872
29872
|
symbol: string;
|
|
29873
29873
|
name: string;
|
|
29874
29874
|
}>;
|
|
29875
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
29875
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
29876
29876
|
readonly type: "function";
|
|
29877
29877
|
readonly name: "batchGetRefTick";
|
|
29878
29878
|
readonly inputs: readonly [{
|
|
@@ -30471,7 +30471,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30471
30471
|
expiresAt: number;
|
|
30472
30472
|
liquidities: readonly bigint[];
|
|
30473
30473
|
}[], bigint, boolean]>;
|
|
30474
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
30474
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
30475
30475
|
readonly type: "function";
|
|
30476
30476
|
readonly name: "batchGetRefTick";
|
|
30477
30477
|
readonly inputs: readonly [{
|
|
@@ -31752,7 +31752,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31752
31752
|
isRefetching: boolean;
|
|
31753
31753
|
isStale: boolean;
|
|
31754
31754
|
isEnabled: boolean;
|
|
31755
|
-
refetch: (options?:
|
|
31755
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
31756
31756
|
optionId: bigint;
|
|
31757
31757
|
marketAddr: Address;
|
|
31758
31758
|
ownerAddr: Address;
|
|
@@ -31771,7 +31771,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31771
31771
|
__typename: "UserOption";
|
|
31772
31772
|
id: string;
|
|
31773
31773
|
strikeTick: number;
|
|
31774
|
-
entryTick: number;
|
|
31775
31774
|
startTick: number;
|
|
31776
31775
|
fullyExercised: boolean;
|
|
31777
31776
|
owner?: {
|
|
@@ -31783,7 +31782,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31783
31782
|
address: string;
|
|
31784
31783
|
} | null;
|
|
31785
31784
|
}[], Error>>;
|
|
31786
|
-
fetchStatus:
|
|
31785
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
31787
31786
|
promise: Promise<{
|
|
31788
31787
|
optionId: bigint;
|
|
31789
31788
|
marketAddr: Address;
|
|
@@ -31803,7 +31802,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31803
31802
|
__typename: "UserOption";
|
|
31804
31803
|
id: string;
|
|
31805
31804
|
strikeTick: number;
|
|
31806
|
-
entryTick: number;
|
|
31807
31805
|
startTick: number;
|
|
31808
31806
|
fullyExercised: boolean;
|
|
31809
31807
|
owner?: {
|
|
@@ -31834,7 +31832,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31834
31832
|
__typename: "UserOption";
|
|
31835
31833
|
id: string;
|
|
31836
31834
|
strikeTick: number;
|
|
31837
|
-
entryTick: number;
|
|
31838
31835
|
startTick: number;
|
|
31839
31836
|
fullyExercised: boolean;
|
|
31840
31837
|
owner?: {
|
|
@@ -31869,7 +31866,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31869
31866
|
isRefetching: boolean;
|
|
31870
31867
|
isStale: boolean;
|
|
31871
31868
|
isEnabled: boolean;
|
|
31872
|
-
refetch: (options?:
|
|
31869
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
31873
31870
|
optionId: bigint;
|
|
31874
31871
|
marketAddr: Address;
|
|
31875
31872
|
ownerAddr: Address;
|
|
@@ -31888,7 +31885,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31888
31885
|
__typename: "UserOption";
|
|
31889
31886
|
id: string;
|
|
31890
31887
|
strikeTick: number;
|
|
31891
|
-
entryTick: number;
|
|
31892
31888
|
startTick: number;
|
|
31893
31889
|
fullyExercised: boolean;
|
|
31894
31890
|
owner?: {
|
|
@@ -31900,7 +31896,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31900
31896
|
address: string;
|
|
31901
31897
|
} | null;
|
|
31902
31898
|
}[], Error>>;
|
|
31903
|
-
fetchStatus:
|
|
31899
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
31904
31900
|
promise: Promise<{
|
|
31905
31901
|
optionId: bigint;
|
|
31906
31902
|
marketAddr: Address;
|
|
@@ -31920,7 +31916,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31920
31916
|
__typename: "UserOption";
|
|
31921
31917
|
id: string;
|
|
31922
31918
|
strikeTick: number;
|
|
31923
|
-
entryTick: number;
|
|
31924
31919
|
startTick: number;
|
|
31925
31920
|
fullyExercised: boolean;
|
|
31926
31921
|
owner?: {
|
|
@@ -31951,7 +31946,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31951
31946
|
__typename: "UserOption";
|
|
31952
31947
|
id: string;
|
|
31953
31948
|
strikeTick: number;
|
|
31954
|
-
entryTick: number;
|
|
31955
31949
|
startTick: number;
|
|
31956
31950
|
fullyExercised: boolean;
|
|
31957
31951
|
owner?: {
|
|
@@ -31986,7 +31980,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31986
31980
|
isRefetching: boolean;
|
|
31987
31981
|
isStale: boolean;
|
|
31988
31982
|
isEnabled: boolean;
|
|
31989
|
-
refetch: (options?:
|
|
31983
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
31990
31984
|
optionId: bigint;
|
|
31991
31985
|
marketAddr: Address;
|
|
31992
31986
|
ownerAddr: Address;
|
|
@@ -32005,7 +31999,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32005
31999
|
__typename: "UserOption";
|
|
32006
32000
|
id: string;
|
|
32007
32001
|
strikeTick: number;
|
|
32008
|
-
entryTick: number;
|
|
32009
32002
|
startTick: number;
|
|
32010
32003
|
fullyExercised: boolean;
|
|
32011
32004
|
owner?: {
|
|
@@ -32017,7 +32010,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32017
32010
|
address: string;
|
|
32018
32011
|
} | null;
|
|
32019
32012
|
}[], Error>>;
|
|
32020
|
-
fetchStatus:
|
|
32013
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32021
32014
|
promise: Promise<{
|
|
32022
32015
|
optionId: bigint;
|
|
32023
32016
|
marketAddr: Address;
|
|
@@ -32037,7 +32030,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32037
32030
|
__typename: "UserOption";
|
|
32038
32031
|
id: string;
|
|
32039
32032
|
strikeTick: number;
|
|
32040
|
-
entryTick: number;
|
|
32041
32033
|
startTick: number;
|
|
32042
32034
|
fullyExercised: boolean;
|
|
32043
32035
|
owner?: {
|
|
@@ -32068,7 +32060,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32068
32060
|
__typename: "UserOption";
|
|
32069
32061
|
id: string;
|
|
32070
32062
|
strikeTick: number;
|
|
32071
|
-
entryTick: number;
|
|
32072
32063
|
startTick: number;
|
|
32073
32064
|
fullyExercised: boolean;
|
|
32074
32065
|
owner?: {
|
|
@@ -32103,7 +32094,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32103
32094
|
isRefetching: boolean;
|
|
32104
32095
|
isStale: boolean;
|
|
32105
32096
|
isEnabled: boolean;
|
|
32106
|
-
refetch: (options?:
|
|
32097
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32107
32098
|
optionId: bigint;
|
|
32108
32099
|
marketAddr: Address;
|
|
32109
32100
|
ownerAddr: Address;
|
|
@@ -32122,7 +32113,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32122
32113
|
__typename: "UserOption";
|
|
32123
32114
|
id: string;
|
|
32124
32115
|
strikeTick: number;
|
|
32125
|
-
entryTick: number;
|
|
32126
32116
|
startTick: number;
|
|
32127
32117
|
fullyExercised: boolean;
|
|
32128
32118
|
owner?: {
|
|
@@ -32134,7 +32124,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32134
32124
|
address: string;
|
|
32135
32125
|
} | null;
|
|
32136
32126
|
}[], Error>>;
|
|
32137
|
-
fetchStatus:
|
|
32127
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32138
32128
|
promise: Promise<{
|
|
32139
32129
|
optionId: bigint;
|
|
32140
32130
|
marketAddr: Address;
|
|
@@ -32154,7 +32144,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32154
32144
|
__typename: "UserOption";
|
|
32155
32145
|
id: string;
|
|
32156
32146
|
strikeTick: number;
|
|
32157
|
-
entryTick: number;
|
|
32158
32147
|
startTick: number;
|
|
32159
32148
|
fullyExercised: boolean;
|
|
32160
32149
|
owner?: {
|
|
@@ -32185,7 +32174,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32185
32174
|
__typename: "UserOption";
|
|
32186
32175
|
id: string;
|
|
32187
32176
|
strikeTick: number;
|
|
32188
|
-
entryTick: number;
|
|
32189
32177
|
startTick: number;
|
|
32190
32178
|
fullyExercised: boolean;
|
|
32191
32179
|
owner?: {
|
|
@@ -32220,7 +32208,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32220
32208
|
isRefetching: boolean;
|
|
32221
32209
|
isStale: boolean;
|
|
32222
32210
|
isEnabled: boolean;
|
|
32223
|
-
refetch: (options?:
|
|
32211
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32224
32212
|
optionId: bigint;
|
|
32225
32213
|
marketAddr: Address;
|
|
32226
32214
|
ownerAddr: Address;
|
|
@@ -32239,7 +32227,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32239
32227
|
__typename: "UserOption";
|
|
32240
32228
|
id: string;
|
|
32241
32229
|
strikeTick: number;
|
|
32242
|
-
entryTick: number;
|
|
32243
32230
|
startTick: number;
|
|
32244
32231
|
fullyExercised: boolean;
|
|
32245
32232
|
owner?: {
|
|
@@ -32251,7 +32238,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32251
32238
|
address: string;
|
|
32252
32239
|
} | null;
|
|
32253
32240
|
}[], Error>>;
|
|
32254
|
-
fetchStatus:
|
|
32241
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32255
32242
|
promise: Promise<{
|
|
32256
32243
|
optionId: bigint;
|
|
32257
32244
|
marketAddr: Address;
|
|
@@ -32271,7 +32258,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32271
32258
|
__typename: "UserOption";
|
|
32272
32259
|
id: string;
|
|
32273
32260
|
strikeTick: number;
|
|
32274
|
-
entryTick: number;
|
|
32275
32261
|
startTick: number;
|
|
32276
32262
|
fullyExercised: boolean;
|
|
32277
32263
|
owner?: {
|
|
@@ -32302,7 +32288,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32302
32288
|
__typename: "UserOption";
|
|
32303
32289
|
id: string;
|
|
32304
32290
|
strikeTick: number;
|
|
32305
|
-
entryTick: number;
|
|
32306
32291
|
startTick: number;
|
|
32307
32292
|
fullyExercised: boolean;
|
|
32308
32293
|
owner?: {
|
|
@@ -32337,7 +32322,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32337
32322
|
isRefetching: boolean;
|
|
32338
32323
|
isStale: boolean;
|
|
32339
32324
|
isEnabled: boolean;
|
|
32340
|
-
refetch: (options?:
|
|
32325
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32341
32326
|
optionId: bigint;
|
|
32342
32327
|
marketAddr: Address;
|
|
32343
32328
|
ownerAddr: Address;
|
|
@@ -32356,7 +32341,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32356
32341
|
__typename: "UserOption";
|
|
32357
32342
|
id: string;
|
|
32358
32343
|
strikeTick: number;
|
|
32359
|
-
entryTick: number;
|
|
32360
32344
|
startTick: number;
|
|
32361
32345
|
fullyExercised: boolean;
|
|
32362
32346
|
owner?: {
|
|
@@ -32368,7 +32352,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32368
32352
|
address: string;
|
|
32369
32353
|
} | null;
|
|
32370
32354
|
}[], Error>>;
|
|
32371
|
-
fetchStatus:
|
|
32355
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32372
32356
|
promise: Promise<{
|
|
32373
32357
|
optionId: bigint;
|
|
32374
32358
|
marketAddr: Address;
|
|
@@ -32388,7 +32372,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32388
32372
|
__typename: "UserOption";
|
|
32389
32373
|
id: string;
|
|
32390
32374
|
strikeTick: number;
|
|
32391
|
-
entryTick: number;
|
|
32392
32375
|
startTick: number;
|
|
32393
32376
|
fullyExercised: boolean;
|
|
32394
32377
|
owner?: {
|
|
@@ -32419,7 +32402,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32419
32402
|
__typename: "UserOption";
|
|
32420
32403
|
id: string;
|
|
32421
32404
|
strikeTick: number;
|
|
32422
|
-
entryTick: number;
|
|
32423
32405
|
startTick: number;
|
|
32424
32406
|
fullyExercised: boolean;
|
|
32425
32407
|
owner?: {
|
|
@@ -32455,7 +32437,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32455
32437
|
isRefetching: boolean;
|
|
32456
32438
|
isStale: boolean;
|
|
32457
32439
|
isEnabled: boolean;
|
|
32458
|
-
refetch: (options?:
|
|
32440
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32459
32441
|
optionId: bigint;
|
|
32460
32442
|
marketAddr: Address;
|
|
32461
32443
|
ownerAddr: Address;
|
|
@@ -32474,7 +32456,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32474
32456
|
__typename: "UserOption";
|
|
32475
32457
|
id: string;
|
|
32476
32458
|
strikeTick: number;
|
|
32477
|
-
entryTick: number;
|
|
32478
32459
|
startTick: number;
|
|
32479
32460
|
fullyExercised: boolean;
|
|
32480
32461
|
owner?: {
|
|
@@ -32486,7 +32467,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32486
32467
|
address: string;
|
|
32487
32468
|
} | null;
|
|
32488
32469
|
}[], Error>>;
|
|
32489
|
-
fetchStatus:
|
|
32470
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32490
32471
|
promise: Promise<{
|
|
32491
32472
|
optionId: bigint;
|
|
32492
32473
|
marketAddr: Address;
|
|
@@ -32506,7 +32487,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32506
32487
|
__typename: "UserOption";
|
|
32507
32488
|
id: string;
|
|
32508
32489
|
strikeTick: number;
|
|
32509
|
-
entryTick: number;
|
|
32510
32490
|
startTick: number;
|
|
32511
32491
|
fullyExercised: boolean;
|
|
32512
32492
|
owner?: {
|
|
@@ -32537,7 +32517,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32537
32517
|
__typename: "UserOption";
|
|
32538
32518
|
id: string;
|
|
32539
32519
|
strikeTick: number;
|
|
32540
|
-
entryTick: number;
|
|
32541
32520
|
startTick: number;
|
|
32542
32521
|
fullyExercised: boolean;
|
|
32543
32522
|
owner?: {
|
|
@@ -32572,7 +32551,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32572
32551
|
isRefetching: boolean;
|
|
32573
32552
|
isStale: boolean;
|
|
32574
32553
|
isEnabled: boolean;
|
|
32575
|
-
refetch: (options?:
|
|
32554
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32576
32555
|
optionId: bigint;
|
|
32577
32556
|
marketAddr: Address;
|
|
32578
32557
|
ownerAddr: Address;
|
|
@@ -32591,7 +32570,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32591
32570
|
__typename: "UserOption";
|
|
32592
32571
|
id: string;
|
|
32593
32572
|
strikeTick: number;
|
|
32594
|
-
entryTick: number;
|
|
32595
32573
|
startTick: number;
|
|
32596
32574
|
fullyExercised: boolean;
|
|
32597
32575
|
owner?: {
|
|
@@ -32603,7 +32581,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32603
32581
|
address: string;
|
|
32604
32582
|
} | null;
|
|
32605
32583
|
}[], Error>>;
|
|
32606
|
-
fetchStatus:
|
|
32584
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32607
32585
|
promise: Promise<{
|
|
32608
32586
|
optionId: bigint;
|
|
32609
32587
|
marketAddr: Address;
|
|
@@ -32623,7 +32601,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32623
32601
|
__typename: "UserOption";
|
|
32624
32602
|
id: string;
|
|
32625
32603
|
strikeTick: number;
|
|
32626
|
-
entryTick: number;
|
|
32627
32604
|
startTick: number;
|
|
32628
32605
|
fullyExercised: boolean;
|
|
32629
32606
|
owner?: {
|
|
@@ -32654,7 +32631,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32654
32631
|
__typename: "UserOption";
|
|
32655
32632
|
id: string;
|
|
32656
32633
|
strikeTick: number;
|
|
32657
|
-
entryTick: number;
|
|
32658
32634
|
startTick: number;
|
|
32659
32635
|
fullyExercised: boolean;
|
|
32660
32636
|
owner?: {
|
|
@@ -32689,7 +32665,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32689
32665
|
isRefetching: boolean;
|
|
32690
32666
|
isStale: boolean;
|
|
32691
32667
|
isEnabled: boolean;
|
|
32692
|
-
refetch: (options?:
|
|
32668
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32693
32669
|
optionId: bigint;
|
|
32694
32670
|
marketAddr: Address;
|
|
32695
32671
|
ownerAddr: Address;
|
|
@@ -32708,7 +32684,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32708
32684
|
__typename: "UserOption";
|
|
32709
32685
|
id: string;
|
|
32710
32686
|
strikeTick: number;
|
|
32711
|
-
entryTick: number;
|
|
32712
32687
|
startTick: number;
|
|
32713
32688
|
fullyExercised: boolean;
|
|
32714
32689
|
owner?: {
|
|
@@ -32720,7 +32695,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32720
32695
|
address: string;
|
|
32721
32696
|
} | null;
|
|
32722
32697
|
}[], Error>>;
|
|
32723
|
-
fetchStatus:
|
|
32698
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32724
32699
|
promise: Promise<{
|
|
32725
32700
|
optionId: bigint;
|
|
32726
32701
|
marketAddr: Address;
|
|
@@ -32740,7 +32715,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32740
32715
|
__typename: "UserOption";
|
|
32741
32716
|
id: string;
|
|
32742
32717
|
strikeTick: number;
|
|
32743
|
-
entryTick: number;
|
|
32744
32718
|
startTick: number;
|
|
32745
32719
|
fullyExercised: boolean;
|
|
32746
32720
|
owner?: {
|
|
@@ -32771,7 +32745,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32771
32745
|
__typename: "UserOption";
|
|
32772
32746
|
id: string;
|
|
32773
32747
|
strikeTick: number;
|
|
32774
|
-
entryTick: number;
|
|
32775
32748
|
startTick: number;
|
|
32776
32749
|
fullyExercised: boolean;
|
|
32777
32750
|
owner?: {
|
|
@@ -32806,7 +32779,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32806
32779
|
isRefetching: boolean;
|
|
32807
32780
|
isStale: boolean;
|
|
32808
32781
|
isEnabled: boolean;
|
|
32809
|
-
refetch: (options?:
|
|
32782
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32810
32783
|
optionId: bigint;
|
|
32811
32784
|
marketAddr: Address;
|
|
32812
32785
|
ownerAddr: Address;
|
|
@@ -32825,7 +32798,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32825
32798
|
__typename: "UserOption";
|
|
32826
32799
|
id: string;
|
|
32827
32800
|
strikeTick: number;
|
|
32828
|
-
entryTick: number;
|
|
32829
32801
|
startTick: number;
|
|
32830
32802
|
fullyExercised: boolean;
|
|
32831
32803
|
owner?: {
|
|
@@ -32837,7 +32809,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32837
32809
|
address: string;
|
|
32838
32810
|
} | null;
|
|
32839
32811
|
}[], Error>>;
|
|
32840
|
-
fetchStatus:
|
|
32812
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32841
32813
|
promise: Promise<{
|
|
32842
32814
|
optionId: bigint;
|
|
32843
32815
|
marketAddr: Address;
|
|
@@ -32857,7 +32829,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32857
32829
|
__typename: "UserOption";
|
|
32858
32830
|
id: string;
|
|
32859
32831
|
strikeTick: number;
|
|
32860
|
-
entryTick: number;
|
|
32861
32832
|
startTick: number;
|
|
32862
32833
|
fullyExercised: boolean;
|
|
32863
32834
|
owner?: {
|
|
@@ -32888,7 +32859,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32888
32859
|
__typename: "UserOption";
|
|
32889
32860
|
id: string;
|
|
32890
32861
|
strikeTick: number;
|
|
32891
|
-
entryTick: number;
|
|
32892
32862
|
startTick: number;
|
|
32893
32863
|
fullyExercised: boolean;
|
|
32894
32864
|
owner?: {
|
|
@@ -32923,7 +32893,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32923
32893
|
isRefetching: boolean;
|
|
32924
32894
|
isStale: boolean;
|
|
32925
32895
|
isEnabled: boolean;
|
|
32926
|
-
refetch: (options?:
|
|
32896
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32927
32897
|
optionId: bigint;
|
|
32928
32898
|
marketAddr: Address;
|
|
32929
32899
|
ownerAddr: Address;
|
|
@@ -32942,7 +32912,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32942
32912
|
__typename: "UserOption";
|
|
32943
32913
|
id: string;
|
|
32944
32914
|
strikeTick: number;
|
|
32945
|
-
entryTick: number;
|
|
32946
32915
|
startTick: number;
|
|
32947
32916
|
fullyExercised: boolean;
|
|
32948
32917
|
owner?: {
|
|
@@ -32954,7 +32923,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32954
32923
|
address: string;
|
|
32955
32924
|
} | null;
|
|
32956
32925
|
}[], Error>>;
|
|
32957
|
-
fetchStatus:
|
|
32926
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32958
32927
|
promise: Promise<{
|
|
32959
32928
|
optionId: bigint;
|
|
32960
32929
|
marketAddr: Address;
|
|
@@ -32974,7 +32943,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32974
32943
|
__typename: "UserOption";
|
|
32975
32944
|
id: string;
|
|
32976
32945
|
strikeTick: number;
|
|
32977
|
-
entryTick: number;
|
|
32978
32946
|
startTick: number;
|
|
32979
32947
|
fullyExercised: boolean;
|
|
32980
32948
|
owner?: {
|
|
@@ -33005,7 +32973,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33005
32973
|
__typename: "UserOption";
|
|
33006
32974
|
id: string;
|
|
33007
32975
|
strikeTick: number;
|
|
33008
|
-
entryTick: number;
|
|
33009
32976
|
startTick: number;
|
|
33010
32977
|
fullyExercised: boolean;
|
|
33011
32978
|
owner?: {
|
|
@@ -33040,7 +33007,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33040
33007
|
isRefetching: boolean;
|
|
33041
33008
|
isStale: boolean;
|
|
33042
33009
|
isEnabled: boolean;
|
|
33043
|
-
refetch: (options?:
|
|
33010
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33044
33011
|
optionId: bigint;
|
|
33045
33012
|
marketAddr: Address;
|
|
33046
33013
|
ownerAddr: Address;
|
|
@@ -33059,7 +33026,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33059
33026
|
__typename: "UserOption";
|
|
33060
33027
|
id: string;
|
|
33061
33028
|
strikeTick: number;
|
|
33062
|
-
entryTick: number;
|
|
33063
33029
|
startTick: number;
|
|
33064
33030
|
fullyExercised: boolean;
|
|
33065
33031
|
owner?: {
|
|
@@ -33071,7 +33037,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33071
33037
|
address: string;
|
|
33072
33038
|
} | null;
|
|
33073
33039
|
}[], Error>>;
|
|
33074
|
-
fetchStatus:
|
|
33040
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33075
33041
|
promise: Promise<{
|
|
33076
33042
|
optionId: bigint;
|
|
33077
33043
|
marketAddr: Address;
|
|
@@ -33091,7 +33057,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33091
33057
|
__typename: "UserOption";
|
|
33092
33058
|
id: string;
|
|
33093
33059
|
strikeTick: number;
|
|
33094
|
-
entryTick: number;
|
|
33095
33060
|
startTick: number;
|
|
33096
33061
|
fullyExercised: boolean;
|
|
33097
33062
|
owner?: {
|
|
@@ -33122,7 +33087,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33122
33087
|
__typename: "UserOption";
|
|
33123
33088
|
id: string;
|
|
33124
33089
|
strikeTick: number;
|
|
33125
|
-
entryTick: number;
|
|
33126
33090
|
startTick: number;
|
|
33127
33091
|
fullyExercised: boolean;
|
|
33128
33092
|
owner?: {
|
|
@@ -33158,7 +33122,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33158
33122
|
isRefetching: boolean;
|
|
33159
33123
|
isStale: boolean;
|
|
33160
33124
|
isEnabled: boolean;
|
|
33161
|
-
refetch: (options?:
|
|
33125
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33162
33126
|
optionId: bigint;
|
|
33163
33127
|
marketAddr: Address;
|
|
33164
33128
|
ownerAddr: Address;
|
|
@@ -33177,7 +33141,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33177
33141
|
__typename: "UserOption";
|
|
33178
33142
|
id: string;
|
|
33179
33143
|
strikeTick: number;
|
|
33180
|
-
entryTick: number;
|
|
33181
33144
|
startTick: number;
|
|
33182
33145
|
fullyExercised: boolean;
|
|
33183
33146
|
owner?: {
|
|
@@ -33189,7 +33152,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33189
33152
|
address: string;
|
|
33190
33153
|
} | null;
|
|
33191
33154
|
}[], Error>>;
|
|
33192
|
-
fetchStatus:
|
|
33155
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33193
33156
|
promise: Promise<{
|
|
33194
33157
|
optionId: bigint;
|
|
33195
33158
|
marketAddr: Address;
|
|
@@ -33209,7 +33172,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33209
33172
|
__typename: "UserOption";
|
|
33210
33173
|
id: string;
|
|
33211
33174
|
strikeTick: number;
|
|
33212
|
-
entryTick: number;
|
|
33213
33175
|
startTick: number;
|
|
33214
33176
|
fullyExercised: boolean;
|
|
33215
33177
|
owner?: {
|
|
@@ -33240,7 +33202,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33240
33202
|
__typename: "UserOption";
|
|
33241
33203
|
id: string;
|
|
33242
33204
|
strikeTick: number;
|
|
33243
|
-
entryTick: number;
|
|
33244
33205
|
startTick: number;
|
|
33245
33206
|
fullyExercised: boolean;
|
|
33246
33207
|
owner?: {
|
|
@@ -33275,7 +33236,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33275
33236
|
isRefetching: boolean;
|
|
33276
33237
|
isStale: boolean;
|
|
33277
33238
|
isEnabled: boolean;
|
|
33278
|
-
refetch: (options?:
|
|
33239
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33279
33240
|
optionId: bigint;
|
|
33280
33241
|
marketAddr: Address;
|
|
33281
33242
|
ownerAddr: Address;
|
|
@@ -33294,7 +33255,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33294
33255
|
__typename: "UserOption";
|
|
33295
33256
|
id: string;
|
|
33296
33257
|
strikeTick: number;
|
|
33297
|
-
entryTick: number;
|
|
33298
33258
|
startTick: number;
|
|
33299
33259
|
fullyExercised: boolean;
|
|
33300
33260
|
owner?: {
|
|
@@ -33306,7 +33266,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33306
33266
|
address: string;
|
|
33307
33267
|
} | null;
|
|
33308
33268
|
}[], Error>>;
|
|
33309
|
-
fetchStatus:
|
|
33269
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33310
33270
|
promise: Promise<{
|
|
33311
33271
|
optionId: bigint;
|
|
33312
33272
|
marketAddr: Address;
|
|
@@ -33326,7 +33286,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33326
33286
|
__typename: "UserOption";
|
|
33327
33287
|
id: string;
|
|
33328
33288
|
strikeTick: number;
|
|
33329
|
-
entryTick: number;
|
|
33330
33289
|
startTick: number;
|
|
33331
33290
|
fullyExercised: boolean;
|
|
33332
33291
|
owner?: {
|
|
@@ -33357,7 +33316,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33357
33316
|
__typename: "UserOption";
|
|
33358
33317
|
id: string;
|
|
33359
33318
|
strikeTick: number;
|
|
33360
|
-
entryTick: number;
|
|
33361
33319
|
startTick: number;
|
|
33362
33320
|
fullyExercised: boolean;
|
|
33363
33321
|
owner?: {
|
|
@@ -33392,7 +33350,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33392
33350
|
isRefetching: boolean;
|
|
33393
33351
|
isStale: boolean;
|
|
33394
33352
|
isEnabled: boolean;
|
|
33395
|
-
refetch: (options?:
|
|
33353
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33396
33354
|
optionId: bigint;
|
|
33397
33355
|
marketAddr: Address;
|
|
33398
33356
|
ownerAddr: Address;
|
|
@@ -33411,7 +33369,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33411
33369
|
__typename: "UserOption";
|
|
33412
33370
|
id: string;
|
|
33413
33371
|
strikeTick: number;
|
|
33414
|
-
entryTick: number;
|
|
33415
33372
|
startTick: number;
|
|
33416
33373
|
fullyExercised: boolean;
|
|
33417
33374
|
owner?: {
|
|
@@ -33423,7 +33380,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33423
33380
|
address: string;
|
|
33424
33381
|
} | null;
|
|
33425
33382
|
}[], Error>>;
|
|
33426
|
-
fetchStatus:
|
|
33383
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33427
33384
|
promise: Promise<{
|
|
33428
33385
|
optionId: bigint;
|
|
33429
33386
|
marketAddr: Address;
|
|
@@ -33443,7 +33400,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33443
33400
|
__typename: "UserOption";
|
|
33444
33401
|
id: string;
|
|
33445
33402
|
strikeTick: number;
|
|
33446
|
-
entryTick: number;
|
|
33447
33403
|
startTick: number;
|
|
33448
33404
|
fullyExercised: boolean;
|
|
33449
33405
|
owner?: {
|
|
@@ -33474,7 +33430,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33474
33430
|
__typename: "UserOption";
|
|
33475
33431
|
id: string;
|
|
33476
33432
|
strikeTick: number;
|
|
33477
|
-
entryTick: number;
|
|
33478
33433
|
startTick: number;
|
|
33479
33434
|
fullyExercised: boolean;
|
|
33480
33435
|
owner?: {
|
|
@@ -33509,7 +33464,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33509
33464
|
isRefetching: boolean;
|
|
33510
33465
|
isStale: boolean;
|
|
33511
33466
|
isEnabled: boolean;
|
|
33512
|
-
refetch: (options?:
|
|
33467
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33513
33468
|
optionId: bigint;
|
|
33514
33469
|
marketAddr: Address;
|
|
33515
33470
|
ownerAddr: Address;
|
|
@@ -33528,7 +33483,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33528
33483
|
__typename: "UserOption";
|
|
33529
33484
|
id: string;
|
|
33530
33485
|
strikeTick: number;
|
|
33531
|
-
entryTick: number;
|
|
33532
33486
|
startTick: number;
|
|
33533
33487
|
fullyExercised: boolean;
|
|
33534
33488
|
owner?: {
|
|
@@ -33540,7 +33494,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33540
33494
|
address: string;
|
|
33541
33495
|
} | null;
|
|
33542
33496
|
}[], Error>>;
|
|
33543
|
-
fetchStatus:
|
|
33497
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33544
33498
|
promise: Promise<{
|
|
33545
33499
|
optionId: bigint;
|
|
33546
33500
|
marketAddr: Address;
|
|
@@ -33560,7 +33514,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33560
33514
|
__typename: "UserOption";
|
|
33561
33515
|
id: string;
|
|
33562
33516
|
strikeTick: number;
|
|
33563
|
-
entryTick: number;
|
|
33564
33517
|
startTick: number;
|
|
33565
33518
|
fullyExercised: boolean;
|
|
33566
33519
|
owner?: {
|
|
@@ -33591,7 +33544,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33591
33544
|
__typename: "UserOption";
|
|
33592
33545
|
id: string;
|
|
33593
33546
|
strikeTick: number;
|
|
33594
|
-
entryTick: number;
|
|
33595
33547
|
startTick: number;
|
|
33596
33548
|
fullyExercised: boolean;
|
|
33597
33549
|
owner?: {
|
|
@@ -33626,7 +33578,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33626
33578
|
isRefetching: boolean;
|
|
33627
33579
|
isStale: boolean;
|
|
33628
33580
|
isEnabled: boolean;
|
|
33629
|
-
refetch: (options?:
|
|
33581
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33630
33582
|
optionId: bigint;
|
|
33631
33583
|
marketAddr: Address;
|
|
33632
33584
|
ownerAddr: Address;
|
|
@@ -33645,7 +33597,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33645
33597
|
__typename: "UserOption";
|
|
33646
33598
|
id: string;
|
|
33647
33599
|
strikeTick: number;
|
|
33648
|
-
entryTick: number;
|
|
33649
33600
|
startTick: number;
|
|
33650
33601
|
fullyExercised: boolean;
|
|
33651
33602
|
owner?: {
|
|
@@ -33657,7 +33608,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33657
33608
|
address: string;
|
|
33658
33609
|
} | null;
|
|
33659
33610
|
}[], Error>>;
|
|
33660
|
-
fetchStatus:
|
|
33611
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33661
33612
|
promise: Promise<{
|
|
33662
33613
|
optionId: bigint;
|
|
33663
33614
|
marketAddr: Address;
|
|
@@ -33677,7 +33628,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33677
33628
|
__typename: "UserOption";
|
|
33678
33629
|
id: string;
|
|
33679
33630
|
strikeTick: number;
|
|
33680
|
-
entryTick: number;
|
|
33681
33631
|
startTick: number;
|
|
33682
33632
|
fullyExercised: boolean;
|
|
33683
33633
|
owner?: {
|
|
@@ -33708,7 +33658,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33708
33658
|
__typename: "UserOption";
|
|
33709
33659
|
id: string;
|
|
33710
33660
|
strikeTick: number;
|
|
33711
|
-
entryTick: number;
|
|
33712
33661
|
startTick: number;
|
|
33713
33662
|
fullyExercised: boolean;
|
|
33714
33663
|
owner?: {
|
|
@@ -33743,7 +33692,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33743
33692
|
isRefetching: boolean;
|
|
33744
33693
|
isStale: boolean;
|
|
33745
33694
|
isEnabled: boolean;
|
|
33746
|
-
refetch: (options?:
|
|
33695
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33747
33696
|
optionId: bigint;
|
|
33748
33697
|
marketAddr: Address;
|
|
33749
33698
|
ownerAddr: Address;
|
|
@@ -33762,7 +33711,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33762
33711
|
__typename: "UserOption";
|
|
33763
33712
|
id: string;
|
|
33764
33713
|
strikeTick: number;
|
|
33765
|
-
entryTick: number;
|
|
33766
33714
|
startTick: number;
|
|
33767
33715
|
fullyExercised: boolean;
|
|
33768
33716
|
owner?: {
|
|
@@ -33774,7 +33722,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33774
33722
|
address: string;
|
|
33775
33723
|
} | null;
|
|
33776
33724
|
}[], Error>>;
|
|
33777
|
-
fetchStatus:
|
|
33725
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33778
33726
|
promise: Promise<{
|
|
33779
33727
|
optionId: bigint;
|
|
33780
33728
|
marketAddr: Address;
|
|
@@ -33794,7 +33742,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33794
33742
|
__typename: "UserOption";
|
|
33795
33743
|
id: string;
|
|
33796
33744
|
strikeTick: number;
|
|
33797
|
-
entryTick: number;
|
|
33798
33745
|
startTick: number;
|
|
33799
33746
|
fullyExercised: boolean;
|
|
33800
33747
|
owner?: {
|
|
@@ -33825,7 +33772,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33825
33772
|
__typename: "UserOption";
|
|
33826
33773
|
id: string;
|
|
33827
33774
|
strikeTick: number;
|
|
33828
|
-
entryTick: number;
|
|
33829
33775
|
startTick: number;
|
|
33830
33776
|
fullyExercised: boolean;
|
|
33831
33777
|
owner?: {
|
|
@@ -33951,18 +33897,18 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
33951
33897
|
isRefetching: boolean;
|
|
33952
33898
|
isStale: boolean;
|
|
33953
33899
|
isEnabled: boolean;
|
|
33954
|
-
refetch: (options?:
|
|
33900
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
33955
33901
|
type: "mint";
|
|
33956
33902
|
data: {
|
|
33957
33903
|
id: string;
|
|
33958
33904
|
optionType: 0 | 1;
|
|
33959
33905
|
strikeTick: number;
|
|
33960
|
-
|
|
33961
|
-
expiresAt: Date;
|
|
33906
|
+
price: bigint;
|
|
33962
33907
|
premium: bigint;
|
|
33963
33908
|
protocolFee: bigint;
|
|
33964
33909
|
liquidities: bigint[];
|
|
33965
33910
|
timestamp: Date;
|
|
33911
|
+
expiresAt: Date;
|
|
33966
33912
|
blockNumber: bigint;
|
|
33967
33913
|
transactionHash: string;
|
|
33968
33914
|
};
|
|
@@ -33970,9 +33916,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
33970
33916
|
type: "exercise";
|
|
33971
33917
|
data: {
|
|
33972
33918
|
id: string;
|
|
33973
|
-
liquidities: bigint[];
|
|
33974
|
-
currentTick: number;
|
|
33975
33919
|
payout: bigint;
|
|
33920
|
+
price: bigint;
|
|
33921
|
+
liquidities: bigint[];
|
|
33976
33922
|
timestamp: Date;
|
|
33977
33923
|
blockNumber: bigint;
|
|
33978
33924
|
transactionHash: string;
|
|
@@ -33983,26 +33929,26 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
33983
33929
|
id: string;
|
|
33984
33930
|
premium: bigint;
|
|
33985
33931
|
protocolFee: bigint;
|
|
33986
|
-
|
|
33932
|
+
price: bigint;
|
|
33987
33933
|
addedDuration: bigint;
|
|
33988
33934
|
timestamp: Date;
|
|
33989
33935
|
blockNumber: bigint;
|
|
33990
33936
|
transactionHash: string;
|
|
33991
33937
|
};
|
|
33992
33938
|
})[], Error>>;
|
|
33993
|
-
fetchStatus:
|
|
33939
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33994
33940
|
promise: Promise<({
|
|
33995
33941
|
type: "mint";
|
|
33996
33942
|
data: {
|
|
33997
33943
|
id: string;
|
|
33998
33944
|
optionType: 0 | 1;
|
|
33999
33945
|
strikeTick: number;
|
|
34000
|
-
|
|
34001
|
-
expiresAt: Date;
|
|
33946
|
+
price: bigint;
|
|
34002
33947
|
premium: bigint;
|
|
34003
33948
|
protocolFee: bigint;
|
|
34004
33949
|
liquidities: bigint[];
|
|
34005
33950
|
timestamp: Date;
|
|
33951
|
+
expiresAt: Date;
|
|
34006
33952
|
blockNumber: bigint;
|
|
34007
33953
|
transactionHash: string;
|
|
34008
33954
|
};
|
|
@@ -34010,9 +33956,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34010
33956
|
type: "exercise";
|
|
34011
33957
|
data: {
|
|
34012
33958
|
id: string;
|
|
34013
|
-
liquidities: bigint[];
|
|
34014
|
-
currentTick: number;
|
|
34015
33959
|
payout: bigint;
|
|
33960
|
+
price: bigint;
|
|
33961
|
+
liquidities: bigint[];
|
|
34016
33962
|
timestamp: Date;
|
|
34017
33963
|
blockNumber: bigint;
|
|
34018
33964
|
transactionHash: string;
|
|
@@ -34023,7 +33969,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34023
33969
|
id: string;
|
|
34024
33970
|
premium: bigint;
|
|
34025
33971
|
protocolFee: bigint;
|
|
34026
|
-
|
|
33972
|
+
price: bigint;
|
|
34027
33973
|
addedDuration: bigint;
|
|
34028
33974
|
timestamp: Date;
|
|
34029
33975
|
blockNumber: bigint;
|
|
@@ -34036,12 +33982,12 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34036
33982
|
id: string;
|
|
34037
33983
|
optionType: 0 | 1;
|
|
34038
33984
|
strikeTick: number;
|
|
34039
|
-
|
|
34040
|
-
expiresAt: Date;
|
|
33985
|
+
price: bigint;
|
|
34041
33986
|
premium: bigint;
|
|
34042
33987
|
protocolFee: bigint;
|
|
34043
33988
|
liquidities: bigint[];
|
|
34044
33989
|
timestamp: Date;
|
|
33990
|
+
expiresAt: Date;
|
|
34045
33991
|
blockNumber: bigint;
|
|
34046
33992
|
transactionHash: string;
|
|
34047
33993
|
};
|
|
@@ -34049,9 +33995,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34049
33995
|
type: "exercise";
|
|
34050
33996
|
data: {
|
|
34051
33997
|
id: string;
|
|
34052
|
-
liquidities: bigint[];
|
|
34053
|
-
currentTick: number;
|
|
34054
33998
|
payout: bigint;
|
|
33999
|
+
price: bigint;
|
|
34000
|
+
liquidities: bigint[];
|
|
34055
34001
|
timestamp: Date;
|
|
34056
34002
|
blockNumber: bigint;
|
|
34057
34003
|
transactionHash: string;
|
|
@@ -34062,7 +34008,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34062
34008
|
id: string;
|
|
34063
34009
|
premium: bigint;
|
|
34064
34010
|
protocolFee: bigint;
|
|
34065
|
-
|
|
34011
|
+
price: bigint;
|
|
34066
34012
|
addedDuration: bigint;
|
|
34067
34013
|
timestamp: Date;
|
|
34068
34014
|
blockNumber: bigint;
|
|
@@ -34092,18 +34038,18 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34092
34038
|
isRefetching: boolean;
|
|
34093
34039
|
isStale: boolean;
|
|
34094
34040
|
isEnabled: boolean;
|
|
34095
|
-
refetch: (options?:
|
|
34041
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
34096
34042
|
type: "mint";
|
|
34097
34043
|
data: {
|
|
34098
34044
|
id: string;
|
|
34099
34045
|
optionType: 0 | 1;
|
|
34100
34046
|
strikeTick: number;
|
|
34101
|
-
|
|
34102
|
-
expiresAt: Date;
|
|
34047
|
+
price: bigint;
|
|
34103
34048
|
premium: bigint;
|
|
34104
34049
|
protocolFee: bigint;
|
|
34105
34050
|
liquidities: bigint[];
|
|
34106
34051
|
timestamp: Date;
|
|
34052
|
+
expiresAt: Date;
|
|
34107
34053
|
blockNumber: bigint;
|
|
34108
34054
|
transactionHash: string;
|
|
34109
34055
|
};
|
|
@@ -34111,9 +34057,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34111
34057
|
type: "exercise";
|
|
34112
34058
|
data: {
|
|
34113
34059
|
id: string;
|
|
34114
|
-
liquidities: bigint[];
|
|
34115
|
-
currentTick: number;
|
|
34116
34060
|
payout: bigint;
|
|
34061
|
+
price: bigint;
|
|
34062
|
+
liquidities: bigint[];
|
|
34117
34063
|
timestamp: Date;
|
|
34118
34064
|
blockNumber: bigint;
|
|
34119
34065
|
transactionHash: string;
|
|
@@ -34124,26 +34070,26 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34124
34070
|
id: string;
|
|
34125
34071
|
premium: bigint;
|
|
34126
34072
|
protocolFee: bigint;
|
|
34127
|
-
|
|
34073
|
+
price: bigint;
|
|
34128
34074
|
addedDuration: bigint;
|
|
34129
34075
|
timestamp: Date;
|
|
34130
34076
|
blockNumber: bigint;
|
|
34131
34077
|
transactionHash: string;
|
|
34132
34078
|
};
|
|
34133
34079
|
})[], Error>>;
|
|
34134
|
-
fetchStatus:
|
|
34080
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34135
34081
|
promise: Promise<({
|
|
34136
34082
|
type: "mint";
|
|
34137
34083
|
data: {
|
|
34138
34084
|
id: string;
|
|
34139
34085
|
optionType: 0 | 1;
|
|
34140
34086
|
strikeTick: number;
|
|
34141
|
-
|
|
34142
|
-
expiresAt: Date;
|
|
34087
|
+
price: bigint;
|
|
34143
34088
|
premium: bigint;
|
|
34144
34089
|
protocolFee: bigint;
|
|
34145
34090
|
liquidities: bigint[];
|
|
34146
34091
|
timestamp: Date;
|
|
34092
|
+
expiresAt: Date;
|
|
34147
34093
|
blockNumber: bigint;
|
|
34148
34094
|
transactionHash: string;
|
|
34149
34095
|
};
|
|
@@ -34151,9 +34097,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34151
34097
|
type: "exercise";
|
|
34152
34098
|
data: {
|
|
34153
34099
|
id: string;
|
|
34154
|
-
liquidities: bigint[];
|
|
34155
|
-
currentTick: number;
|
|
34156
34100
|
payout: bigint;
|
|
34101
|
+
price: bigint;
|
|
34102
|
+
liquidities: bigint[];
|
|
34157
34103
|
timestamp: Date;
|
|
34158
34104
|
blockNumber: bigint;
|
|
34159
34105
|
transactionHash: string;
|
|
@@ -34164,7 +34110,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34164
34110
|
id: string;
|
|
34165
34111
|
premium: bigint;
|
|
34166
34112
|
protocolFee: bigint;
|
|
34167
|
-
|
|
34113
|
+
price: bigint;
|
|
34168
34114
|
addedDuration: bigint;
|
|
34169
34115
|
timestamp: Date;
|
|
34170
34116
|
blockNumber: bigint;
|
|
@@ -34177,12 +34123,12 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34177
34123
|
id: string;
|
|
34178
34124
|
optionType: 0 | 1;
|
|
34179
34125
|
strikeTick: number;
|
|
34180
|
-
|
|
34181
|
-
expiresAt: Date;
|
|
34126
|
+
price: bigint;
|
|
34182
34127
|
premium: bigint;
|
|
34183
34128
|
protocolFee: bigint;
|
|
34184
34129
|
liquidities: bigint[];
|
|
34185
34130
|
timestamp: Date;
|
|
34131
|
+
expiresAt: Date;
|
|
34186
34132
|
blockNumber: bigint;
|
|
34187
34133
|
transactionHash: string;
|
|
34188
34134
|
};
|
|
@@ -34190,9 +34136,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34190
34136
|
type: "exercise";
|
|
34191
34137
|
data: {
|
|
34192
34138
|
id: string;
|
|
34193
|
-
liquidities: bigint[];
|
|
34194
|
-
currentTick: number;
|
|
34195
34139
|
payout: bigint;
|
|
34140
|
+
price: bigint;
|
|
34141
|
+
liquidities: bigint[];
|
|
34196
34142
|
timestamp: Date;
|
|
34197
34143
|
blockNumber: bigint;
|
|
34198
34144
|
transactionHash: string;
|
|
@@ -34203,7 +34149,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34203
34149
|
id: string;
|
|
34204
34150
|
premium: bigint;
|
|
34205
34151
|
protocolFee: bigint;
|
|
34206
|
-
|
|
34152
|
+
price: bigint;
|
|
34207
34153
|
addedDuration: bigint;
|
|
34208
34154
|
timestamp: Date;
|
|
34209
34155
|
blockNumber: bigint;
|
|
@@ -34233,18 +34179,18 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34233
34179
|
isRefetching: boolean;
|
|
34234
34180
|
isStale: boolean;
|
|
34235
34181
|
isEnabled: boolean;
|
|
34236
|
-
refetch: (options?:
|
|
34182
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
34237
34183
|
type: "mint";
|
|
34238
34184
|
data: {
|
|
34239
34185
|
id: string;
|
|
34240
34186
|
optionType: 0 | 1;
|
|
34241
34187
|
strikeTick: number;
|
|
34242
|
-
|
|
34243
|
-
expiresAt: Date;
|
|
34188
|
+
price: bigint;
|
|
34244
34189
|
premium: bigint;
|
|
34245
34190
|
protocolFee: bigint;
|
|
34246
34191
|
liquidities: bigint[];
|
|
34247
34192
|
timestamp: Date;
|
|
34193
|
+
expiresAt: Date;
|
|
34248
34194
|
blockNumber: bigint;
|
|
34249
34195
|
transactionHash: string;
|
|
34250
34196
|
};
|
|
@@ -34252,9 +34198,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34252
34198
|
type: "exercise";
|
|
34253
34199
|
data: {
|
|
34254
34200
|
id: string;
|
|
34255
|
-
liquidities: bigint[];
|
|
34256
|
-
currentTick: number;
|
|
34257
34201
|
payout: bigint;
|
|
34202
|
+
price: bigint;
|
|
34203
|
+
liquidities: bigint[];
|
|
34258
34204
|
timestamp: Date;
|
|
34259
34205
|
blockNumber: bigint;
|
|
34260
34206
|
transactionHash: string;
|
|
@@ -34265,26 +34211,26 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34265
34211
|
id: string;
|
|
34266
34212
|
premium: bigint;
|
|
34267
34213
|
protocolFee: bigint;
|
|
34268
|
-
|
|
34214
|
+
price: bigint;
|
|
34269
34215
|
addedDuration: bigint;
|
|
34270
34216
|
timestamp: Date;
|
|
34271
34217
|
blockNumber: bigint;
|
|
34272
34218
|
transactionHash: string;
|
|
34273
34219
|
};
|
|
34274
34220
|
})[], Error>>;
|
|
34275
|
-
fetchStatus:
|
|
34221
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34276
34222
|
promise: Promise<({
|
|
34277
34223
|
type: "mint";
|
|
34278
34224
|
data: {
|
|
34279
34225
|
id: string;
|
|
34280
34226
|
optionType: 0 | 1;
|
|
34281
34227
|
strikeTick: number;
|
|
34282
|
-
|
|
34283
|
-
expiresAt: Date;
|
|
34228
|
+
price: bigint;
|
|
34284
34229
|
premium: bigint;
|
|
34285
34230
|
protocolFee: bigint;
|
|
34286
34231
|
liquidities: bigint[];
|
|
34287
34232
|
timestamp: Date;
|
|
34233
|
+
expiresAt: Date;
|
|
34288
34234
|
blockNumber: bigint;
|
|
34289
34235
|
transactionHash: string;
|
|
34290
34236
|
};
|
|
@@ -34292,9 +34238,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34292
34238
|
type: "exercise";
|
|
34293
34239
|
data: {
|
|
34294
34240
|
id: string;
|
|
34295
|
-
liquidities: bigint[];
|
|
34296
|
-
currentTick: number;
|
|
34297
34241
|
payout: bigint;
|
|
34242
|
+
price: bigint;
|
|
34243
|
+
liquidities: bigint[];
|
|
34298
34244
|
timestamp: Date;
|
|
34299
34245
|
blockNumber: bigint;
|
|
34300
34246
|
transactionHash: string;
|
|
@@ -34305,7 +34251,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34305
34251
|
id: string;
|
|
34306
34252
|
premium: bigint;
|
|
34307
34253
|
protocolFee: bigint;
|
|
34308
|
-
|
|
34254
|
+
price: bigint;
|
|
34309
34255
|
addedDuration: bigint;
|
|
34310
34256
|
timestamp: Date;
|
|
34311
34257
|
blockNumber: bigint;
|
|
@@ -34318,12 +34264,12 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34318
34264
|
id: string;
|
|
34319
34265
|
optionType: 0 | 1;
|
|
34320
34266
|
strikeTick: number;
|
|
34321
|
-
|
|
34322
|
-
expiresAt: Date;
|
|
34267
|
+
price: bigint;
|
|
34323
34268
|
premium: bigint;
|
|
34324
34269
|
protocolFee: bigint;
|
|
34325
34270
|
liquidities: bigint[];
|
|
34326
34271
|
timestamp: Date;
|
|
34272
|
+
expiresAt: Date;
|
|
34327
34273
|
blockNumber: bigint;
|
|
34328
34274
|
transactionHash: string;
|
|
34329
34275
|
};
|
|
@@ -34331,9 +34277,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34331
34277
|
type: "exercise";
|
|
34332
34278
|
data: {
|
|
34333
34279
|
id: string;
|
|
34334
|
-
liquidities: bigint[];
|
|
34335
|
-
currentTick: number;
|
|
34336
34280
|
payout: bigint;
|
|
34281
|
+
price: bigint;
|
|
34282
|
+
liquidities: bigint[];
|
|
34337
34283
|
timestamp: Date;
|
|
34338
34284
|
blockNumber: bigint;
|
|
34339
34285
|
transactionHash: string;
|
|
@@ -34344,7 +34290,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34344
34290
|
id: string;
|
|
34345
34291
|
premium: bigint;
|
|
34346
34292
|
protocolFee: bigint;
|
|
34347
|
-
|
|
34293
|
+
price: bigint;
|
|
34348
34294
|
addedDuration: bigint;
|
|
34349
34295
|
timestamp: Date;
|
|
34350
34296
|
blockNumber: bigint;
|
|
@@ -34374,18 +34320,18 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34374
34320
|
isRefetching: boolean;
|
|
34375
34321
|
isStale: boolean;
|
|
34376
34322
|
isEnabled: boolean;
|
|
34377
|
-
refetch: (options?:
|
|
34323
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
34378
34324
|
type: "mint";
|
|
34379
34325
|
data: {
|
|
34380
34326
|
id: string;
|
|
34381
34327
|
optionType: 0 | 1;
|
|
34382
34328
|
strikeTick: number;
|
|
34383
|
-
|
|
34384
|
-
expiresAt: Date;
|
|
34329
|
+
price: bigint;
|
|
34385
34330
|
premium: bigint;
|
|
34386
34331
|
protocolFee: bigint;
|
|
34387
34332
|
liquidities: bigint[];
|
|
34388
34333
|
timestamp: Date;
|
|
34334
|
+
expiresAt: Date;
|
|
34389
34335
|
blockNumber: bigint;
|
|
34390
34336
|
transactionHash: string;
|
|
34391
34337
|
};
|
|
@@ -34393,9 +34339,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34393
34339
|
type: "exercise";
|
|
34394
34340
|
data: {
|
|
34395
34341
|
id: string;
|
|
34396
|
-
liquidities: bigint[];
|
|
34397
|
-
currentTick: number;
|
|
34398
34342
|
payout: bigint;
|
|
34343
|
+
price: bigint;
|
|
34344
|
+
liquidities: bigint[];
|
|
34399
34345
|
timestamp: Date;
|
|
34400
34346
|
blockNumber: bigint;
|
|
34401
34347
|
transactionHash: string;
|
|
@@ -34406,26 +34352,26 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34406
34352
|
id: string;
|
|
34407
34353
|
premium: bigint;
|
|
34408
34354
|
protocolFee: bigint;
|
|
34409
|
-
|
|
34355
|
+
price: bigint;
|
|
34410
34356
|
addedDuration: bigint;
|
|
34411
34357
|
timestamp: Date;
|
|
34412
34358
|
blockNumber: bigint;
|
|
34413
34359
|
transactionHash: string;
|
|
34414
34360
|
};
|
|
34415
34361
|
})[], Error>>;
|
|
34416
|
-
fetchStatus:
|
|
34362
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34417
34363
|
promise: Promise<({
|
|
34418
34364
|
type: "mint";
|
|
34419
34365
|
data: {
|
|
34420
34366
|
id: string;
|
|
34421
34367
|
optionType: 0 | 1;
|
|
34422
34368
|
strikeTick: number;
|
|
34423
|
-
|
|
34424
|
-
expiresAt: Date;
|
|
34369
|
+
price: bigint;
|
|
34425
34370
|
premium: bigint;
|
|
34426
34371
|
protocolFee: bigint;
|
|
34427
34372
|
liquidities: bigint[];
|
|
34428
34373
|
timestamp: Date;
|
|
34374
|
+
expiresAt: Date;
|
|
34429
34375
|
blockNumber: bigint;
|
|
34430
34376
|
transactionHash: string;
|
|
34431
34377
|
};
|
|
@@ -34433,9 +34379,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34433
34379
|
type: "exercise";
|
|
34434
34380
|
data: {
|
|
34435
34381
|
id: string;
|
|
34436
|
-
liquidities: bigint[];
|
|
34437
|
-
currentTick: number;
|
|
34438
34382
|
payout: bigint;
|
|
34383
|
+
price: bigint;
|
|
34384
|
+
liquidities: bigint[];
|
|
34439
34385
|
timestamp: Date;
|
|
34440
34386
|
blockNumber: bigint;
|
|
34441
34387
|
transactionHash: string;
|
|
@@ -34446,7 +34392,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34446
34392
|
id: string;
|
|
34447
34393
|
premium: bigint;
|
|
34448
34394
|
protocolFee: bigint;
|
|
34449
|
-
|
|
34395
|
+
price: bigint;
|
|
34450
34396
|
addedDuration: bigint;
|
|
34451
34397
|
timestamp: Date;
|
|
34452
34398
|
blockNumber: bigint;
|
|
@@ -34459,12 +34405,12 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34459
34405
|
id: string;
|
|
34460
34406
|
optionType: 0 | 1;
|
|
34461
34407
|
strikeTick: number;
|
|
34462
|
-
|
|
34463
|
-
expiresAt: Date;
|
|
34408
|
+
price: bigint;
|
|
34464
34409
|
premium: bigint;
|
|
34465
34410
|
protocolFee: bigint;
|
|
34466
34411
|
liquidities: bigint[];
|
|
34467
34412
|
timestamp: Date;
|
|
34413
|
+
expiresAt: Date;
|
|
34468
34414
|
blockNumber: bigint;
|
|
34469
34415
|
transactionHash: string;
|
|
34470
34416
|
};
|
|
@@ -34472,9 +34418,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34472
34418
|
type: "exercise";
|
|
34473
34419
|
data: {
|
|
34474
34420
|
id: string;
|
|
34475
|
-
liquidities: bigint[];
|
|
34476
|
-
currentTick: number;
|
|
34477
34421
|
payout: bigint;
|
|
34422
|
+
price: bigint;
|
|
34423
|
+
liquidities: bigint[];
|
|
34478
34424
|
timestamp: Date;
|
|
34479
34425
|
blockNumber: bigint;
|
|
34480
34426
|
transactionHash: string;
|
|
@@ -34485,7 +34431,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34485
34431
|
id: string;
|
|
34486
34432
|
premium: bigint;
|
|
34487
34433
|
protocolFee: bigint;
|
|
34488
|
-
|
|
34434
|
+
price: bigint;
|
|
34489
34435
|
addedDuration: bigint;
|
|
34490
34436
|
timestamp: Date;
|
|
34491
34437
|
blockNumber: bigint;
|
|
@@ -34515,18 +34461,18 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34515
34461
|
isRefetching: boolean;
|
|
34516
34462
|
isStale: boolean;
|
|
34517
34463
|
isEnabled: boolean;
|
|
34518
|
-
refetch: (options?:
|
|
34464
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
34519
34465
|
type: "mint";
|
|
34520
34466
|
data: {
|
|
34521
34467
|
id: string;
|
|
34522
34468
|
optionType: 0 | 1;
|
|
34523
34469
|
strikeTick: number;
|
|
34524
|
-
|
|
34525
|
-
expiresAt: Date;
|
|
34470
|
+
price: bigint;
|
|
34526
34471
|
premium: bigint;
|
|
34527
34472
|
protocolFee: bigint;
|
|
34528
34473
|
liquidities: bigint[];
|
|
34529
34474
|
timestamp: Date;
|
|
34475
|
+
expiresAt: Date;
|
|
34530
34476
|
blockNumber: bigint;
|
|
34531
34477
|
transactionHash: string;
|
|
34532
34478
|
};
|
|
@@ -34534,9 +34480,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34534
34480
|
type: "exercise";
|
|
34535
34481
|
data: {
|
|
34536
34482
|
id: string;
|
|
34537
|
-
liquidities: bigint[];
|
|
34538
|
-
currentTick: number;
|
|
34539
34483
|
payout: bigint;
|
|
34484
|
+
price: bigint;
|
|
34485
|
+
liquidities: bigint[];
|
|
34540
34486
|
timestamp: Date;
|
|
34541
34487
|
blockNumber: bigint;
|
|
34542
34488
|
transactionHash: string;
|
|
@@ -34547,26 +34493,26 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34547
34493
|
id: string;
|
|
34548
34494
|
premium: bigint;
|
|
34549
34495
|
protocolFee: bigint;
|
|
34550
|
-
|
|
34496
|
+
price: bigint;
|
|
34551
34497
|
addedDuration: bigint;
|
|
34552
34498
|
timestamp: Date;
|
|
34553
34499
|
blockNumber: bigint;
|
|
34554
34500
|
transactionHash: string;
|
|
34555
34501
|
};
|
|
34556
34502
|
})[], Error>>;
|
|
34557
|
-
fetchStatus:
|
|
34503
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34558
34504
|
promise: Promise<({
|
|
34559
34505
|
type: "mint";
|
|
34560
34506
|
data: {
|
|
34561
34507
|
id: string;
|
|
34562
34508
|
optionType: 0 | 1;
|
|
34563
34509
|
strikeTick: number;
|
|
34564
|
-
|
|
34565
|
-
expiresAt: Date;
|
|
34510
|
+
price: bigint;
|
|
34566
34511
|
premium: bigint;
|
|
34567
34512
|
protocolFee: bigint;
|
|
34568
34513
|
liquidities: bigint[];
|
|
34569
34514
|
timestamp: Date;
|
|
34515
|
+
expiresAt: Date;
|
|
34570
34516
|
blockNumber: bigint;
|
|
34571
34517
|
transactionHash: string;
|
|
34572
34518
|
};
|
|
@@ -34574,9 +34520,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34574
34520
|
type: "exercise";
|
|
34575
34521
|
data: {
|
|
34576
34522
|
id: string;
|
|
34577
|
-
liquidities: bigint[];
|
|
34578
|
-
currentTick: number;
|
|
34579
34523
|
payout: bigint;
|
|
34524
|
+
price: bigint;
|
|
34525
|
+
liquidities: bigint[];
|
|
34580
34526
|
timestamp: Date;
|
|
34581
34527
|
blockNumber: bigint;
|
|
34582
34528
|
transactionHash: string;
|
|
@@ -34587,7 +34533,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34587
34533
|
id: string;
|
|
34588
34534
|
premium: bigint;
|
|
34589
34535
|
protocolFee: bigint;
|
|
34590
|
-
|
|
34536
|
+
price: bigint;
|
|
34591
34537
|
addedDuration: bigint;
|
|
34592
34538
|
timestamp: Date;
|
|
34593
34539
|
blockNumber: bigint;
|
|
@@ -34600,12 +34546,12 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34600
34546
|
id: string;
|
|
34601
34547
|
optionType: 0 | 1;
|
|
34602
34548
|
strikeTick: number;
|
|
34603
|
-
|
|
34604
|
-
expiresAt: Date;
|
|
34549
|
+
price: bigint;
|
|
34605
34550
|
premium: bigint;
|
|
34606
34551
|
protocolFee: bigint;
|
|
34607
34552
|
liquidities: bigint[];
|
|
34608
34553
|
timestamp: Date;
|
|
34554
|
+
expiresAt: Date;
|
|
34609
34555
|
blockNumber: bigint;
|
|
34610
34556
|
transactionHash: string;
|
|
34611
34557
|
};
|
|
@@ -34613,9 +34559,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34613
34559
|
type: "exercise";
|
|
34614
34560
|
data: {
|
|
34615
34561
|
id: string;
|
|
34616
|
-
liquidities: bigint[];
|
|
34617
|
-
currentTick: number;
|
|
34618
34562
|
payout: bigint;
|
|
34563
|
+
price: bigint;
|
|
34564
|
+
liquidities: bigint[];
|
|
34619
34565
|
timestamp: Date;
|
|
34620
34566
|
blockNumber: bigint;
|
|
34621
34567
|
transactionHash: string;
|
|
@@ -34626,7 +34572,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34626
34572
|
id: string;
|
|
34627
34573
|
premium: bigint;
|
|
34628
34574
|
protocolFee: bigint;
|
|
34629
|
-
|
|
34575
|
+
price: bigint;
|
|
34630
34576
|
addedDuration: bigint;
|
|
34631
34577
|
timestamp: Date;
|
|
34632
34578
|
blockNumber: bigint;
|
|
@@ -34656,18 +34602,18 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34656
34602
|
isRefetching: boolean;
|
|
34657
34603
|
isStale: boolean;
|
|
34658
34604
|
isEnabled: boolean;
|
|
34659
|
-
refetch: (options?:
|
|
34605
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
34660
34606
|
type: "mint";
|
|
34661
34607
|
data: {
|
|
34662
34608
|
id: string;
|
|
34663
34609
|
optionType: 0 | 1;
|
|
34664
34610
|
strikeTick: number;
|
|
34665
|
-
|
|
34666
|
-
expiresAt: Date;
|
|
34611
|
+
price: bigint;
|
|
34667
34612
|
premium: bigint;
|
|
34668
34613
|
protocolFee: bigint;
|
|
34669
34614
|
liquidities: bigint[];
|
|
34670
34615
|
timestamp: Date;
|
|
34616
|
+
expiresAt: Date;
|
|
34671
34617
|
blockNumber: bigint;
|
|
34672
34618
|
transactionHash: string;
|
|
34673
34619
|
};
|
|
@@ -34675,9 +34621,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34675
34621
|
type: "exercise";
|
|
34676
34622
|
data: {
|
|
34677
34623
|
id: string;
|
|
34678
|
-
liquidities: bigint[];
|
|
34679
|
-
currentTick: number;
|
|
34680
34624
|
payout: bigint;
|
|
34625
|
+
price: bigint;
|
|
34626
|
+
liquidities: bigint[];
|
|
34681
34627
|
timestamp: Date;
|
|
34682
34628
|
blockNumber: bigint;
|
|
34683
34629
|
transactionHash: string;
|
|
@@ -34688,26 +34634,26 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34688
34634
|
id: string;
|
|
34689
34635
|
premium: bigint;
|
|
34690
34636
|
protocolFee: bigint;
|
|
34691
|
-
|
|
34637
|
+
price: bigint;
|
|
34692
34638
|
addedDuration: bigint;
|
|
34693
34639
|
timestamp: Date;
|
|
34694
34640
|
blockNumber: bigint;
|
|
34695
34641
|
transactionHash: string;
|
|
34696
34642
|
};
|
|
34697
34643
|
})[], Error>>;
|
|
34698
|
-
fetchStatus:
|
|
34644
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34699
34645
|
promise: Promise<({
|
|
34700
34646
|
type: "mint";
|
|
34701
34647
|
data: {
|
|
34702
34648
|
id: string;
|
|
34703
34649
|
optionType: 0 | 1;
|
|
34704
34650
|
strikeTick: number;
|
|
34705
|
-
|
|
34706
|
-
expiresAt: Date;
|
|
34651
|
+
price: bigint;
|
|
34707
34652
|
premium: bigint;
|
|
34708
34653
|
protocolFee: bigint;
|
|
34709
34654
|
liquidities: bigint[];
|
|
34710
34655
|
timestamp: Date;
|
|
34656
|
+
expiresAt: Date;
|
|
34711
34657
|
blockNumber: bigint;
|
|
34712
34658
|
transactionHash: string;
|
|
34713
34659
|
};
|
|
@@ -34715,9 +34661,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34715
34661
|
type: "exercise";
|
|
34716
34662
|
data: {
|
|
34717
34663
|
id: string;
|
|
34718
|
-
liquidities: bigint[];
|
|
34719
|
-
currentTick: number;
|
|
34720
34664
|
payout: bigint;
|
|
34665
|
+
price: bigint;
|
|
34666
|
+
liquidities: bigint[];
|
|
34721
34667
|
timestamp: Date;
|
|
34722
34668
|
blockNumber: bigint;
|
|
34723
34669
|
transactionHash: string;
|
|
@@ -34728,7 +34674,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34728
34674
|
id: string;
|
|
34729
34675
|
premium: bigint;
|
|
34730
34676
|
protocolFee: bigint;
|
|
34731
|
-
|
|
34677
|
+
price: bigint;
|
|
34732
34678
|
addedDuration: bigint;
|
|
34733
34679
|
timestamp: Date;
|
|
34734
34680
|
blockNumber: bigint;
|
|
@@ -34741,12 +34687,12 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34741
34687
|
id: string;
|
|
34742
34688
|
optionType: 0 | 1;
|
|
34743
34689
|
strikeTick: number;
|
|
34744
|
-
|
|
34745
|
-
expiresAt: Date;
|
|
34690
|
+
price: bigint;
|
|
34746
34691
|
premium: bigint;
|
|
34747
34692
|
protocolFee: bigint;
|
|
34748
34693
|
liquidities: bigint[];
|
|
34749
34694
|
timestamp: Date;
|
|
34695
|
+
expiresAt: Date;
|
|
34750
34696
|
blockNumber: bigint;
|
|
34751
34697
|
transactionHash: string;
|
|
34752
34698
|
};
|
|
@@ -34754,9 +34700,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34754
34700
|
type: "exercise";
|
|
34755
34701
|
data: {
|
|
34756
34702
|
id: string;
|
|
34757
|
-
liquidities: bigint[];
|
|
34758
|
-
currentTick: number;
|
|
34759
34703
|
payout: bigint;
|
|
34704
|
+
price: bigint;
|
|
34705
|
+
liquidities: bigint[];
|
|
34760
34706
|
timestamp: Date;
|
|
34761
34707
|
blockNumber: bigint;
|
|
34762
34708
|
transactionHash: string;
|
|
@@ -34767,7 +34713,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34767
34713
|
id: string;
|
|
34768
34714
|
premium: bigint;
|
|
34769
34715
|
protocolFee: bigint;
|
|
34770
|
-
|
|
34716
|
+
price: bigint;
|
|
34771
34717
|
addedDuration: bigint;
|
|
34772
34718
|
timestamp: Date;
|
|
34773
34719
|
blockNumber: bigint;
|
|
@@ -34818,7 +34764,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34818
34764
|
isRefetching: boolean;
|
|
34819
34765
|
isStale: boolean;
|
|
34820
34766
|
isEnabled: boolean;
|
|
34821
|
-
refetch: (options?:
|
|
34767
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
34822
34768
|
optionId: bigint;
|
|
34823
34769
|
id: string;
|
|
34824
34770
|
ownerAddr: Address;
|
|
@@ -34827,7 +34773,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34827
34773
|
expiresAt: number;
|
|
34828
34774
|
closed: boolean;
|
|
34829
34775
|
}[] | undefined, Error>>;
|
|
34830
|
-
fetchStatus:
|
|
34776
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34831
34777
|
promise: Promise<{
|
|
34832
34778
|
optionId: bigint;
|
|
34833
34779
|
id: string;
|
|
@@ -34869,7 +34815,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34869
34815
|
isRefetching: boolean;
|
|
34870
34816
|
isStale: boolean;
|
|
34871
34817
|
isEnabled: boolean;
|
|
34872
|
-
refetch: (options?:
|
|
34818
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
34873
34819
|
optionId: bigint;
|
|
34874
34820
|
id: string;
|
|
34875
34821
|
ownerAddr: Address;
|
|
@@ -34878,7 +34824,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34878
34824
|
expiresAt: number;
|
|
34879
34825
|
closed: boolean;
|
|
34880
34826
|
}[] | undefined, Error>>;
|
|
34881
|
-
fetchStatus:
|
|
34827
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34882
34828
|
promise: Promise<{
|
|
34883
34829
|
optionId: bigint;
|
|
34884
34830
|
id: string;
|
|
@@ -34920,7 +34866,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34920
34866
|
isRefetching: boolean;
|
|
34921
34867
|
isStale: boolean;
|
|
34922
34868
|
isEnabled: boolean;
|
|
34923
|
-
refetch: (options?:
|
|
34869
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
34924
34870
|
optionId: bigint;
|
|
34925
34871
|
id: string;
|
|
34926
34872
|
ownerAddr: Address;
|
|
@@ -34929,7 +34875,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34929
34875
|
expiresAt: number;
|
|
34930
34876
|
closed: boolean;
|
|
34931
34877
|
}[] | undefined, Error>>;
|
|
34932
|
-
fetchStatus:
|
|
34878
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34933
34879
|
promise: Promise<{
|
|
34934
34880
|
optionId: bigint;
|
|
34935
34881
|
id: string;
|
|
@@ -34971,7 +34917,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34971
34917
|
isRefetching: boolean;
|
|
34972
34918
|
isStale: boolean;
|
|
34973
34919
|
isEnabled: boolean;
|
|
34974
|
-
refetch: (options?:
|
|
34920
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
34975
34921
|
optionId: bigint;
|
|
34976
34922
|
id: string;
|
|
34977
34923
|
ownerAddr: Address;
|
|
@@ -34980,7 +34926,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34980
34926
|
expiresAt: number;
|
|
34981
34927
|
closed: boolean;
|
|
34982
34928
|
}[] | undefined, Error>>;
|
|
34983
|
-
fetchStatus:
|
|
34929
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34984
34930
|
promise: Promise<{
|
|
34985
34931
|
optionId: bigint;
|
|
34986
34932
|
id: string;
|
|
@@ -35022,7 +34968,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35022
34968
|
isRefetching: boolean;
|
|
35023
34969
|
isStale: boolean;
|
|
35024
34970
|
isEnabled: boolean;
|
|
35025
|
-
refetch: (options?:
|
|
34971
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
35026
34972
|
optionId: bigint;
|
|
35027
34973
|
id: string;
|
|
35028
34974
|
ownerAddr: Address;
|
|
@@ -35031,7 +34977,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35031
34977
|
expiresAt: number;
|
|
35032
34978
|
closed: boolean;
|
|
35033
34979
|
}[] | undefined, Error>>;
|
|
35034
|
-
fetchStatus:
|
|
34980
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35035
34981
|
promise: Promise<{
|
|
35036
34982
|
optionId: bigint;
|
|
35037
34983
|
id: string;
|
|
@@ -35073,7 +35019,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35073
35019
|
isRefetching: boolean;
|
|
35074
35020
|
isStale: boolean;
|
|
35075
35021
|
isEnabled: boolean;
|
|
35076
|
-
refetch: (options?:
|
|
35022
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
35077
35023
|
optionId: bigint;
|
|
35078
35024
|
id: string;
|
|
35079
35025
|
ownerAddr: Address;
|
|
@@ -35082,7 +35028,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35082
35028
|
expiresAt: number;
|
|
35083
35029
|
closed: boolean;
|
|
35084
35030
|
}[] | undefined, Error>>;
|
|
35085
|
-
fetchStatus:
|
|
35031
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35086
35032
|
promise: Promise<{
|
|
35087
35033
|
optionId: bigint;
|
|
35088
35034
|
id: string;
|
|
@@ -35125,7 +35071,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35125
35071
|
isRefetching: boolean;
|
|
35126
35072
|
isStale: boolean;
|
|
35127
35073
|
isEnabled: boolean;
|
|
35128
|
-
refetch: (options?:
|
|
35074
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
35129
35075
|
optionId: bigint;
|
|
35130
35076
|
id: string;
|
|
35131
35077
|
ownerAddr: Address;
|
|
@@ -35134,7 +35080,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35134
35080
|
expiresAt: number;
|
|
35135
35081
|
closed: boolean;
|
|
35136
35082
|
}[] | undefined, Error>>;
|
|
35137
|
-
fetchStatus:
|
|
35083
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35138
35084
|
promise: Promise<{
|
|
35139
35085
|
optionId: bigint;
|
|
35140
35086
|
id: string;
|
|
@@ -35176,7 +35122,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35176
35122
|
isRefetching: boolean;
|
|
35177
35123
|
isStale: boolean;
|
|
35178
35124
|
isEnabled: boolean;
|
|
35179
|
-
refetch: (options?:
|
|
35125
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
35180
35126
|
optionId: bigint;
|
|
35181
35127
|
id: string;
|
|
35182
35128
|
ownerAddr: Address;
|
|
@@ -35185,7 +35131,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35185
35131
|
expiresAt: number;
|
|
35186
35132
|
closed: boolean;
|
|
35187
35133
|
}[] | undefined, Error>>;
|
|
35188
|
-
fetchStatus:
|
|
35134
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35189
35135
|
promise: Promise<{
|
|
35190
35136
|
optionId: bigint;
|
|
35191
35137
|
id: string;
|
|
@@ -35227,7 +35173,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35227
35173
|
isRefetching: boolean;
|
|
35228
35174
|
isStale: boolean;
|
|
35229
35175
|
isEnabled: boolean;
|
|
35230
|
-
refetch: (options?:
|
|
35176
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
35231
35177
|
optionId: bigint;
|
|
35232
35178
|
id: string;
|
|
35233
35179
|
ownerAddr: Address;
|
|
@@ -35236,7 +35182,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35236
35182
|
expiresAt: number;
|
|
35237
35183
|
closed: boolean;
|
|
35238
35184
|
}[] | undefined, Error>>;
|
|
35239
|
-
fetchStatus:
|
|
35185
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35240
35186
|
promise: Promise<{
|
|
35241
35187
|
optionId: bigint;
|
|
35242
35188
|
id: string;
|
|
@@ -35278,7 +35224,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35278
35224
|
isRefetching: boolean;
|
|
35279
35225
|
isStale: boolean;
|
|
35280
35226
|
isEnabled: boolean;
|
|
35281
|
-
refetch: (options?:
|
|
35227
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
35282
35228
|
optionId: bigint;
|
|
35283
35229
|
id: string;
|
|
35284
35230
|
ownerAddr: Address;
|
|
@@ -35287,7 +35233,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35287
35233
|
expiresAt: number;
|
|
35288
35234
|
closed: boolean;
|
|
35289
35235
|
}[] | undefined, Error>>;
|
|
35290
|
-
fetchStatus:
|
|
35236
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35291
35237
|
promise: Promise<{
|
|
35292
35238
|
optionId: bigint;
|
|
35293
35239
|
id: string;
|
|
@@ -35329,7 +35275,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35329
35275
|
isRefetching: boolean;
|
|
35330
35276
|
isStale: boolean;
|
|
35331
35277
|
isEnabled: boolean;
|
|
35332
|
-
refetch: (options?:
|
|
35278
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
35333
35279
|
optionId: bigint;
|
|
35334
35280
|
id: string;
|
|
35335
35281
|
ownerAddr: Address;
|
|
@@ -35338,7 +35284,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35338
35284
|
expiresAt: number;
|
|
35339
35285
|
closed: boolean;
|
|
35340
35286
|
}[] | undefined, Error>>;
|
|
35341
|
-
fetchStatus:
|
|
35287
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35342
35288
|
promise: Promise<{
|
|
35343
35289
|
optionId: bigint;
|
|
35344
35290
|
id: string;
|
|
@@ -35380,7 +35326,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35380
35326
|
isRefetching: boolean;
|
|
35381
35327
|
isStale: boolean;
|
|
35382
35328
|
isEnabled: boolean;
|
|
35383
|
-
refetch: (options?:
|
|
35329
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
35384
35330
|
optionId: bigint;
|
|
35385
35331
|
id: string;
|
|
35386
35332
|
ownerAddr: Address;
|
|
@@ -35389,7 +35335,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35389
35335
|
expiresAt: number;
|
|
35390
35336
|
closed: boolean;
|
|
35391
35337
|
}[] | undefined, Error>>;
|
|
35392
|
-
fetchStatus:
|
|
35338
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35393
35339
|
promise: Promise<{
|
|
35394
35340
|
optionId: bigint;
|
|
35395
35341
|
id: string;
|
|
@@ -35432,7 +35378,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35432
35378
|
isRefetching: boolean;
|
|
35433
35379
|
isStale: boolean;
|
|
35434
35380
|
isEnabled: boolean;
|
|
35435
|
-
refetch: (options?:
|
|
35381
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
35436
35382
|
optionId: bigint;
|
|
35437
35383
|
id: string;
|
|
35438
35384
|
ownerAddr: Address;
|
|
@@ -35441,7 +35387,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35441
35387
|
expiresAt: number;
|
|
35442
35388
|
closed: boolean;
|
|
35443
35389
|
}[] | undefined, Error>>;
|
|
35444
|
-
fetchStatus:
|
|
35390
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35445
35391
|
promise: Promise<{
|
|
35446
35392
|
optionId: bigint;
|
|
35447
35393
|
id: string;
|
|
@@ -35483,7 +35429,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35483
35429
|
isRefetching: boolean;
|
|
35484
35430
|
isStale: boolean;
|
|
35485
35431
|
isEnabled: boolean;
|
|
35486
|
-
refetch: (options?:
|
|
35432
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
35487
35433
|
optionId: bigint;
|
|
35488
35434
|
id: string;
|
|
35489
35435
|
ownerAddr: Address;
|
|
@@ -35492,7 +35438,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35492
35438
|
expiresAt: number;
|
|
35493
35439
|
closed: boolean;
|
|
35494
35440
|
}[] | undefined, Error>>;
|
|
35495
|
-
fetchStatus:
|
|
35441
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35496
35442
|
promise: Promise<{
|
|
35497
35443
|
optionId: bigint;
|
|
35498
35444
|
id: string;
|
|
@@ -35534,7 +35480,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35534
35480
|
isRefetching: boolean;
|
|
35535
35481
|
isStale: boolean;
|
|
35536
35482
|
isEnabled: boolean;
|
|
35537
|
-
refetch: (options?:
|
|
35483
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
35538
35484
|
optionId: bigint;
|
|
35539
35485
|
id: string;
|
|
35540
35486
|
ownerAddr: Address;
|
|
@@ -35543,7 +35489,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35543
35489
|
expiresAt: number;
|
|
35544
35490
|
closed: boolean;
|
|
35545
35491
|
}[] | undefined, Error>>;
|
|
35546
|
-
fetchStatus:
|
|
35492
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35547
35493
|
promise: Promise<{
|
|
35548
35494
|
optionId: bigint;
|
|
35549
35495
|
id: string;
|
|
@@ -35585,7 +35531,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35585
35531
|
isRefetching: boolean;
|
|
35586
35532
|
isStale: boolean;
|
|
35587
35533
|
isEnabled: boolean;
|
|
35588
|
-
refetch: (options?:
|
|
35534
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
35589
35535
|
optionId: bigint;
|
|
35590
35536
|
id: string;
|
|
35591
35537
|
ownerAddr: Address;
|
|
@@ -35594,7 +35540,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35594
35540
|
expiresAt: number;
|
|
35595
35541
|
closed: boolean;
|
|
35596
35542
|
}[] | undefined, Error>>;
|
|
35597
|
-
fetchStatus:
|
|
35543
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35598
35544
|
promise: Promise<{
|
|
35599
35545
|
optionId: bigint;
|
|
35600
35546
|
id: string;
|
|
@@ -35636,7 +35582,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35636
35582
|
isRefetching: boolean;
|
|
35637
35583
|
isStale: boolean;
|
|
35638
35584
|
isEnabled: boolean;
|
|
35639
|
-
refetch: (options?:
|
|
35585
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
35640
35586
|
optionId: bigint;
|
|
35641
35587
|
id: string;
|
|
35642
35588
|
ownerAddr: Address;
|
|
@@ -35645,7 +35591,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35645
35591
|
expiresAt: number;
|
|
35646
35592
|
closed: boolean;
|
|
35647
35593
|
}[] | undefined, Error>>;
|
|
35648
|
-
fetchStatus:
|
|
35594
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35649
35595
|
promise: Promise<{
|
|
35650
35596
|
optionId: bigint;
|
|
35651
35597
|
id: string;
|
|
@@ -35687,7 +35633,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35687
35633
|
isRefetching: boolean;
|
|
35688
35634
|
isStale: boolean;
|
|
35689
35635
|
isEnabled: boolean;
|
|
35690
|
-
refetch: (options?:
|
|
35636
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
35691
35637
|
optionId: bigint;
|
|
35692
35638
|
id: string;
|
|
35693
35639
|
ownerAddr: Address;
|
|
@@ -35696,7 +35642,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35696
35642
|
expiresAt: number;
|
|
35697
35643
|
closed: boolean;
|
|
35698
35644
|
}[] | undefined, Error>>;
|
|
35699
|
-
fetchStatus:
|
|
35645
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35700
35646
|
promise: Promise<{
|
|
35701
35647
|
optionId: bigint;
|
|
35702
35648
|
id: string;
|
|
@@ -35719,7 +35665,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35719
35665
|
//#endregion
|
|
35720
35666
|
//#region src/hooks/operators/useOperatorPerms.d.ts
|
|
35721
35667
|
declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, operatorAddr?: Address) => {
|
|
35722
|
-
error:
|
|
35668
|
+
error: viem0.ReadContractErrorType;
|
|
35723
35669
|
isError: true;
|
|
35724
35670
|
isPending: false;
|
|
35725
35671
|
isLoading: false;
|
|
@@ -35731,7 +35677,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35731
35677
|
dataUpdatedAt: number;
|
|
35732
35678
|
errorUpdatedAt: number;
|
|
35733
35679
|
failureCount: number;
|
|
35734
|
-
failureReason:
|
|
35680
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35735
35681
|
errorUpdateCount: number;
|
|
35736
35682
|
isFetched: boolean;
|
|
35737
35683
|
isFetchedAfterMount: boolean;
|
|
@@ -35741,10 +35687,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35741
35687
|
isRefetching: boolean;
|
|
35742
35688
|
isStale: boolean;
|
|
35743
35689
|
isEnabled: boolean;
|
|
35744
|
-
refetch: (options?:
|
|
35745
|
-
fetchStatus:
|
|
35690
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35691
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35746
35692
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35747
|
-
queryKey:
|
|
35693
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
35748
35694
|
data: {
|
|
35749
35695
|
canExtend: boolean | undefined;
|
|
35750
35696
|
canExercise: boolean | undefined;
|
|
@@ -35766,7 +35712,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35766
35712
|
dataUpdatedAt: number;
|
|
35767
35713
|
errorUpdatedAt: number;
|
|
35768
35714
|
failureCount: number;
|
|
35769
|
-
failureReason:
|
|
35715
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35770
35716
|
errorUpdateCount: number;
|
|
35771
35717
|
isFetched: boolean;
|
|
35772
35718
|
isFetchedAfterMount: boolean;
|
|
@@ -35776,10 +35722,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35776
35722
|
isRefetching: boolean;
|
|
35777
35723
|
isStale: boolean;
|
|
35778
35724
|
isEnabled: boolean;
|
|
35779
|
-
refetch: (options?:
|
|
35780
|
-
fetchStatus:
|
|
35725
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35726
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35781
35727
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35782
|
-
queryKey:
|
|
35728
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
35783
35729
|
data: {
|
|
35784
35730
|
canExtend: boolean | undefined;
|
|
35785
35731
|
canExercise: boolean | undefined;
|
|
@@ -35789,7 +35735,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35789
35735
|
effectiveApproval: bigint;
|
|
35790
35736
|
};
|
|
35791
35737
|
} | {
|
|
35792
|
-
error:
|
|
35738
|
+
error: viem0.ReadContractErrorType;
|
|
35793
35739
|
isError: true;
|
|
35794
35740
|
isPending: false;
|
|
35795
35741
|
isLoading: false;
|
|
@@ -35801,7 +35747,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35801
35747
|
dataUpdatedAt: number;
|
|
35802
35748
|
errorUpdatedAt: number;
|
|
35803
35749
|
failureCount: number;
|
|
35804
|
-
failureReason:
|
|
35750
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35805
35751
|
errorUpdateCount: number;
|
|
35806
35752
|
isFetched: boolean;
|
|
35807
35753
|
isFetchedAfterMount: boolean;
|
|
@@ -35811,10 +35757,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35811
35757
|
isRefetching: boolean;
|
|
35812
35758
|
isStale: boolean;
|
|
35813
35759
|
isEnabled: boolean;
|
|
35814
|
-
refetch: (options?:
|
|
35815
|
-
fetchStatus:
|
|
35760
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35761
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35816
35762
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35817
|
-
queryKey:
|
|
35763
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
35818
35764
|
data: {
|
|
35819
35765
|
canExtend: boolean | undefined;
|
|
35820
35766
|
canExercise: boolean | undefined;
|
|
@@ -35836,7 +35782,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35836
35782
|
dataUpdatedAt: number;
|
|
35837
35783
|
errorUpdatedAt: number;
|
|
35838
35784
|
failureCount: number;
|
|
35839
|
-
failureReason:
|
|
35785
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35840
35786
|
errorUpdateCount: number;
|
|
35841
35787
|
isFetched: boolean;
|
|
35842
35788
|
isFetchedAfterMount: boolean;
|
|
@@ -35846,10 +35792,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35846
35792
|
isRefetching: boolean;
|
|
35847
35793
|
isStale: boolean;
|
|
35848
35794
|
isEnabled: boolean;
|
|
35849
|
-
refetch: (options?:
|
|
35850
|
-
fetchStatus:
|
|
35795
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35796
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35851
35797
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35852
|
-
queryKey:
|
|
35798
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
35853
35799
|
data: {
|
|
35854
35800
|
canExtend: boolean | undefined;
|
|
35855
35801
|
canExercise: boolean | undefined;
|
|
@@ -35870,7 +35816,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35870
35816
|
dataUpdatedAt: number;
|
|
35871
35817
|
errorUpdatedAt: number;
|
|
35872
35818
|
failureCount: number;
|
|
35873
|
-
failureReason:
|
|
35819
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35874
35820
|
errorUpdateCount: number;
|
|
35875
35821
|
isFetched: boolean;
|
|
35876
35822
|
isFetchedAfterMount: boolean;
|
|
@@ -35881,10 +35827,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35881
35827
|
isRefetching: boolean;
|
|
35882
35828
|
isStale: boolean;
|
|
35883
35829
|
isEnabled: boolean;
|
|
35884
|
-
refetch: (options?:
|
|
35885
|
-
fetchStatus:
|
|
35830
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35831
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35886
35832
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35887
|
-
queryKey:
|
|
35833
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
35888
35834
|
data: {
|
|
35889
35835
|
canExtend: boolean | undefined;
|
|
35890
35836
|
canExercise: boolean | undefined;
|
|
@@ -35906,7 +35852,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35906
35852
|
dataUpdatedAt: number;
|
|
35907
35853
|
errorUpdatedAt: number;
|
|
35908
35854
|
failureCount: number;
|
|
35909
|
-
failureReason:
|
|
35855
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35910
35856
|
errorUpdateCount: number;
|
|
35911
35857
|
isFetched: boolean;
|
|
35912
35858
|
isFetchedAfterMount: boolean;
|
|
@@ -35916,10 +35862,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35916
35862
|
isRefetching: boolean;
|
|
35917
35863
|
isStale: boolean;
|
|
35918
35864
|
isEnabled: boolean;
|
|
35919
|
-
refetch: (options?:
|
|
35920
|
-
fetchStatus:
|
|
35865
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35866
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35921
35867
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35922
|
-
queryKey:
|
|
35868
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
35923
35869
|
data: {
|
|
35924
35870
|
canExtend: boolean | undefined;
|
|
35925
35871
|
canExercise: boolean | undefined;
|
|
@@ -35968,7 +35914,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35968
35914
|
isRefetching: boolean;
|
|
35969
35915
|
isStale: boolean;
|
|
35970
35916
|
isEnabled: boolean;
|
|
35971
|
-
refetch: (options?:
|
|
35917
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
35972
35918
|
spendingApproval: bigint;
|
|
35973
35919
|
operatorAddr: string;
|
|
35974
35920
|
__typename: "UserMarketOperator";
|
|
@@ -35982,7 +35928,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35982
35928
|
address: string;
|
|
35983
35929
|
} | null;
|
|
35984
35930
|
}[] | undefined, Error>>;
|
|
35985
|
-
fetchStatus:
|
|
35931
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35986
35932
|
promise: Promise<{
|
|
35987
35933
|
spendingApproval: bigint;
|
|
35988
35934
|
operatorAddr: string;
|
|
@@ -36034,7 +35980,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36034
35980
|
isRefetching: boolean;
|
|
36035
35981
|
isStale: boolean;
|
|
36036
35982
|
isEnabled: boolean;
|
|
36037
|
-
refetch: (options?:
|
|
35983
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
36038
35984
|
spendingApproval: bigint;
|
|
36039
35985
|
operatorAddr: string;
|
|
36040
35986
|
__typename: "UserMarketOperator";
|
|
@@ -36048,7 +35994,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36048
35994
|
address: string;
|
|
36049
35995
|
} | null;
|
|
36050
35996
|
}[] | undefined, Error>>;
|
|
36051
|
-
fetchStatus:
|
|
35997
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36052
35998
|
promise: Promise<{
|
|
36053
35999
|
spendingApproval: bigint;
|
|
36054
36000
|
operatorAddr: string;
|
|
@@ -36100,7 +36046,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36100
36046
|
isRefetching: boolean;
|
|
36101
36047
|
isStale: boolean;
|
|
36102
36048
|
isEnabled: boolean;
|
|
36103
|
-
refetch: (options?:
|
|
36049
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
36104
36050
|
spendingApproval: bigint;
|
|
36105
36051
|
operatorAddr: string;
|
|
36106
36052
|
__typename: "UserMarketOperator";
|
|
@@ -36114,7 +36060,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36114
36060
|
address: string;
|
|
36115
36061
|
} | null;
|
|
36116
36062
|
}[] | undefined, Error>>;
|
|
36117
|
-
fetchStatus:
|
|
36063
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36118
36064
|
promise: Promise<{
|
|
36119
36065
|
spendingApproval: bigint;
|
|
36120
36066
|
operatorAddr: string;
|
|
@@ -36166,7 +36112,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36166
36112
|
isRefetching: boolean;
|
|
36167
36113
|
isStale: boolean;
|
|
36168
36114
|
isEnabled: boolean;
|
|
36169
|
-
refetch: (options?:
|
|
36115
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
36170
36116
|
spendingApproval: bigint;
|
|
36171
36117
|
operatorAddr: string;
|
|
36172
36118
|
__typename: "UserMarketOperator";
|
|
@@ -36180,7 +36126,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36180
36126
|
address: string;
|
|
36181
36127
|
} | null;
|
|
36182
36128
|
}[] | undefined, Error>>;
|
|
36183
|
-
fetchStatus:
|
|
36129
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36184
36130
|
promise: Promise<{
|
|
36185
36131
|
spendingApproval: bigint;
|
|
36186
36132
|
operatorAddr: string;
|
|
@@ -36232,7 +36178,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36232
36178
|
isRefetching: boolean;
|
|
36233
36179
|
isStale: boolean;
|
|
36234
36180
|
isEnabled: boolean;
|
|
36235
|
-
refetch: (options?:
|
|
36181
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
36236
36182
|
spendingApproval: bigint;
|
|
36237
36183
|
operatorAddr: string;
|
|
36238
36184
|
__typename: "UserMarketOperator";
|
|
@@ -36246,7 +36192,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36246
36192
|
address: string;
|
|
36247
36193
|
} | null;
|
|
36248
36194
|
}[] | undefined, Error>>;
|
|
36249
|
-
fetchStatus:
|
|
36195
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36250
36196
|
promise: Promise<{
|
|
36251
36197
|
spendingApproval: bigint;
|
|
36252
36198
|
operatorAddr: string;
|
|
@@ -36298,7 +36244,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36298
36244
|
isRefetching: boolean;
|
|
36299
36245
|
isStale: boolean;
|
|
36300
36246
|
isEnabled: boolean;
|
|
36301
|
-
refetch: (options?:
|
|
36247
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
36302
36248
|
spendingApproval: bigint;
|
|
36303
36249
|
operatorAddr: string;
|
|
36304
36250
|
__typename: "UserMarketOperator";
|
|
@@ -36312,7 +36258,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36312
36258
|
address: string;
|
|
36313
36259
|
} | null;
|
|
36314
36260
|
}[] | undefined, Error>>;
|
|
36315
|
-
fetchStatus:
|
|
36261
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36316
36262
|
promise: Promise<{
|
|
36317
36263
|
spendingApproval: bigint;
|
|
36318
36264
|
operatorAddr: string;
|
|
@@ -36356,21 +36302,25 @@ declare const getCurrentPrice: (poolAddress: string) => Promise<PriceData>;
|
|
|
36356
36302
|
//#endregion
|
|
36357
36303
|
//#region src/lib/liquidityUtils.d.ts
|
|
36358
36304
|
declare const PRICE_PRECISION: bigint;
|
|
36359
|
-
declare const
|
|
36305
|
+
declare const getPriceAtSqrtPriceX96: (sqrtPriceX96: bigint) => bigint;
|
|
36306
|
+
declare const getSqrtPriceX96AtPrice: (price: bigint) => JSBI;
|
|
36360
36307
|
declare const getPriceAtTick: (tick: number) => bigint;
|
|
36361
36308
|
declare const getTickAtPrice: (price: bigint) => number;
|
|
36362
36309
|
declare const getNearestValidStrikeTick: (optionType: "CALL" | "PUT", optionAssetIsToken0: boolean, tickSpacing: number, currentTick: number, strikeTick?: number) => number;
|
|
36363
36310
|
declare const roundTickDown: (tick: number, spacing: number) => number;
|
|
36364
36311
|
declare const roundTickUp: (tick: number, spacing: number) => number;
|
|
36365
|
-
declare const token0ToToken1: (amount0: bigint,
|
|
36366
|
-
declare const token1ToToken0: (amount1: bigint,
|
|
36312
|
+
declare const token0ToToken1: (amount0: bigint, price: bigint) => bigint;
|
|
36313
|
+
declare const token1ToToken0: (amount1: bigint, price: bigint) => bigint;
|
|
36314
|
+
declare const token0ToToken1AtTick: (amount0: bigint, tick: number) => bigint;
|
|
36315
|
+
declare const token1ToToken0AtTick: (amount1: bigint, tick: number) => bigint;
|
|
36367
36316
|
declare const getAmountsFromLiquidity: (tickLower: number, tickUpper: number, liquidity: bigint, currentTick: number) => [bigint, bigint];
|
|
36368
36317
|
declare const liquiditiesToAmount0: (liquidities: bigint[], startTick: number, tickSpacing: number) => bigint;
|
|
36369
36318
|
declare const liquiditiesToAmount1: (liquidities: bigint[], startTick: number, tickSpacing: number) => bigint;
|
|
36370
|
-
declare const liquiditiesToAmounts: (liquidities: bigint[], startTick: number,
|
|
36319
|
+
declare const liquiditiesToAmounts: (liquidities: bigint[], startTick: number, price: bigint, tickSpacing: number) => bigint[];
|
|
36371
36320
|
//#endregion
|
|
36372
36321
|
//#region src/lib/optionUtils.d.ts
|
|
36373
36322
|
declare const getPayoutAtTick: (option: OptionData, liquidities: bigint[], tick: number, tickSpacing: number, optionAssetIsToken0: boolean) => bigint;
|
|
36323
|
+
declare const getPayoutAtPrice: (option: OptionData, liquidities: bigint[], price: bigint, tickSpacing: number, optionAssetIsToken0: boolean) => bigint;
|
|
36374
36324
|
//#endregion
|
|
36375
36325
|
//#region src/hooks/pool/useCurrentPrice.d.ts
|
|
36376
36326
|
declare const useCurrentPrice: (poolAddr?: Address) => {
|
|
@@ -36432,7 +36382,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
36432
36382
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
36433
36383
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
36434
36384
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
36435
|
-
error:
|
|
36385
|
+
error: viem0.ReadContractErrorType;
|
|
36436
36386
|
isError: true;
|
|
36437
36387
|
isPending: false;
|
|
36438
36388
|
isLoading: false;
|
|
@@ -36444,7 +36394,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36444
36394
|
dataUpdatedAt: number;
|
|
36445
36395
|
errorUpdatedAt: number;
|
|
36446
36396
|
failureCount: number;
|
|
36447
|
-
failureReason:
|
|
36397
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36448
36398
|
errorUpdateCount: number;
|
|
36449
36399
|
isFetched: boolean;
|
|
36450
36400
|
isFetchedAfterMount: boolean;
|
|
@@ -36454,7 +36404,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36454
36404
|
isRefetching: boolean;
|
|
36455
36405
|
isStale: boolean;
|
|
36456
36406
|
isEnabled: boolean;
|
|
36457
|
-
refetch: (options?:
|
|
36407
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
36458
36408
|
tickLower: number;
|
|
36459
36409
|
tickUpper: number;
|
|
36460
36410
|
prevTickLower: number;
|
|
@@ -36464,8 +36414,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36464
36414
|
totalAmount1: bigint;
|
|
36465
36415
|
borrowedAmount0: bigint;
|
|
36466
36416
|
borrowedAmount1: bigint;
|
|
36467
|
-
}[],
|
|
36468
|
-
fetchStatus:
|
|
36417
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36418
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36469
36419
|
promise: Promise<readonly {
|
|
36470
36420
|
tickLower: number;
|
|
36471
36421
|
tickUpper: number;
|
|
@@ -36477,7 +36427,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36477
36427
|
borrowedAmount0: bigint;
|
|
36478
36428
|
borrowedAmount1: bigint;
|
|
36479
36429
|
}[]>;
|
|
36480
|
-
queryKey:
|
|
36430
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
36481
36431
|
data: readonly {
|
|
36482
36432
|
tickLower: number;
|
|
36483
36433
|
tickUpper: number;
|
|
@@ -36502,7 +36452,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36502
36452
|
dataUpdatedAt: number;
|
|
36503
36453
|
errorUpdatedAt: number;
|
|
36504
36454
|
failureCount: number;
|
|
36505
|
-
failureReason:
|
|
36455
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36506
36456
|
errorUpdateCount: number;
|
|
36507
36457
|
isFetched: boolean;
|
|
36508
36458
|
isFetchedAfterMount: boolean;
|
|
@@ -36512,7 +36462,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36512
36462
|
isRefetching: boolean;
|
|
36513
36463
|
isStale: boolean;
|
|
36514
36464
|
isEnabled: boolean;
|
|
36515
|
-
refetch: (options?:
|
|
36465
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
36516
36466
|
tickLower: number;
|
|
36517
36467
|
tickUpper: number;
|
|
36518
36468
|
prevTickLower: number;
|
|
@@ -36522,8 +36472,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36522
36472
|
totalAmount1: bigint;
|
|
36523
36473
|
borrowedAmount0: bigint;
|
|
36524
36474
|
borrowedAmount1: bigint;
|
|
36525
|
-
}[],
|
|
36526
|
-
fetchStatus:
|
|
36475
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36476
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36527
36477
|
promise: Promise<readonly {
|
|
36528
36478
|
tickLower: number;
|
|
36529
36479
|
tickUpper: number;
|
|
@@ -36535,7 +36485,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36535
36485
|
borrowedAmount0: bigint;
|
|
36536
36486
|
borrowedAmount1: bigint;
|
|
36537
36487
|
}[]>;
|
|
36538
|
-
queryKey:
|
|
36488
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
36539
36489
|
data: readonly {
|
|
36540
36490
|
tickLower: number;
|
|
36541
36491
|
tickUpper: number;
|
|
@@ -36548,7 +36498,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36548
36498
|
borrowedAmount1: bigint;
|
|
36549
36499
|
}[];
|
|
36550
36500
|
} | {
|
|
36551
|
-
error:
|
|
36501
|
+
error: viem0.ReadContractErrorType;
|
|
36552
36502
|
isError: true;
|
|
36553
36503
|
isPending: false;
|
|
36554
36504
|
isLoading: false;
|
|
@@ -36560,7 +36510,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36560
36510
|
dataUpdatedAt: number;
|
|
36561
36511
|
errorUpdatedAt: number;
|
|
36562
36512
|
failureCount: number;
|
|
36563
|
-
failureReason:
|
|
36513
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36564
36514
|
errorUpdateCount: number;
|
|
36565
36515
|
isFetched: boolean;
|
|
36566
36516
|
isFetchedAfterMount: boolean;
|
|
@@ -36570,7 +36520,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36570
36520
|
isRefetching: boolean;
|
|
36571
36521
|
isStale: boolean;
|
|
36572
36522
|
isEnabled: boolean;
|
|
36573
|
-
refetch: (options?:
|
|
36523
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
36574
36524
|
tickLower: number;
|
|
36575
36525
|
tickUpper: number;
|
|
36576
36526
|
prevTickLower: number;
|
|
@@ -36580,8 +36530,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36580
36530
|
totalAmount1: bigint;
|
|
36581
36531
|
borrowedAmount0: bigint;
|
|
36582
36532
|
borrowedAmount1: bigint;
|
|
36583
|
-
}[],
|
|
36584
|
-
fetchStatus:
|
|
36533
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36534
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36585
36535
|
promise: Promise<readonly {
|
|
36586
36536
|
tickLower: number;
|
|
36587
36537
|
tickUpper: number;
|
|
@@ -36593,7 +36543,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36593
36543
|
borrowedAmount0: bigint;
|
|
36594
36544
|
borrowedAmount1: bigint;
|
|
36595
36545
|
}[]>;
|
|
36596
|
-
queryKey:
|
|
36546
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
36597
36547
|
data: readonly {
|
|
36598
36548
|
tickLower: number;
|
|
36599
36549
|
tickUpper: number;
|
|
@@ -36618,7 +36568,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36618
36568
|
dataUpdatedAt: number;
|
|
36619
36569
|
errorUpdatedAt: number;
|
|
36620
36570
|
failureCount: number;
|
|
36621
|
-
failureReason:
|
|
36571
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36622
36572
|
errorUpdateCount: number;
|
|
36623
36573
|
isFetched: boolean;
|
|
36624
36574
|
isFetchedAfterMount: boolean;
|
|
@@ -36628,7 +36578,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36628
36578
|
isRefetching: boolean;
|
|
36629
36579
|
isStale: boolean;
|
|
36630
36580
|
isEnabled: boolean;
|
|
36631
|
-
refetch: (options?:
|
|
36581
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
36632
36582
|
tickLower: number;
|
|
36633
36583
|
tickUpper: number;
|
|
36634
36584
|
prevTickLower: number;
|
|
@@ -36638,8 +36588,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36638
36588
|
totalAmount1: bigint;
|
|
36639
36589
|
borrowedAmount0: bigint;
|
|
36640
36590
|
borrowedAmount1: bigint;
|
|
36641
|
-
}[],
|
|
36642
|
-
fetchStatus:
|
|
36591
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36592
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36643
36593
|
promise: Promise<readonly {
|
|
36644
36594
|
tickLower: number;
|
|
36645
36595
|
tickUpper: number;
|
|
@@ -36651,7 +36601,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36651
36601
|
borrowedAmount0: bigint;
|
|
36652
36602
|
borrowedAmount1: bigint;
|
|
36653
36603
|
}[]>;
|
|
36654
|
-
queryKey:
|
|
36604
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
36655
36605
|
data: readonly {
|
|
36656
36606
|
tickLower: number;
|
|
36657
36607
|
tickUpper: number;
|
|
@@ -36675,7 +36625,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36675
36625
|
dataUpdatedAt: number;
|
|
36676
36626
|
errorUpdatedAt: number;
|
|
36677
36627
|
failureCount: number;
|
|
36678
|
-
failureReason:
|
|
36628
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36679
36629
|
errorUpdateCount: number;
|
|
36680
36630
|
isFetched: boolean;
|
|
36681
36631
|
isFetchedAfterMount: boolean;
|
|
@@ -36686,7 +36636,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36686
36636
|
isRefetching: boolean;
|
|
36687
36637
|
isStale: boolean;
|
|
36688
36638
|
isEnabled: boolean;
|
|
36689
|
-
refetch: (options?:
|
|
36639
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
36690
36640
|
tickLower: number;
|
|
36691
36641
|
tickUpper: number;
|
|
36692
36642
|
prevTickLower: number;
|
|
@@ -36696,8 +36646,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36696
36646
|
totalAmount1: bigint;
|
|
36697
36647
|
borrowedAmount0: bigint;
|
|
36698
36648
|
borrowedAmount1: bigint;
|
|
36699
|
-
}[],
|
|
36700
|
-
fetchStatus:
|
|
36649
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36650
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36701
36651
|
promise: Promise<readonly {
|
|
36702
36652
|
tickLower: number;
|
|
36703
36653
|
tickUpper: number;
|
|
@@ -36709,7 +36659,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36709
36659
|
borrowedAmount0: bigint;
|
|
36710
36660
|
borrowedAmount1: bigint;
|
|
36711
36661
|
}[]>;
|
|
36712
|
-
queryKey:
|
|
36662
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
36713
36663
|
data: readonly {
|
|
36714
36664
|
tickLower: number;
|
|
36715
36665
|
tickUpper: number;
|
|
@@ -36734,7 +36684,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36734
36684
|
dataUpdatedAt: number;
|
|
36735
36685
|
errorUpdatedAt: number;
|
|
36736
36686
|
failureCount: number;
|
|
36737
|
-
failureReason:
|
|
36687
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36738
36688
|
errorUpdateCount: number;
|
|
36739
36689
|
isFetched: boolean;
|
|
36740
36690
|
isFetchedAfterMount: boolean;
|
|
@@ -36744,7 +36694,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36744
36694
|
isRefetching: boolean;
|
|
36745
36695
|
isStale: boolean;
|
|
36746
36696
|
isEnabled: boolean;
|
|
36747
|
-
refetch: (options?:
|
|
36697
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
36748
36698
|
tickLower: number;
|
|
36749
36699
|
tickUpper: number;
|
|
36750
36700
|
prevTickLower: number;
|
|
@@ -36754,8 +36704,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36754
36704
|
totalAmount1: bigint;
|
|
36755
36705
|
borrowedAmount0: bigint;
|
|
36756
36706
|
borrowedAmount1: bigint;
|
|
36757
|
-
}[],
|
|
36758
|
-
fetchStatus:
|
|
36707
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36708
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36759
36709
|
promise: Promise<readonly {
|
|
36760
36710
|
tickLower: number;
|
|
36761
36711
|
tickUpper: number;
|
|
@@ -36767,7 +36717,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36767
36717
|
borrowedAmount0: bigint;
|
|
36768
36718
|
borrowedAmount1: bigint;
|
|
36769
36719
|
}[]>;
|
|
36770
|
-
queryKey:
|
|
36720
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
36771
36721
|
data: readonly {
|
|
36772
36722
|
tickLower: number;
|
|
36773
36723
|
tickUpper: number;
|
|
@@ -36818,14 +36768,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
36818
36768
|
borrowedAmount0: Amount;
|
|
36819
36769
|
borrowedAmount1: Amount;
|
|
36820
36770
|
blocksCount: bigint;
|
|
36821
|
-
refetch: (options?:
|
|
36771
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
|
|
36822
36772
|
};
|
|
36823
36773
|
//#endregion
|
|
36824
36774
|
//#region src/hooks/useLens.d.ts
|
|
36825
36775
|
declare const useLens: () => {
|
|
36826
36776
|
timelockLens: {
|
|
36827
36777
|
read: {
|
|
36828
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
36778
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
36829
36779
|
readonly type: "function";
|
|
36830
36780
|
readonly name: "batchGetRefTick";
|
|
36831
36781
|
readonly inputs: readonly [{
|
|
@@ -37414,7 +37364,7 @@ declare const useLens: () => {
|
|
|
37414
37364
|
}];
|
|
37415
37365
|
readonly stateMutability: "view";
|
|
37416
37366
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
37417
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
37367
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
37418
37368
|
readonly type: "function";
|
|
37419
37369
|
readonly name: "batchGetRefTick";
|
|
37420
37370
|
readonly inputs: readonly [{
|
|
@@ -38013,7 +37963,7 @@ declare const useLens: () => {
|
|
|
38013
37963
|
borrowedAmount0: bigint;
|
|
38014
37964
|
borrowedAmount1: bigint;
|
|
38015
37965
|
}[]>;
|
|
38016
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
37966
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
38017
37967
|
readonly type: "function";
|
|
38018
37968
|
readonly name: "batchGetRefTick";
|
|
38019
37969
|
readonly inputs: readonly [{
|
|
@@ -38612,7 +38562,7 @@ declare const useLens: () => {
|
|
|
38612
38562
|
expiresAt: number;
|
|
38613
38563
|
liquidities: readonly bigint[];
|
|
38614
38564
|
}[], bigint, boolean]>;
|
|
38615
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
38565
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
38616
38566
|
readonly type: "function";
|
|
38617
38567
|
readonly name: "batchGetRefTick";
|
|
38618
38568
|
readonly inputs: readonly [{
|
|
@@ -39201,7 +39151,7 @@ declare const useLens: () => {
|
|
|
39201
39151
|
}];
|
|
39202
39152
|
readonly stateMutability: "view";
|
|
39203
39153
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
39204
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
39154
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
39205
39155
|
readonly type: "function";
|
|
39206
39156
|
readonly name: "batchGetRefTick";
|
|
39207
39157
|
readonly inputs: readonly [{
|
|
@@ -39803,7 +39753,7 @@ declare const useLens: () => {
|
|
|
39803
39753
|
payoutAssetName: string;
|
|
39804
39754
|
optionsCount: bigint;
|
|
39805
39755
|
}>;
|
|
39806
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
39756
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
39807
39757
|
readonly type: "function";
|
|
39808
39758
|
readonly name: "batchGetRefTick";
|
|
39809
39759
|
readonly inputs: readonly [{
|
|
@@ -40392,7 +40342,7 @@ declare const useLens: () => {
|
|
|
40392
40342
|
}];
|
|
40393
40343
|
readonly stateMutability: "view";
|
|
40394
40344
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
40395
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
40345
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
40396
40346
|
readonly type: "function";
|
|
40397
40347
|
readonly name: "batchGetRefTick";
|
|
40398
40348
|
readonly inputs: readonly [{
|
|
@@ -40981,7 +40931,7 @@ declare const useLens: () => {
|
|
|
40981
40931
|
}];
|
|
40982
40932
|
readonly stateMutability: "view";
|
|
40983
40933
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
40984
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
40934
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
40985
40935
|
readonly type: "function";
|
|
40986
40936
|
readonly name: "batchGetRefTick";
|
|
40987
40937
|
readonly inputs: readonly [{
|
|
@@ -41580,7 +41530,7 @@ declare const useLens: () => {
|
|
|
41580
41530
|
expiresAt: number;
|
|
41581
41531
|
liquidities: readonly bigint[];
|
|
41582
41532
|
}>;
|
|
41583
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
41533
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
41584
41534
|
readonly type: "function";
|
|
41585
41535
|
readonly name: "batchGetRefTick";
|
|
41586
41536
|
readonly inputs: readonly [{
|
|
@@ -42179,7 +42129,7 @@ declare const useLens: () => {
|
|
|
42179
42129
|
expiresAt: number;
|
|
42180
42130
|
liquidities: readonly bigint[];
|
|
42181
42131
|
}[]>;
|
|
42182
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
42132
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
42183
42133
|
readonly type: "function";
|
|
42184
42134
|
readonly name: "batchGetRefTick";
|
|
42185
42135
|
readonly inputs: readonly [{
|
|
@@ -42779,7 +42729,7 @@ declare const useLens: () => {
|
|
|
42779
42729
|
tickSpacing: number;
|
|
42780
42730
|
fee: number;
|
|
42781
42731
|
}>;
|
|
42782
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
42732
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
42783
42733
|
readonly type: "function";
|
|
42784
42734
|
readonly name: "batchGetRefTick";
|
|
42785
42735
|
readonly inputs: readonly [{
|
|
@@ -43368,7 +43318,7 @@ declare const useLens: () => {
|
|
|
43368
43318
|
}];
|
|
43369
43319
|
readonly stateMutability: "view";
|
|
43370
43320
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
43371
|
-
getTokenData: (args: readonly [`0x${string}`], options?:
|
|
43321
|
+
getTokenData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
43372
43322
|
readonly type: "function";
|
|
43373
43323
|
readonly name: "batchGetRefTick";
|
|
43374
43324
|
readonly inputs: readonly [{
|
|
@@ -43961,7 +43911,7 @@ declare const useLens: () => {
|
|
|
43961
43911
|
symbol: string;
|
|
43962
43912
|
name: string;
|
|
43963
43913
|
}>;
|
|
43964
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
43914
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
43965
43915
|
readonly type: "function";
|
|
43966
43916
|
readonly name: "batchGetRefTick";
|
|
43967
43917
|
readonly inputs: readonly [{
|
|
@@ -44560,7 +44510,7 @@ declare const useLens: () => {
|
|
|
44560
44510
|
expiresAt: number;
|
|
44561
44511
|
liquidities: readonly bigint[];
|
|
44562
44512
|
}[], bigint, boolean]>;
|
|
44563
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
44513
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
44564
44514
|
readonly type: "function";
|
|
44565
44515
|
readonly name: "batchGetRefTick";
|
|
44566
44516
|
readonly inputs: readonly [{
|
|
@@ -45743,7 +45693,7 @@ declare const useLens: () => {
|
|
|
45743
45693
|
} | undefined;
|
|
45744
45694
|
uniswapLens: {
|
|
45745
45695
|
read: {
|
|
45746
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
45696
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
45747
45697
|
readonly type: "function";
|
|
45748
45698
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
45749
45699
|
readonly inputs: readonly [{
|
|
@@ -46364,7 +46314,7 @@ declare const useLens: () => {
|
|
|
46364
46314
|
}];
|
|
46365
46315
|
readonly stateMutability: "pure";
|
|
46366
46316
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46367
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
46317
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
46368
46318
|
readonly type: "function";
|
|
46369
46319
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46370
46320
|
readonly inputs: readonly [{
|
|
@@ -46985,7 +46935,7 @@ declare const useLens: () => {
|
|
|
46985
46935
|
}];
|
|
46986
46936
|
readonly stateMutability: "pure";
|
|
46987
46937
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46988
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
46938
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
46989
46939
|
readonly type: "function";
|
|
46990
46940
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46991
46941
|
readonly inputs: readonly [{
|
|
@@ -47606,7 +47556,7 @@ declare const useLens: () => {
|
|
|
47606
47556
|
}];
|
|
47607
47557
|
readonly stateMutability: "pure";
|
|
47608
47558
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47609
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
47559
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
47610
47560
|
readonly type: "function";
|
|
47611
47561
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47612
47562
|
readonly inputs: readonly [{
|
|
@@ -48227,7 +48177,7 @@ declare const useLens: () => {
|
|
|
48227
48177
|
}];
|
|
48228
48178
|
readonly stateMutability: "pure";
|
|
48229
48179
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
48230
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
48180
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
48231
48181
|
readonly type: "function";
|
|
48232
48182
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48233
48183
|
readonly inputs: readonly [{
|
|
@@ -48848,7 +48798,7 @@ declare const useLens: () => {
|
|
|
48848
48798
|
}];
|
|
48849
48799
|
readonly stateMutability: "pure";
|
|
48850
48800
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
48851
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
48801
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
48852
48802
|
readonly type: "function";
|
|
48853
48803
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48854
48804
|
readonly inputs: readonly [{
|
|
@@ -49469,7 +49419,7 @@ declare const useLens: () => {
|
|
|
49469
49419
|
}];
|
|
49470
49420
|
readonly stateMutability: "pure";
|
|
49471
49421
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
49472
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
49422
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
49473
49423
|
readonly type: "function";
|
|
49474
49424
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49475
49425
|
readonly inputs: readonly [{
|
|
@@ -50090,7 +50040,7 @@ declare const useLens: () => {
|
|
|
50090
50040
|
}];
|
|
50091
50041
|
readonly stateMutability: "pure";
|
|
50092
50042
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50093
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
50043
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
50094
50044
|
readonly type: "function";
|
|
50095
50045
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50096
50046
|
readonly inputs: readonly [{
|
|
@@ -50711,7 +50661,7 @@ declare const useLens: () => {
|
|
|
50711
50661
|
}];
|
|
50712
50662
|
readonly stateMutability: "pure";
|
|
50713
50663
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50714
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
50664
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
50715
50665
|
readonly type: "function";
|
|
50716
50666
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50717
50667
|
readonly inputs: readonly [{
|
|
@@ -51332,7 +51282,7 @@ declare const useLens: () => {
|
|
|
51332
51282
|
}];
|
|
51333
51283
|
readonly stateMutability: "pure";
|
|
51334
51284
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51335
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
51285
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
51336
51286
|
readonly type: "function";
|
|
51337
51287
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51338
51288
|
readonly inputs: readonly [{
|
|
@@ -51953,7 +51903,7 @@ declare const useLens: () => {
|
|
|
51953
51903
|
}];
|
|
51954
51904
|
readonly stateMutability: "pure";
|
|
51955
51905
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51956
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
51906
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
51957
51907
|
readonly type: "function";
|
|
51958
51908
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51959
51909
|
readonly inputs: readonly [{
|
|
@@ -52574,7 +52524,7 @@ declare const useLens: () => {
|
|
|
52574
52524
|
}];
|
|
52575
52525
|
readonly stateMutability: "pure";
|
|
52576
52526
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52577
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
52527
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
52578
52528
|
readonly type: "function";
|
|
52579
52529
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52580
52530
|
readonly inputs: readonly [{
|
|
@@ -53195,7 +53145,7 @@ declare const useLens: () => {
|
|
|
53195
53145
|
}];
|
|
53196
53146
|
readonly stateMutability: "pure";
|
|
53197
53147
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53198
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
53148
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
53199
53149
|
readonly type: "function";
|
|
53200
53150
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53201
53151
|
readonly inputs: readonly [{
|
|
@@ -53816,7 +53766,7 @@ declare const useLens: () => {
|
|
|
53816
53766
|
}];
|
|
53817
53767
|
readonly stateMutability: "pure";
|
|
53818
53768
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53819
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
53769
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
53820
53770
|
readonly type: "function";
|
|
53821
53771
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53822
53772
|
readonly inputs: readonly [{
|
|
@@ -54437,7 +54387,7 @@ declare const useLens: () => {
|
|
|
54437
54387
|
}];
|
|
54438
54388
|
readonly stateMutability: "pure";
|
|
54439
54389
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54440
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
54390
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
54441
54391
|
readonly type: "function";
|
|
54442
54392
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54443
54393
|
readonly inputs: readonly [{
|
|
@@ -55058,7 +55008,7 @@ declare const useLens: () => {
|
|
|
55058
55008
|
}];
|
|
55059
55009
|
readonly stateMutability: "pure";
|
|
55060
55010
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55061
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
55011
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
55062
55012
|
readonly type: "function";
|
|
55063
55013
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55064
55014
|
readonly inputs: readonly [{
|
|
@@ -55679,7 +55629,7 @@ declare const useLens: () => {
|
|
|
55679
55629
|
}];
|
|
55680
55630
|
readonly stateMutability: "pure";
|
|
55681
55631
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55682
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
55632
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
55683
55633
|
readonly type: "function";
|
|
55684
55634
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55685
55635
|
readonly inputs: readonly [{
|
|
@@ -56300,7 +56250,7 @@ declare const useLens: () => {
|
|
|
56300
56250
|
}];
|
|
56301
56251
|
readonly stateMutability: "pure";
|
|
56302
56252
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
56303
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
56253
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
56304
56254
|
readonly type: "function";
|
|
56305
56255
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56306
56256
|
readonly inputs: readonly [{
|
|
@@ -56921,7 +56871,7 @@ declare const useLens: () => {
|
|
|
56921
56871
|
}];
|
|
56922
56872
|
readonly stateMutability: "pure";
|
|
56923
56873
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
56924
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
56874
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
56925
56875
|
readonly type: "function";
|
|
56926
56876
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56927
56877
|
readonly inputs: readonly [{
|
|
@@ -57542,7 +57492,7 @@ declare const useLens: () => {
|
|
|
57542
57492
|
}];
|
|
57543
57493
|
readonly stateMutability: "pure";
|
|
57544
57494
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
57545
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
57495
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
57546
57496
|
readonly type: "function";
|
|
57547
57497
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57548
57498
|
readonly inputs: readonly [{
|
|
@@ -58163,7 +58113,7 @@ declare const useLens: () => {
|
|
|
58163
58113
|
}];
|
|
58164
58114
|
readonly stateMutability: "pure";
|
|
58165
58115
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58166
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
58116
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
58167
58117
|
readonly type: "function";
|
|
58168
58118
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58169
58119
|
readonly inputs: readonly [{
|
|
@@ -58784,7 +58734,7 @@ declare const useLens: () => {
|
|
|
58784
58734
|
}];
|
|
58785
58735
|
readonly stateMutability: "pure";
|
|
58786
58736
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58787
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
58737
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
58788
58738
|
readonly type: "function";
|
|
58789
58739
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58790
58740
|
readonly inputs: readonly [{
|
|
@@ -59405,7 +59355,7 @@ declare const useLens: () => {
|
|
|
59405
59355
|
}];
|
|
59406
59356
|
readonly stateMutability: "pure";
|
|
59407
59357
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59408
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
59358
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
59409
59359
|
readonly type: "function";
|
|
59410
59360
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59411
59361
|
readonly inputs: readonly [{
|
|
@@ -60026,7 +59976,7 @@ declare const useLens: () => {
|
|
|
60026
59976
|
}];
|
|
60027
59977
|
readonly stateMutability: "pure";
|
|
60028
59978
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60029
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
59979
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
60030
59980
|
readonly type: "function";
|
|
60031
59981
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60032
59982
|
readonly inputs: readonly [{
|
|
@@ -60647,7 +60597,7 @@ declare const useLens: () => {
|
|
|
60647
60597
|
}];
|
|
60648
60598
|
readonly stateMutability: "pure";
|
|
60649
60599
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60650
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
60600
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
60651
60601
|
readonly type: "function";
|
|
60652
60602
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60653
60603
|
readonly inputs: readonly [{
|
|
@@ -61268,7 +61218,7 @@ declare const useLens: () => {
|
|
|
61268
61218
|
}];
|
|
61269
61219
|
readonly stateMutability: "pure";
|
|
61270
61220
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
61271
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
61221
|
+
getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
61272
61222
|
readonly type: "function";
|
|
61273
61223
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
61274
61224
|
readonly inputs: readonly [{
|
|
@@ -62524,5 +62474,5 @@ declare const useApproval: () => {
|
|
|
62524
62474
|
reset: () => void;
|
|
62525
62475
|
};
|
|
62526
62476
|
//#endregion
|
|
62527
|
-
export {
|
|
62528
|
-
//# sourceMappingURL=client-
|
|
62477
|
+
export { useOptionPnl as $, roundTickUp as A, getTimelockLens as At, useSetOperatorPerms as B, getPriceAtTick as C, useCurrentMarket as Ct, liquiditiesToAmount1 as D, TimelockMarketData as Dt, liquiditiesToAmount0 as E, TimelockMarket as Et, PriceData as F, uniswapMathLenses as Ft, useUserPerps as G, useOperatorPerms as H, PriceDataPoint as I, useMintPerp as J, usePerpsOperator as K, PriceResolution as L, token0ToToken1AtTick as M, getUniswapMathLens as Mt, token1ToToken0 as N, swappers as Nt, liquiditiesToAmounts as O, UniswapMathLens as Ot, token1ToToken0AtTick as P, timelockLenses as Pt, useOptionPremium as Q, getCurrentPrice as R, getPriceAtSqrtPriceX96 as S, TimelockProvider as St, getTickAtPrice as T, TimelockLens as Tt, useActiveUserPerps as U, useUserOperators as V, useClosedUserPerps as W, useOptionTimeline as X, OptionTimelineData as Y, useExtendOption as Z, getPayoutAtPrice as _, useMarketData as _t, batchGetAmountsFromLiquidity as a, formatCondensed as at, getAmountsFromLiquidity as b, useActiveUserOptions as bt, useLiquidityBlocks as c, scaleAmount as ct, usePriceAtTick as d, unscalePrice as dt, useMintOption as et, usePriceSqrtPriceX96 as f, wrapAmount as ft, useCurrentPrice as g, zero as gt, useCurrentTick as h, wrapPriceUnscaled as ht, useVaultData as i, formatAmount as it, token0ToToken1 as j, getTimelockMarket as jt, roundTickDown as k, getErc20 as kt, useBurnLiquidity as l, scalePrice as lt, usePoolData as m, wrapPrice as mt, useLens as n, Amount as nt, useMintLiquidity as o, formatUSD as ot, UniswapPoolData as p, wrapAmountUnscaled as pt, useClosePerp as q, useVaultTVL as r, EMPTY_ARRAY as rt, LiquidityBlockData as s, formatVagueAmount as st, useApproval as t, useMaxPositionSize as tt, usePriceHistory as u, unscaleAmount as ut, getPayoutAtTick as v, useExerciseOption as vt, getSqrtPriceX96AtPrice as w, useTimelockConfig as wt, getNearestValidStrikeTick as x, useClosedUserOptions as xt, PRICE_PRECISION as y, OptionData as yt, getPriceHistory as z };
|
|
62478
|
+
//# sourceMappingURL=client-D7objc4l.d.ts.map
|