timelock-sdk 0.0.106 → 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-cOGBr2Ca.d.ts → client-BbT_pl5p.d.ts} +300 -300
- package/dist/{client-DlkfUDwU.d.cts → client-CgsSS_2P.d.cts} +163 -163
- package/dist/client.cjs +8 -8
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +8 -8
- 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
1
|
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-ChJFZ6hc.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as viem0 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
4
|
import Big from "big.js";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
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
9
|
import "graphql";
|
|
10
|
-
import * as
|
|
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,7 +34961,7 @@ declare const useClosePerp: () => _tanstack_react_query0.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
34965
|
};
|
|
34966
34966
|
//#endregion
|
|
34967
34967
|
//#region src/hooks/perps/useUserPerps.d.ts
|
|
@@ -34988,7 +34988,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34988
34988
|
isRefetching: boolean;
|
|
34989
34989
|
isStale: boolean;
|
|
34990
34990
|
isEnabled: boolean;
|
|
34991
|
-
refetch: (options?:
|
|
34991
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
34992
34992
|
optionId: bigint;
|
|
34993
34993
|
id: string;
|
|
34994
34994
|
ownerAddr: Address;
|
|
@@ -34997,7 +34997,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34997
34997
|
expiresAt: number;
|
|
34998
34998
|
closed: boolean;
|
|
34999
34999
|
}[] | undefined, Error>>;
|
|
35000
|
-
fetchStatus:
|
|
35000
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35001
35001
|
promise: Promise<{
|
|
35002
35002
|
optionId: bigint;
|
|
35003
35003
|
id: string;
|
|
@@ -35039,7 +35039,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35039
35039
|
isRefetching: boolean;
|
|
35040
35040
|
isStale: boolean;
|
|
35041
35041
|
isEnabled: boolean;
|
|
35042
|
-
refetch: (options?:
|
|
35042
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35043
35043
|
optionId: bigint;
|
|
35044
35044
|
id: string;
|
|
35045
35045
|
ownerAddr: Address;
|
|
@@ -35048,7 +35048,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35048
35048
|
expiresAt: number;
|
|
35049
35049
|
closed: boolean;
|
|
35050
35050
|
}[] | undefined, Error>>;
|
|
35051
|
-
fetchStatus:
|
|
35051
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35052
35052
|
promise: Promise<{
|
|
35053
35053
|
optionId: bigint;
|
|
35054
35054
|
id: string;
|
|
@@ -35090,7 +35090,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35090
35090
|
isRefetching: boolean;
|
|
35091
35091
|
isStale: boolean;
|
|
35092
35092
|
isEnabled: boolean;
|
|
35093
|
-
refetch: (options?:
|
|
35093
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35094
35094
|
optionId: bigint;
|
|
35095
35095
|
id: string;
|
|
35096
35096
|
ownerAddr: Address;
|
|
@@ -35099,7 +35099,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35099
35099
|
expiresAt: number;
|
|
35100
35100
|
closed: boolean;
|
|
35101
35101
|
}[] | undefined, Error>>;
|
|
35102
|
-
fetchStatus:
|
|
35102
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35103
35103
|
promise: Promise<{
|
|
35104
35104
|
optionId: bigint;
|
|
35105
35105
|
id: string;
|
|
@@ -35141,7 +35141,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35141
35141
|
isRefetching: boolean;
|
|
35142
35142
|
isStale: boolean;
|
|
35143
35143
|
isEnabled: boolean;
|
|
35144
|
-
refetch: (options?:
|
|
35144
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35145
35145
|
optionId: bigint;
|
|
35146
35146
|
id: string;
|
|
35147
35147
|
ownerAddr: Address;
|
|
@@ -35150,7 +35150,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35150
35150
|
expiresAt: number;
|
|
35151
35151
|
closed: boolean;
|
|
35152
35152
|
}[] | undefined, Error>>;
|
|
35153
|
-
fetchStatus:
|
|
35153
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35154
35154
|
promise: Promise<{
|
|
35155
35155
|
optionId: bigint;
|
|
35156
35156
|
id: string;
|
|
@@ -35192,7 +35192,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35192
35192
|
isRefetching: boolean;
|
|
35193
35193
|
isStale: boolean;
|
|
35194
35194
|
isEnabled: boolean;
|
|
35195
|
-
refetch: (options?:
|
|
35195
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35196
35196
|
optionId: bigint;
|
|
35197
35197
|
id: string;
|
|
35198
35198
|
ownerAddr: Address;
|
|
@@ -35201,7 +35201,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35201
35201
|
expiresAt: number;
|
|
35202
35202
|
closed: boolean;
|
|
35203
35203
|
}[] | undefined, Error>>;
|
|
35204
|
-
fetchStatus:
|
|
35204
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35205
35205
|
promise: Promise<{
|
|
35206
35206
|
optionId: bigint;
|
|
35207
35207
|
id: string;
|
|
@@ -35243,7 +35243,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35243
35243
|
isRefetching: boolean;
|
|
35244
35244
|
isStale: boolean;
|
|
35245
35245
|
isEnabled: boolean;
|
|
35246
|
-
refetch: (options?:
|
|
35246
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35247
35247
|
optionId: bigint;
|
|
35248
35248
|
id: string;
|
|
35249
35249
|
ownerAddr: Address;
|
|
@@ -35252,7 +35252,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35252
35252
|
expiresAt: number;
|
|
35253
35253
|
closed: boolean;
|
|
35254
35254
|
}[] | undefined, Error>>;
|
|
35255
|
-
fetchStatus:
|
|
35255
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35256
35256
|
promise: Promise<{
|
|
35257
35257
|
optionId: bigint;
|
|
35258
35258
|
id: string;
|
|
@@ -35295,7 +35295,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35295
35295
|
isRefetching: boolean;
|
|
35296
35296
|
isStale: boolean;
|
|
35297
35297
|
isEnabled: boolean;
|
|
35298
|
-
refetch: (options?:
|
|
35298
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35299
35299
|
optionId: bigint;
|
|
35300
35300
|
id: string;
|
|
35301
35301
|
ownerAddr: Address;
|
|
@@ -35304,7 +35304,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35304
35304
|
expiresAt: number;
|
|
35305
35305
|
closed: boolean;
|
|
35306
35306
|
}[] | undefined, Error>>;
|
|
35307
|
-
fetchStatus:
|
|
35307
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35308
35308
|
promise: Promise<{
|
|
35309
35309
|
optionId: bigint;
|
|
35310
35310
|
id: string;
|
|
@@ -35346,7 +35346,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35346
35346
|
isRefetching: boolean;
|
|
35347
35347
|
isStale: boolean;
|
|
35348
35348
|
isEnabled: boolean;
|
|
35349
|
-
refetch: (options?:
|
|
35349
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35350
35350
|
optionId: bigint;
|
|
35351
35351
|
id: string;
|
|
35352
35352
|
ownerAddr: Address;
|
|
@@ -35355,7 +35355,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35355
35355
|
expiresAt: number;
|
|
35356
35356
|
closed: boolean;
|
|
35357
35357
|
}[] | undefined, Error>>;
|
|
35358
|
-
fetchStatus:
|
|
35358
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35359
35359
|
promise: Promise<{
|
|
35360
35360
|
optionId: bigint;
|
|
35361
35361
|
id: string;
|
|
@@ -35397,7 +35397,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35397
35397
|
isRefetching: boolean;
|
|
35398
35398
|
isStale: boolean;
|
|
35399
35399
|
isEnabled: boolean;
|
|
35400
|
-
refetch: (options?:
|
|
35400
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35401
35401
|
optionId: bigint;
|
|
35402
35402
|
id: string;
|
|
35403
35403
|
ownerAddr: Address;
|
|
@@ -35406,7 +35406,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35406
35406
|
expiresAt: number;
|
|
35407
35407
|
closed: boolean;
|
|
35408
35408
|
}[] | undefined, Error>>;
|
|
35409
|
-
fetchStatus:
|
|
35409
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35410
35410
|
promise: Promise<{
|
|
35411
35411
|
optionId: bigint;
|
|
35412
35412
|
id: string;
|
|
@@ -35448,7 +35448,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35448
35448
|
isRefetching: boolean;
|
|
35449
35449
|
isStale: boolean;
|
|
35450
35450
|
isEnabled: boolean;
|
|
35451
|
-
refetch: (options?:
|
|
35451
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35452
35452
|
optionId: bigint;
|
|
35453
35453
|
id: string;
|
|
35454
35454
|
ownerAddr: Address;
|
|
@@ -35457,7 +35457,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35457
35457
|
expiresAt: number;
|
|
35458
35458
|
closed: boolean;
|
|
35459
35459
|
}[] | undefined, Error>>;
|
|
35460
|
-
fetchStatus:
|
|
35460
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35461
35461
|
promise: Promise<{
|
|
35462
35462
|
optionId: bigint;
|
|
35463
35463
|
id: string;
|
|
@@ -35499,7 +35499,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35499
35499
|
isRefetching: boolean;
|
|
35500
35500
|
isStale: boolean;
|
|
35501
35501
|
isEnabled: boolean;
|
|
35502
|
-
refetch: (options?:
|
|
35502
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35503
35503
|
optionId: bigint;
|
|
35504
35504
|
id: string;
|
|
35505
35505
|
ownerAddr: Address;
|
|
@@ -35508,7 +35508,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35508
35508
|
expiresAt: number;
|
|
35509
35509
|
closed: boolean;
|
|
35510
35510
|
}[] | undefined, Error>>;
|
|
35511
|
-
fetchStatus:
|
|
35511
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35512
35512
|
promise: Promise<{
|
|
35513
35513
|
optionId: bigint;
|
|
35514
35514
|
id: string;
|
|
@@ -35550,7 +35550,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35550
35550
|
isRefetching: boolean;
|
|
35551
35551
|
isStale: boolean;
|
|
35552
35552
|
isEnabled: boolean;
|
|
35553
|
-
refetch: (options?:
|
|
35553
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35554
35554
|
optionId: bigint;
|
|
35555
35555
|
id: string;
|
|
35556
35556
|
ownerAddr: Address;
|
|
@@ -35559,7 +35559,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35559
35559
|
expiresAt: number;
|
|
35560
35560
|
closed: boolean;
|
|
35561
35561
|
}[] | undefined, Error>>;
|
|
35562
|
-
fetchStatus:
|
|
35562
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35563
35563
|
promise: Promise<{
|
|
35564
35564
|
optionId: bigint;
|
|
35565
35565
|
id: string;
|
|
@@ -35602,7 +35602,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35602
35602
|
isRefetching: boolean;
|
|
35603
35603
|
isStale: boolean;
|
|
35604
35604
|
isEnabled: boolean;
|
|
35605
|
-
refetch: (options?:
|
|
35605
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35606
35606
|
optionId: bigint;
|
|
35607
35607
|
id: string;
|
|
35608
35608
|
ownerAddr: Address;
|
|
@@ -35611,7 +35611,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35611
35611
|
expiresAt: number;
|
|
35612
35612
|
closed: boolean;
|
|
35613
35613
|
}[] | undefined, Error>>;
|
|
35614
|
-
fetchStatus:
|
|
35614
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35615
35615
|
promise: Promise<{
|
|
35616
35616
|
optionId: bigint;
|
|
35617
35617
|
id: string;
|
|
@@ -35653,7 +35653,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35653
35653
|
isRefetching: boolean;
|
|
35654
35654
|
isStale: boolean;
|
|
35655
35655
|
isEnabled: boolean;
|
|
35656
|
-
refetch: (options?:
|
|
35656
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35657
35657
|
optionId: bigint;
|
|
35658
35658
|
id: string;
|
|
35659
35659
|
ownerAddr: Address;
|
|
@@ -35662,7 +35662,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35662
35662
|
expiresAt: number;
|
|
35663
35663
|
closed: boolean;
|
|
35664
35664
|
}[] | undefined, Error>>;
|
|
35665
|
-
fetchStatus:
|
|
35665
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35666
35666
|
promise: Promise<{
|
|
35667
35667
|
optionId: bigint;
|
|
35668
35668
|
id: string;
|
|
@@ -35704,7 +35704,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35704
35704
|
isRefetching: boolean;
|
|
35705
35705
|
isStale: boolean;
|
|
35706
35706
|
isEnabled: boolean;
|
|
35707
|
-
refetch: (options?:
|
|
35707
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35708
35708
|
optionId: bigint;
|
|
35709
35709
|
id: string;
|
|
35710
35710
|
ownerAddr: Address;
|
|
@@ -35713,7 +35713,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35713
35713
|
expiresAt: number;
|
|
35714
35714
|
closed: boolean;
|
|
35715
35715
|
}[] | undefined, Error>>;
|
|
35716
|
-
fetchStatus:
|
|
35716
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35717
35717
|
promise: Promise<{
|
|
35718
35718
|
optionId: bigint;
|
|
35719
35719
|
id: string;
|
|
@@ -35755,7 +35755,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35755
35755
|
isRefetching: boolean;
|
|
35756
35756
|
isStale: boolean;
|
|
35757
35757
|
isEnabled: boolean;
|
|
35758
|
-
refetch: (options?:
|
|
35758
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35759
35759
|
optionId: bigint;
|
|
35760
35760
|
id: string;
|
|
35761
35761
|
ownerAddr: Address;
|
|
@@ -35764,7 +35764,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35764
35764
|
expiresAt: number;
|
|
35765
35765
|
closed: boolean;
|
|
35766
35766
|
}[] | undefined, Error>>;
|
|
35767
|
-
fetchStatus:
|
|
35767
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35768
35768
|
promise: Promise<{
|
|
35769
35769
|
optionId: bigint;
|
|
35770
35770
|
id: string;
|
|
@@ -35806,7 +35806,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35806
35806
|
isRefetching: boolean;
|
|
35807
35807
|
isStale: boolean;
|
|
35808
35808
|
isEnabled: boolean;
|
|
35809
|
-
refetch: (options?:
|
|
35809
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35810
35810
|
optionId: bigint;
|
|
35811
35811
|
id: string;
|
|
35812
35812
|
ownerAddr: Address;
|
|
@@ -35815,7 +35815,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35815
35815
|
expiresAt: number;
|
|
35816
35816
|
closed: boolean;
|
|
35817
35817
|
}[] | undefined, Error>>;
|
|
35818
|
-
fetchStatus:
|
|
35818
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35819
35819
|
promise: Promise<{
|
|
35820
35820
|
optionId: bigint;
|
|
35821
35821
|
id: string;
|
|
@@ -35857,7 +35857,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35857
35857
|
isRefetching: boolean;
|
|
35858
35858
|
isStale: boolean;
|
|
35859
35859
|
isEnabled: boolean;
|
|
35860
|
-
refetch: (options?:
|
|
35860
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
35861
35861
|
optionId: bigint;
|
|
35862
35862
|
id: string;
|
|
35863
35863
|
ownerAddr: Address;
|
|
@@ -35866,7 +35866,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35866
35866
|
expiresAt: number;
|
|
35867
35867
|
closed: boolean;
|
|
35868
35868
|
}[] | undefined, Error>>;
|
|
35869
|
-
fetchStatus:
|
|
35869
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
35870
35870
|
promise: Promise<{
|
|
35871
35871
|
optionId: bigint;
|
|
35872
35872
|
id: string;
|
|
@@ -35889,7 +35889,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35889
35889
|
//#endregion
|
|
35890
35890
|
//#region src/hooks/operators/useOperatorPerms.d.ts
|
|
35891
35891
|
declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, operatorAddr?: Address) => {
|
|
35892
|
-
error:
|
|
35892
|
+
error: viem0.ReadContractErrorType;
|
|
35893
35893
|
isError: true;
|
|
35894
35894
|
isPending: false;
|
|
35895
35895
|
isLoading: false;
|
|
@@ -35901,7 +35901,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35901
35901
|
dataUpdatedAt: number;
|
|
35902
35902
|
errorUpdatedAt: number;
|
|
35903
35903
|
failureCount: number;
|
|
35904
|
-
failureReason:
|
|
35904
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35905
35905
|
errorUpdateCount: number;
|
|
35906
35906
|
isFetched: boolean;
|
|
35907
35907
|
isFetchedAfterMount: boolean;
|
|
@@ -35911,10 +35911,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35911
35911
|
isRefetching: boolean;
|
|
35912
35912
|
isStale: boolean;
|
|
35913
35913
|
isEnabled: boolean;
|
|
35914
|
-
refetch: (options?:
|
|
35915
|
-
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;
|
|
35916
35916
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35917
|
-
queryKey:
|
|
35917
|
+
queryKey: _tanstack_query_core139.QueryKey;
|
|
35918
35918
|
data: {
|
|
35919
35919
|
canExtend: boolean;
|
|
35920
35920
|
canExercise: boolean;
|
|
@@ -35935,7 +35935,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35935
35935
|
dataUpdatedAt: number;
|
|
35936
35936
|
errorUpdatedAt: number;
|
|
35937
35937
|
failureCount: number;
|
|
35938
|
-
failureReason:
|
|
35938
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35939
35939
|
errorUpdateCount: number;
|
|
35940
35940
|
isFetched: boolean;
|
|
35941
35941
|
isFetchedAfterMount: boolean;
|
|
@@ -35945,10 +35945,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35945
35945
|
isRefetching: boolean;
|
|
35946
35946
|
isStale: boolean;
|
|
35947
35947
|
isEnabled: boolean;
|
|
35948
|
-
refetch: (options?:
|
|
35949
|
-
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;
|
|
35950
35950
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35951
|
-
queryKey:
|
|
35951
|
+
queryKey: _tanstack_query_core139.QueryKey;
|
|
35952
35952
|
data: {
|
|
35953
35953
|
canExtend: boolean;
|
|
35954
35954
|
canExercise: boolean;
|
|
@@ -35957,7 +35957,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35957
35957
|
spendingApproval: bigint;
|
|
35958
35958
|
} | undefined;
|
|
35959
35959
|
} | {
|
|
35960
|
-
error:
|
|
35960
|
+
error: viem0.ReadContractErrorType;
|
|
35961
35961
|
isError: true;
|
|
35962
35962
|
isPending: false;
|
|
35963
35963
|
isLoading: false;
|
|
@@ -35969,7 +35969,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35969
35969
|
dataUpdatedAt: number;
|
|
35970
35970
|
errorUpdatedAt: number;
|
|
35971
35971
|
failureCount: number;
|
|
35972
|
-
failureReason:
|
|
35972
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35973
35973
|
errorUpdateCount: number;
|
|
35974
35974
|
isFetched: boolean;
|
|
35975
35975
|
isFetchedAfterMount: boolean;
|
|
@@ -35979,10 +35979,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35979
35979
|
isRefetching: boolean;
|
|
35980
35980
|
isStale: boolean;
|
|
35981
35981
|
isEnabled: boolean;
|
|
35982
|
-
refetch: (options?:
|
|
35983
|
-
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;
|
|
35984
35984
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35985
|
-
queryKey:
|
|
35985
|
+
queryKey: _tanstack_query_core139.QueryKey;
|
|
35986
35986
|
data: {
|
|
35987
35987
|
canExtend: boolean;
|
|
35988
35988
|
canExercise: boolean;
|
|
@@ -36003,7 +36003,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36003
36003
|
dataUpdatedAt: number;
|
|
36004
36004
|
errorUpdatedAt: number;
|
|
36005
36005
|
failureCount: number;
|
|
36006
|
-
failureReason:
|
|
36006
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36007
36007
|
errorUpdateCount: number;
|
|
36008
36008
|
isFetched: boolean;
|
|
36009
36009
|
isFetchedAfterMount: boolean;
|
|
@@ -36013,10 +36013,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36013
36013
|
isRefetching: boolean;
|
|
36014
36014
|
isStale: boolean;
|
|
36015
36015
|
isEnabled: boolean;
|
|
36016
|
-
refetch: (options?:
|
|
36017
|
-
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;
|
|
36018
36018
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36019
|
-
queryKey:
|
|
36019
|
+
queryKey: _tanstack_query_core139.QueryKey;
|
|
36020
36020
|
data: {
|
|
36021
36021
|
canExtend: boolean;
|
|
36022
36022
|
canExercise: boolean;
|
|
@@ -36036,7 +36036,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36036
36036
|
dataUpdatedAt: number;
|
|
36037
36037
|
errorUpdatedAt: number;
|
|
36038
36038
|
failureCount: number;
|
|
36039
|
-
failureReason:
|
|
36039
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36040
36040
|
errorUpdateCount: number;
|
|
36041
36041
|
isFetched: boolean;
|
|
36042
36042
|
isFetchedAfterMount: boolean;
|
|
@@ -36047,10 +36047,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36047
36047
|
isRefetching: boolean;
|
|
36048
36048
|
isStale: boolean;
|
|
36049
36049
|
isEnabled: boolean;
|
|
36050
|
-
refetch: (options?:
|
|
36051
|
-
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;
|
|
36052
36052
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36053
|
-
queryKey:
|
|
36053
|
+
queryKey: _tanstack_query_core139.QueryKey;
|
|
36054
36054
|
data: {
|
|
36055
36055
|
canExtend: boolean;
|
|
36056
36056
|
canExercise: boolean;
|
|
@@ -36071,7 +36071,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36071
36071
|
dataUpdatedAt: number;
|
|
36072
36072
|
errorUpdatedAt: number;
|
|
36073
36073
|
failureCount: number;
|
|
36074
|
-
failureReason:
|
|
36074
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36075
36075
|
errorUpdateCount: number;
|
|
36076
36076
|
isFetched: boolean;
|
|
36077
36077
|
isFetchedAfterMount: boolean;
|
|
@@ -36081,10 +36081,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36081
36081
|
isRefetching: boolean;
|
|
36082
36082
|
isStale: boolean;
|
|
36083
36083
|
isEnabled: boolean;
|
|
36084
|
-
refetch: (options?:
|
|
36085
|
-
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;
|
|
36086
36086
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36087
|
-
queryKey:
|
|
36087
|
+
queryKey: _tanstack_query_core139.QueryKey;
|
|
36088
36088
|
data: {
|
|
36089
36089
|
canExtend: boolean;
|
|
36090
36090
|
canExercise: boolean;
|
|
@@ -36132,7 +36132,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36132
36132
|
isRefetching: boolean;
|
|
36133
36133
|
isStale: boolean;
|
|
36134
36134
|
isEnabled: boolean;
|
|
36135
|
-
refetch: (options?:
|
|
36135
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
36136
36136
|
spendingApproval: bigint;
|
|
36137
36137
|
operatorAddr: string;
|
|
36138
36138
|
__typename: "UserMarketOperator";
|
|
@@ -36146,7 +36146,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36146
36146
|
address: string;
|
|
36147
36147
|
} | null;
|
|
36148
36148
|
}[] | undefined, Error>>;
|
|
36149
|
-
fetchStatus:
|
|
36149
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
36150
36150
|
promise: Promise<{
|
|
36151
36151
|
spendingApproval: bigint;
|
|
36152
36152
|
operatorAddr: string;
|
|
@@ -36198,7 +36198,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36198
36198
|
isRefetching: boolean;
|
|
36199
36199
|
isStale: boolean;
|
|
36200
36200
|
isEnabled: boolean;
|
|
36201
|
-
refetch: (options?:
|
|
36201
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
36202
36202
|
spendingApproval: bigint;
|
|
36203
36203
|
operatorAddr: string;
|
|
36204
36204
|
__typename: "UserMarketOperator";
|
|
@@ -36212,7 +36212,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36212
36212
|
address: string;
|
|
36213
36213
|
} | null;
|
|
36214
36214
|
}[] | undefined, Error>>;
|
|
36215
|
-
fetchStatus:
|
|
36215
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
36216
36216
|
promise: Promise<{
|
|
36217
36217
|
spendingApproval: bigint;
|
|
36218
36218
|
operatorAddr: string;
|
|
@@ -36264,7 +36264,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36264
36264
|
isRefetching: boolean;
|
|
36265
36265
|
isStale: boolean;
|
|
36266
36266
|
isEnabled: boolean;
|
|
36267
|
-
refetch: (options?:
|
|
36267
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
36268
36268
|
spendingApproval: bigint;
|
|
36269
36269
|
operatorAddr: string;
|
|
36270
36270
|
__typename: "UserMarketOperator";
|
|
@@ -36278,7 +36278,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36278
36278
|
address: string;
|
|
36279
36279
|
} | null;
|
|
36280
36280
|
}[] | undefined, Error>>;
|
|
36281
|
-
fetchStatus:
|
|
36281
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
36282
36282
|
promise: Promise<{
|
|
36283
36283
|
spendingApproval: bigint;
|
|
36284
36284
|
operatorAddr: string;
|
|
@@ -36330,7 +36330,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36330
36330
|
isRefetching: boolean;
|
|
36331
36331
|
isStale: boolean;
|
|
36332
36332
|
isEnabled: boolean;
|
|
36333
|
-
refetch: (options?:
|
|
36333
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
36334
36334
|
spendingApproval: bigint;
|
|
36335
36335
|
operatorAddr: string;
|
|
36336
36336
|
__typename: "UserMarketOperator";
|
|
@@ -36344,7 +36344,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36344
36344
|
address: string;
|
|
36345
36345
|
} | null;
|
|
36346
36346
|
}[] | undefined, Error>>;
|
|
36347
|
-
fetchStatus:
|
|
36347
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
36348
36348
|
promise: Promise<{
|
|
36349
36349
|
spendingApproval: bigint;
|
|
36350
36350
|
operatorAddr: string;
|
|
@@ -36396,7 +36396,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36396
36396
|
isRefetching: boolean;
|
|
36397
36397
|
isStale: boolean;
|
|
36398
36398
|
isEnabled: boolean;
|
|
36399
|
-
refetch: (options?:
|
|
36399
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
36400
36400
|
spendingApproval: bigint;
|
|
36401
36401
|
operatorAddr: string;
|
|
36402
36402
|
__typename: "UserMarketOperator";
|
|
@@ -36410,7 +36410,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36410
36410
|
address: string;
|
|
36411
36411
|
} | null;
|
|
36412
36412
|
}[] | undefined, Error>>;
|
|
36413
|
-
fetchStatus:
|
|
36413
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
36414
36414
|
promise: Promise<{
|
|
36415
36415
|
spendingApproval: bigint;
|
|
36416
36416
|
operatorAddr: string;
|
|
@@ -36462,7 +36462,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36462
36462
|
isRefetching: boolean;
|
|
36463
36463
|
isStale: boolean;
|
|
36464
36464
|
isEnabled: boolean;
|
|
36465
|
-
refetch: (options?:
|
|
36465
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<{
|
|
36466
36466
|
spendingApproval: bigint;
|
|
36467
36467
|
operatorAddr: string;
|
|
36468
36468
|
__typename: "UserMarketOperator";
|
|
@@ -36476,7 +36476,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36476
36476
|
address: string;
|
|
36477
36477
|
} | null;
|
|
36478
36478
|
}[] | undefined, Error>>;
|
|
36479
|
-
fetchStatus:
|
|
36479
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
36480
36480
|
promise: Promise<{
|
|
36481
36481
|
spendingApproval: bigint;
|
|
36482
36482
|
operatorAddr: string;
|
|
@@ -36494,7 +36494,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36494
36494
|
};
|
|
36495
36495
|
//#endregion
|
|
36496
36496
|
//#region src/hooks/operators/useSetOperatorPerms.d.ts
|
|
36497
|
-
declare const useSetOperatorPerms: (marketAddr?: Address) =>
|
|
36497
|
+
declare const useSetOperatorPerms: (marketAddr?: Address) => _tanstack_react_query2.UseMutationResult<`0x${string}`, Error, {
|
|
36498
36498
|
operator: Address;
|
|
36499
36499
|
canExtend: boolean;
|
|
36500
36500
|
canExercise: boolean;
|
|
@@ -36570,7 +36570,7 @@ declare const usePoolData: (poolAddr?: Address) => Partial<NonUndefined<{
|
|
|
36570
36570
|
declare const usePriceAtTick: (tick?: number, poolAddr?: Address) => Amount | undefined;
|
|
36571
36571
|
//#endregion
|
|
36572
36572
|
//#region src/hooks/pool/usePriceHistory.d.ts
|
|
36573
|
-
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>;
|
|
36574
36574
|
//#endregion
|
|
36575
36575
|
//#region src/hooks/vault/useBurnLiquidity.d.ts
|
|
36576
36576
|
interface BurnPosition {
|
|
@@ -36592,7 +36592,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
36592
36592
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
36593
36593
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
36594
36594
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
36595
|
-
error:
|
|
36595
|
+
error: viem0.ReadContractErrorType;
|
|
36596
36596
|
isError: true;
|
|
36597
36597
|
isPending: false;
|
|
36598
36598
|
isLoading: false;
|
|
@@ -36604,7 +36604,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36604
36604
|
dataUpdatedAt: number;
|
|
36605
36605
|
errorUpdatedAt: number;
|
|
36606
36606
|
failureCount: number;
|
|
36607
|
-
failureReason:
|
|
36607
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36608
36608
|
errorUpdateCount: number;
|
|
36609
36609
|
isFetched: boolean;
|
|
36610
36610
|
isFetchedAfterMount: boolean;
|
|
@@ -36614,7 +36614,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36614
36614
|
isRefetching: boolean;
|
|
36615
36615
|
isStale: boolean;
|
|
36616
36616
|
isEnabled: boolean;
|
|
36617
|
-
refetch: (options?:
|
|
36617
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<readonly {
|
|
36618
36618
|
tickLower: number;
|
|
36619
36619
|
tickUpper: number;
|
|
36620
36620
|
prevTickLower: number;
|
|
@@ -36624,8 +36624,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36624
36624
|
totalAmount1: bigint;
|
|
36625
36625
|
borrowedAmount0: bigint;
|
|
36626
36626
|
borrowedAmount1: bigint;
|
|
36627
|
-
}[],
|
|
36628
|
-
fetchStatus:
|
|
36627
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36628
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
36629
36629
|
promise: Promise<readonly {
|
|
36630
36630
|
tickLower: number;
|
|
36631
36631
|
tickUpper: number;
|
|
@@ -36637,7 +36637,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36637
36637
|
borrowedAmount0: bigint;
|
|
36638
36638
|
borrowedAmount1: bigint;
|
|
36639
36639
|
}[]>;
|
|
36640
|
-
queryKey:
|
|
36640
|
+
queryKey: _tanstack_query_core139.QueryKey;
|
|
36641
36641
|
data: readonly {
|
|
36642
36642
|
tickLower: number;
|
|
36643
36643
|
tickUpper: number;
|
|
@@ -36662,7 +36662,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36662
36662
|
dataUpdatedAt: number;
|
|
36663
36663
|
errorUpdatedAt: number;
|
|
36664
36664
|
failureCount: number;
|
|
36665
|
-
failureReason:
|
|
36665
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36666
36666
|
errorUpdateCount: number;
|
|
36667
36667
|
isFetched: boolean;
|
|
36668
36668
|
isFetchedAfterMount: boolean;
|
|
@@ -36672,7 +36672,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36672
36672
|
isRefetching: boolean;
|
|
36673
36673
|
isStale: boolean;
|
|
36674
36674
|
isEnabled: boolean;
|
|
36675
|
-
refetch: (options?:
|
|
36675
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<readonly {
|
|
36676
36676
|
tickLower: number;
|
|
36677
36677
|
tickUpper: number;
|
|
36678
36678
|
prevTickLower: number;
|
|
@@ -36682,8 +36682,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36682
36682
|
totalAmount1: bigint;
|
|
36683
36683
|
borrowedAmount0: bigint;
|
|
36684
36684
|
borrowedAmount1: bigint;
|
|
36685
|
-
}[],
|
|
36686
|
-
fetchStatus:
|
|
36685
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36686
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
36687
36687
|
promise: Promise<readonly {
|
|
36688
36688
|
tickLower: number;
|
|
36689
36689
|
tickUpper: number;
|
|
@@ -36695,7 +36695,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36695
36695
|
borrowedAmount0: bigint;
|
|
36696
36696
|
borrowedAmount1: bigint;
|
|
36697
36697
|
}[]>;
|
|
36698
|
-
queryKey:
|
|
36698
|
+
queryKey: _tanstack_query_core139.QueryKey;
|
|
36699
36699
|
data: readonly {
|
|
36700
36700
|
tickLower: number;
|
|
36701
36701
|
tickUpper: number;
|
|
@@ -36708,7 +36708,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36708
36708
|
borrowedAmount1: bigint;
|
|
36709
36709
|
}[];
|
|
36710
36710
|
} | {
|
|
36711
|
-
error:
|
|
36711
|
+
error: viem0.ReadContractErrorType;
|
|
36712
36712
|
isError: true;
|
|
36713
36713
|
isPending: false;
|
|
36714
36714
|
isLoading: false;
|
|
@@ -36720,7 +36720,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36720
36720
|
dataUpdatedAt: number;
|
|
36721
36721
|
errorUpdatedAt: number;
|
|
36722
36722
|
failureCount: number;
|
|
36723
|
-
failureReason:
|
|
36723
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36724
36724
|
errorUpdateCount: number;
|
|
36725
36725
|
isFetched: boolean;
|
|
36726
36726
|
isFetchedAfterMount: boolean;
|
|
@@ -36730,7 +36730,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36730
36730
|
isRefetching: boolean;
|
|
36731
36731
|
isStale: boolean;
|
|
36732
36732
|
isEnabled: boolean;
|
|
36733
|
-
refetch: (options?:
|
|
36733
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<readonly {
|
|
36734
36734
|
tickLower: number;
|
|
36735
36735
|
tickUpper: number;
|
|
36736
36736
|
prevTickLower: number;
|
|
@@ -36740,8 +36740,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36740
36740
|
totalAmount1: bigint;
|
|
36741
36741
|
borrowedAmount0: bigint;
|
|
36742
36742
|
borrowedAmount1: bigint;
|
|
36743
|
-
}[],
|
|
36744
|
-
fetchStatus:
|
|
36743
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36744
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
36745
36745
|
promise: Promise<readonly {
|
|
36746
36746
|
tickLower: number;
|
|
36747
36747
|
tickUpper: number;
|
|
@@ -36753,7 +36753,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36753
36753
|
borrowedAmount0: bigint;
|
|
36754
36754
|
borrowedAmount1: bigint;
|
|
36755
36755
|
}[]>;
|
|
36756
|
-
queryKey:
|
|
36756
|
+
queryKey: _tanstack_query_core139.QueryKey;
|
|
36757
36757
|
data: readonly {
|
|
36758
36758
|
tickLower: number;
|
|
36759
36759
|
tickUpper: number;
|
|
@@ -36778,7 +36778,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36778
36778
|
dataUpdatedAt: number;
|
|
36779
36779
|
errorUpdatedAt: number;
|
|
36780
36780
|
failureCount: number;
|
|
36781
|
-
failureReason:
|
|
36781
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36782
36782
|
errorUpdateCount: number;
|
|
36783
36783
|
isFetched: boolean;
|
|
36784
36784
|
isFetchedAfterMount: boolean;
|
|
@@ -36788,7 +36788,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36788
36788
|
isRefetching: boolean;
|
|
36789
36789
|
isStale: boolean;
|
|
36790
36790
|
isEnabled: boolean;
|
|
36791
|
-
refetch: (options?:
|
|
36791
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<readonly {
|
|
36792
36792
|
tickLower: number;
|
|
36793
36793
|
tickUpper: number;
|
|
36794
36794
|
prevTickLower: number;
|
|
@@ -36798,8 +36798,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36798
36798
|
totalAmount1: bigint;
|
|
36799
36799
|
borrowedAmount0: bigint;
|
|
36800
36800
|
borrowedAmount1: bigint;
|
|
36801
|
-
}[],
|
|
36802
|
-
fetchStatus:
|
|
36801
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36802
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
36803
36803
|
promise: Promise<readonly {
|
|
36804
36804
|
tickLower: number;
|
|
36805
36805
|
tickUpper: number;
|
|
@@ -36811,7 +36811,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36811
36811
|
borrowedAmount0: bigint;
|
|
36812
36812
|
borrowedAmount1: bigint;
|
|
36813
36813
|
}[]>;
|
|
36814
|
-
queryKey:
|
|
36814
|
+
queryKey: _tanstack_query_core139.QueryKey;
|
|
36815
36815
|
data: readonly {
|
|
36816
36816
|
tickLower: number;
|
|
36817
36817
|
tickUpper: number;
|
|
@@ -36835,7 +36835,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36835
36835
|
dataUpdatedAt: number;
|
|
36836
36836
|
errorUpdatedAt: number;
|
|
36837
36837
|
failureCount: number;
|
|
36838
|
-
failureReason:
|
|
36838
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36839
36839
|
errorUpdateCount: number;
|
|
36840
36840
|
isFetched: boolean;
|
|
36841
36841
|
isFetchedAfterMount: boolean;
|
|
@@ -36846,7 +36846,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36846
36846
|
isRefetching: boolean;
|
|
36847
36847
|
isStale: boolean;
|
|
36848
36848
|
isEnabled: boolean;
|
|
36849
|
-
refetch: (options?:
|
|
36849
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<readonly {
|
|
36850
36850
|
tickLower: number;
|
|
36851
36851
|
tickUpper: number;
|
|
36852
36852
|
prevTickLower: number;
|
|
@@ -36856,8 +36856,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36856
36856
|
totalAmount1: bigint;
|
|
36857
36857
|
borrowedAmount0: bigint;
|
|
36858
36858
|
borrowedAmount1: bigint;
|
|
36859
|
-
}[],
|
|
36860
|
-
fetchStatus:
|
|
36859
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36860
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
36861
36861
|
promise: Promise<readonly {
|
|
36862
36862
|
tickLower: number;
|
|
36863
36863
|
tickUpper: number;
|
|
@@ -36869,7 +36869,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36869
36869
|
borrowedAmount0: bigint;
|
|
36870
36870
|
borrowedAmount1: bigint;
|
|
36871
36871
|
}[]>;
|
|
36872
|
-
queryKey:
|
|
36872
|
+
queryKey: _tanstack_query_core139.QueryKey;
|
|
36873
36873
|
data: readonly {
|
|
36874
36874
|
tickLower: number;
|
|
36875
36875
|
tickUpper: number;
|
|
@@ -36894,7 +36894,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36894
36894
|
dataUpdatedAt: number;
|
|
36895
36895
|
errorUpdatedAt: number;
|
|
36896
36896
|
failureCount: number;
|
|
36897
|
-
failureReason:
|
|
36897
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36898
36898
|
errorUpdateCount: number;
|
|
36899
36899
|
isFetched: boolean;
|
|
36900
36900
|
isFetchedAfterMount: boolean;
|
|
@@ -36904,7 +36904,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36904
36904
|
isRefetching: boolean;
|
|
36905
36905
|
isStale: boolean;
|
|
36906
36906
|
isEnabled: boolean;
|
|
36907
|
-
refetch: (options?:
|
|
36907
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<readonly {
|
|
36908
36908
|
tickLower: number;
|
|
36909
36909
|
tickUpper: number;
|
|
36910
36910
|
prevTickLower: number;
|
|
@@ -36914,8 +36914,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36914
36914
|
totalAmount1: bigint;
|
|
36915
36915
|
borrowedAmount0: bigint;
|
|
36916
36916
|
borrowedAmount1: bigint;
|
|
36917
|
-
}[],
|
|
36918
|
-
fetchStatus:
|
|
36917
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36918
|
+
fetchStatus: _tanstack_query_core139.FetchStatus;
|
|
36919
36919
|
promise: Promise<readonly {
|
|
36920
36920
|
tickLower: number;
|
|
36921
36921
|
tickUpper: number;
|
|
@@ -36927,7 +36927,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36927
36927
|
borrowedAmount0: bigint;
|
|
36928
36928
|
borrowedAmount1: bigint;
|
|
36929
36929
|
}[]>;
|
|
36930
|
-
queryKey:
|
|
36930
|
+
queryKey: _tanstack_query_core139.QueryKey;
|
|
36931
36931
|
data: readonly {
|
|
36932
36932
|
tickLower: number;
|
|
36933
36933
|
tickUpper: number;
|
|
@@ -36953,7 +36953,7 @@ interface MintPositionParams {
|
|
|
36953
36953
|
tickUpper: number;
|
|
36954
36954
|
liquidity: bigint;
|
|
36955
36955
|
}
|
|
36956
|
-
declare const useMintLiquidity: (vaultAddr?: Address) =>
|
|
36956
|
+
declare const useMintLiquidity: (vaultAddr?: Address) => _tanstack_react_query2.UseMutationResult<void, Error, MintPositionParams | MintPositionParams[], unknown>;
|
|
36957
36957
|
//#endregion
|
|
36958
36958
|
//#region src/hooks/vault/useVaultData.d.ts
|
|
36959
36959
|
declare const useVaultData: (vaultAddr?: Address) => {
|
|
@@ -36978,14 +36978,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
36978
36978
|
borrowedAmount0: Amount;
|
|
36979
36979
|
borrowedAmount1: Amount;
|
|
36980
36980
|
blocksCount: bigint;
|
|
36981
|
-
refetch: (options?:
|
|
36981
|
+
refetch: (options?: _tanstack_query_core139.RefetchOptions) => Promise<_tanstack_query_core139.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
|
|
36982
36982
|
};
|
|
36983
36983
|
//#endregion
|
|
36984
36984
|
//#region src/hooks/useLens.d.ts
|
|
36985
36985
|
declare const useLens: () => {
|
|
36986
36986
|
timelockLens: {
|
|
36987
36987
|
read: {
|
|
36988
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
36988
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
36989
36989
|
readonly type: "function";
|
|
36990
36990
|
readonly name: "batchGetRefTick";
|
|
36991
36991
|
readonly inputs: readonly [{
|
|
@@ -37627,7 +37627,7 @@ declare const useLens: () => {
|
|
|
37627
37627
|
}];
|
|
37628
37628
|
readonly stateMutability: "view";
|
|
37629
37629
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
37630
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
37630
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
37631
37631
|
readonly type: "function";
|
|
37632
37632
|
readonly name: "batchGetRefTick";
|
|
37633
37633
|
readonly inputs: readonly [{
|
|
@@ -38279,7 +38279,7 @@ declare const useLens: () => {
|
|
|
38279
38279
|
borrowedAmount0: bigint;
|
|
38280
38280
|
borrowedAmount1: bigint;
|
|
38281
38281
|
}[]>;
|
|
38282
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
38282
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
38283
38283
|
readonly type: "function";
|
|
38284
38284
|
readonly name: "batchGetRefTick";
|
|
38285
38285
|
readonly inputs: readonly [{
|
|
@@ -38936,7 +38936,7 @@ declare const useLens: () => {
|
|
|
38936
38936
|
expiresAt: number;
|
|
38937
38937
|
liquidities: readonly bigint[];
|
|
38938
38938
|
}[], bigint, boolean]>;
|
|
38939
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
38939
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
38940
38940
|
readonly type: "function";
|
|
38941
38941
|
readonly name: "batchGetRefTick";
|
|
38942
38942
|
readonly inputs: readonly [{
|
|
@@ -39578,7 +39578,7 @@ declare const useLens: () => {
|
|
|
39578
39578
|
}];
|
|
39579
39579
|
readonly stateMutability: "view";
|
|
39580
39580
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
39581
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
39581
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
39582
39582
|
readonly type: "function";
|
|
39583
39583
|
readonly name: "batchGetRefTick";
|
|
39584
39584
|
readonly inputs: readonly [{
|
|
@@ -40233,7 +40233,7 @@ declare const useLens: () => {
|
|
|
40233
40233
|
payoutAssetName: string;
|
|
40234
40234
|
optionsCount: bigint;
|
|
40235
40235
|
}>;
|
|
40236
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
40236
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
40237
40237
|
readonly type: "function";
|
|
40238
40238
|
readonly name: "batchGetRefTick";
|
|
40239
40239
|
readonly inputs: readonly [{
|
|
@@ -40875,7 +40875,7 @@ declare const useLens: () => {
|
|
|
40875
40875
|
}];
|
|
40876
40876
|
readonly stateMutability: "view";
|
|
40877
40877
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
40878
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
40878
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
40879
40879
|
readonly type: "function";
|
|
40880
40880
|
readonly name: "batchGetRefTick";
|
|
40881
40881
|
readonly inputs: readonly [{
|
|
@@ -41517,7 +41517,7 @@ declare const useLens: () => {
|
|
|
41517
41517
|
}];
|
|
41518
41518
|
readonly stateMutability: "view";
|
|
41519
41519
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
41520
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
41520
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
41521
41521
|
readonly type: "function";
|
|
41522
41522
|
readonly name: "batchGetRefTick";
|
|
41523
41523
|
readonly inputs: readonly [{
|
|
@@ -42174,7 +42174,7 @@ declare const useLens: () => {
|
|
|
42174
42174
|
expiresAt: number;
|
|
42175
42175
|
liquidities: readonly bigint[];
|
|
42176
42176
|
}>;
|
|
42177
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
42177
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
42178
42178
|
readonly type: "function";
|
|
42179
42179
|
readonly name: "batchGetRefTick";
|
|
42180
42180
|
readonly inputs: readonly [{
|
|
@@ -42831,7 +42831,7 @@ declare const useLens: () => {
|
|
|
42831
42831
|
expiresAt: number;
|
|
42832
42832
|
liquidities: readonly bigint[];
|
|
42833
42833
|
}[]>;
|
|
42834
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
42834
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
42835
42835
|
readonly type: "function";
|
|
42836
42836
|
readonly name: "batchGetRefTick";
|
|
42837
42837
|
readonly inputs: readonly [{
|
|
@@ -43484,7 +43484,7 @@ declare const useLens: () => {
|
|
|
43484
43484
|
tickSpacing: number;
|
|
43485
43485
|
fee: number;
|
|
43486
43486
|
}>;
|
|
43487
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
43487
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
43488
43488
|
readonly type: "function";
|
|
43489
43489
|
readonly name: "batchGetRefTick";
|
|
43490
43490
|
readonly inputs: readonly [{
|
|
@@ -44126,7 +44126,7 @@ declare const useLens: () => {
|
|
|
44126
44126
|
}];
|
|
44127
44127
|
readonly stateMutability: "view";
|
|
44128
44128
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
44129
|
-
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 [{
|
|
44130
44130
|
readonly type: "function";
|
|
44131
44131
|
readonly name: "batchGetRefTick";
|
|
44132
44132
|
readonly inputs: readonly [{
|
|
@@ -44783,7 +44783,7 @@ declare const useLens: () => {
|
|
|
44783
44783
|
expiresAt: number;
|
|
44784
44784
|
liquidities: readonly bigint[];
|
|
44785
44785
|
}[], bigint, boolean]>;
|
|
44786
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
44786
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
44787
44787
|
readonly type: "function";
|
|
44788
44788
|
readonly name: "batchGetRefTick";
|
|
44789
44789
|
readonly inputs: readonly [{
|
|
@@ -46072,7 +46072,7 @@ declare const useLens: () => {
|
|
|
46072
46072
|
} | undefined;
|
|
46073
46073
|
uniswapLens: {
|
|
46074
46074
|
read: {
|
|
46075
|
-
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 [{
|
|
46076
46076
|
readonly type: "function";
|
|
46077
46077
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46078
46078
|
readonly inputs: readonly [{
|
|
@@ -46693,7 +46693,7 @@ declare const useLens: () => {
|
|
|
46693
46693
|
}];
|
|
46694
46694
|
readonly stateMutability: "pure";
|
|
46695
46695
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46696
|
-
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 [{
|
|
46697
46697
|
readonly type: "function";
|
|
46698
46698
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46699
46699
|
readonly inputs: readonly [{
|
|
@@ -47314,7 +47314,7 @@ declare const useLens: () => {
|
|
|
47314
47314
|
}];
|
|
47315
47315
|
readonly stateMutability: "pure";
|
|
47316
47316
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47317
|
-
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 [{
|
|
47318
47318
|
readonly type: "function";
|
|
47319
47319
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47320
47320
|
readonly inputs: readonly [{
|
|
@@ -47935,7 +47935,7 @@ declare const useLens: () => {
|
|
|
47935
47935
|
}];
|
|
47936
47936
|
readonly stateMutability: "pure";
|
|
47937
47937
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47938
|
-
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 [{
|
|
47939
47939
|
readonly type: "function";
|
|
47940
47940
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47941
47941
|
readonly inputs: readonly [{
|
|
@@ -48556,7 +48556,7 @@ declare const useLens: () => {
|
|
|
48556
48556
|
}];
|
|
48557
48557
|
readonly stateMutability: "pure";
|
|
48558
48558
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
48559
|
-
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 [{
|
|
48560
48560
|
readonly type: "function";
|
|
48561
48561
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48562
48562
|
readonly inputs: readonly [{
|
|
@@ -49177,7 +49177,7 @@ declare const useLens: () => {
|
|
|
49177
49177
|
}];
|
|
49178
49178
|
readonly stateMutability: "pure";
|
|
49179
49179
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
49180
|
-
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 [{
|
|
49181
49181
|
readonly type: "function";
|
|
49182
49182
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49183
49183
|
readonly inputs: readonly [{
|
|
@@ -49798,7 +49798,7 @@ declare const useLens: () => {
|
|
|
49798
49798
|
}];
|
|
49799
49799
|
readonly stateMutability: "pure";
|
|
49800
49800
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
49801
|
-
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 [{
|
|
49802
49802
|
readonly type: "function";
|
|
49803
49803
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49804
49804
|
readonly inputs: readonly [{
|
|
@@ -50419,7 +50419,7 @@ declare const useLens: () => {
|
|
|
50419
50419
|
}];
|
|
50420
50420
|
readonly stateMutability: "pure";
|
|
50421
50421
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50422
|
-
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 [{
|
|
50423
50423
|
readonly type: "function";
|
|
50424
50424
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50425
50425
|
readonly inputs: readonly [{
|
|
@@ -51040,7 +51040,7 @@ declare const useLens: () => {
|
|
|
51040
51040
|
}];
|
|
51041
51041
|
readonly stateMutability: "pure";
|
|
51042
51042
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51043
|
-
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 [{
|
|
51044
51044
|
readonly type: "function";
|
|
51045
51045
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51046
51046
|
readonly inputs: readonly [{
|
|
@@ -51661,7 +51661,7 @@ declare const useLens: () => {
|
|
|
51661
51661
|
}];
|
|
51662
51662
|
readonly stateMutability: "pure";
|
|
51663
51663
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51664
|
-
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 [{
|
|
51665
51665
|
readonly type: "function";
|
|
51666
51666
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51667
51667
|
readonly inputs: readonly [{
|
|
@@ -52282,7 +52282,7 @@ declare const useLens: () => {
|
|
|
52282
52282
|
}];
|
|
52283
52283
|
readonly stateMutability: "pure";
|
|
52284
52284
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52285
|
-
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 [{
|
|
52286
52286
|
readonly type: "function";
|
|
52287
52287
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52288
52288
|
readonly inputs: readonly [{
|
|
@@ -52903,7 +52903,7 @@ declare const useLens: () => {
|
|
|
52903
52903
|
}];
|
|
52904
52904
|
readonly stateMutability: "pure";
|
|
52905
52905
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52906
|
-
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 [{
|
|
52907
52907
|
readonly type: "function";
|
|
52908
52908
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52909
52909
|
readonly inputs: readonly [{
|
|
@@ -53524,7 +53524,7 @@ declare const useLens: () => {
|
|
|
53524
53524
|
}];
|
|
53525
53525
|
readonly stateMutability: "pure";
|
|
53526
53526
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53527
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
53527
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
53528
53528
|
readonly type: "function";
|
|
53529
53529
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53530
53530
|
readonly inputs: readonly [{
|
|
@@ -54145,7 +54145,7 @@ declare const useLens: () => {
|
|
|
54145
54145
|
}];
|
|
54146
54146
|
readonly stateMutability: "pure";
|
|
54147
54147
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
54148
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
54148
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
54149
54149
|
readonly type: "function";
|
|
54150
54150
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54151
54151
|
readonly inputs: readonly [{
|
|
@@ -54766,7 +54766,7 @@ declare const useLens: () => {
|
|
|
54766
54766
|
}];
|
|
54767
54767
|
readonly stateMutability: "pure";
|
|
54768
54768
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54769
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
54769
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
54770
54770
|
readonly type: "function";
|
|
54771
54771
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54772
54772
|
readonly inputs: readonly [{
|
|
@@ -55387,7 +55387,7 @@ declare const useLens: () => {
|
|
|
55387
55387
|
}];
|
|
55388
55388
|
readonly stateMutability: "pure";
|
|
55389
55389
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55390
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
55390
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
55391
55391
|
readonly type: "function";
|
|
55392
55392
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55393
55393
|
readonly inputs: readonly [{
|
|
@@ -56008,7 +56008,7 @@ declare const useLens: () => {
|
|
|
56008
56008
|
}];
|
|
56009
56009
|
readonly stateMutability: "pure";
|
|
56010
56010
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
56011
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
56011
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
56012
56012
|
readonly type: "function";
|
|
56013
56013
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56014
56014
|
readonly inputs: readonly [{
|
|
@@ -56629,7 +56629,7 @@ declare const useLens: () => {
|
|
|
56629
56629
|
}];
|
|
56630
56630
|
readonly stateMutability: "pure";
|
|
56631
56631
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
56632
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
56632
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
56633
56633
|
readonly type: "function";
|
|
56634
56634
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56635
56635
|
readonly inputs: readonly [{
|
|
@@ -57250,7 +57250,7 @@ declare const useLens: () => {
|
|
|
57250
57250
|
}];
|
|
57251
57251
|
readonly stateMutability: "pure";
|
|
57252
57252
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
57253
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
57253
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
57254
57254
|
readonly type: "function";
|
|
57255
57255
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57256
57256
|
readonly inputs: readonly [{
|
|
@@ -57871,7 +57871,7 @@ declare const useLens: () => {
|
|
|
57871
57871
|
}];
|
|
57872
57872
|
readonly stateMutability: "pure";
|
|
57873
57873
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
57874
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
57874
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
57875
57875
|
readonly type: "function";
|
|
57876
57876
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57877
57877
|
readonly inputs: readonly [{
|
|
@@ -58492,7 +58492,7 @@ declare const useLens: () => {
|
|
|
58492
58492
|
}];
|
|
58493
58493
|
readonly stateMutability: "pure";
|
|
58494
58494
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58495
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
58495
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
58496
58496
|
readonly type: "function";
|
|
58497
58497
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58498
58498
|
readonly inputs: readonly [{
|
|
@@ -59113,7 +59113,7 @@ declare const useLens: () => {
|
|
|
59113
59113
|
}];
|
|
59114
59114
|
readonly stateMutability: "pure";
|
|
59115
59115
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59116
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
59116
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
59117
59117
|
readonly type: "function";
|
|
59118
59118
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59119
59119
|
readonly inputs: readonly [{
|
|
@@ -59734,7 +59734,7 @@ declare const useLens: () => {
|
|
|
59734
59734
|
}];
|
|
59735
59735
|
readonly stateMutability: "pure";
|
|
59736
59736
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59737
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
59737
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
59738
59738
|
readonly type: "function";
|
|
59739
59739
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59740
59740
|
readonly inputs: readonly [{
|
|
@@ -60355,7 +60355,7 @@ declare const useLens: () => {
|
|
|
60355
60355
|
}];
|
|
60356
60356
|
readonly stateMutability: "pure";
|
|
60357
60357
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60358
|
-
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 [{
|
|
60359
60359
|
readonly type: "function";
|
|
60360
60360
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60361
60361
|
readonly inputs: readonly [{
|
|
@@ -60976,7 +60976,7 @@ declare const useLens: () => {
|
|
|
60976
60976
|
}];
|
|
60977
60977
|
readonly stateMutability: "pure";
|
|
60978
60978
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60979
|
-
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 [{
|
|
60980
60980
|
readonly type: "function";
|
|
60981
60981
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60982
60982
|
readonly inputs: readonly [{
|
|
@@ -61597,7 +61597,7 @@ declare const useLens: () => {
|
|
|
61597
61597
|
}];
|
|
61598
61598
|
readonly stateMutability: "pure";
|
|
61599
61599
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
61600
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
61600
|
+
getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
61601
61601
|
readonly type: "function";
|
|
61602
61602
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
61603
61603
|
readonly inputs: readonly [{
|
|
@@ -62854,4 +62854,4 @@ declare const useApproval: () => {
|
|
|
62854
62854
|
};
|
|
62855
62855
|
//#endregion
|
|
62856
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-
|
|
62857
|
+
//# sourceMappingURL=client-BbT_pl5p.d.ts.map
|