timelock-sdk 0.0.105 → 0.0.107
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-1hXpAcRP.d.cts → client-BbT_pl5p.d.ts} +1191 -268
- package/dist/{client-Fw1-4Rrd.d.ts → client-CgsSS_2P.d.cts} +1029 -106
- package/dist/client.cjs +42 -8
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +44 -13
- package/dist/client.js.map +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-
|
|
2
|
-
import * as
|
|
1
|
+
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-ChJFZ6hc.js";
|
|
2
|
+
import * as viem0 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
|
+
import Big from "big.js";
|
|
4
5
|
import React, { ReactNode } from "react";
|
|
5
|
-
import "graphql";
|
|
6
6
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
7
|
-
import * as
|
|
7
|
+
import * as _tanstack_react_query2 from "@tanstack/react-query";
|
|
8
8
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
9
|
+
import "graphql";
|
|
10
|
+
import * as _tanstack_query_core139 from "@tanstack/query-core";
|
|
11
11
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
12
12
|
|
|
13
13
|
//#region src/generated/graphql.d.ts
|
|
@@ -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
|
-
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
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_";
|
|
@@ -586,7 +586,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
586
586
|
}];
|
|
587
587
|
readonly stateMutability: "nonpayable";
|
|
588
588
|
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
589
|
-
balanceOf: (args: readonly [`0x${string}`], options?:
|
|
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_";
|
|
@@ -765,7 +765,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
765
765
|
}];
|
|
766
766
|
readonly stateMutability: "nonpayable";
|
|
767
767
|
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
768
|
-
decimals: (options?:
|
|
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_";
|
|
@@ -944,7 +944,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
944
944
|
}];
|
|
945
945
|
readonly stateMutability: "nonpayable";
|
|
946
946
|
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
947
|
-
name: (options?:
|
|
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_";
|
|
@@ -1123,7 +1123,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1123
1123
|
}];
|
|
1124
1124
|
readonly stateMutability: "nonpayable";
|
|
1125
1125
|
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
1126
|
-
totalSupply: (options?:
|
|
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 [{
|
|
@@ -23378,7 +23378,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23378
23378
|
}];
|
|
23379
23379
|
readonly stateMutability: "view";
|
|
23380
23380
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
23381
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
23381
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23382
23382
|
readonly type: "function";
|
|
23383
23383
|
readonly name: "batchGetRefTick";
|
|
23384
23384
|
readonly inputs: readonly [{
|
|
@@ -24030,7 +24030,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24030
24030
|
borrowedAmount0: bigint;
|
|
24031
24031
|
borrowedAmount1: bigint;
|
|
24032
24032
|
}[]>;
|
|
24033
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
24033
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
24034
24034
|
readonly type: "function";
|
|
24035
24035
|
readonly name: "batchGetRefTick";
|
|
24036
24036
|
readonly inputs: readonly [{
|
|
@@ -24687,7 +24687,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24687
24687
|
expiresAt: number;
|
|
24688
24688
|
liquidities: readonly bigint[];
|
|
24689
24689
|
}[], bigint, boolean]>;
|
|
24690
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
24690
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
24691
24691
|
readonly type: "function";
|
|
24692
24692
|
readonly name: "batchGetRefTick";
|
|
24693
24693
|
readonly inputs: readonly [{
|
|
@@ -25329,7 +25329,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25329
25329
|
}];
|
|
25330
25330
|
readonly stateMutability: "view";
|
|
25331
25331
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25332
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
25332
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25333
25333
|
readonly type: "function";
|
|
25334
25334
|
readonly name: "batchGetRefTick";
|
|
25335
25335
|
readonly inputs: readonly [{
|
|
@@ -25984,7 +25984,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25984
25984
|
payoutAssetName: string;
|
|
25985
25985
|
optionsCount: bigint;
|
|
25986
25986
|
}>;
|
|
25987
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
25987
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25988
25988
|
readonly type: "function";
|
|
25989
25989
|
readonly name: "batchGetRefTick";
|
|
25990
25990
|
readonly inputs: readonly [{
|
|
@@ -26626,7 +26626,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26626
26626
|
}];
|
|
26627
26627
|
readonly stateMutability: "view";
|
|
26628
26628
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
26629
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
26629
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26630
26630
|
readonly type: "function";
|
|
26631
26631
|
readonly name: "batchGetRefTick";
|
|
26632
26632
|
readonly inputs: readonly [{
|
|
@@ -27268,7 +27268,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27268
27268
|
}];
|
|
27269
27269
|
readonly stateMutability: "view";
|
|
27270
27270
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
27271
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
27271
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
27272
27272
|
readonly type: "function";
|
|
27273
27273
|
readonly name: "batchGetRefTick";
|
|
27274
27274
|
readonly inputs: readonly [{
|
|
@@ -27925,7 +27925,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27925
27925
|
expiresAt: number;
|
|
27926
27926
|
liquidities: readonly bigint[];
|
|
27927
27927
|
}>;
|
|
27928
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
27928
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
27929
27929
|
readonly type: "function";
|
|
27930
27930
|
readonly name: "batchGetRefTick";
|
|
27931
27931
|
readonly inputs: readonly [{
|
|
@@ -28582,7 +28582,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28582
28582
|
expiresAt: number;
|
|
28583
28583
|
liquidities: readonly bigint[];
|
|
28584
28584
|
}[]>;
|
|
28585
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
28585
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
28586
28586
|
readonly type: "function";
|
|
28587
28587
|
readonly name: "batchGetRefTick";
|
|
28588
28588
|
readonly inputs: readonly [{
|
|
@@ -29235,7 +29235,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29235
29235
|
tickSpacing: number;
|
|
29236
29236
|
fee: number;
|
|
29237
29237
|
}>;
|
|
29238
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
29238
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
29239
29239
|
readonly type: "function";
|
|
29240
29240
|
readonly name: "batchGetRefTick";
|
|
29241
29241
|
readonly inputs: readonly [{
|
|
@@ -29877,7 +29877,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29877
29877
|
}];
|
|
29878
29878
|
readonly stateMutability: "view";
|
|
29879
29879
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
29880
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
29880
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
29881
29881
|
readonly type: "function";
|
|
29882
29882
|
readonly name: "batchGetRefTick";
|
|
29883
29883
|
readonly inputs: readonly [{
|
|
@@ -30534,7 +30534,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30534
30534
|
expiresAt: number;
|
|
30535
30535
|
liquidities: readonly bigint[];
|
|
30536
30536
|
}[], bigint, boolean]>;
|
|
30537
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
30537
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
30538
30538
|
readonly type: "function";
|
|
30539
30539
|
readonly name: "batchGetRefTick";
|
|
30540
30540
|
readonly inputs: readonly [{
|
|
@@ -31872,7 +31872,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31872
31872
|
isRefetching: boolean;
|
|
31873
31873
|
isStale: boolean;
|
|
31874
31874
|
isEnabled: boolean;
|
|
31875
|
-
refetch: (options?:
|
|
31875
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
31876
31876
|
optionId: bigint;
|
|
31877
31877
|
marketAddr: Address;
|
|
31878
31878
|
ownerAddr: Address;
|
|
@@ -31903,7 +31903,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31903
31903
|
address: string;
|
|
31904
31904
|
} | null;
|
|
31905
31905
|
}[], Error>>;
|
|
31906
|
-
fetchStatus:
|
|
31906
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
31907
31907
|
promise: Promise<{
|
|
31908
31908
|
optionId: bigint;
|
|
31909
31909
|
marketAddr: Address;
|
|
@@ -31989,7 +31989,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31989
31989
|
isRefetching: boolean;
|
|
31990
31990
|
isStale: boolean;
|
|
31991
31991
|
isEnabled: boolean;
|
|
31992
|
-
refetch: (options?:
|
|
31992
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
31993
31993
|
optionId: bigint;
|
|
31994
31994
|
marketAddr: Address;
|
|
31995
31995
|
ownerAddr: Address;
|
|
@@ -32020,7 +32020,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32020
32020
|
address: string;
|
|
32021
32021
|
} | null;
|
|
32022
32022
|
}[], Error>>;
|
|
32023
|
-
fetchStatus:
|
|
32023
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
32024
32024
|
promise: Promise<{
|
|
32025
32025
|
optionId: bigint;
|
|
32026
32026
|
marketAddr: Address;
|
|
@@ -32106,7 +32106,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32106
32106
|
isRefetching: boolean;
|
|
32107
32107
|
isStale: boolean;
|
|
32108
32108
|
isEnabled: boolean;
|
|
32109
|
-
refetch: (options?:
|
|
32109
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
32110
32110
|
optionId: bigint;
|
|
32111
32111
|
marketAddr: Address;
|
|
32112
32112
|
ownerAddr: Address;
|
|
@@ -32137,7 +32137,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32137
32137
|
address: string;
|
|
32138
32138
|
} | null;
|
|
32139
32139
|
}[], Error>>;
|
|
32140
|
-
fetchStatus:
|
|
32140
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
32141
32141
|
promise: Promise<{
|
|
32142
32142
|
optionId: bigint;
|
|
32143
32143
|
marketAddr: Address;
|
|
@@ -32223,7 +32223,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32223
32223
|
isRefetching: boolean;
|
|
32224
32224
|
isStale: boolean;
|
|
32225
32225
|
isEnabled: boolean;
|
|
32226
|
-
refetch: (options?:
|
|
32226
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
32227
32227
|
optionId: bigint;
|
|
32228
32228
|
marketAddr: Address;
|
|
32229
32229
|
ownerAddr: Address;
|
|
@@ -32254,7 +32254,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32254
32254
|
address: string;
|
|
32255
32255
|
} | null;
|
|
32256
32256
|
}[], Error>>;
|
|
32257
|
-
fetchStatus:
|
|
32257
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
32258
32258
|
promise: Promise<{
|
|
32259
32259
|
optionId: bigint;
|
|
32260
32260
|
marketAddr: Address;
|
|
@@ -32340,7 +32340,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32340
32340
|
isRefetching: boolean;
|
|
32341
32341
|
isStale: boolean;
|
|
32342
32342
|
isEnabled: boolean;
|
|
32343
|
-
refetch: (options?:
|
|
32343
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
32344
32344
|
optionId: bigint;
|
|
32345
32345
|
marketAddr: Address;
|
|
32346
32346
|
ownerAddr: Address;
|
|
@@ -32371,7 +32371,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32371
32371
|
address: string;
|
|
32372
32372
|
} | null;
|
|
32373
32373
|
}[], Error>>;
|
|
32374
|
-
fetchStatus:
|
|
32374
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
32375
32375
|
promise: Promise<{
|
|
32376
32376
|
optionId: bigint;
|
|
32377
32377
|
marketAddr: Address;
|
|
@@ -32457,7 +32457,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32457
32457
|
isRefetching: boolean;
|
|
32458
32458
|
isStale: boolean;
|
|
32459
32459
|
isEnabled: boolean;
|
|
32460
|
-
refetch: (options?:
|
|
32460
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
32461
32461
|
optionId: bigint;
|
|
32462
32462
|
marketAddr: Address;
|
|
32463
32463
|
ownerAddr: Address;
|
|
@@ -32488,7 +32488,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32488
32488
|
address: string;
|
|
32489
32489
|
} | null;
|
|
32490
32490
|
}[], Error>>;
|
|
32491
|
-
fetchStatus:
|
|
32491
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
32492
32492
|
promise: Promise<{
|
|
32493
32493
|
optionId: bigint;
|
|
32494
32494
|
marketAddr: Address;
|
|
@@ -32575,7 +32575,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32575
32575
|
isRefetching: boolean;
|
|
32576
32576
|
isStale: boolean;
|
|
32577
32577
|
isEnabled: boolean;
|
|
32578
|
-
refetch: (options?:
|
|
32578
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
32579
32579
|
optionId: bigint;
|
|
32580
32580
|
marketAddr: Address;
|
|
32581
32581
|
ownerAddr: Address;
|
|
@@ -32606,7 +32606,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32606
32606
|
address: string;
|
|
32607
32607
|
} | null;
|
|
32608
32608
|
}[], Error>>;
|
|
32609
|
-
fetchStatus:
|
|
32609
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
32610
32610
|
promise: Promise<{
|
|
32611
32611
|
optionId: bigint;
|
|
32612
32612
|
marketAddr: Address;
|
|
@@ -32692,7 +32692,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32692
32692
|
isRefetching: boolean;
|
|
32693
32693
|
isStale: boolean;
|
|
32694
32694
|
isEnabled: boolean;
|
|
32695
|
-
refetch: (options?:
|
|
32695
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
32696
32696
|
optionId: bigint;
|
|
32697
32697
|
marketAddr: Address;
|
|
32698
32698
|
ownerAddr: Address;
|
|
@@ -32723,7 +32723,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32723
32723
|
address: string;
|
|
32724
32724
|
} | null;
|
|
32725
32725
|
}[], Error>>;
|
|
32726
|
-
fetchStatus:
|
|
32726
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
32727
32727
|
promise: Promise<{
|
|
32728
32728
|
optionId: bigint;
|
|
32729
32729
|
marketAddr: Address;
|
|
@@ -32809,7 +32809,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32809
32809
|
isRefetching: boolean;
|
|
32810
32810
|
isStale: boolean;
|
|
32811
32811
|
isEnabled: boolean;
|
|
32812
|
-
refetch: (options?:
|
|
32812
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
32813
32813
|
optionId: bigint;
|
|
32814
32814
|
marketAddr: Address;
|
|
32815
32815
|
ownerAddr: Address;
|
|
@@ -32840,7 +32840,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32840
32840
|
address: string;
|
|
32841
32841
|
} | null;
|
|
32842
32842
|
}[], Error>>;
|
|
32843
|
-
fetchStatus:
|
|
32843
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
32844
32844
|
promise: Promise<{
|
|
32845
32845
|
optionId: bigint;
|
|
32846
32846
|
marketAddr: Address;
|
|
@@ -32926,7 +32926,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32926
32926
|
isRefetching: boolean;
|
|
32927
32927
|
isStale: boolean;
|
|
32928
32928
|
isEnabled: boolean;
|
|
32929
|
-
refetch: (options?:
|
|
32929
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
32930
32930
|
optionId: bigint;
|
|
32931
32931
|
marketAddr: Address;
|
|
32932
32932
|
ownerAddr: Address;
|
|
@@ -32957,7 +32957,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32957
32957
|
address: string;
|
|
32958
32958
|
} | null;
|
|
32959
32959
|
}[], Error>>;
|
|
32960
|
-
fetchStatus:
|
|
32960
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
32961
32961
|
promise: Promise<{
|
|
32962
32962
|
optionId: bigint;
|
|
32963
32963
|
marketAddr: Address;
|
|
@@ -33043,7 +33043,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33043
33043
|
isRefetching: boolean;
|
|
33044
33044
|
isStale: boolean;
|
|
33045
33045
|
isEnabled: boolean;
|
|
33046
|
-
refetch: (options?:
|
|
33046
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
33047
33047
|
optionId: bigint;
|
|
33048
33048
|
marketAddr: Address;
|
|
33049
33049
|
ownerAddr: Address;
|
|
@@ -33074,7 +33074,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33074
33074
|
address: string;
|
|
33075
33075
|
} | null;
|
|
33076
33076
|
}[], Error>>;
|
|
33077
|
-
fetchStatus:
|
|
33077
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
33078
33078
|
promise: Promise<{
|
|
33079
33079
|
optionId: bigint;
|
|
33080
33080
|
marketAddr: Address;
|
|
@@ -33160,7 +33160,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33160
33160
|
isRefetching: boolean;
|
|
33161
33161
|
isStale: boolean;
|
|
33162
33162
|
isEnabled: boolean;
|
|
33163
|
-
refetch: (options?:
|
|
33163
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
33164
33164
|
optionId: bigint;
|
|
33165
33165
|
marketAddr: Address;
|
|
33166
33166
|
ownerAddr: Address;
|
|
@@ -33191,7 +33191,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33191
33191
|
address: string;
|
|
33192
33192
|
} | null;
|
|
33193
33193
|
}[], Error>>;
|
|
33194
|
-
fetchStatus:
|
|
33194
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
33195
33195
|
promise: Promise<{
|
|
33196
33196
|
optionId: bigint;
|
|
33197
33197
|
marketAddr: Address;
|
|
@@ -33278,7 +33278,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33278
33278
|
isRefetching: boolean;
|
|
33279
33279
|
isStale: boolean;
|
|
33280
33280
|
isEnabled: boolean;
|
|
33281
|
-
refetch: (options?:
|
|
33281
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
33282
33282
|
optionId: bigint;
|
|
33283
33283
|
marketAddr: Address;
|
|
33284
33284
|
ownerAddr: Address;
|
|
@@ -33309,7 +33309,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33309
33309
|
address: string;
|
|
33310
33310
|
} | null;
|
|
33311
33311
|
}[], Error>>;
|
|
33312
|
-
fetchStatus:
|
|
33312
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
33313
33313
|
promise: Promise<{
|
|
33314
33314
|
optionId: bigint;
|
|
33315
33315
|
marketAddr: Address;
|
|
@@ -33395,7 +33395,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33395
33395
|
isRefetching: boolean;
|
|
33396
33396
|
isStale: boolean;
|
|
33397
33397
|
isEnabled: boolean;
|
|
33398
|
-
refetch: (options?:
|
|
33398
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
33399
33399
|
optionId: bigint;
|
|
33400
33400
|
marketAddr: Address;
|
|
33401
33401
|
ownerAddr: Address;
|
|
@@ -33426,7 +33426,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33426
33426
|
address: string;
|
|
33427
33427
|
} | null;
|
|
33428
33428
|
}[], Error>>;
|
|
33429
|
-
fetchStatus:
|
|
33429
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
33430
33430
|
promise: Promise<{
|
|
33431
33431
|
optionId: bigint;
|
|
33432
33432
|
marketAddr: Address;
|
|
@@ -33512,7 +33512,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33512
33512
|
isRefetching: boolean;
|
|
33513
33513
|
isStale: boolean;
|
|
33514
33514
|
isEnabled: boolean;
|
|
33515
|
-
refetch: (options?:
|
|
33515
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
33516
33516
|
optionId: bigint;
|
|
33517
33517
|
marketAddr: Address;
|
|
33518
33518
|
ownerAddr: Address;
|
|
@@ -33543,7 +33543,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33543
33543
|
address: string;
|
|
33544
33544
|
} | null;
|
|
33545
33545
|
}[], Error>>;
|
|
33546
|
-
fetchStatus:
|
|
33546
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
33547
33547
|
promise: Promise<{
|
|
33548
33548
|
optionId: bigint;
|
|
33549
33549
|
marketAddr: Address;
|
|
@@ -33629,7 +33629,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33629
33629
|
isRefetching: boolean;
|
|
33630
33630
|
isStale: boolean;
|
|
33631
33631
|
isEnabled: boolean;
|
|
33632
|
-
refetch: (options?:
|
|
33632
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
33633
33633
|
optionId: bigint;
|
|
33634
33634
|
marketAddr: Address;
|
|
33635
33635
|
ownerAddr: Address;
|
|
@@ -33660,7 +33660,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33660
33660
|
address: string;
|
|
33661
33661
|
} | null;
|
|
33662
33662
|
}[], Error>>;
|
|
33663
|
-
fetchStatus:
|
|
33663
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
33664
33664
|
promise: Promise<{
|
|
33665
33665
|
optionId: bigint;
|
|
33666
33666
|
marketAddr: Address;
|
|
@@ -33746,7 +33746,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33746
33746
|
isRefetching: boolean;
|
|
33747
33747
|
isStale: boolean;
|
|
33748
33748
|
isEnabled: boolean;
|
|
33749
|
-
refetch: (options?:
|
|
33749
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
33750
33750
|
optionId: bigint;
|
|
33751
33751
|
marketAddr: Address;
|
|
33752
33752
|
ownerAddr: Address;
|
|
@@ -33777,7 +33777,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33777
33777
|
address: string;
|
|
33778
33778
|
} | null;
|
|
33779
33779
|
}[], Error>>;
|
|
33780
|
-
fetchStatus:
|
|
33780
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
33781
33781
|
promise: Promise<{
|
|
33782
33782
|
optionId: bigint;
|
|
33783
33783
|
marketAddr: Address;
|
|
@@ -33863,7 +33863,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33863
33863
|
isRefetching: boolean;
|
|
33864
33864
|
isStale: boolean;
|
|
33865
33865
|
isEnabled: boolean;
|
|
33866
|
-
refetch: (options?:
|
|
33866
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
33867
33867
|
optionId: bigint;
|
|
33868
33868
|
marketAddr: Address;
|
|
33869
33869
|
ownerAddr: Address;
|
|
@@ -33894,7 +33894,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33894
33894
|
address: string;
|
|
33895
33895
|
} | null;
|
|
33896
33896
|
}[], Error>>;
|
|
33897
|
-
fetchStatus:
|
|
33897
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
33898
33898
|
promise: Promise<{
|
|
33899
33899
|
optionId: bigint;
|
|
33900
33900
|
marketAddr: Address;
|
|
@@ -33960,7 +33960,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33960
33960
|
};
|
|
33961
33961
|
//#endregion
|
|
33962
33962
|
//#region src/hooks/options/useExerciseOption.d.ts
|
|
33963
|
-
declare const useExerciseOption: (marketAddr?: Address) =>
|
|
33963
|
+
declare const useExerciseOption: (marketAddr?: Address) => _tanstack_react_query2.UseMutationResult<`0x${string}`, Error, {
|
|
33964
33964
|
option: OptionData;
|
|
33965
33965
|
liquidities: readonly bigint[];
|
|
33966
33966
|
}, unknown>;
|
|
@@ -34016,7 +34016,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
34016
34016
|
};
|
|
34017
34017
|
//#endregion
|
|
34018
34018
|
//#region src/hooks/options/useMintOption.d.ts
|
|
34019
|
-
declare const useMintOption: (marketAddr?: Address) =>
|
|
34019
|
+
declare const useMintOption: (marketAddr?: Address) => _tanstack_react_query2.UseMutationResult<`0x${string}`, Error, {
|
|
34020
34020
|
optionType: "CALL" | "PUT";
|
|
34021
34021
|
amount: bigint;
|
|
34022
34022
|
duration: number;
|
|
@@ -34041,7 +34041,7 @@ declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "C
|
|
|
34041
34041
|
};
|
|
34042
34042
|
//#endregion
|
|
34043
34043
|
//#region src/hooks/options/useExtendOption.d.ts
|
|
34044
|
-
declare const useExtendOption: (marketAddr?: Address) =>
|
|
34044
|
+
declare const useExtendOption: (marketAddr?: Address) => _tanstack_react_query2.UseMutationResult<`0x${string}`, Error, {
|
|
34045
34045
|
option: OptionData;
|
|
34046
34046
|
duration: number;
|
|
34047
34047
|
}, unknown>;
|
|
@@ -34071,7 +34071,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34071
34071
|
isRefetching: boolean;
|
|
34072
34072
|
isStale: boolean;
|
|
34073
34073
|
isEnabled: boolean;
|
|
34074
|
-
refetch: (options?:
|
|
34074
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<({
|
|
34075
34075
|
type: "mint";
|
|
34076
34076
|
data: {
|
|
34077
34077
|
id: string;
|
|
@@ -34110,7 +34110,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34110
34110
|
transactionHash: string;
|
|
34111
34111
|
};
|
|
34112
34112
|
})[], Error>>;
|
|
34113
|
-
fetchStatus:
|
|
34113
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
34114
34114
|
promise: Promise<({
|
|
34115
34115
|
type: "mint";
|
|
34116
34116
|
data: {
|
|
@@ -34212,7 +34212,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34212
34212
|
isRefetching: boolean;
|
|
34213
34213
|
isStale: boolean;
|
|
34214
34214
|
isEnabled: boolean;
|
|
34215
|
-
refetch: (options?:
|
|
34215
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<({
|
|
34216
34216
|
type: "mint";
|
|
34217
34217
|
data: {
|
|
34218
34218
|
id: string;
|
|
@@ -34251,7 +34251,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34251
34251
|
transactionHash: string;
|
|
34252
34252
|
};
|
|
34253
34253
|
})[], Error>>;
|
|
34254
|
-
fetchStatus:
|
|
34254
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
34255
34255
|
promise: Promise<({
|
|
34256
34256
|
type: "mint";
|
|
34257
34257
|
data: {
|
|
@@ -34353,7 +34353,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34353
34353
|
isRefetching: boolean;
|
|
34354
34354
|
isStale: boolean;
|
|
34355
34355
|
isEnabled: boolean;
|
|
34356
|
-
refetch: (options?:
|
|
34356
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<({
|
|
34357
34357
|
type: "mint";
|
|
34358
34358
|
data: {
|
|
34359
34359
|
id: string;
|
|
@@ -34392,7 +34392,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34392
34392
|
transactionHash: string;
|
|
34393
34393
|
};
|
|
34394
34394
|
})[], Error>>;
|
|
34395
|
-
fetchStatus:
|
|
34395
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
34396
34396
|
promise: Promise<({
|
|
34397
34397
|
type: "mint";
|
|
34398
34398
|
data: {
|
|
@@ -34494,7 +34494,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34494
34494
|
isRefetching: boolean;
|
|
34495
34495
|
isStale: boolean;
|
|
34496
34496
|
isEnabled: boolean;
|
|
34497
|
-
refetch: (options?:
|
|
34497
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<({
|
|
34498
34498
|
type: "mint";
|
|
34499
34499
|
data: {
|
|
34500
34500
|
id: string;
|
|
@@ -34533,7 +34533,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34533
34533
|
transactionHash: string;
|
|
34534
34534
|
};
|
|
34535
34535
|
})[], Error>>;
|
|
34536
|
-
fetchStatus:
|
|
34536
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
34537
34537
|
promise: Promise<({
|
|
34538
34538
|
type: "mint";
|
|
34539
34539
|
data: {
|
|
@@ -34635,7 +34635,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34635
34635
|
isRefetching: boolean;
|
|
34636
34636
|
isStale: boolean;
|
|
34637
34637
|
isEnabled: boolean;
|
|
34638
|
-
refetch: (options?:
|
|
34638
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<({
|
|
34639
34639
|
type: "mint";
|
|
34640
34640
|
data: {
|
|
34641
34641
|
id: string;
|
|
@@ -34674,7 +34674,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34674
34674
|
transactionHash: string;
|
|
34675
34675
|
};
|
|
34676
34676
|
})[], Error>>;
|
|
34677
|
-
fetchStatus:
|
|
34677
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
34678
34678
|
promise: Promise<({
|
|
34679
34679
|
type: "mint";
|
|
34680
34680
|
data: {
|
|
@@ -34776,7 +34776,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34776
34776
|
isRefetching: boolean;
|
|
34777
34777
|
isStale: boolean;
|
|
34778
34778
|
isEnabled: boolean;
|
|
34779
|
-
refetch: (options?:
|
|
34779
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<({
|
|
34780
34780
|
type: "mint";
|
|
34781
34781
|
data: {
|
|
34782
34782
|
id: string;
|
|
@@ -34815,7 +34815,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34815
34815
|
transactionHash: string;
|
|
34816
34816
|
};
|
|
34817
34817
|
})[], Error>>;
|
|
34818
|
-
fetchStatus:
|
|
34818
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
34819
34819
|
promise: Promise<({
|
|
34820
34820
|
type: "mint";
|
|
34821
34821
|
data: {
|
|
@@ -34897,7 +34897,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34897
34897
|
};
|
|
34898
34898
|
//#endregion
|
|
34899
34899
|
//#region src/hooks/perps/useMintPerp.d.ts
|
|
34900
|
-
declare const useMintPerp: (marketAddr?: Address) =>
|
|
34900
|
+
declare const useMintPerp: (marketAddr?: Address) => _tanstack_react_query2.UseMutationResult<void, Error, {
|
|
34901
34901
|
optionType: "CALL" | "PUT";
|
|
34902
34902
|
amount: bigint;
|
|
34903
34903
|
duration: number;
|
|
@@ -34920,18 +34920,18 @@ type ExercisePerpBody = {
|
|
|
34920
34920
|
declare class PerpsOperator {
|
|
34921
34921
|
#private;
|
|
34922
34922
|
auth?: {
|
|
34923
|
-
|
|
34923
|
+
message: string;
|
|
34924
34924
|
signature: Hex;
|
|
34925
34925
|
};
|
|
34926
34926
|
constructor(baseUrl: string);
|
|
34927
34927
|
getOperatorAddr: () => Promise<Address>;
|
|
34928
34928
|
genAuthMessage: (userAddr: Address) => Promise<string>;
|
|
34929
|
-
validateAuthMessage: (
|
|
34929
|
+
validateAuthMessage: (message: string, signature: Hex) => Promise<{
|
|
34930
34930
|
address: `0x${string}`;
|
|
34931
34931
|
createdAt: number;
|
|
34932
34932
|
validUntil: number;
|
|
34933
34933
|
}>;
|
|
34934
|
-
setAuth: (
|
|
34934
|
+
setAuth: (message: string, signature: Hex) => void;
|
|
34935
34935
|
getUserPerps: (userAddr: Address, marketAddr?: Address, type?: "active" | "closed", offset?: number, limit?: number) => Promise<{
|
|
34936
34936
|
optionId: bigint;
|
|
34937
34937
|
id: string;
|
|
@@ -34952,7 +34952,7 @@ declare class PerpsOperator {
|
|
|
34952
34952
|
}
|
|
34953
34953
|
//#endregion
|
|
34954
34954
|
//#region src/hooks/perps/useClosePerp.d.ts
|
|
34955
|
-
declare const useClosePerp: () =>
|
|
34955
|
+
declare const useClosePerp: () => _tanstack_react_query2.UseMutationResult<{
|
|
34956
34956
|
txHash: string;
|
|
34957
34957
|
optionId: bigint;
|
|
34958
34958
|
}, Error, ExercisePerpBody, unknown>;
|
|
@@ -34961,12 +34961,935 @@ declare const useClosePerp: () => _tanstack_react_query1.UseMutationResult<{
|
|
|
34961
34961
|
declare const usePerpsOperator: () => {
|
|
34962
34962
|
operator: PerpsOperator | undefined;
|
|
34963
34963
|
address: `0x${string}` | undefined;
|
|
34964
|
-
signMessage:
|
|
34964
|
+
signMessage: _tanstack_react_query2.UseMutationResult<void, Error, void, unknown>;
|
|
34965
|
+
};
|
|
34966
|
+
//#endregion
|
|
34967
|
+
//#region src/hooks/perps/useUserPerps.d.ts
|
|
34968
|
+
declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "active" | "closed") => {
|
|
34969
|
+
error: Error;
|
|
34970
|
+
isError: true;
|
|
34971
|
+
isPending: false;
|
|
34972
|
+
isLoading: false;
|
|
34973
|
+
isLoadingError: false;
|
|
34974
|
+
isRefetchError: true;
|
|
34975
|
+
isSuccess: false;
|
|
34976
|
+
isPlaceholderData: false;
|
|
34977
|
+
status: "error";
|
|
34978
|
+
dataUpdatedAt: number;
|
|
34979
|
+
errorUpdatedAt: number;
|
|
34980
|
+
failureCount: number;
|
|
34981
|
+
failureReason: Error | null;
|
|
34982
|
+
errorUpdateCount: number;
|
|
34983
|
+
isFetched: boolean;
|
|
34984
|
+
isFetchedAfterMount: boolean;
|
|
34985
|
+
isFetching: boolean;
|
|
34986
|
+
isInitialLoading: boolean;
|
|
34987
|
+
isPaused: boolean;
|
|
34988
|
+
isRefetching: boolean;
|
|
34989
|
+
isStale: boolean;
|
|
34990
|
+
isEnabled: boolean;
|
|
34991
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
34992
|
+
optionId: bigint;
|
|
34993
|
+
id: string;
|
|
34994
|
+
ownerAddr: Address;
|
|
34995
|
+
marketAddr: Address;
|
|
34996
|
+
perpDuration: number;
|
|
34997
|
+
expiresAt: number;
|
|
34998
|
+
closed: boolean;
|
|
34999
|
+
}[] | undefined, Error>>;
|
|
35000
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35001
|
+
promise: Promise<{
|
|
35002
|
+
optionId: bigint;
|
|
35003
|
+
id: string;
|
|
35004
|
+
ownerAddr: Address;
|
|
35005
|
+
marketAddr: Address;
|
|
35006
|
+
perpDuration: number;
|
|
35007
|
+
expiresAt: number;
|
|
35008
|
+
closed: boolean;
|
|
35009
|
+
}[] | undefined>;
|
|
35010
|
+
data: {
|
|
35011
|
+
optionId: bigint;
|
|
35012
|
+
id: string;
|
|
35013
|
+
ownerAddr: Address;
|
|
35014
|
+
marketAddr: Address;
|
|
35015
|
+
perpDuration: number;
|
|
35016
|
+
expiresAt: number;
|
|
35017
|
+
closed: boolean;
|
|
35018
|
+
}[];
|
|
35019
|
+
} | {
|
|
35020
|
+
error: null;
|
|
35021
|
+
isError: false;
|
|
35022
|
+
isPending: false;
|
|
35023
|
+
isLoading: false;
|
|
35024
|
+
isLoadingError: false;
|
|
35025
|
+
isRefetchError: false;
|
|
35026
|
+
isSuccess: true;
|
|
35027
|
+
isPlaceholderData: false;
|
|
35028
|
+
status: "success";
|
|
35029
|
+
dataUpdatedAt: number;
|
|
35030
|
+
errorUpdatedAt: number;
|
|
35031
|
+
failureCount: number;
|
|
35032
|
+
failureReason: Error | null;
|
|
35033
|
+
errorUpdateCount: number;
|
|
35034
|
+
isFetched: boolean;
|
|
35035
|
+
isFetchedAfterMount: boolean;
|
|
35036
|
+
isFetching: boolean;
|
|
35037
|
+
isInitialLoading: boolean;
|
|
35038
|
+
isPaused: boolean;
|
|
35039
|
+
isRefetching: boolean;
|
|
35040
|
+
isStale: boolean;
|
|
35041
|
+
isEnabled: boolean;
|
|
35042
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35043
|
+
optionId: bigint;
|
|
35044
|
+
id: string;
|
|
35045
|
+
ownerAddr: Address;
|
|
35046
|
+
marketAddr: Address;
|
|
35047
|
+
perpDuration: number;
|
|
35048
|
+
expiresAt: number;
|
|
35049
|
+
closed: boolean;
|
|
35050
|
+
}[] | undefined, Error>>;
|
|
35051
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35052
|
+
promise: Promise<{
|
|
35053
|
+
optionId: bigint;
|
|
35054
|
+
id: string;
|
|
35055
|
+
ownerAddr: Address;
|
|
35056
|
+
marketAddr: Address;
|
|
35057
|
+
perpDuration: number;
|
|
35058
|
+
expiresAt: number;
|
|
35059
|
+
closed: boolean;
|
|
35060
|
+
}[] | undefined>;
|
|
35061
|
+
data: {
|
|
35062
|
+
optionId: bigint;
|
|
35063
|
+
id: string;
|
|
35064
|
+
ownerAddr: Address;
|
|
35065
|
+
marketAddr: Address;
|
|
35066
|
+
perpDuration: number;
|
|
35067
|
+
expiresAt: number;
|
|
35068
|
+
closed: boolean;
|
|
35069
|
+
}[];
|
|
35070
|
+
} | {
|
|
35071
|
+
error: Error;
|
|
35072
|
+
isError: true;
|
|
35073
|
+
isPending: false;
|
|
35074
|
+
isLoading: false;
|
|
35075
|
+
isLoadingError: true;
|
|
35076
|
+
isRefetchError: false;
|
|
35077
|
+
isSuccess: false;
|
|
35078
|
+
isPlaceholderData: false;
|
|
35079
|
+
status: "error";
|
|
35080
|
+
dataUpdatedAt: number;
|
|
35081
|
+
errorUpdatedAt: number;
|
|
35082
|
+
failureCount: number;
|
|
35083
|
+
failureReason: Error | null;
|
|
35084
|
+
errorUpdateCount: number;
|
|
35085
|
+
isFetched: boolean;
|
|
35086
|
+
isFetchedAfterMount: boolean;
|
|
35087
|
+
isFetching: boolean;
|
|
35088
|
+
isInitialLoading: boolean;
|
|
35089
|
+
isPaused: boolean;
|
|
35090
|
+
isRefetching: boolean;
|
|
35091
|
+
isStale: boolean;
|
|
35092
|
+
isEnabled: boolean;
|
|
35093
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35094
|
+
optionId: bigint;
|
|
35095
|
+
id: string;
|
|
35096
|
+
ownerAddr: Address;
|
|
35097
|
+
marketAddr: Address;
|
|
35098
|
+
perpDuration: number;
|
|
35099
|
+
expiresAt: number;
|
|
35100
|
+
closed: boolean;
|
|
35101
|
+
}[] | undefined, Error>>;
|
|
35102
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35103
|
+
promise: Promise<{
|
|
35104
|
+
optionId: bigint;
|
|
35105
|
+
id: string;
|
|
35106
|
+
ownerAddr: Address;
|
|
35107
|
+
marketAddr: Address;
|
|
35108
|
+
perpDuration: number;
|
|
35109
|
+
expiresAt: number;
|
|
35110
|
+
closed: boolean;
|
|
35111
|
+
}[] | undefined>;
|
|
35112
|
+
data: {
|
|
35113
|
+
optionId: bigint;
|
|
35114
|
+
id: string;
|
|
35115
|
+
ownerAddr: Address;
|
|
35116
|
+
marketAddr: Address;
|
|
35117
|
+
perpDuration: number;
|
|
35118
|
+
expiresAt: number;
|
|
35119
|
+
closed: boolean;
|
|
35120
|
+
}[];
|
|
35121
|
+
} | {
|
|
35122
|
+
error: null;
|
|
35123
|
+
isError: false;
|
|
35124
|
+
isPending: true;
|
|
35125
|
+
isLoading: true;
|
|
35126
|
+
isLoadingError: false;
|
|
35127
|
+
isRefetchError: false;
|
|
35128
|
+
isSuccess: false;
|
|
35129
|
+
isPlaceholderData: false;
|
|
35130
|
+
status: "pending";
|
|
35131
|
+
dataUpdatedAt: number;
|
|
35132
|
+
errorUpdatedAt: number;
|
|
35133
|
+
failureCount: number;
|
|
35134
|
+
failureReason: Error | null;
|
|
35135
|
+
errorUpdateCount: number;
|
|
35136
|
+
isFetched: boolean;
|
|
35137
|
+
isFetchedAfterMount: boolean;
|
|
35138
|
+
isFetching: boolean;
|
|
35139
|
+
isInitialLoading: boolean;
|
|
35140
|
+
isPaused: boolean;
|
|
35141
|
+
isRefetching: boolean;
|
|
35142
|
+
isStale: boolean;
|
|
35143
|
+
isEnabled: boolean;
|
|
35144
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35145
|
+
optionId: bigint;
|
|
35146
|
+
id: string;
|
|
35147
|
+
ownerAddr: Address;
|
|
35148
|
+
marketAddr: Address;
|
|
35149
|
+
perpDuration: number;
|
|
35150
|
+
expiresAt: number;
|
|
35151
|
+
closed: boolean;
|
|
35152
|
+
}[] | undefined, Error>>;
|
|
35153
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35154
|
+
promise: Promise<{
|
|
35155
|
+
optionId: bigint;
|
|
35156
|
+
id: string;
|
|
35157
|
+
ownerAddr: Address;
|
|
35158
|
+
marketAddr: Address;
|
|
35159
|
+
perpDuration: number;
|
|
35160
|
+
expiresAt: number;
|
|
35161
|
+
closed: boolean;
|
|
35162
|
+
}[] | undefined>;
|
|
35163
|
+
data: {
|
|
35164
|
+
optionId: bigint;
|
|
35165
|
+
id: string;
|
|
35166
|
+
ownerAddr: Address;
|
|
35167
|
+
marketAddr: Address;
|
|
35168
|
+
perpDuration: number;
|
|
35169
|
+
expiresAt: number;
|
|
35170
|
+
closed: boolean;
|
|
35171
|
+
}[];
|
|
35172
|
+
} | {
|
|
35173
|
+
error: null;
|
|
35174
|
+
isError: false;
|
|
35175
|
+
isPending: true;
|
|
35176
|
+
isLoadingError: false;
|
|
35177
|
+
isRefetchError: false;
|
|
35178
|
+
isSuccess: false;
|
|
35179
|
+
isPlaceholderData: false;
|
|
35180
|
+
status: "pending";
|
|
35181
|
+
dataUpdatedAt: number;
|
|
35182
|
+
errorUpdatedAt: number;
|
|
35183
|
+
failureCount: number;
|
|
35184
|
+
failureReason: Error | null;
|
|
35185
|
+
errorUpdateCount: number;
|
|
35186
|
+
isFetched: boolean;
|
|
35187
|
+
isFetchedAfterMount: boolean;
|
|
35188
|
+
isFetching: boolean;
|
|
35189
|
+
isLoading: boolean;
|
|
35190
|
+
isInitialLoading: boolean;
|
|
35191
|
+
isPaused: boolean;
|
|
35192
|
+
isRefetching: boolean;
|
|
35193
|
+
isStale: boolean;
|
|
35194
|
+
isEnabled: boolean;
|
|
35195
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35196
|
+
optionId: bigint;
|
|
35197
|
+
id: string;
|
|
35198
|
+
ownerAddr: Address;
|
|
35199
|
+
marketAddr: Address;
|
|
35200
|
+
perpDuration: number;
|
|
35201
|
+
expiresAt: number;
|
|
35202
|
+
closed: boolean;
|
|
35203
|
+
}[] | undefined, Error>>;
|
|
35204
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35205
|
+
promise: Promise<{
|
|
35206
|
+
optionId: bigint;
|
|
35207
|
+
id: string;
|
|
35208
|
+
ownerAddr: Address;
|
|
35209
|
+
marketAddr: Address;
|
|
35210
|
+
perpDuration: number;
|
|
35211
|
+
expiresAt: number;
|
|
35212
|
+
closed: boolean;
|
|
35213
|
+
}[] | undefined>;
|
|
35214
|
+
data: {
|
|
35215
|
+
optionId: bigint;
|
|
35216
|
+
id: string;
|
|
35217
|
+
ownerAddr: Address;
|
|
35218
|
+
marketAddr: Address;
|
|
35219
|
+
perpDuration: number;
|
|
35220
|
+
expiresAt: number;
|
|
35221
|
+
closed: boolean;
|
|
35222
|
+
}[];
|
|
35223
|
+
} | {
|
|
35224
|
+
isError: false;
|
|
35225
|
+
error: null;
|
|
35226
|
+
isPending: false;
|
|
35227
|
+
isLoading: false;
|
|
35228
|
+
isLoadingError: false;
|
|
35229
|
+
isRefetchError: false;
|
|
35230
|
+
isSuccess: true;
|
|
35231
|
+
isPlaceholderData: true;
|
|
35232
|
+
status: "success";
|
|
35233
|
+
dataUpdatedAt: number;
|
|
35234
|
+
errorUpdatedAt: number;
|
|
35235
|
+
failureCount: number;
|
|
35236
|
+
failureReason: Error | null;
|
|
35237
|
+
errorUpdateCount: number;
|
|
35238
|
+
isFetched: boolean;
|
|
35239
|
+
isFetchedAfterMount: boolean;
|
|
35240
|
+
isFetching: boolean;
|
|
35241
|
+
isInitialLoading: boolean;
|
|
35242
|
+
isPaused: boolean;
|
|
35243
|
+
isRefetching: boolean;
|
|
35244
|
+
isStale: boolean;
|
|
35245
|
+
isEnabled: boolean;
|
|
35246
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35247
|
+
optionId: bigint;
|
|
35248
|
+
id: string;
|
|
35249
|
+
ownerAddr: Address;
|
|
35250
|
+
marketAddr: Address;
|
|
35251
|
+
perpDuration: number;
|
|
35252
|
+
expiresAt: number;
|
|
35253
|
+
closed: boolean;
|
|
35254
|
+
}[] | undefined, Error>>;
|
|
35255
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35256
|
+
promise: Promise<{
|
|
35257
|
+
optionId: bigint;
|
|
35258
|
+
id: string;
|
|
35259
|
+
ownerAddr: Address;
|
|
35260
|
+
marketAddr: Address;
|
|
35261
|
+
perpDuration: number;
|
|
35262
|
+
expiresAt: number;
|
|
35263
|
+
closed: boolean;
|
|
35264
|
+
}[] | undefined>;
|
|
35265
|
+
data: {
|
|
35266
|
+
optionId: bigint;
|
|
35267
|
+
id: string;
|
|
35268
|
+
ownerAddr: Address;
|
|
35269
|
+
marketAddr: Address;
|
|
35270
|
+
perpDuration: number;
|
|
35271
|
+
expiresAt: number;
|
|
35272
|
+
closed: boolean;
|
|
35273
|
+
}[];
|
|
35274
|
+
};
|
|
35275
|
+
declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) => {
|
|
35276
|
+
error: Error;
|
|
35277
|
+
isError: true;
|
|
35278
|
+
isPending: false;
|
|
35279
|
+
isLoading: false;
|
|
35280
|
+
isLoadingError: false;
|
|
35281
|
+
isRefetchError: true;
|
|
35282
|
+
isSuccess: false;
|
|
35283
|
+
isPlaceholderData: false;
|
|
35284
|
+
status: "error";
|
|
35285
|
+
dataUpdatedAt: number;
|
|
35286
|
+
errorUpdatedAt: number;
|
|
35287
|
+
failureCount: number;
|
|
35288
|
+
failureReason: Error | null;
|
|
35289
|
+
errorUpdateCount: number;
|
|
35290
|
+
isFetched: boolean;
|
|
35291
|
+
isFetchedAfterMount: boolean;
|
|
35292
|
+
isFetching: boolean;
|
|
35293
|
+
isInitialLoading: boolean;
|
|
35294
|
+
isPaused: boolean;
|
|
35295
|
+
isRefetching: boolean;
|
|
35296
|
+
isStale: boolean;
|
|
35297
|
+
isEnabled: boolean;
|
|
35298
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35299
|
+
optionId: bigint;
|
|
35300
|
+
id: string;
|
|
35301
|
+
ownerAddr: Address;
|
|
35302
|
+
marketAddr: Address;
|
|
35303
|
+
perpDuration: number;
|
|
35304
|
+
expiresAt: number;
|
|
35305
|
+
closed: boolean;
|
|
35306
|
+
}[] | undefined, Error>>;
|
|
35307
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35308
|
+
promise: Promise<{
|
|
35309
|
+
optionId: bigint;
|
|
35310
|
+
id: string;
|
|
35311
|
+
ownerAddr: Address;
|
|
35312
|
+
marketAddr: Address;
|
|
35313
|
+
perpDuration: number;
|
|
35314
|
+
expiresAt: number;
|
|
35315
|
+
closed: boolean;
|
|
35316
|
+
}[] | undefined>;
|
|
35317
|
+
data: {
|
|
35318
|
+
optionId: bigint;
|
|
35319
|
+
id: string;
|
|
35320
|
+
ownerAddr: Address;
|
|
35321
|
+
marketAddr: Address;
|
|
35322
|
+
perpDuration: number;
|
|
35323
|
+
expiresAt: number;
|
|
35324
|
+
closed: boolean;
|
|
35325
|
+
}[];
|
|
35326
|
+
} | {
|
|
35327
|
+
error: null;
|
|
35328
|
+
isError: false;
|
|
35329
|
+
isPending: false;
|
|
35330
|
+
isLoading: false;
|
|
35331
|
+
isLoadingError: false;
|
|
35332
|
+
isRefetchError: false;
|
|
35333
|
+
isSuccess: true;
|
|
35334
|
+
isPlaceholderData: false;
|
|
35335
|
+
status: "success";
|
|
35336
|
+
dataUpdatedAt: number;
|
|
35337
|
+
errorUpdatedAt: number;
|
|
35338
|
+
failureCount: number;
|
|
35339
|
+
failureReason: Error | null;
|
|
35340
|
+
errorUpdateCount: number;
|
|
35341
|
+
isFetched: boolean;
|
|
35342
|
+
isFetchedAfterMount: boolean;
|
|
35343
|
+
isFetching: boolean;
|
|
35344
|
+
isInitialLoading: boolean;
|
|
35345
|
+
isPaused: boolean;
|
|
35346
|
+
isRefetching: boolean;
|
|
35347
|
+
isStale: boolean;
|
|
35348
|
+
isEnabled: boolean;
|
|
35349
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35350
|
+
optionId: bigint;
|
|
35351
|
+
id: string;
|
|
35352
|
+
ownerAddr: Address;
|
|
35353
|
+
marketAddr: Address;
|
|
35354
|
+
perpDuration: number;
|
|
35355
|
+
expiresAt: number;
|
|
35356
|
+
closed: boolean;
|
|
35357
|
+
}[] | undefined, Error>>;
|
|
35358
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35359
|
+
promise: Promise<{
|
|
35360
|
+
optionId: bigint;
|
|
35361
|
+
id: string;
|
|
35362
|
+
ownerAddr: Address;
|
|
35363
|
+
marketAddr: Address;
|
|
35364
|
+
perpDuration: number;
|
|
35365
|
+
expiresAt: number;
|
|
35366
|
+
closed: boolean;
|
|
35367
|
+
}[] | undefined>;
|
|
35368
|
+
data: {
|
|
35369
|
+
optionId: bigint;
|
|
35370
|
+
id: string;
|
|
35371
|
+
ownerAddr: Address;
|
|
35372
|
+
marketAddr: Address;
|
|
35373
|
+
perpDuration: number;
|
|
35374
|
+
expiresAt: number;
|
|
35375
|
+
closed: boolean;
|
|
35376
|
+
}[];
|
|
35377
|
+
} | {
|
|
35378
|
+
error: Error;
|
|
35379
|
+
isError: true;
|
|
35380
|
+
isPending: false;
|
|
35381
|
+
isLoading: false;
|
|
35382
|
+
isLoadingError: true;
|
|
35383
|
+
isRefetchError: false;
|
|
35384
|
+
isSuccess: false;
|
|
35385
|
+
isPlaceholderData: false;
|
|
35386
|
+
status: "error";
|
|
35387
|
+
dataUpdatedAt: number;
|
|
35388
|
+
errorUpdatedAt: number;
|
|
35389
|
+
failureCount: number;
|
|
35390
|
+
failureReason: Error | null;
|
|
35391
|
+
errorUpdateCount: number;
|
|
35392
|
+
isFetched: boolean;
|
|
35393
|
+
isFetchedAfterMount: boolean;
|
|
35394
|
+
isFetching: boolean;
|
|
35395
|
+
isInitialLoading: boolean;
|
|
35396
|
+
isPaused: boolean;
|
|
35397
|
+
isRefetching: boolean;
|
|
35398
|
+
isStale: boolean;
|
|
35399
|
+
isEnabled: boolean;
|
|
35400
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35401
|
+
optionId: bigint;
|
|
35402
|
+
id: string;
|
|
35403
|
+
ownerAddr: Address;
|
|
35404
|
+
marketAddr: Address;
|
|
35405
|
+
perpDuration: number;
|
|
35406
|
+
expiresAt: number;
|
|
35407
|
+
closed: boolean;
|
|
35408
|
+
}[] | undefined, Error>>;
|
|
35409
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35410
|
+
promise: Promise<{
|
|
35411
|
+
optionId: bigint;
|
|
35412
|
+
id: string;
|
|
35413
|
+
ownerAddr: Address;
|
|
35414
|
+
marketAddr: Address;
|
|
35415
|
+
perpDuration: number;
|
|
35416
|
+
expiresAt: number;
|
|
35417
|
+
closed: boolean;
|
|
35418
|
+
}[] | undefined>;
|
|
35419
|
+
data: {
|
|
35420
|
+
optionId: bigint;
|
|
35421
|
+
id: string;
|
|
35422
|
+
ownerAddr: Address;
|
|
35423
|
+
marketAddr: Address;
|
|
35424
|
+
perpDuration: number;
|
|
35425
|
+
expiresAt: number;
|
|
35426
|
+
closed: boolean;
|
|
35427
|
+
}[];
|
|
35428
|
+
} | {
|
|
35429
|
+
error: null;
|
|
35430
|
+
isError: false;
|
|
35431
|
+
isPending: true;
|
|
35432
|
+
isLoading: true;
|
|
35433
|
+
isLoadingError: false;
|
|
35434
|
+
isRefetchError: false;
|
|
35435
|
+
isSuccess: false;
|
|
35436
|
+
isPlaceholderData: false;
|
|
35437
|
+
status: "pending";
|
|
35438
|
+
dataUpdatedAt: number;
|
|
35439
|
+
errorUpdatedAt: number;
|
|
35440
|
+
failureCount: number;
|
|
35441
|
+
failureReason: Error | null;
|
|
35442
|
+
errorUpdateCount: number;
|
|
35443
|
+
isFetched: boolean;
|
|
35444
|
+
isFetchedAfterMount: boolean;
|
|
35445
|
+
isFetching: boolean;
|
|
35446
|
+
isInitialLoading: boolean;
|
|
35447
|
+
isPaused: boolean;
|
|
35448
|
+
isRefetching: boolean;
|
|
35449
|
+
isStale: boolean;
|
|
35450
|
+
isEnabled: boolean;
|
|
35451
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35452
|
+
optionId: bigint;
|
|
35453
|
+
id: string;
|
|
35454
|
+
ownerAddr: Address;
|
|
35455
|
+
marketAddr: Address;
|
|
35456
|
+
perpDuration: number;
|
|
35457
|
+
expiresAt: number;
|
|
35458
|
+
closed: boolean;
|
|
35459
|
+
}[] | undefined, Error>>;
|
|
35460
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35461
|
+
promise: Promise<{
|
|
35462
|
+
optionId: bigint;
|
|
35463
|
+
id: string;
|
|
35464
|
+
ownerAddr: Address;
|
|
35465
|
+
marketAddr: Address;
|
|
35466
|
+
perpDuration: number;
|
|
35467
|
+
expiresAt: number;
|
|
35468
|
+
closed: boolean;
|
|
35469
|
+
}[] | undefined>;
|
|
35470
|
+
data: {
|
|
35471
|
+
optionId: bigint;
|
|
35472
|
+
id: string;
|
|
35473
|
+
ownerAddr: Address;
|
|
35474
|
+
marketAddr: Address;
|
|
35475
|
+
perpDuration: number;
|
|
35476
|
+
expiresAt: number;
|
|
35477
|
+
closed: boolean;
|
|
35478
|
+
}[];
|
|
35479
|
+
} | {
|
|
35480
|
+
error: null;
|
|
35481
|
+
isError: false;
|
|
35482
|
+
isPending: true;
|
|
35483
|
+
isLoadingError: false;
|
|
35484
|
+
isRefetchError: false;
|
|
35485
|
+
isSuccess: false;
|
|
35486
|
+
isPlaceholderData: false;
|
|
35487
|
+
status: "pending";
|
|
35488
|
+
dataUpdatedAt: number;
|
|
35489
|
+
errorUpdatedAt: number;
|
|
35490
|
+
failureCount: number;
|
|
35491
|
+
failureReason: Error | null;
|
|
35492
|
+
errorUpdateCount: number;
|
|
35493
|
+
isFetched: boolean;
|
|
35494
|
+
isFetchedAfterMount: boolean;
|
|
35495
|
+
isFetching: boolean;
|
|
35496
|
+
isLoading: boolean;
|
|
35497
|
+
isInitialLoading: boolean;
|
|
35498
|
+
isPaused: boolean;
|
|
35499
|
+
isRefetching: boolean;
|
|
35500
|
+
isStale: boolean;
|
|
35501
|
+
isEnabled: boolean;
|
|
35502
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35503
|
+
optionId: bigint;
|
|
35504
|
+
id: string;
|
|
35505
|
+
ownerAddr: Address;
|
|
35506
|
+
marketAddr: Address;
|
|
35507
|
+
perpDuration: number;
|
|
35508
|
+
expiresAt: number;
|
|
35509
|
+
closed: boolean;
|
|
35510
|
+
}[] | undefined, Error>>;
|
|
35511
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35512
|
+
promise: Promise<{
|
|
35513
|
+
optionId: bigint;
|
|
35514
|
+
id: string;
|
|
35515
|
+
ownerAddr: Address;
|
|
35516
|
+
marketAddr: Address;
|
|
35517
|
+
perpDuration: number;
|
|
35518
|
+
expiresAt: number;
|
|
35519
|
+
closed: boolean;
|
|
35520
|
+
}[] | undefined>;
|
|
35521
|
+
data: {
|
|
35522
|
+
optionId: bigint;
|
|
35523
|
+
id: string;
|
|
35524
|
+
ownerAddr: Address;
|
|
35525
|
+
marketAddr: Address;
|
|
35526
|
+
perpDuration: number;
|
|
35527
|
+
expiresAt: number;
|
|
35528
|
+
closed: boolean;
|
|
35529
|
+
}[];
|
|
35530
|
+
} | {
|
|
35531
|
+
isError: false;
|
|
35532
|
+
error: null;
|
|
35533
|
+
isPending: false;
|
|
35534
|
+
isLoading: false;
|
|
35535
|
+
isLoadingError: false;
|
|
35536
|
+
isRefetchError: false;
|
|
35537
|
+
isSuccess: true;
|
|
35538
|
+
isPlaceholderData: true;
|
|
35539
|
+
status: "success";
|
|
35540
|
+
dataUpdatedAt: number;
|
|
35541
|
+
errorUpdatedAt: number;
|
|
35542
|
+
failureCount: number;
|
|
35543
|
+
failureReason: Error | null;
|
|
35544
|
+
errorUpdateCount: number;
|
|
35545
|
+
isFetched: boolean;
|
|
35546
|
+
isFetchedAfterMount: boolean;
|
|
35547
|
+
isFetching: boolean;
|
|
35548
|
+
isInitialLoading: boolean;
|
|
35549
|
+
isPaused: boolean;
|
|
35550
|
+
isRefetching: boolean;
|
|
35551
|
+
isStale: boolean;
|
|
35552
|
+
isEnabled: boolean;
|
|
35553
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35554
|
+
optionId: bigint;
|
|
35555
|
+
id: string;
|
|
35556
|
+
ownerAddr: Address;
|
|
35557
|
+
marketAddr: Address;
|
|
35558
|
+
perpDuration: number;
|
|
35559
|
+
expiresAt: number;
|
|
35560
|
+
closed: boolean;
|
|
35561
|
+
}[] | undefined, Error>>;
|
|
35562
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35563
|
+
promise: Promise<{
|
|
35564
|
+
optionId: bigint;
|
|
35565
|
+
id: string;
|
|
35566
|
+
ownerAddr: Address;
|
|
35567
|
+
marketAddr: Address;
|
|
35568
|
+
perpDuration: number;
|
|
35569
|
+
expiresAt: number;
|
|
35570
|
+
closed: boolean;
|
|
35571
|
+
}[] | undefined>;
|
|
35572
|
+
data: {
|
|
35573
|
+
optionId: bigint;
|
|
35574
|
+
id: string;
|
|
35575
|
+
ownerAddr: Address;
|
|
35576
|
+
marketAddr: Address;
|
|
35577
|
+
perpDuration: number;
|
|
35578
|
+
expiresAt: number;
|
|
35579
|
+
closed: boolean;
|
|
35580
|
+
}[];
|
|
35581
|
+
};
|
|
35582
|
+
declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) => {
|
|
35583
|
+
error: Error;
|
|
35584
|
+
isError: true;
|
|
35585
|
+
isPending: false;
|
|
35586
|
+
isLoading: false;
|
|
35587
|
+
isLoadingError: false;
|
|
35588
|
+
isRefetchError: true;
|
|
35589
|
+
isSuccess: false;
|
|
35590
|
+
isPlaceholderData: false;
|
|
35591
|
+
status: "error";
|
|
35592
|
+
dataUpdatedAt: number;
|
|
35593
|
+
errorUpdatedAt: number;
|
|
35594
|
+
failureCount: number;
|
|
35595
|
+
failureReason: Error | null;
|
|
35596
|
+
errorUpdateCount: number;
|
|
35597
|
+
isFetched: boolean;
|
|
35598
|
+
isFetchedAfterMount: boolean;
|
|
35599
|
+
isFetching: boolean;
|
|
35600
|
+
isInitialLoading: boolean;
|
|
35601
|
+
isPaused: boolean;
|
|
35602
|
+
isRefetching: boolean;
|
|
35603
|
+
isStale: boolean;
|
|
35604
|
+
isEnabled: boolean;
|
|
35605
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35606
|
+
optionId: bigint;
|
|
35607
|
+
id: string;
|
|
35608
|
+
ownerAddr: Address;
|
|
35609
|
+
marketAddr: Address;
|
|
35610
|
+
perpDuration: number;
|
|
35611
|
+
expiresAt: number;
|
|
35612
|
+
closed: boolean;
|
|
35613
|
+
}[] | undefined, Error>>;
|
|
35614
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35615
|
+
promise: Promise<{
|
|
35616
|
+
optionId: bigint;
|
|
35617
|
+
id: string;
|
|
35618
|
+
ownerAddr: Address;
|
|
35619
|
+
marketAddr: Address;
|
|
35620
|
+
perpDuration: number;
|
|
35621
|
+
expiresAt: number;
|
|
35622
|
+
closed: boolean;
|
|
35623
|
+
}[] | undefined>;
|
|
35624
|
+
data: {
|
|
35625
|
+
optionId: bigint;
|
|
35626
|
+
id: string;
|
|
35627
|
+
ownerAddr: Address;
|
|
35628
|
+
marketAddr: Address;
|
|
35629
|
+
perpDuration: number;
|
|
35630
|
+
expiresAt: number;
|
|
35631
|
+
closed: boolean;
|
|
35632
|
+
}[];
|
|
35633
|
+
} | {
|
|
35634
|
+
error: null;
|
|
35635
|
+
isError: false;
|
|
35636
|
+
isPending: false;
|
|
35637
|
+
isLoading: false;
|
|
35638
|
+
isLoadingError: false;
|
|
35639
|
+
isRefetchError: false;
|
|
35640
|
+
isSuccess: true;
|
|
35641
|
+
isPlaceholderData: false;
|
|
35642
|
+
status: "success";
|
|
35643
|
+
dataUpdatedAt: number;
|
|
35644
|
+
errorUpdatedAt: number;
|
|
35645
|
+
failureCount: number;
|
|
35646
|
+
failureReason: Error | null;
|
|
35647
|
+
errorUpdateCount: number;
|
|
35648
|
+
isFetched: boolean;
|
|
35649
|
+
isFetchedAfterMount: boolean;
|
|
35650
|
+
isFetching: boolean;
|
|
35651
|
+
isInitialLoading: boolean;
|
|
35652
|
+
isPaused: boolean;
|
|
35653
|
+
isRefetching: boolean;
|
|
35654
|
+
isStale: boolean;
|
|
35655
|
+
isEnabled: boolean;
|
|
35656
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35657
|
+
optionId: bigint;
|
|
35658
|
+
id: string;
|
|
35659
|
+
ownerAddr: Address;
|
|
35660
|
+
marketAddr: Address;
|
|
35661
|
+
perpDuration: number;
|
|
35662
|
+
expiresAt: number;
|
|
35663
|
+
closed: boolean;
|
|
35664
|
+
}[] | undefined, Error>>;
|
|
35665
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35666
|
+
promise: Promise<{
|
|
35667
|
+
optionId: bigint;
|
|
35668
|
+
id: string;
|
|
35669
|
+
ownerAddr: Address;
|
|
35670
|
+
marketAddr: Address;
|
|
35671
|
+
perpDuration: number;
|
|
35672
|
+
expiresAt: number;
|
|
35673
|
+
closed: boolean;
|
|
35674
|
+
}[] | undefined>;
|
|
35675
|
+
data: {
|
|
35676
|
+
optionId: bigint;
|
|
35677
|
+
id: string;
|
|
35678
|
+
ownerAddr: Address;
|
|
35679
|
+
marketAddr: Address;
|
|
35680
|
+
perpDuration: number;
|
|
35681
|
+
expiresAt: number;
|
|
35682
|
+
closed: boolean;
|
|
35683
|
+
}[];
|
|
35684
|
+
} | {
|
|
35685
|
+
error: Error;
|
|
35686
|
+
isError: true;
|
|
35687
|
+
isPending: false;
|
|
35688
|
+
isLoading: false;
|
|
35689
|
+
isLoadingError: true;
|
|
35690
|
+
isRefetchError: false;
|
|
35691
|
+
isSuccess: false;
|
|
35692
|
+
isPlaceholderData: false;
|
|
35693
|
+
status: "error";
|
|
35694
|
+
dataUpdatedAt: number;
|
|
35695
|
+
errorUpdatedAt: number;
|
|
35696
|
+
failureCount: number;
|
|
35697
|
+
failureReason: Error | null;
|
|
35698
|
+
errorUpdateCount: number;
|
|
35699
|
+
isFetched: boolean;
|
|
35700
|
+
isFetchedAfterMount: boolean;
|
|
35701
|
+
isFetching: boolean;
|
|
35702
|
+
isInitialLoading: boolean;
|
|
35703
|
+
isPaused: boolean;
|
|
35704
|
+
isRefetching: boolean;
|
|
35705
|
+
isStale: boolean;
|
|
35706
|
+
isEnabled: boolean;
|
|
35707
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35708
|
+
optionId: bigint;
|
|
35709
|
+
id: string;
|
|
35710
|
+
ownerAddr: Address;
|
|
35711
|
+
marketAddr: Address;
|
|
35712
|
+
perpDuration: number;
|
|
35713
|
+
expiresAt: number;
|
|
35714
|
+
closed: boolean;
|
|
35715
|
+
}[] | undefined, Error>>;
|
|
35716
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35717
|
+
promise: Promise<{
|
|
35718
|
+
optionId: bigint;
|
|
35719
|
+
id: string;
|
|
35720
|
+
ownerAddr: Address;
|
|
35721
|
+
marketAddr: Address;
|
|
35722
|
+
perpDuration: number;
|
|
35723
|
+
expiresAt: number;
|
|
35724
|
+
closed: boolean;
|
|
35725
|
+
}[] | undefined>;
|
|
35726
|
+
data: {
|
|
35727
|
+
optionId: bigint;
|
|
35728
|
+
id: string;
|
|
35729
|
+
ownerAddr: Address;
|
|
35730
|
+
marketAddr: Address;
|
|
35731
|
+
perpDuration: number;
|
|
35732
|
+
expiresAt: number;
|
|
35733
|
+
closed: boolean;
|
|
35734
|
+
}[];
|
|
35735
|
+
} | {
|
|
35736
|
+
error: null;
|
|
35737
|
+
isError: false;
|
|
35738
|
+
isPending: true;
|
|
35739
|
+
isLoading: true;
|
|
35740
|
+
isLoadingError: false;
|
|
35741
|
+
isRefetchError: false;
|
|
35742
|
+
isSuccess: false;
|
|
35743
|
+
isPlaceholderData: false;
|
|
35744
|
+
status: "pending";
|
|
35745
|
+
dataUpdatedAt: number;
|
|
35746
|
+
errorUpdatedAt: number;
|
|
35747
|
+
failureCount: number;
|
|
35748
|
+
failureReason: Error | null;
|
|
35749
|
+
errorUpdateCount: number;
|
|
35750
|
+
isFetched: boolean;
|
|
35751
|
+
isFetchedAfterMount: boolean;
|
|
35752
|
+
isFetching: boolean;
|
|
35753
|
+
isInitialLoading: boolean;
|
|
35754
|
+
isPaused: boolean;
|
|
35755
|
+
isRefetching: boolean;
|
|
35756
|
+
isStale: boolean;
|
|
35757
|
+
isEnabled: boolean;
|
|
35758
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35759
|
+
optionId: bigint;
|
|
35760
|
+
id: string;
|
|
35761
|
+
ownerAddr: Address;
|
|
35762
|
+
marketAddr: Address;
|
|
35763
|
+
perpDuration: number;
|
|
35764
|
+
expiresAt: number;
|
|
35765
|
+
closed: boolean;
|
|
35766
|
+
}[] | undefined, Error>>;
|
|
35767
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35768
|
+
promise: Promise<{
|
|
35769
|
+
optionId: bigint;
|
|
35770
|
+
id: string;
|
|
35771
|
+
ownerAddr: Address;
|
|
35772
|
+
marketAddr: Address;
|
|
35773
|
+
perpDuration: number;
|
|
35774
|
+
expiresAt: number;
|
|
35775
|
+
closed: boolean;
|
|
35776
|
+
}[] | undefined>;
|
|
35777
|
+
data: {
|
|
35778
|
+
optionId: bigint;
|
|
35779
|
+
id: string;
|
|
35780
|
+
ownerAddr: Address;
|
|
35781
|
+
marketAddr: Address;
|
|
35782
|
+
perpDuration: number;
|
|
35783
|
+
expiresAt: number;
|
|
35784
|
+
closed: boolean;
|
|
35785
|
+
}[];
|
|
35786
|
+
} | {
|
|
35787
|
+
error: null;
|
|
35788
|
+
isError: false;
|
|
35789
|
+
isPending: true;
|
|
35790
|
+
isLoadingError: false;
|
|
35791
|
+
isRefetchError: false;
|
|
35792
|
+
isSuccess: false;
|
|
35793
|
+
isPlaceholderData: false;
|
|
35794
|
+
status: "pending";
|
|
35795
|
+
dataUpdatedAt: number;
|
|
35796
|
+
errorUpdatedAt: number;
|
|
35797
|
+
failureCount: number;
|
|
35798
|
+
failureReason: Error | null;
|
|
35799
|
+
errorUpdateCount: number;
|
|
35800
|
+
isFetched: boolean;
|
|
35801
|
+
isFetchedAfterMount: boolean;
|
|
35802
|
+
isFetching: boolean;
|
|
35803
|
+
isLoading: boolean;
|
|
35804
|
+
isInitialLoading: boolean;
|
|
35805
|
+
isPaused: boolean;
|
|
35806
|
+
isRefetching: boolean;
|
|
35807
|
+
isStale: boolean;
|
|
35808
|
+
isEnabled: boolean;
|
|
35809
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35810
|
+
optionId: bigint;
|
|
35811
|
+
id: string;
|
|
35812
|
+
ownerAddr: Address;
|
|
35813
|
+
marketAddr: Address;
|
|
35814
|
+
perpDuration: number;
|
|
35815
|
+
expiresAt: number;
|
|
35816
|
+
closed: boolean;
|
|
35817
|
+
}[] | undefined, Error>>;
|
|
35818
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35819
|
+
promise: Promise<{
|
|
35820
|
+
optionId: bigint;
|
|
35821
|
+
id: string;
|
|
35822
|
+
ownerAddr: Address;
|
|
35823
|
+
marketAddr: Address;
|
|
35824
|
+
perpDuration: number;
|
|
35825
|
+
expiresAt: number;
|
|
35826
|
+
closed: boolean;
|
|
35827
|
+
}[] | undefined>;
|
|
35828
|
+
data: {
|
|
35829
|
+
optionId: bigint;
|
|
35830
|
+
id: string;
|
|
35831
|
+
ownerAddr: Address;
|
|
35832
|
+
marketAddr: Address;
|
|
35833
|
+
perpDuration: number;
|
|
35834
|
+
expiresAt: number;
|
|
35835
|
+
closed: boolean;
|
|
35836
|
+
}[];
|
|
35837
|
+
} | {
|
|
35838
|
+
isError: false;
|
|
35839
|
+
error: null;
|
|
35840
|
+
isPending: false;
|
|
35841
|
+
isLoading: false;
|
|
35842
|
+
isLoadingError: false;
|
|
35843
|
+
isRefetchError: false;
|
|
35844
|
+
isSuccess: true;
|
|
35845
|
+
isPlaceholderData: true;
|
|
35846
|
+
status: "success";
|
|
35847
|
+
dataUpdatedAt: number;
|
|
35848
|
+
errorUpdatedAt: number;
|
|
35849
|
+
failureCount: number;
|
|
35850
|
+
failureReason: Error | null;
|
|
35851
|
+
errorUpdateCount: number;
|
|
35852
|
+
isFetched: boolean;
|
|
35853
|
+
isFetchedAfterMount: boolean;
|
|
35854
|
+
isFetching: boolean;
|
|
35855
|
+
isInitialLoading: boolean;
|
|
35856
|
+
isPaused: boolean;
|
|
35857
|
+
isRefetching: boolean;
|
|
35858
|
+
isStale: boolean;
|
|
35859
|
+
isEnabled: boolean;
|
|
35860
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35861
|
+
optionId: bigint;
|
|
35862
|
+
id: string;
|
|
35863
|
+
ownerAddr: Address;
|
|
35864
|
+
marketAddr: Address;
|
|
35865
|
+
perpDuration: number;
|
|
35866
|
+
expiresAt: number;
|
|
35867
|
+
closed: boolean;
|
|
35868
|
+
}[] | undefined, Error>>;
|
|
35869
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35870
|
+
promise: Promise<{
|
|
35871
|
+
optionId: bigint;
|
|
35872
|
+
id: string;
|
|
35873
|
+
ownerAddr: Address;
|
|
35874
|
+
marketAddr: Address;
|
|
35875
|
+
perpDuration: number;
|
|
35876
|
+
expiresAt: number;
|
|
35877
|
+
closed: boolean;
|
|
35878
|
+
}[] | undefined>;
|
|
35879
|
+
data: {
|
|
35880
|
+
optionId: bigint;
|
|
35881
|
+
id: string;
|
|
35882
|
+
ownerAddr: Address;
|
|
35883
|
+
marketAddr: Address;
|
|
35884
|
+
perpDuration: number;
|
|
35885
|
+
expiresAt: number;
|
|
35886
|
+
closed: boolean;
|
|
35887
|
+
}[];
|
|
34965
35888
|
};
|
|
34966
35889
|
//#endregion
|
|
34967
35890
|
//#region src/hooks/operators/useOperatorPerms.d.ts
|
|
34968
35891
|
declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, operatorAddr?: Address) => {
|
|
34969
|
-
error:
|
|
35892
|
+
error: viem0.ReadContractErrorType;
|
|
34970
35893
|
isError: true;
|
|
34971
35894
|
isPending: false;
|
|
34972
35895
|
isLoading: false;
|
|
@@ -34978,7 +35901,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
34978
35901
|
dataUpdatedAt: number;
|
|
34979
35902
|
errorUpdatedAt: number;
|
|
34980
35903
|
failureCount: number;
|
|
34981
|
-
failureReason:
|
|
35904
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
34982
35905
|
errorUpdateCount: number;
|
|
34983
35906
|
isFetched: boolean;
|
|
34984
35907
|
isFetchedAfterMount: boolean;
|
|
@@ -34988,10 +35911,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
34988
35911
|
isRefetching: boolean;
|
|
34989
35912
|
isStale: boolean;
|
|
34990
35913
|
isEnabled: boolean;
|
|
34991
|
-
refetch: (options?:
|
|
34992
|
-
fetchStatus:
|
|
35914
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35915
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
34993
35916
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
34994
|
-
queryKey:
|
|
35917
|
+
queryKey: _tanstack_query_core139.QueryKey;
|
|
34995
35918
|
data: {
|
|
34996
35919
|
canExtend: boolean;
|
|
34997
35920
|
canExercise: boolean;
|
|
@@ -35012,7 +35935,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35012
35935
|
dataUpdatedAt: number;
|
|
35013
35936
|
errorUpdatedAt: number;
|
|
35014
35937
|
failureCount: number;
|
|
35015
|
-
failureReason:
|
|
35938
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35016
35939
|
errorUpdateCount: number;
|
|
35017
35940
|
isFetched: boolean;
|
|
35018
35941
|
isFetchedAfterMount: boolean;
|
|
@@ -35022,10 +35945,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35022
35945
|
isRefetching: boolean;
|
|
35023
35946
|
isStale: boolean;
|
|
35024
35947
|
isEnabled: boolean;
|
|
35025
|
-
refetch: (options?:
|
|
35026
|
-
fetchStatus:
|
|
35948
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35949
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35027
35950
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35028
|
-
queryKey:
|
|
35951
|
+
queryKey: _tanstack_query_core139.QueryKey;
|
|
35029
35952
|
data: {
|
|
35030
35953
|
canExtend: boolean;
|
|
35031
35954
|
canExercise: boolean;
|
|
@@ -35034,7 +35957,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35034
35957
|
spendingApproval: bigint;
|
|
35035
35958
|
} | undefined;
|
|
35036
35959
|
} | {
|
|
35037
|
-
error:
|
|
35960
|
+
error: viem0.ReadContractErrorType;
|
|
35038
35961
|
isError: true;
|
|
35039
35962
|
isPending: false;
|
|
35040
35963
|
isLoading: false;
|
|
@@ -35046,7 +35969,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35046
35969
|
dataUpdatedAt: number;
|
|
35047
35970
|
errorUpdatedAt: number;
|
|
35048
35971
|
failureCount: number;
|
|
35049
|
-
failureReason:
|
|
35972
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35050
35973
|
errorUpdateCount: number;
|
|
35051
35974
|
isFetched: boolean;
|
|
35052
35975
|
isFetchedAfterMount: boolean;
|
|
@@ -35056,10 +35979,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35056
35979
|
isRefetching: boolean;
|
|
35057
35980
|
isStale: boolean;
|
|
35058
35981
|
isEnabled: boolean;
|
|
35059
|
-
refetch: (options?:
|
|
35060
|
-
fetchStatus:
|
|
35982
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35983
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35061
35984
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35062
|
-
queryKey:
|
|
35985
|
+
queryKey: _tanstack_query_core139.QueryKey;
|
|
35063
35986
|
data: {
|
|
35064
35987
|
canExtend: boolean;
|
|
35065
35988
|
canExercise: boolean;
|
|
@@ -35080,7 +36003,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35080
36003
|
dataUpdatedAt: number;
|
|
35081
36004
|
errorUpdatedAt: number;
|
|
35082
36005
|
failureCount: number;
|
|
35083
|
-
failureReason:
|
|
36006
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35084
36007
|
errorUpdateCount: number;
|
|
35085
36008
|
isFetched: boolean;
|
|
35086
36009
|
isFetchedAfterMount: boolean;
|
|
@@ -35090,10 +36013,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35090
36013
|
isRefetching: boolean;
|
|
35091
36014
|
isStale: boolean;
|
|
35092
36015
|
isEnabled: boolean;
|
|
35093
|
-
refetch: (options?:
|
|
35094
|
-
fetchStatus:
|
|
36016
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
36017
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35095
36018
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35096
|
-
queryKey:
|
|
36019
|
+
queryKey: _tanstack_query_core139.QueryKey;
|
|
35097
36020
|
data: {
|
|
35098
36021
|
canExtend: boolean;
|
|
35099
36022
|
canExercise: boolean;
|
|
@@ -35113,7 +36036,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35113
36036
|
dataUpdatedAt: number;
|
|
35114
36037
|
errorUpdatedAt: number;
|
|
35115
36038
|
failureCount: number;
|
|
35116
|
-
failureReason:
|
|
36039
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35117
36040
|
errorUpdateCount: number;
|
|
35118
36041
|
isFetched: boolean;
|
|
35119
36042
|
isFetchedAfterMount: boolean;
|
|
@@ -35124,10 +36047,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35124
36047
|
isRefetching: boolean;
|
|
35125
36048
|
isStale: boolean;
|
|
35126
36049
|
isEnabled: boolean;
|
|
35127
|
-
refetch: (options?:
|
|
35128
|
-
fetchStatus:
|
|
36050
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
36051
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35129
36052
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35130
|
-
queryKey:
|
|
36053
|
+
queryKey: _tanstack_query_core139.QueryKey;
|
|
35131
36054
|
data: {
|
|
35132
36055
|
canExtend: boolean;
|
|
35133
36056
|
canExercise: boolean;
|
|
@@ -35148,7 +36071,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35148
36071
|
dataUpdatedAt: number;
|
|
35149
36072
|
errorUpdatedAt: number;
|
|
35150
36073
|
failureCount: number;
|
|
35151
|
-
failureReason:
|
|
36074
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35152
36075
|
errorUpdateCount: number;
|
|
35153
36076
|
isFetched: boolean;
|
|
35154
36077
|
isFetchedAfterMount: boolean;
|
|
@@ -35158,10 +36081,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35158
36081
|
isRefetching: boolean;
|
|
35159
36082
|
isStale: boolean;
|
|
35160
36083
|
isEnabled: boolean;
|
|
35161
|
-
refetch: (options?:
|
|
35162
|
-
fetchStatus:
|
|
36084
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
36085
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35163
36086
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35164
|
-
queryKey:
|
|
36087
|
+
queryKey: _tanstack_query_core139.QueryKey;
|
|
35165
36088
|
data: {
|
|
35166
36089
|
canExtend: boolean;
|
|
35167
36090
|
canExercise: boolean;
|
|
@@ -35209,7 +36132,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35209
36132
|
isRefetching: boolean;
|
|
35210
36133
|
isStale: boolean;
|
|
35211
36134
|
isEnabled: boolean;
|
|
35212
|
-
refetch: (options?:
|
|
36135
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35213
36136
|
spendingApproval: bigint;
|
|
35214
36137
|
operatorAddr: string;
|
|
35215
36138
|
__typename: "UserMarketOperator";
|
|
@@ -35223,7 +36146,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35223
36146
|
address: string;
|
|
35224
36147
|
} | null;
|
|
35225
36148
|
}[] | undefined, Error>>;
|
|
35226
|
-
fetchStatus:
|
|
36149
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35227
36150
|
promise: Promise<{
|
|
35228
36151
|
spendingApproval: bigint;
|
|
35229
36152
|
operatorAddr: string;
|
|
@@ -35275,7 +36198,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35275
36198
|
isRefetching: boolean;
|
|
35276
36199
|
isStale: boolean;
|
|
35277
36200
|
isEnabled: boolean;
|
|
35278
|
-
refetch: (options?:
|
|
36201
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35279
36202
|
spendingApproval: bigint;
|
|
35280
36203
|
operatorAddr: string;
|
|
35281
36204
|
__typename: "UserMarketOperator";
|
|
@@ -35289,7 +36212,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35289
36212
|
address: string;
|
|
35290
36213
|
} | null;
|
|
35291
36214
|
}[] | undefined, Error>>;
|
|
35292
|
-
fetchStatus:
|
|
36215
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35293
36216
|
promise: Promise<{
|
|
35294
36217
|
spendingApproval: bigint;
|
|
35295
36218
|
operatorAddr: string;
|
|
@@ -35341,7 +36264,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35341
36264
|
isRefetching: boolean;
|
|
35342
36265
|
isStale: boolean;
|
|
35343
36266
|
isEnabled: boolean;
|
|
35344
|
-
refetch: (options?:
|
|
36267
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35345
36268
|
spendingApproval: bigint;
|
|
35346
36269
|
operatorAddr: string;
|
|
35347
36270
|
__typename: "UserMarketOperator";
|
|
@@ -35355,7 +36278,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35355
36278
|
address: string;
|
|
35356
36279
|
} | null;
|
|
35357
36280
|
}[] | undefined, Error>>;
|
|
35358
|
-
fetchStatus:
|
|
36281
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35359
36282
|
promise: Promise<{
|
|
35360
36283
|
spendingApproval: bigint;
|
|
35361
36284
|
operatorAddr: string;
|
|
@@ -35407,7 +36330,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35407
36330
|
isRefetching: boolean;
|
|
35408
36331
|
isStale: boolean;
|
|
35409
36332
|
isEnabled: boolean;
|
|
35410
|
-
refetch: (options?:
|
|
36333
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35411
36334
|
spendingApproval: bigint;
|
|
35412
36335
|
operatorAddr: string;
|
|
35413
36336
|
__typename: "UserMarketOperator";
|
|
@@ -35421,7 +36344,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35421
36344
|
address: string;
|
|
35422
36345
|
} | null;
|
|
35423
36346
|
}[] | undefined, Error>>;
|
|
35424
|
-
fetchStatus:
|
|
36347
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35425
36348
|
promise: Promise<{
|
|
35426
36349
|
spendingApproval: bigint;
|
|
35427
36350
|
operatorAddr: string;
|
|
@@ -35473,7 +36396,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35473
36396
|
isRefetching: boolean;
|
|
35474
36397
|
isStale: boolean;
|
|
35475
36398
|
isEnabled: boolean;
|
|
35476
|
-
refetch: (options?:
|
|
36399
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35477
36400
|
spendingApproval: bigint;
|
|
35478
36401
|
operatorAddr: string;
|
|
35479
36402
|
__typename: "UserMarketOperator";
|
|
@@ -35487,7 +36410,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35487
36410
|
address: string;
|
|
35488
36411
|
} | null;
|
|
35489
36412
|
}[] | undefined, Error>>;
|
|
35490
|
-
fetchStatus:
|
|
36413
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35491
36414
|
promise: Promise<{
|
|
35492
36415
|
spendingApproval: bigint;
|
|
35493
36416
|
operatorAddr: string;
|
|
@@ -35539,7 +36462,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35539
36462
|
isRefetching: boolean;
|
|
35540
36463
|
isStale: boolean;
|
|
35541
36464
|
isEnabled: boolean;
|
|
35542
|
-
refetch: (options?:
|
|
36465
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35543
36466
|
spendingApproval: bigint;
|
|
35544
36467
|
operatorAddr: string;
|
|
35545
36468
|
__typename: "UserMarketOperator";
|
|
@@ -35553,7 +36476,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35553
36476
|
address: string;
|
|
35554
36477
|
} | null;
|
|
35555
36478
|
}[] | undefined, Error>>;
|
|
35556
|
-
fetchStatus:
|
|
36479
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35557
36480
|
promise: Promise<{
|
|
35558
36481
|
spendingApproval: bigint;
|
|
35559
36482
|
operatorAddr: string;
|
|
@@ -35571,7 +36494,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35571
36494
|
};
|
|
35572
36495
|
//#endregion
|
|
35573
36496
|
//#region src/hooks/operators/useSetOperatorPerms.d.ts
|
|
35574
|
-
declare const useSetOperatorPerms: (marketAddr?: Address) =>
|
|
36497
|
+
declare const useSetOperatorPerms: (marketAddr?: Address) => _tanstack_react_query2.UseMutationResult<`0x${string}`, Error, {
|
|
35575
36498
|
operator: Address;
|
|
35576
36499
|
canExtend: boolean;
|
|
35577
36500
|
canExercise: boolean;
|
|
@@ -35647,7 +36570,7 @@ declare const usePoolData: (poolAddr?: Address) => Partial<NonUndefined<{
|
|
|
35647
36570
|
declare const usePriceAtTick: (tick?: number, poolAddr?: Address) => Amount | undefined;
|
|
35648
36571
|
//#endregion
|
|
35649
36572
|
//#region src/hooks/pool/usePriceHistory.d.ts
|
|
35650
|
-
declare const usePriceHistory: (pool: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) =>
|
|
36573
|
+
declare const usePriceHistory: (pool: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query2.UseQueryResult<PriceDataPoint[], Error>;
|
|
35651
36574
|
//#endregion
|
|
35652
36575
|
//#region src/hooks/vault/useBurnLiquidity.d.ts
|
|
35653
36576
|
interface BurnPosition {
|
|
@@ -35669,7 +36592,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
35669
36592
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
35670
36593
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
35671
36594
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
35672
|
-
error:
|
|
36595
|
+
error: viem0.ReadContractErrorType;
|
|
35673
36596
|
isError: true;
|
|
35674
36597
|
isPending: false;
|
|
35675
36598
|
isLoading: false;
|
|
@@ -35681,7 +36604,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35681
36604
|
dataUpdatedAt: number;
|
|
35682
36605
|
errorUpdatedAt: number;
|
|
35683
36606
|
failureCount: number;
|
|
35684
|
-
failureReason:
|
|
36607
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35685
36608
|
errorUpdateCount: number;
|
|
35686
36609
|
isFetched: boolean;
|
|
35687
36610
|
isFetchedAfterMount: boolean;
|
|
@@ -35691,7 +36614,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35691
36614
|
isRefetching: boolean;
|
|
35692
36615
|
isStale: boolean;
|
|
35693
36616
|
isEnabled: boolean;
|
|
35694
|
-
refetch: (options?:
|
|
36617
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<readonly {
|
|
35695
36618
|
tickLower: number;
|
|
35696
36619
|
tickUpper: number;
|
|
35697
36620
|
prevTickLower: number;
|
|
@@ -35701,8 +36624,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35701
36624
|
totalAmount1: bigint;
|
|
35702
36625
|
borrowedAmount0: bigint;
|
|
35703
36626
|
borrowedAmount1: bigint;
|
|
35704
|
-
}[],
|
|
35705
|
-
fetchStatus:
|
|
36627
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36628
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35706
36629
|
promise: Promise<readonly {
|
|
35707
36630
|
tickLower: number;
|
|
35708
36631
|
tickUpper: number;
|
|
@@ -35714,7 +36637,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35714
36637
|
borrowedAmount0: bigint;
|
|
35715
36638
|
borrowedAmount1: bigint;
|
|
35716
36639
|
}[]>;
|
|
35717
|
-
queryKey:
|
|
36640
|
+
queryKey: _tanstack_query_core139.QueryKey;
|
|
35718
36641
|
data: readonly {
|
|
35719
36642
|
tickLower: number;
|
|
35720
36643
|
tickUpper: number;
|
|
@@ -35739,7 +36662,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35739
36662
|
dataUpdatedAt: number;
|
|
35740
36663
|
errorUpdatedAt: number;
|
|
35741
36664
|
failureCount: number;
|
|
35742
|
-
failureReason:
|
|
36665
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35743
36666
|
errorUpdateCount: number;
|
|
35744
36667
|
isFetched: boolean;
|
|
35745
36668
|
isFetchedAfterMount: boolean;
|
|
@@ -35749,7 +36672,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35749
36672
|
isRefetching: boolean;
|
|
35750
36673
|
isStale: boolean;
|
|
35751
36674
|
isEnabled: boolean;
|
|
35752
|
-
refetch: (options?:
|
|
36675
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<readonly {
|
|
35753
36676
|
tickLower: number;
|
|
35754
36677
|
tickUpper: number;
|
|
35755
36678
|
prevTickLower: number;
|
|
@@ -35759,8 +36682,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35759
36682
|
totalAmount1: bigint;
|
|
35760
36683
|
borrowedAmount0: bigint;
|
|
35761
36684
|
borrowedAmount1: bigint;
|
|
35762
|
-
}[],
|
|
35763
|
-
fetchStatus:
|
|
36685
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36686
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35764
36687
|
promise: Promise<readonly {
|
|
35765
36688
|
tickLower: number;
|
|
35766
36689
|
tickUpper: number;
|
|
@@ -35772,7 +36695,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35772
36695
|
borrowedAmount0: bigint;
|
|
35773
36696
|
borrowedAmount1: bigint;
|
|
35774
36697
|
}[]>;
|
|
35775
|
-
queryKey:
|
|
36698
|
+
queryKey: _tanstack_query_core139.QueryKey;
|
|
35776
36699
|
data: readonly {
|
|
35777
36700
|
tickLower: number;
|
|
35778
36701
|
tickUpper: number;
|
|
@@ -35785,7 +36708,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35785
36708
|
borrowedAmount1: bigint;
|
|
35786
36709
|
}[];
|
|
35787
36710
|
} | {
|
|
35788
|
-
error:
|
|
36711
|
+
error: viem0.ReadContractErrorType;
|
|
35789
36712
|
isError: true;
|
|
35790
36713
|
isPending: false;
|
|
35791
36714
|
isLoading: false;
|
|
@@ -35797,7 +36720,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35797
36720
|
dataUpdatedAt: number;
|
|
35798
36721
|
errorUpdatedAt: number;
|
|
35799
36722
|
failureCount: number;
|
|
35800
|
-
failureReason:
|
|
36723
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35801
36724
|
errorUpdateCount: number;
|
|
35802
36725
|
isFetched: boolean;
|
|
35803
36726
|
isFetchedAfterMount: boolean;
|
|
@@ -35807,7 +36730,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35807
36730
|
isRefetching: boolean;
|
|
35808
36731
|
isStale: boolean;
|
|
35809
36732
|
isEnabled: boolean;
|
|
35810
|
-
refetch: (options?:
|
|
36733
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<readonly {
|
|
35811
36734
|
tickLower: number;
|
|
35812
36735
|
tickUpper: number;
|
|
35813
36736
|
prevTickLower: number;
|
|
@@ -35817,8 +36740,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35817
36740
|
totalAmount1: bigint;
|
|
35818
36741
|
borrowedAmount0: bigint;
|
|
35819
36742
|
borrowedAmount1: bigint;
|
|
35820
|
-
}[],
|
|
35821
|
-
fetchStatus:
|
|
36743
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36744
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35822
36745
|
promise: Promise<readonly {
|
|
35823
36746
|
tickLower: number;
|
|
35824
36747
|
tickUpper: number;
|
|
@@ -35830,7 +36753,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35830
36753
|
borrowedAmount0: bigint;
|
|
35831
36754
|
borrowedAmount1: bigint;
|
|
35832
36755
|
}[]>;
|
|
35833
|
-
queryKey:
|
|
36756
|
+
queryKey: _tanstack_query_core139.QueryKey;
|
|
35834
36757
|
data: readonly {
|
|
35835
36758
|
tickLower: number;
|
|
35836
36759
|
tickUpper: number;
|
|
@@ -35855,7 +36778,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35855
36778
|
dataUpdatedAt: number;
|
|
35856
36779
|
errorUpdatedAt: number;
|
|
35857
36780
|
failureCount: number;
|
|
35858
|
-
failureReason:
|
|
36781
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35859
36782
|
errorUpdateCount: number;
|
|
35860
36783
|
isFetched: boolean;
|
|
35861
36784
|
isFetchedAfterMount: boolean;
|
|
@@ -35865,7 +36788,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35865
36788
|
isRefetching: boolean;
|
|
35866
36789
|
isStale: boolean;
|
|
35867
36790
|
isEnabled: boolean;
|
|
35868
|
-
refetch: (options?:
|
|
36791
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<readonly {
|
|
35869
36792
|
tickLower: number;
|
|
35870
36793
|
tickUpper: number;
|
|
35871
36794
|
prevTickLower: number;
|
|
@@ -35875,8 +36798,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35875
36798
|
totalAmount1: bigint;
|
|
35876
36799
|
borrowedAmount0: bigint;
|
|
35877
36800
|
borrowedAmount1: bigint;
|
|
35878
|
-
}[],
|
|
35879
|
-
fetchStatus:
|
|
36801
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36802
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35880
36803
|
promise: Promise<readonly {
|
|
35881
36804
|
tickLower: number;
|
|
35882
36805
|
tickUpper: number;
|
|
@@ -35888,7 +36811,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35888
36811
|
borrowedAmount0: bigint;
|
|
35889
36812
|
borrowedAmount1: bigint;
|
|
35890
36813
|
}[]>;
|
|
35891
|
-
queryKey:
|
|
36814
|
+
queryKey: _tanstack_query_core139.QueryKey;
|
|
35892
36815
|
data: readonly {
|
|
35893
36816
|
tickLower: number;
|
|
35894
36817
|
tickUpper: number;
|
|
@@ -35912,7 +36835,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35912
36835
|
dataUpdatedAt: number;
|
|
35913
36836
|
errorUpdatedAt: number;
|
|
35914
36837
|
failureCount: number;
|
|
35915
|
-
failureReason:
|
|
36838
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35916
36839
|
errorUpdateCount: number;
|
|
35917
36840
|
isFetched: boolean;
|
|
35918
36841
|
isFetchedAfterMount: boolean;
|
|
@@ -35923,7 +36846,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35923
36846
|
isRefetching: boolean;
|
|
35924
36847
|
isStale: boolean;
|
|
35925
36848
|
isEnabled: boolean;
|
|
35926
|
-
refetch: (options?:
|
|
36849
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<readonly {
|
|
35927
36850
|
tickLower: number;
|
|
35928
36851
|
tickUpper: number;
|
|
35929
36852
|
prevTickLower: number;
|
|
@@ -35933,8 +36856,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35933
36856
|
totalAmount1: bigint;
|
|
35934
36857
|
borrowedAmount0: bigint;
|
|
35935
36858
|
borrowedAmount1: bigint;
|
|
35936
|
-
}[],
|
|
35937
|
-
fetchStatus:
|
|
36859
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36860
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35938
36861
|
promise: Promise<readonly {
|
|
35939
36862
|
tickLower: number;
|
|
35940
36863
|
tickUpper: number;
|
|
@@ -35946,7 +36869,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35946
36869
|
borrowedAmount0: bigint;
|
|
35947
36870
|
borrowedAmount1: bigint;
|
|
35948
36871
|
}[]>;
|
|
35949
|
-
queryKey:
|
|
36872
|
+
queryKey: _tanstack_query_core139.QueryKey;
|
|
35950
36873
|
data: readonly {
|
|
35951
36874
|
tickLower: number;
|
|
35952
36875
|
tickUpper: number;
|
|
@@ -35971,7 +36894,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35971
36894
|
dataUpdatedAt: number;
|
|
35972
36895
|
errorUpdatedAt: number;
|
|
35973
36896
|
failureCount: number;
|
|
35974
|
-
failureReason:
|
|
36897
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35975
36898
|
errorUpdateCount: number;
|
|
35976
36899
|
isFetched: boolean;
|
|
35977
36900
|
isFetchedAfterMount: boolean;
|
|
@@ -35981,7 +36904,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35981
36904
|
isRefetching: boolean;
|
|
35982
36905
|
isStale: boolean;
|
|
35983
36906
|
isEnabled: boolean;
|
|
35984
|
-
refetch: (options?:
|
|
36907
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<readonly {
|
|
35985
36908
|
tickLower: number;
|
|
35986
36909
|
tickUpper: number;
|
|
35987
36910
|
prevTickLower: number;
|
|
@@ -35991,8 +36914,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35991
36914
|
totalAmount1: bigint;
|
|
35992
36915
|
borrowedAmount0: bigint;
|
|
35993
36916
|
borrowedAmount1: bigint;
|
|
35994
|
-
}[],
|
|
35995
|
-
fetchStatus:
|
|
36917
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36918
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35996
36919
|
promise: Promise<readonly {
|
|
35997
36920
|
tickLower: number;
|
|
35998
36921
|
tickUpper: number;
|
|
@@ -36004,7 +36927,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36004
36927
|
borrowedAmount0: bigint;
|
|
36005
36928
|
borrowedAmount1: bigint;
|
|
36006
36929
|
}[]>;
|
|
36007
|
-
queryKey:
|
|
36930
|
+
queryKey: _tanstack_query_core139.QueryKey;
|
|
36008
36931
|
data: readonly {
|
|
36009
36932
|
tickLower: number;
|
|
36010
36933
|
tickUpper: number;
|
|
@@ -36030,7 +36953,7 @@ interface MintPositionParams {
|
|
|
36030
36953
|
tickUpper: number;
|
|
36031
36954
|
liquidity: bigint;
|
|
36032
36955
|
}
|
|
36033
|
-
declare const useMintLiquidity: (vaultAddr?: Address) =>
|
|
36956
|
+
declare const useMintLiquidity: (vaultAddr?: Address) => _tanstack_react_query2.UseMutationResult<void, Error, MintPositionParams | MintPositionParams[], unknown>;
|
|
36034
36957
|
//#endregion
|
|
36035
36958
|
//#region src/hooks/vault/useVaultData.d.ts
|
|
36036
36959
|
declare const useVaultData: (vaultAddr?: Address) => {
|
|
@@ -36055,14 +36978,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
36055
36978
|
borrowedAmount0: Amount;
|
|
36056
36979
|
borrowedAmount1: Amount;
|
|
36057
36980
|
blocksCount: bigint;
|
|
36058
|
-
refetch: (options?:
|
|
36981
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
|
|
36059
36982
|
};
|
|
36060
36983
|
//#endregion
|
|
36061
36984
|
//#region src/hooks/useLens.d.ts
|
|
36062
36985
|
declare const useLens: () => {
|
|
36063
36986
|
timelockLens: {
|
|
36064
36987
|
read: {
|
|
36065
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
36988
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
36066
36989
|
readonly type: "function";
|
|
36067
36990
|
readonly name: "batchGetRefTick";
|
|
36068
36991
|
readonly inputs: readonly [{
|
|
@@ -36704,7 +37627,7 @@ declare const useLens: () => {
|
|
|
36704
37627
|
}];
|
|
36705
37628
|
readonly stateMutability: "view";
|
|
36706
37629
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
36707
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
37630
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
36708
37631
|
readonly type: "function";
|
|
36709
37632
|
readonly name: "batchGetRefTick";
|
|
36710
37633
|
readonly inputs: readonly [{
|
|
@@ -37356,7 +38279,7 @@ declare const useLens: () => {
|
|
|
37356
38279
|
borrowedAmount0: bigint;
|
|
37357
38280
|
borrowedAmount1: bigint;
|
|
37358
38281
|
}[]>;
|
|
37359
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
38282
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
37360
38283
|
readonly type: "function";
|
|
37361
38284
|
readonly name: "batchGetRefTick";
|
|
37362
38285
|
readonly inputs: readonly [{
|
|
@@ -38013,7 +38936,7 @@ declare const useLens: () => {
|
|
|
38013
38936
|
expiresAt: number;
|
|
38014
38937
|
liquidities: readonly bigint[];
|
|
38015
38938
|
}[], bigint, boolean]>;
|
|
38016
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
38939
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
38017
38940
|
readonly type: "function";
|
|
38018
38941
|
readonly name: "batchGetRefTick";
|
|
38019
38942
|
readonly inputs: readonly [{
|
|
@@ -38655,7 +39578,7 @@ declare const useLens: () => {
|
|
|
38655
39578
|
}];
|
|
38656
39579
|
readonly stateMutability: "view";
|
|
38657
39580
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
38658
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
39581
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
38659
39582
|
readonly type: "function";
|
|
38660
39583
|
readonly name: "batchGetRefTick";
|
|
38661
39584
|
readonly inputs: readonly [{
|
|
@@ -39310,7 +40233,7 @@ declare const useLens: () => {
|
|
|
39310
40233
|
payoutAssetName: string;
|
|
39311
40234
|
optionsCount: bigint;
|
|
39312
40235
|
}>;
|
|
39313
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
40236
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
39314
40237
|
readonly type: "function";
|
|
39315
40238
|
readonly name: "batchGetRefTick";
|
|
39316
40239
|
readonly inputs: readonly [{
|
|
@@ -39952,7 +40875,7 @@ declare const useLens: () => {
|
|
|
39952
40875
|
}];
|
|
39953
40876
|
readonly stateMutability: "view";
|
|
39954
40877
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
39955
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
40878
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
39956
40879
|
readonly type: "function";
|
|
39957
40880
|
readonly name: "batchGetRefTick";
|
|
39958
40881
|
readonly inputs: readonly [{
|
|
@@ -40594,7 +41517,7 @@ declare const useLens: () => {
|
|
|
40594
41517
|
}];
|
|
40595
41518
|
readonly stateMutability: "view";
|
|
40596
41519
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
40597
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
41520
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
40598
41521
|
readonly type: "function";
|
|
40599
41522
|
readonly name: "batchGetRefTick";
|
|
40600
41523
|
readonly inputs: readonly [{
|
|
@@ -41251,7 +42174,7 @@ declare const useLens: () => {
|
|
|
41251
42174
|
expiresAt: number;
|
|
41252
42175
|
liquidities: readonly bigint[];
|
|
41253
42176
|
}>;
|
|
41254
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
42177
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
41255
42178
|
readonly type: "function";
|
|
41256
42179
|
readonly name: "batchGetRefTick";
|
|
41257
42180
|
readonly inputs: readonly [{
|
|
@@ -41908,7 +42831,7 @@ declare const useLens: () => {
|
|
|
41908
42831
|
expiresAt: number;
|
|
41909
42832
|
liquidities: readonly bigint[];
|
|
41910
42833
|
}[]>;
|
|
41911
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
42834
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
41912
42835
|
readonly type: "function";
|
|
41913
42836
|
readonly name: "batchGetRefTick";
|
|
41914
42837
|
readonly inputs: readonly [{
|
|
@@ -42561,7 +43484,7 @@ declare const useLens: () => {
|
|
|
42561
43484
|
tickSpacing: number;
|
|
42562
43485
|
fee: number;
|
|
42563
43486
|
}>;
|
|
42564
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
43487
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
42565
43488
|
readonly type: "function";
|
|
42566
43489
|
readonly name: "batchGetRefTick";
|
|
42567
43490
|
readonly inputs: readonly [{
|
|
@@ -43203,7 +44126,7 @@ declare const useLens: () => {
|
|
|
43203
44126
|
}];
|
|
43204
44127
|
readonly stateMutability: "view";
|
|
43205
44128
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
43206
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
44129
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
43207
44130
|
readonly type: "function";
|
|
43208
44131
|
readonly name: "batchGetRefTick";
|
|
43209
44132
|
readonly inputs: readonly [{
|
|
@@ -43860,7 +44783,7 @@ declare const useLens: () => {
|
|
|
43860
44783
|
expiresAt: number;
|
|
43861
44784
|
liquidities: readonly bigint[];
|
|
43862
44785
|
}[], bigint, boolean]>;
|
|
43863
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
44786
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
43864
44787
|
readonly type: "function";
|
|
43865
44788
|
readonly name: "batchGetRefTick";
|
|
43866
44789
|
readonly inputs: readonly [{
|
|
@@ -45149,7 +46072,7 @@ declare const useLens: () => {
|
|
|
45149
46072
|
} | undefined;
|
|
45150
46073
|
uniswapLens: {
|
|
45151
46074
|
read: {
|
|
45152
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
46075
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
45153
46076
|
readonly type: "function";
|
|
45154
46077
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
45155
46078
|
readonly inputs: readonly [{
|
|
@@ -45770,7 +46693,7 @@ declare const useLens: () => {
|
|
|
45770
46693
|
}];
|
|
45771
46694
|
readonly stateMutability: "pure";
|
|
45772
46695
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
45773
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
46696
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
45774
46697
|
readonly type: "function";
|
|
45775
46698
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
45776
46699
|
readonly inputs: readonly [{
|
|
@@ -46391,7 +47314,7 @@ declare const useLens: () => {
|
|
|
46391
47314
|
}];
|
|
46392
47315
|
readonly stateMutability: "pure";
|
|
46393
47316
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46394
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
47317
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
46395
47318
|
readonly type: "function";
|
|
46396
47319
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46397
47320
|
readonly inputs: readonly [{
|
|
@@ -47012,7 +47935,7 @@ declare const useLens: () => {
|
|
|
47012
47935
|
}];
|
|
47013
47936
|
readonly stateMutability: "pure";
|
|
47014
47937
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47015
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
47938
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
47016
47939
|
readonly type: "function";
|
|
47017
47940
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47018
47941
|
readonly inputs: readonly [{
|
|
@@ -47633,7 +48556,7 @@ declare const useLens: () => {
|
|
|
47633
48556
|
}];
|
|
47634
48557
|
readonly stateMutability: "pure";
|
|
47635
48558
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47636
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
48559
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
47637
48560
|
readonly type: "function";
|
|
47638
48561
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47639
48562
|
readonly inputs: readonly [{
|
|
@@ -48254,7 +49177,7 @@ declare const useLens: () => {
|
|
|
48254
49177
|
}];
|
|
48255
49178
|
readonly stateMutability: "pure";
|
|
48256
49179
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
48257
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
49180
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
48258
49181
|
readonly type: "function";
|
|
48259
49182
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48260
49183
|
readonly inputs: readonly [{
|
|
@@ -48875,7 +49798,7 @@ declare const useLens: () => {
|
|
|
48875
49798
|
}];
|
|
48876
49799
|
readonly stateMutability: "pure";
|
|
48877
49800
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
48878
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
49801
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
48879
49802
|
readonly type: "function";
|
|
48880
49803
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48881
49804
|
readonly inputs: readonly [{
|
|
@@ -49496,7 +50419,7 @@ declare const useLens: () => {
|
|
|
49496
50419
|
}];
|
|
49497
50420
|
readonly stateMutability: "pure";
|
|
49498
50421
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
49499
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
50422
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
49500
50423
|
readonly type: "function";
|
|
49501
50424
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49502
50425
|
readonly inputs: readonly [{
|
|
@@ -50117,7 +51040,7 @@ declare const useLens: () => {
|
|
|
50117
51040
|
}];
|
|
50118
51041
|
readonly stateMutability: "pure";
|
|
50119
51042
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50120
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
51043
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
50121
51044
|
readonly type: "function";
|
|
50122
51045
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50123
51046
|
readonly inputs: readonly [{
|
|
@@ -50738,7 +51661,7 @@ declare const useLens: () => {
|
|
|
50738
51661
|
}];
|
|
50739
51662
|
readonly stateMutability: "pure";
|
|
50740
51663
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50741
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
51664
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
50742
51665
|
readonly type: "function";
|
|
50743
51666
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50744
51667
|
readonly inputs: readonly [{
|
|
@@ -51359,7 +52282,7 @@ declare const useLens: () => {
|
|
|
51359
52282
|
}];
|
|
51360
52283
|
readonly stateMutability: "pure";
|
|
51361
52284
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51362
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
52285
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
51363
52286
|
readonly type: "function";
|
|
51364
52287
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51365
52288
|
readonly inputs: readonly [{
|
|
@@ -51980,7 +52903,7 @@ declare const useLens: () => {
|
|
|
51980
52903
|
}];
|
|
51981
52904
|
readonly stateMutability: "pure";
|
|
51982
52905
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51983
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
52906
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
51984
52907
|
readonly type: "function";
|
|
51985
52908
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51986
52909
|
readonly inputs: readonly [{
|
|
@@ -52601,7 +53524,7 @@ declare const useLens: () => {
|
|
|
52601
53524
|
}];
|
|
52602
53525
|
readonly stateMutability: "pure";
|
|
52603
53526
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52604
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
53527
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
52605
53528
|
readonly type: "function";
|
|
52606
53529
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52607
53530
|
readonly inputs: readonly [{
|
|
@@ -53222,7 +54145,7 @@ declare const useLens: () => {
|
|
|
53222
54145
|
}];
|
|
53223
54146
|
readonly stateMutability: "pure";
|
|
53224
54147
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53225
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
54148
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
53226
54149
|
readonly type: "function";
|
|
53227
54150
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53228
54151
|
readonly inputs: readonly [{
|
|
@@ -53843,7 +54766,7 @@ declare const useLens: () => {
|
|
|
53843
54766
|
}];
|
|
53844
54767
|
readonly stateMutability: "pure";
|
|
53845
54768
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
53846
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
54769
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
53847
54770
|
readonly type: "function";
|
|
53848
54771
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53849
54772
|
readonly inputs: readonly [{
|
|
@@ -54464,7 +55387,7 @@ declare const useLens: () => {
|
|
|
54464
55387
|
}];
|
|
54465
55388
|
readonly stateMutability: "pure";
|
|
54466
55389
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54467
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
55390
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
54468
55391
|
readonly type: "function";
|
|
54469
55392
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54470
55393
|
readonly inputs: readonly [{
|
|
@@ -55085,7 +56008,7 @@ declare const useLens: () => {
|
|
|
55085
56008
|
}];
|
|
55086
56009
|
readonly stateMutability: "pure";
|
|
55087
56010
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55088
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
56011
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
55089
56012
|
readonly type: "function";
|
|
55090
56013
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55091
56014
|
readonly inputs: readonly [{
|
|
@@ -55706,7 +56629,7 @@ declare const useLens: () => {
|
|
|
55706
56629
|
}];
|
|
55707
56630
|
readonly stateMutability: "pure";
|
|
55708
56631
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55709
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
56632
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
55710
56633
|
readonly type: "function";
|
|
55711
56634
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55712
56635
|
readonly inputs: readonly [{
|
|
@@ -56327,7 +57250,7 @@ declare const useLens: () => {
|
|
|
56327
57250
|
}];
|
|
56328
57251
|
readonly stateMutability: "pure";
|
|
56329
57252
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
56330
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
57253
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
56331
57254
|
readonly type: "function";
|
|
56332
57255
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56333
57256
|
readonly inputs: readonly [{
|
|
@@ -56948,7 +57871,7 @@ declare const useLens: () => {
|
|
|
56948
57871
|
}];
|
|
56949
57872
|
readonly stateMutability: "pure";
|
|
56950
57873
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
56951
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
57874
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
56952
57875
|
readonly type: "function";
|
|
56953
57876
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56954
57877
|
readonly inputs: readonly [{
|
|
@@ -57569,7 +58492,7 @@ declare const useLens: () => {
|
|
|
57569
58492
|
}];
|
|
57570
58493
|
readonly stateMutability: "pure";
|
|
57571
58494
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
57572
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
58495
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
57573
58496
|
readonly type: "function";
|
|
57574
58497
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57575
58498
|
readonly inputs: readonly [{
|
|
@@ -58190,7 +59113,7 @@ declare const useLens: () => {
|
|
|
58190
59113
|
}];
|
|
58191
59114
|
readonly stateMutability: "pure";
|
|
58192
59115
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58193
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
59116
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
58194
59117
|
readonly type: "function";
|
|
58195
59118
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58196
59119
|
readonly inputs: readonly [{
|
|
@@ -58811,7 +59734,7 @@ declare const useLens: () => {
|
|
|
58811
59734
|
}];
|
|
58812
59735
|
readonly stateMutability: "pure";
|
|
58813
59736
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58814
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
59737
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
58815
59738
|
readonly type: "function";
|
|
58816
59739
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58817
59740
|
readonly inputs: readonly [{
|
|
@@ -59432,7 +60355,7 @@ declare const useLens: () => {
|
|
|
59432
60355
|
}];
|
|
59433
60356
|
readonly stateMutability: "pure";
|
|
59434
60357
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59435
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
60358
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
59436
60359
|
readonly type: "function";
|
|
59437
60360
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59438
60361
|
readonly inputs: readonly [{
|
|
@@ -60053,7 +60976,7 @@ declare const useLens: () => {
|
|
|
60053
60976
|
}];
|
|
60054
60977
|
readonly stateMutability: "pure";
|
|
60055
60978
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60056
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
60979
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
60057
60980
|
readonly type: "function";
|
|
60058
60981
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60059
60982
|
readonly inputs: readonly [{
|
|
@@ -60674,7 +61597,7 @@ declare const useLens: () => {
|
|
|
60674
61597
|
}];
|
|
60675
61598
|
readonly stateMutability: "pure";
|
|
60676
61599
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60677
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
61600
|
+
getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
60678
61601
|
readonly type: "function";
|
|
60679
61602
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60680
61603
|
readonly inputs: readonly [{
|
|
@@ -61930,5 +62853,5 @@ declare const useApproval: () => {
|
|
|
61930
62853
|
reset: () => void;
|
|
61931
62854
|
};
|
|
61932
62855
|
//#endregion
|
|
61933
|
-
export {
|
|
61934
|
-
//# sourceMappingURL=client-
|
|
62856
|
+
export { formatCondensed as $, PriceDataPoint as A, usePerpsOperator as B, liquiditiesToAmount1 as C, getErc20 as Ct, token0ToToken1 as D, timelockLenses as Dt, roundTickUp as E, getUniswapMathLens as Et, useUserOperators as F, useExtendOption as G, useMintPerp as H, useOperatorPerms as I, useMintOption as J, useOptionPremium as K, useActiveUserPerps as L, getCurrentPrice as M, getPriceHistory as N, token1ToToken0 as O, uniswapMathLenses as Ot, useSetOperatorPerms as P, formatAmount as Q, useClosedUserPerps as R, liquiditiesToAmount0 as S, UniswapMathLens as St, roundTickDown as T, getTimelockMarket as Tt, OptionTimelineData as U, useClosePerp as V, useOptionTimeline as W, Amount as X, useMaxPositionSize as Y, EMPTY_ARRAY as Z, PRICE_PRECISION as _, useCurrentMarket as _t, batchGetAmountsFromLiquidity as a, unscalePrice as at, getPriceAtTick as b, TimelockMarket as bt, useLiquidityBlocks as c, wrapPrice as ct, usePriceAtTick as d, useMarketData as dt, formatUSD as et, UniswapPoolData as f, useExerciseOption as ft, getPayoutAtTick as g, TimelockProvider as gt, useCurrentPrice as h, useClosedUserOptions as ht, useVaultData as i, unscaleAmount as it, PriceResolution as j, PriceData as k, useBurnLiquidity as l, wrapPriceUnscaled as lt, useCurrentTick as m, useActiveUserOptions as mt, useLens as n, scaleAmount as nt, useMintLiquidity as o, wrapAmount as ot, usePoolData as p, OptionData as pt, useOptionPnl as q, useVaultTVL as r, scalePrice as rt, LiquidityBlockData as s, wrapAmountUnscaled as st, useApproval as t, formatVagueAmount as tt, usePriceHistory as u, zero as ut, getAmountsFromLiquidity as v, useTimelockConfig as vt, liquiditiesToAmounts as w, getTimelockLens as wt, getTickAtPrice as x, TimelockMarketData as xt, getNearestValidStrikeTick as y, TimelockLens as yt, useUserPerps as z };
|
|
62857
|
+
//# sourceMappingURL=client-BbT_pl5p.d.ts.map
|