timelock-sdk 0.0.136 → 0.0.137
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/abis.cjs +1 -1
- package/dist/abis.d.cts +1 -1
- package/dist/abis.d.ts +1 -1
- package/dist/abis.js +1 -1
- package/dist/{client-D4EJlSs_.d.ts → client-C64SeTLH.d.cts} +523 -385
- package/dist/{client-B7kKAk49.d.cts → client-Dsczyw8I.d.ts} +523 -385
- package/dist/client.cjs +2 -2
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +2 -2
- package/dist/{optionUtils-B0rlRtfb.js → optionUtils-Bd1IcFT8.js} +2 -2
- package/dist/{optionUtils-B0rlRtfb.js.map → optionUtils-Bd1IcFT8.js.map} +1 -1
- package/dist/{optionUtils-pH0o9gTm.cjs → optionUtils-DDpDZ7BO.cjs} +2 -2
- package/dist/{optionUtils-pH0o9gTm.cjs.map → optionUtils-DDpDZ7BO.cjs.map} +1 -1
- package/dist/{optionsMarket-CjlRzn2K.js → optionsMarket-DpvbjVFL.js} +6 -1
- package/dist/optionsMarket-DpvbjVFL.js.map +1 -0
- package/dist/{optionsMarket-iZiYJCuW.cjs → optionsMarket-ohPoVcdm.cjs} +6 -1
- package/dist/optionsMarket-ohPoVcdm.cjs.map +1 -0
- package/dist/package.cjs +2 -2
- package/dist/package.d.cts +2 -2
- package/dist/package.d.ts +2 -2
- package/dist/package.js +2 -2
- package/dist/{uniswapMathLens-DAI2a8aU.d.ts → uniswapMathLens-29cU_Tnv.d.ts} +5 -1
- package/dist/{uniswapMathLens-B0xWynAN.d.cts → uniswapMathLens-X6H7QwrK.d.cts} +5 -1
- package/package.json +1 -1
- package/dist/optionsMarket-CjlRzn2K.js.map +0 -1
- package/dist/optionsMarket-iZiYJCuW.cjs.map +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-
|
|
2
|
-
import * as
|
|
1
|
+
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-X6H7QwrK.cjs";
|
|
2
|
+
import * as viem184 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
|
-
import Big from "big.js";
|
|
5
|
-
import JSBI from "jsbi";
|
|
6
4
|
import React, { ReactNode } from "react";
|
|
5
|
+
import "graphql";
|
|
7
6
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
8
7
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
9
8
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
10
|
-
import "
|
|
11
|
-
import
|
|
9
|
+
import * as _tanstack_query_core77 from "@tanstack/query-core";
|
|
10
|
+
import Big from "big.js";
|
|
11
|
+
import JSBI from "jsbi";
|
|
12
12
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
13
13
|
|
|
14
14
|
//#region src/generated/graphql.d.ts
|
|
@@ -241,7 +241,7 @@ type TimelockMarketData = Awaited<ReturnType<TimelockLens['read']['getMarketData
|
|
|
241
241
|
};
|
|
242
242
|
declare const getErc20: (address: Address, client: Client) => {
|
|
243
243
|
read: {
|
|
244
|
-
symbol: (options?:
|
|
244
|
+
symbol: (options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
245
245
|
readonly type: "constructor";
|
|
246
246
|
readonly inputs: readonly [{
|
|
247
247
|
readonly name: "name_";
|
|
@@ -420,7 +420,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
420
420
|
}];
|
|
421
421
|
readonly stateMutability: "nonpayable";
|
|
422
422
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
423
|
-
|
|
423
|
+
decimals: (options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
424
424
|
readonly type: "constructor";
|
|
425
425
|
readonly inputs: readonly [{
|
|
426
426
|
readonly name: "name_";
|
|
@@ -598,8 +598,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
598
598
|
readonly internalType: "bool";
|
|
599
599
|
}];
|
|
600
600
|
readonly stateMutability: "nonpayable";
|
|
601
|
-
}], "
|
|
602
|
-
|
|
601
|
+
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
602
|
+
name: (options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
603
603
|
readonly type: "constructor";
|
|
604
604
|
readonly inputs: readonly [{
|
|
605
605
|
readonly name: "name_";
|
|
@@ -777,8 +777,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
777
777
|
readonly internalType: "bool";
|
|
778
778
|
}];
|
|
779
779
|
readonly stateMutability: "nonpayable";
|
|
780
|
-
}], "
|
|
781
|
-
|
|
780
|
+
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
781
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
782
782
|
readonly type: "constructor";
|
|
783
783
|
readonly inputs: readonly [{
|
|
784
784
|
readonly name: "name_";
|
|
@@ -956,8 +956,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
956
956
|
readonly internalType: "bool";
|
|
957
957
|
}];
|
|
958
958
|
readonly stateMutability: "nonpayable";
|
|
959
|
-
}], "
|
|
960
|
-
|
|
959
|
+
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
960
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
961
961
|
readonly type: "constructor";
|
|
962
962
|
readonly inputs: readonly [{
|
|
963
963
|
readonly name: "name_";
|
|
@@ -1135,8 +1135,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1135
1135
|
readonly internalType: "bool";
|
|
1136
1136
|
}];
|
|
1137
1137
|
readonly stateMutability: "nonpayable";
|
|
1138
|
-
}], "
|
|
1139
|
-
totalSupply: (options?:
|
|
1138
|
+
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1139
|
+
totalSupply: (options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
1140
1140
|
readonly type: "constructor";
|
|
1141
1141
|
readonly inputs: readonly [{
|
|
1142
1142
|
readonly name: "name_";
|
|
@@ -1317,7 +1317,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1317
1317
|
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1318
1318
|
};
|
|
1319
1319
|
estimateGas: {
|
|
1320
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
1320
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem184.Prettify<viem184.UnionOmit<viem184.EstimateContractGasParameters<readonly [{
|
|
1321
1321
|
readonly type: "constructor";
|
|
1322
1322
|
readonly inputs: readonly [{
|
|
1323
1323
|
readonly name: "name_";
|
|
@@ -1495,8 +1495,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1495
1495
|
readonly internalType: "bool";
|
|
1496
1496
|
}];
|
|
1497
1497
|
readonly stateMutability: "nonpayable";
|
|
1498
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
1499
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1498
|
+
}], "approve", readonly [`0x${string}`, bigint], viem184.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem184.EstimateContractGasReturnType>;
|
|
1499
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem184.Prettify<viem184.UnionOmit<viem184.EstimateContractGasParameters<readonly [{
|
|
1500
1500
|
readonly type: "constructor";
|
|
1501
1501
|
readonly inputs: readonly [{
|
|
1502
1502
|
readonly name: "name_";
|
|
@@ -1674,8 +1674,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1674
1674
|
readonly internalType: "bool";
|
|
1675
1675
|
}];
|
|
1676
1676
|
readonly stateMutability: "nonpayable";
|
|
1677
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
1678
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1677
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem184.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem184.EstimateContractGasReturnType>;
|
|
1678
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem184.Prettify<viem184.UnionOmit<viem184.EstimateContractGasParameters<readonly [{
|
|
1679
1679
|
readonly type: "constructor";
|
|
1680
1680
|
readonly inputs: readonly [{
|
|
1681
1681
|
readonly name: "name_";
|
|
@@ -1853,8 +1853,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1853
1853
|
readonly internalType: "bool";
|
|
1854
1854
|
}];
|
|
1855
1855
|
readonly stateMutability: "nonpayable";
|
|
1856
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
1857
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
1856
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem184.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem184.EstimateContractGasReturnType>;
|
|
1857
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem184.Prettify<viem184.UnionOmit<viem184.EstimateContractGasParameters<readonly [{
|
|
1858
1858
|
readonly type: "constructor";
|
|
1859
1859
|
readonly inputs: readonly [{
|
|
1860
1860
|
readonly name: "name_";
|
|
@@ -2032,8 +2032,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2032
2032
|
readonly internalType: "bool";
|
|
2033
2033
|
}];
|
|
2034
2034
|
readonly stateMutability: "nonpayable";
|
|
2035
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2036
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2035
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem184.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem184.EstimateContractGasReturnType>;
|
|
2036
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem184.Prettify<viem184.UnionOmit<viem184.EstimateContractGasParameters<readonly [{
|
|
2037
2037
|
readonly type: "constructor";
|
|
2038
2038
|
readonly inputs: readonly [{
|
|
2039
2039
|
readonly name: "name_";
|
|
@@ -2211,9 +2211,9 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2211
2211
|
readonly internalType: "bool";
|
|
2212
2212
|
}];
|
|
2213
2213
|
readonly stateMutability: "nonpayable";
|
|
2214
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
2214
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem184.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem184.EstimateContractGasReturnType>;
|
|
2215
2215
|
} & {
|
|
2216
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
2216
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem184.Prettify<viem184.UnionOmit<viem184.EstimateContractGasParameters<readonly [{
|
|
2217
2217
|
readonly type: "constructor";
|
|
2218
2218
|
readonly inputs: readonly [{
|
|
2219
2219
|
readonly name: "name_";
|
|
@@ -2391,8 +2391,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2391
2391
|
readonly internalType: "bool";
|
|
2392
2392
|
}];
|
|
2393
2393
|
readonly stateMutability: "nonpayable";
|
|
2394
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
2395
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2394
|
+
}], "approve", readonly [`0x${string}`, bigint], viem184.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem184.EstimateContractGasReturnType>;
|
|
2395
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem184.Prettify<viem184.UnionOmit<viem184.EstimateContractGasParameters<readonly [{
|
|
2396
2396
|
readonly type: "constructor";
|
|
2397
2397
|
readonly inputs: readonly [{
|
|
2398
2398
|
readonly name: "name_";
|
|
@@ -2570,8 +2570,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2570
2570
|
readonly internalType: "bool";
|
|
2571
2571
|
}];
|
|
2572
2572
|
readonly stateMutability: "nonpayable";
|
|
2573
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
2574
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2573
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem184.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem184.EstimateContractGasReturnType>;
|
|
2574
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem184.Prettify<viem184.UnionOmit<viem184.EstimateContractGasParameters<readonly [{
|
|
2575
2575
|
readonly type: "constructor";
|
|
2576
2576
|
readonly inputs: readonly [{
|
|
2577
2577
|
readonly name: "name_";
|
|
@@ -2749,8 +2749,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2749
2749
|
readonly internalType: "bool";
|
|
2750
2750
|
}];
|
|
2751
2751
|
readonly stateMutability: "nonpayable";
|
|
2752
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
2753
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
2752
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem184.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem184.EstimateContractGasReturnType>;
|
|
2753
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem184.Prettify<viem184.UnionOmit<viem184.EstimateContractGasParameters<readonly [{
|
|
2754
2754
|
readonly type: "constructor";
|
|
2755
2755
|
readonly inputs: readonly [{
|
|
2756
2756
|
readonly name: "name_";
|
|
@@ -2928,8 +2928,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2928
2928
|
readonly internalType: "bool";
|
|
2929
2929
|
}];
|
|
2930
2930
|
readonly stateMutability: "nonpayable";
|
|
2931
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2932
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2931
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem184.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem184.EstimateContractGasReturnType>;
|
|
2932
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem184.Prettify<viem184.UnionOmit<viem184.EstimateContractGasParameters<readonly [{
|
|
2933
2933
|
readonly type: "constructor";
|
|
2934
2934
|
readonly inputs: readonly [{
|
|
2935
2935
|
readonly name: "name_";
|
|
@@ -3107,10 +3107,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3107
3107
|
readonly internalType: "bool";
|
|
3108
3108
|
}];
|
|
3109
3109
|
readonly stateMutability: "nonpayable";
|
|
3110
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
3110
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem184.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem184.EstimateContractGasReturnType>;
|
|
3111
3111
|
};
|
|
3112
3112
|
simulate: {
|
|
3113
|
-
approve: <chainOverride extends
|
|
3113
|
+
approve: <chainOverride extends viem184.Chain | undefined = undefined, accountOverride extends viem184.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem184.SimulateContractParameters<readonly [{
|
|
3114
3114
|
readonly type: "constructor";
|
|
3115
3115
|
readonly inputs: readonly [{
|
|
3116
3116
|
readonly name: "name_";
|
|
@@ -3288,7 +3288,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3288
3288
|
readonly internalType: "bool";
|
|
3289
3289
|
}];
|
|
3290
3290
|
readonly stateMutability: "nonpayable";
|
|
3291
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3291
|
+
}], "approve", readonly [`0x${string}`, bigint], viem184.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem184.SimulateContractReturnType<readonly [{
|
|
3292
3292
|
readonly type: "constructor";
|
|
3293
3293
|
readonly inputs: readonly [{
|
|
3294
3294
|
readonly name: "name_";
|
|
@@ -3466,8 +3466,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3466
3466
|
readonly internalType: "bool";
|
|
3467
3467
|
}];
|
|
3468
3468
|
readonly stateMutability: "nonpayable";
|
|
3469
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3470
|
-
decreaseAllowance: <chainOverride extends
|
|
3469
|
+
}], "approve", readonly [`0x${string}`, bigint], viem184.Chain | undefined, viem184.Account | undefined, chainOverride, accountOverride>>;
|
|
3470
|
+
decreaseAllowance: <chainOverride extends viem184.Chain | undefined = undefined, accountOverride extends viem184.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem184.SimulateContractParameters<readonly [{
|
|
3471
3471
|
readonly type: "constructor";
|
|
3472
3472
|
readonly inputs: readonly [{
|
|
3473
3473
|
readonly name: "name_";
|
|
@@ -3645,7 +3645,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3645
3645
|
readonly internalType: "bool";
|
|
3646
3646
|
}];
|
|
3647
3647
|
readonly stateMutability: "nonpayable";
|
|
3648
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3648
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem184.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem184.SimulateContractReturnType<readonly [{
|
|
3649
3649
|
readonly type: "constructor";
|
|
3650
3650
|
readonly inputs: readonly [{
|
|
3651
3651
|
readonly name: "name_";
|
|
@@ -3823,8 +3823,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3823
3823
|
readonly internalType: "bool";
|
|
3824
3824
|
}];
|
|
3825
3825
|
readonly stateMutability: "nonpayable";
|
|
3826
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3827
|
-
increaseAllowance: <chainOverride extends
|
|
3826
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem184.Chain | undefined, viem184.Account | undefined, chainOverride, accountOverride>>;
|
|
3827
|
+
increaseAllowance: <chainOverride extends viem184.Chain | undefined = undefined, accountOverride extends viem184.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem184.SimulateContractParameters<readonly [{
|
|
3828
3828
|
readonly type: "constructor";
|
|
3829
3829
|
readonly inputs: readonly [{
|
|
3830
3830
|
readonly name: "name_";
|
|
@@ -4002,7 +4002,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4002
4002
|
readonly internalType: "bool";
|
|
4003
4003
|
}];
|
|
4004
4004
|
readonly stateMutability: "nonpayable";
|
|
4005
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
4005
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem184.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem184.SimulateContractReturnType<readonly [{
|
|
4006
4006
|
readonly type: "constructor";
|
|
4007
4007
|
readonly inputs: readonly [{
|
|
4008
4008
|
readonly name: "name_";
|
|
@@ -4180,8 +4180,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4180
4180
|
readonly internalType: "bool";
|
|
4181
4181
|
}];
|
|
4182
4182
|
readonly stateMutability: "nonpayable";
|
|
4183
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
4184
|
-
transfer: <chainOverride extends
|
|
4183
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem184.Chain | undefined, viem184.Account | undefined, chainOverride, accountOverride>>;
|
|
4184
|
+
transfer: <chainOverride extends viem184.Chain | undefined = undefined, accountOverride extends viem184.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem184.SimulateContractParameters<readonly [{
|
|
4185
4185
|
readonly type: "constructor";
|
|
4186
4186
|
readonly inputs: readonly [{
|
|
4187
4187
|
readonly name: "name_";
|
|
@@ -4359,7 +4359,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4359
4359
|
readonly internalType: "bool";
|
|
4360
4360
|
}];
|
|
4361
4361
|
readonly stateMutability: "nonpayable";
|
|
4362
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4362
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem184.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem184.SimulateContractReturnType<readonly [{
|
|
4363
4363
|
readonly type: "constructor";
|
|
4364
4364
|
readonly inputs: readonly [{
|
|
4365
4365
|
readonly name: "name_";
|
|
@@ -4537,8 +4537,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4537
4537
|
readonly internalType: "bool";
|
|
4538
4538
|
}];
|
|
4539
4539
|
readonly stateMutability: "nonpayable";
|
|
4540
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4541
|
-
transferFrom: <chainOverride extends
|
|
4540
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem184.Chain | undefined, viem184.Account | undefined, chainOverride, accountOverride>>;
|
|
4541
|
+
transferFrom: <chainOverride extends viem184.Chain | undefined = undefined, accountOverride extends viem184.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem184.SimulateContractParameters<readonly [{
|
|
4542
4542
|
readonly type: "constructor";
|
|
4543
4543
|
readonly inputs: readonly [{
|
|
4544
4544
|
readonly name: "name_";
|
|
@@ -4716,7 +4716,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4716
4716
|
readonly internalType: "bool";
|
|
4717
4717
|
}];
|
|
4718
4718
|
readonly stateMutability: "nonpayable";
|
|
4719
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4719
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem184.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem184.SimulateContractReturnType<readonly [{
|
|
4720
4720
|
readonly type: "constructor";
|
|
4721
4721
|
readonly inputs: readonly [{
|
|
4722
4722
|
readonly name: "name_";
|
|
@@ -4894,10 +4894,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4894
4894
|
readonly internalType: "bool";
|
|
4895
4895
|
}];
|
|
4896
4896
|
readonly stateMutability: "nonpayable";
|
|
4897
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4897
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem184.Chain | undefined, viem184.Account | undefined, chainOverride, accountOverride>>;
|
|
4898
4898
|
};
|
|
4899
4899
|
write: {
|
|
4900
|
-
approve: <chainOverride extends
|
|
4900
|
+
approve: <chainOverride extends viem184.Chain | undefined, options extends (viem184.UnionOmit<viem184.WriteContractParameters<readonly [{
|
|
4901
4901
|
readonly type: "constructor";
|
|
4902
4902
|
readonly inputs: readonly [{
|
|
4903
4903
|
readonly name: "name_";
|
|
@@ -5075,8 +5075,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5075
5075
|
readonly internalType: "bool";
|
|
5076
5076
|
}];
|
|
5077
5077
|
readonly stateMutability: "nonpayable";
|
|
5078
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
5079
|
-
decreaseAllowance: <chainOverride extends
|
|
5078
|
+
}], "approve", readonly [`0x${string}`, bigint], viem184.Chain | undefined, viem184.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<viem184.WriteContractReturnType>;
|
|
5079
|
+
decreaseAllowance: <chainOverride extends viem184.Chain | undefined, options extends (viem184.UnionOmit<viem184.WriteContractParameters<readonly [{
|
|
5080
5080
|
readonly type: "constructor";
|
|
5081
5081
|
readonly inputs: readonly [{
|
|
5082
5082
|
readonly name: "name_";
|
|
@@ -5254,8 +5254,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5254
5254
|
readonly internalType: "bool";
|
|
5255
5255
|
}];
|
|
5256
5256
|
readonly stateMutability: "nonpayable";
|
|
5257
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
5258
|
-
increaseAllowance: <chainOverride extends
|
|
5257
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem184.Chain | undefined, viem184.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<viem184.WriteContractReturnType>;
|
|
5258
|
+
increaseAllowance: <chainOverride extends viem184.Chain | undefined, options extends (viem184.UnionOmit<viem184.WriteContractParameters<readonly [{
|
|
5259
5259
|
readonly type: "constructor";
|
|
5260
5260
|
readonly inputs: readonly [{
|
|
5261
5261
|
readonly name: "name_";
|
|
@@ -5433,8 +5433,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5433
5433
|
readonly internalType: "bool";
|
|
5434
5434
|
}];
|
|
5435
5435
|
readonly stateMutability: "nonpayable";
|
|
5436
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
5437
|
-
transfer: <chainOverride extends
|
|
5436
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem184.Chain | undefined, viem184.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<viem184.WriteContractReturnType>;
|
|
5437
|
+
transfer: <chainOverride extends viem184.Chain | undefined, options extends (viem184.UnionOmit<viem184.WriteContractParameters<readonly [{
|
|
5438
5438
|
readonly type: "constructor";
|
|
5439
5439
|
readonly inputs: readonly [{
|
|
5440
5440
|
readonly name: "name_";
|
|
@@ -5612,8 +5612,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5612
5612
|
readonly internalType: "bool";
|
|
5613
5613
|
}];
|
|
5614
5614
|
readonly stateMutability: "nonpayable";
|
|
5615
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
5616
|
-
transferFrom: <chainOverride extends
|
|
5615
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem184.Chain | undefined, viem184.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<viem184.WriteContractReturnType>;
|
|
5616
|
+
transferFrom: <chainOverride extends viem184.Chain | undefined, options extends (viem184.UnionOmit<viem184.WriteContractParameters<readonly [{
|
|
5617
5617
|
readonly type: "constructor";
|
|
5618
5618
|
readonly inputs: readonly [{
|
|
5619
5619
|
readonly name: "name_";
|
|
@@ -5791,7 +5791,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5791
5791
|
readonly internalType: "bool";
|
|
5792
5792
|
}];
|
|
5793
5793
|
readonly stateMutability: "nonpayable";
|
|
5794
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
5794
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem184.Chain | undefined, viem184.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<viem184.WriteContractReturnType>;
|
|
5795
5795
|
};
|
|
5796
5796
|
address: `0x${string}`;
|
|
5797
5797
|
abi: readonly [{
|
|
@@ -5977,7 +5977,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5977
5977
|
declare const getTimelockMarket: (address: Address, client: Client) => TimelockMarket;
|
|
5978
5978
|
declare const getStateView: (client: Client | PublicClient) => {
|
|
5979
5979
|
read: {
|
|
5980
|
-
getFeeGrowthGlobals: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
5980
|
+
getFeeGrowthGlobals: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
5981
5981
|
readonly type: "function";
|
|
5982
5982
|
readonly name: "getFeeGrowthGlobals";
|
|
5983
5983
|
readonly inputs: readonly [{
|
|
@@ -6824,7 +6824,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
6824
6824
|
fee: number;
|
|
6825
6825
|
tickSpacing: number;
|
|
6826
6826
|
hooks: `0x${string}`;
|
|
6827
|
-
}], options?:
|
|
6827
|
+
}], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
6828
6828
|
readonly type: "function";
|
|
6829
6829
|
readonly name: "getFeeGrowthGlobals";
|
|
6830
6830
|
readonly inputs: readonly [{
|
|
@@ -7666,7 +7666,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
7666
7666
|
tickSpacing: number;
|
|
7667
7667
|
hooks: `0x${string}`;
|
|
7668
7668
|
}]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
7669
|
-
getFeeGrowthInside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number, number], options?:
|
|
7669
|
+
getFeeGrowthInside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
7670
7670
|
readonly type: "function";
|
|
7671
7671
|
readonly name: "getFeeGrowthGlobals";
|
|
7672
7672
|
readonly inputs: readonly [{
|
|
@@ -8513,7 +8513,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
8513
8513
|
fee: number;
|
|
8514
8514
|
tickSpacing: number;
|
|
8515
8515
|
hooks: `0x${string}`;
|
|
8516
|
-
}, number, number], options?:
|
|
8516
|
+
}, number, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
8517
8517
|
readonly type: "function";
|
|
8518
8518
|
readonly name: "getFeeGrowthGlobals";
|
|
8519
8519
|
readonly inputs: readonly [{
|
|
@@ -9355,7 +9355,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
9355
9355
|
tickSpacing: number;
|
|
9356
9356
|
hooks: `0x${string}`;
|
|
9357
9357
|
}, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
9358
|
-
getLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
9358
|
+
getLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
9359
9359
|
readonly type: "function";
|
|
9360
9360
|
readonly name: "getFeeGrowthGlobals";
|
|
9361
9361
|
readonly inputs: readonly [{
|
|
@@ -10202,7 +10202,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
10202
10202
|
fee: number;
|
|
10203
10203
|
tickSpacing: number;
|
|
10204
10204
|
hooks: `0x${string}`;
|
|
10205
|
-
}], options?:
|
|
10205
|
+
}], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
10206
10206
|
readonly type: "function";
|
|
10207
10207
|
readonly name: "getFeeGrowthGlobals";
|
|
10208
10208
|
readonly inputs: readonly [{
|
|
@@ -11044,7 +11044,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
11044
11044
|
tickSpacing: number;
|
|
11045
11045
|
hooks: `0x${string}`;
|
|
11046
11046
|
}]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
11047
|
-
getPositionInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?:
|
|
11047
|
+
getPositionInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
11048
11048
|
readonly type: "function";
|
|
11049
11049
|
readonly name: "getFeeGrowthGlobals";
|
|
11050
11050
|
readonly inputs: readonly [{
|
|
@@ -11891,7 +11891,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
11891
11891
|
fee: number;
|
|
11892
11892
|
tickSpacing: number;
|
|
11893
11893
|
hooks: `0x${string}`;
|
|
11894
|
-
}, `0x${string}`, number, number, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, number, number, `0x${string}`], options?:
|
|
11894
|
+
}, `0x${string}`, number, number, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, number, number, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
11895
11895
|
readonly type: "function";
|
|
11896
11896
|
readonly name: "getFeeGrowthGlobals";
|
|
11897
11897
|
readonly inputs: readonly [{
|
|
@@ -12744,7 +12744,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
12744
12744
|
fee: number;
|
|
12745
12745
|
tickSpacing: number;
|
|
12746
12746
|
hooks: `0x${string}`;
|
|
12747
|
-
}, `0x${string}`], options?:
|
|
12747
|
+
}, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
12748
12748
|
readonly type: "function";
|
|
12749
12749
|
readonly name: "getFeeGrowthGlobals";
|
|
12750
12750
|
readonly inputs: readonly [{
|
|
@@ -13597,7 +13597,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
13597
13597
|
fee: number;
|
|
13598
13598
|
tickSpacing: number;
|
|
13599
13599
|
hooks: `0x${string}`;
|
|
13600
|
-
}, `0x${string}`, number, number, `0x${string}`], options?:
|
|
13600
|
+
}, `0x${string}`, number, number, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
13601
13601
|
readonly type: "function";
|
|
13602
13602
|
readonly name: "getFeeGrowthGlobals";
|
|
13603
13603
|
readonly inputs: readonly [{
|
|
@@ -14445,7 +14445,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
14445
14445
|
tickSpacing: number;
|
|
14446
14446
|
hooks: `0x${string}`;
|
|
14447
14447
|
}, `0x${string}`, number, number, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
14448
|
-
getPositionLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?:
|
|
14448
|
+
getPositionLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
14449
14449
|
readonly type: "function";
|
|
14450
14450
|
readonly name: "getFeeGrowthGlobals";
|
|
14451
14451
|
readonly inputs: readonly [{
|
|
@@ -15292,7 +15292,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
15292
15292
|
fee: number;
|
|
15293
15293
|
tickSpacing: number;
|
|
15294
15294
|
hooks: `0x${string}`;
|
|
15295
|
-
}, `0x${string}`], options?:
|
|
15295
|
+
}, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
15296
15296
|
readonly type: "function";
|
|
15297
15297
|
readonly name: "getFeeGrowthGlobals";
|
|
15298
15298
|
readonly inputs: readonly [{
|
|
@@ -16134,7 +16134,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
16134
16134
|
tickSpacing: number;
|
|
16135
16135
|
hooks: `0x${string}`;
|
|
16136
16136
|
}, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
16137
|
-
getSlot0: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
16137
|
+
getSlot0: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
16138
16138
|
readonly type: "function";
|
|
16139
16139
|
readonly name: "getFeeGrowthGlobals";
|
|
16140
16140
|
readonly inputs: readonly [{
|
|
@@ -16969,19 +16969,19 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
16969
16969
|
readonly internalType: "int128";
|
|
16970
16970
|
}];
|
|
16971
16971
|
readonly stateMutability: "view";
|
|
16972
|
-
}], "getSlot0", readonly [`0x${string}`, {
|
|
16972
|
+
}], "getSlot0", readonly [`0x${string}`, `0x${string}`] | readonly [`0x${string}`, {
|
|
16973
16973
|
currency0: `0x${string}`;
|
|
16974
16974
|
currency1: `0x${string}`;
|
|
16975
16975
|
fee: number;
|
|
16976
16976
|
tickSpacing: number;
|
|
16977
16977
|
hooks: `0x${string}`;
|
|
16978
|
-
}]
|
|
16978
|
+
}]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, {
|
|
16979
16979
|
currency0: `0x${string}`;
|
|
16980
16980
|
currency1: `0x${string}`;
|
|
16981
16981
|
fee: number;
|
|
16982
16982
|
tickSpacing: number;
|
|
16983
16983
|
hooks: `0x${string}`;
|
|
16984
|
-
}], options?:
|
|
16984
|
+
}], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
16985
16985
|
readonly type: "function";
|
|
16986
16986
|
readonly name: "getFeeGrowthGlobals";
|
|
16987
16987
|
readonly inputs: readonly [{
|
|
@@ -17816,14 +17816,14 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
17816
17816
|
readonly internalType: "int128";
|
|
17817
17817
|
}];
|
|
17818
17818
|
readonly stateMutability: "view";
|
|
17819
|
-
}], "getSlot0", readonly [`0x${string}`, {
|
|
17819
|
+
}], "getSlot0", readonly [`0x${string}`, `0x${string}`] | readonly [`0x${string}`, {
|
|
17820
17820
|
currency0: `0x${string}`;
|
|
17821
17821
|
currency1: `0x${string}`;
|
|
17822
17822
|
fee: number;
|
|
17823
17823
|
tickSpacing: number;
|
|
17824
17824
|
hooks: `0x${string}`;
|
|
17825
|
-
}]
|
|
17826
|
-
getTickBitmap: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
17825
|
+
}]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
17826
|
+
getTickBitmap: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
17827
17827
|
readonly type: "function";
|
|
17828
17828
|
readonly name: "getFeeGrowthGlobals";
|
|
17829
17829
|
readonly inputs: readonly [{
|
|
@@ -18670,7 +18670,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
18670
18670
|
fee: number;
|
|
18671
18671
|
tickSpacing: number;
|
|
18672
18672
|
hooks: `0x${string}`;
|
|
18673
|
-
}, number], options?:
|
|
18673
|
+
}, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
18674
18674
|
readonly type: "function";
|
|
18675
18675
|
readonly name: "getFeeGrowthGlobals";
|
|
18676
18676
|
readonly inputs: readonly [{
|
|
@@ -19512,7 +19512,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
19512
19512
|
tickSpacing: number;
|
|
19513
19513
|
hooks: `0x${string}`;
|
|
19514
19514
|
}, number] | readonly [`0x${string}`, `0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
19515
|
-
getTickFeeGrowthOutside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
19515
|
+
getTickFeeGrowthOutside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
19516
19516
|
readonly type: "function";
|
|
19517
19517
|
readonly name: "getFeeGrowthGlobals";
|
|
19518
19518
|
readonly inputs: readonly [{
|
|
@@ -20359,7 +20359,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
20359
20359
|
fee: number;
|
|
20360
20360
|
tickSpacing: number;
|
|
20361
20361
|
hooks: `0x${string}`;
|
|
20362
|
-
}, number], options?:
|
|
20362
|
+
}, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
20363
20363
|
readonly type: "function";
|
|
20364
20364
|
readonly name: "getFeeGrowthGlobals";
|
|
20365
20365
|
readonly inputs: readonly [{
|
|
@@ -21201,7 +21201,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
21201
21201
|
tickSpacing: number;
|
|
21202
21202
|
hooks: `0x${string}`;
|
|
21203
21203
|
}, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
21204
|
-
getTickInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
21204
|
+
getTickInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
21205
21205
|
readonly type: "function";
|
|
21206
21206
|
readonly name: "getFeeGrowthGlobals";
|
|
21207
21207
|
readonly inputs: readonly [{
|
|
@@ -22048,7 +22048,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
22048
22048
|
fee: number;
|
|
22049
22049
|
tickSpacing: number;
|
|
22050
22050
|
hooks: `0x${string}`;
|
|
22051
|
-
}, number], options?:
|
|
22051
|
+
}, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
22052
22052
|
readonly type: "function";
|
|
22053
22053
|
readonly name: "getFeeGrowthGlobals";
|
|
22054
22054
|
readonly inputs: readonly [{
|
|
@@ -22890,7 +22890,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
22890
22890
|
tickSpacing: number;
|
|
22891
22891
|
hooks: `0x${string}`;
|
|
22892
22892
|
}, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
22893
|
-
getTickLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
22893
|
+
getTickLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
22894
22894
|
readonly type: "function";
|
|
22895
22895
|
readonly name: "getFeeGrowthGlobals";
|
|
22896
22896
|
readonly inputs: readonly [{
|
|
@@ -23737,7 +23737,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
23737
23737
|
fee: number;
|
|
23738
23738
|
tickSpacing: number;
|
|
23739
23739
|
hooks: `0x${string}`;
|
|
23740
|
-
}, number], options?:
|
|
23740
|
+
}, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
23741
23741
|
readonly type: "function";
|
|
23742
23742
|
readonly name: "getFeeGrowthGlobals";
|
|
23743
23743
|
readonly inputs: readonly [{
|
|
@@ -25420,7 +25420,7 @@ declare const getStateView: (client: Client | PublicClient) => {
|
|
|
25420
25420
|
};
|
|
25421
25421
|
declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
25422
25422
|
read: {
|
|
25423
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
25423
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
25424
25424
|
readonly type: "function";
|
|
25425
25425
|
readonly name: "batchGetRefTick";
|
|
25426
25426
|
readonly inputs: readonly [{
|
|
@@ -25598,6 +25598,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25598
25598
|
readonly name: "vault";
|
|
25599
25599
|
readonly type: "address";
|
|
25600
25600
|
readonly internalType: "contract ITimelockVault";
|
|
25601
|
+
}, {
|
|
25602
|
+
readonly name: "poolManager";
|
|
25603
|
+
readonly type: "address";
|
|
25604
|
+
readonly internalType: "contract IPoolManager";
|
|
25601
25605
|
}, {
|
|
25602
25606
|
readonly name: "poolKey";
|
|
25603
25607
|
readonly type: "tuple";
|
|
@@ -26117,7 +26121,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26117
26121
|
}];
|
|
26118
26122
|
readonly stateMutability: "view";
|
|
26119
26123
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
26120
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
26124
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
26121
26125
|
readonly type: "function";
|
|
26122
26126
|
readonly name: "batchGetRefTick";
|
|
26123
26127
|
readonly inputs: readonly [{
|
|
@@ -26295,6 +26299,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26295
26299
|
readonly name: "vault";
|
|
26296
26300
|
readonly type: "address";
|
|
26297
26301
|
readonly internalType: "contract ITimelockVault";
|
|
26302
|
+
}, {
|
|
26303
|
+
readonly name: "poolManager";
|
|
26304
|
+
readonly type: "address";
|
|
26305
|
+
readonly internalType: "contract IPoolManager";
|
|
26298
26306
|
}, {
|
|
26299
26307
|
readonly name: "poolKey";
|
|
26300
26308
|
readonly type: "tuple";
|
|
@@ -26824,7 +26832,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26824
26832
|
borrowedAmount0: bigint;
|
|
26825
26833
|
borrowedAmount1: bigint;
|
|
26826
26834
|
}[]>;
|
|
26827
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
26835
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
26828
26836
|
readonly type: "function";
|
|
26829
26837
|
readonly name: "batchGetRefTick";
|
|
26830
26838
|
readonly inputs: readonly [{
|
|
@@ -27002,6 +27010,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27002
27010
|
readonly name: "vault";
|
|
27003
27011
|
readonly type: "address";
|
|
27004
27012
|
readonly internalType: "contract ITimelockVault";
|
|
27013
|
+
}, {
|
|
27014
|
+
readonly name: "poolManager";
|
|
27015
|
+
readonly type: "address";
|
|
27016
|
+
readonly internalType: "contract IPoolManager";
|
|
27005
27017
|
}, {
|
|
27006
27018
|
readonly name: "poolKey";
|
|
27007
27019
|
readonly type: "tuple";
|
|
@@ -27531,7 +27543,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27531
27543
|
expiresAt: number;
|
|
27532
27544
|
liquidities: readonly bigint[];
|
|
27533
27545
|
}[], bigint, boolean]>;
|
|
27534
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
27546
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
27535
27547
|
readonly type: "function";
|
|
27536
27548
|
readonly name: "batchGetRefTick";
|
|
27537
27549
|
readonly inputs: readonly [{
|
|
@@ -27709,6 +27721,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27709
27721
|
readonly name: "vault";
|
|
27710
27722
|
readonly type: "address";
|
|
27711
27723
|
readonly internalType: "contract ITimelockVault";
|
|
27724
|
+
}, {
|
|
27725
|
+
readonly name: "poolManager";
|
|
27726
|
+
readonly type: "address";
|
|
27727
|
+
readonly internalType: "contract IPoolManager";
|
|
27712
27728
|
}, {
|
|
27713
27729
|
readonly name: "poolKey";
|
|
27714
27730
|
readonly type: "tuple";
|
|
@@ -28228,7 +28244,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28228
28244
|
}];
|
|
28229
28245
|
readonly stateMutability: "view";
|
|
28230
28246
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
28231
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
28247
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
28232
28248
|
readonly type: "function";
|
|
28233
28249
|
readonly name: "batchGetRefTick";
|
|
28234
28250
|
readonly inputs: readonly [{
|
|
@@ -28406,6 +28422,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28406
28422
|
readonly name: "vault";
|
|
28407
28423
|
readonly type: "address";
|
|
28408
28424
|
readonly internalType: "contract ITimelockVault";
|
|
28425
|
+
}, {
|
|
28426
|
+
readonly name: "poolManager";
|
|
28427
|
+
readonly type: "address";
|
|
28428
|
+
readonly internalType: "contract IPoolManager";
|
|
28409
28429
|
}, {
|
|
28410
28430
|
readonly name: "poolKey";
|
|
28411
28431
|
readonly type: "tuple";
|
|
@@ -28927,6 +28947,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28927
28947
|
}], "getMarketData", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<{
|
|
28928
28948
|
optionAssetIsToken0: boolean;
|
|
28929
28949
|
vault: `0x${string}`;
|
|
28950
|
+
poolManager: `0x${string}`;
|
|
28930
28951
|
poolKey: {
|
|
28931
28952
|
currency0: `0x${string}`;
|
|
28932
28953
|
currency1: `0x${string}`;
|
|
@@ -28944,7 +28965,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28944
28965
|
payoutAssetName: string;
|
|
28945
28966
|
optionsCount: bigint;
|
|
28946
28967
|
}>;
|
|
28947
|
-
getMaxATMSizes: (args: readonly [`0x${string}`, number], options?:
|
|
28968
|
+
getMaxATMSizes: (args: readonly [`0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
28948
28969
|
readonly type: "function";
|
|
28949
28970
|
readonly name: "batchGetRefTick";
|
|
28950
28971
|
readonly inputs: readonly [{
|
|
@@ -29122,6 +29143,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29122
29143
|
readonly name: "vault";
|
|
29123
29144
|
readonly type: "address";
|
|
29124
29145
|
readonly internalType: "contract ITimelockVault";
|
|
29146
|
+
}, {
|
|
29147
|
+
readonly name: "poolManager";
|
|
29148
|
+
readonly type: "address";
|
|
29149
|
+
readonly internalType: "contract IPoolManager";
|
|
29125
29150
|
}, {
|
|
29126
29151
|
readonly name: "poolKey";
|
|
29127
29152
|
readonly type: "tuple";
|
|
@@ -29641,7 +29666,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29641
29666
|
}];
|
|
29642
29667
|
readonly stateMutability: "view";
|
|
29643
29668
|
}], "getMaxATMSizes", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
29644
|
-
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?:
|
|
29669
|
+
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
29645
29670
|
readonly type: "function";
|
|
29646
29671
|
readonly name: "batchGetRefTick";
|
|
29647
29672
|
readonly inputs: readonly [{
|
|
@@ -29819,6 +29844,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29819
29844
|
readonly name: "vault";
|
|
29820
29845
|
readonly type: "address";
|
|
29821
29846
|
readonly internalType: "contract ITimelockVault";
|
|
29847
|
+
}, {
|
|
29848
|
+
readonly name: "poolManager";
|
|
29849
|
+
readonly type: "address";
|
|
29850
|
+
readonly internalType: "contract IPoolManager";
|
|
29822
29851
|
}, {
|
|
29823
29852
|
readonly name: "poolKey";
|
|
29824
29853
|
readonly type: "tuple";
|
|
@@ -30338,7 +30367,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30338
30367
|
}];
|
|
30339
30368
|
readonly stateMutability: "view";
|
|
30340
30369
|
}], "getMaxBorrowable0", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
30341
|
-
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?:
|
|
30370
|
+
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
30342
30371
|
readonly type: "function";
|
|
30343
30372
|
readonly name: "batchGetRefTick";
|
|
30344
30373
|
readonly inputs: readonly [{
|
|
@@ -30516,6 +30545,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30516
30545
|
readonly name: "vault";
|
|
30517
30546
|
readonly type: "address";
|
|
30518
30547
|
readonly internalType: "contract ITimelockVault";
|
|
30548
|
+
}, {
|
|
30549
|
+
readonly name: "poolManager";
|
|
30550
|
+
readonly type: "address";
|
|
30551
|
+
readonly internalType: "contract IPoolManager";
|
|
30519
30552
|
}, {
|
|
30520
30553
|
readonly name: "poolKey";
|
|
30521
30554
|
readonly type: "tuple";
|
|
@@ -31035,7 +31068,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
31035
31068
|
}];
|
|
31036
31069
|
readonly stateMutability: "view";
|
|
31037
31070
|
}], "getMaxBorrowable1", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
31038
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
31071
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
31039
31072
|
readonly type: "function";
|
|
31040
31073
|
readonly name: "batchGetRefTick";
|
|
31041
31074
|
readonly inputs: readonly [{
|
|
@@ -31213,6 +31246,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
31213
31246
|
readonly name: "vault";
|
|
31214
31247
|
readonly type: "address";
|
|
31215
31248
|
readonly internalType: "contract ITimelockVault";
|
|
31249
|
+
}, {
|
|
31250
|
+
readonly name: "poolManager";
|
|
31251
|
+
readonly type: "address";
|
|
31252
|
+
readonly internalType: "contract IPoolManager";
|
|
31216
31253
|
}, {
|
|
31217
31254
|
readonly name: "poolKey";
|
|
31218
31255
|
readonly type: "tuple";
|
|
@@ -31742,7 +31779,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
31742
31779
|
expiresAt: number;
|
|
31743
31780
|
liquidities: readonly bigint[];
|
|
31744
31781
|
}>;
|
|
31745
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
31782
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
31746
31783
|
readonly type: "function";
|
|
31747
31784
|
readonly name: "batchGetRefTick";
|
|
31748
31785
|
readonly inputs: readonly [{
|
|
@@ -31920,6 +31957,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
31920
31957
|
readonly name: "vault";
|
|
31921
31958
|
readonly type: "address";
|
|
31922
31959
|
readonly internalType: "contract ITimelockVault";
|
|
31960
|
+
}, {
|
|
31961
|
+
readonly name: "poolManager";
|
|
31962
|
+
readonly type: "address";
|
|
31963
|
+
readonly internalType: "contract IPoolManager";
|
|
31923
31964
|
}, {
|
|
31924
31965
|
readonly name: "poolKey";
|
|
31925
31966
|
readonly type: "tuple";
|
|
@@ -32455,7 +32496,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
32455
32496
|
fee: number;
|
|
32456
32497
|
tickSpacing: number;
|
|
32457
32498
|
hooks: `0x${string}`;
|
|
32458
|
-
}], options?:
|
|
32499
|
+
}], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
32459
32500
|
readonly type: "function";
|
|
32460
32501
|
readonly name: "batchGetRefTick";
|
|
32461
32502
|
readonly inputs: readonly [{
|
|
@@ -32633,6 +32674,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
32633
32674
|
readonly name: "vault";
|
|
32634
32675
|
readonly type: "address";
|
|
32635
32676
|
readonly internalType: "contract ITimelockVault";
|
|
32677
|
+
}, {
|
|
32678
|
+
readonly name: "poolManager";
|
|
32679
|
+
readonly type: "address";
|
|
32680
|
+
readonly internalType: "contract IPoolManager";
|
|
32636
32681
|
}, {
|
|
32637
32682
|
readonly name: "poolKey";
|
|
32638
32683
|
readonly type: "tuple";
|
|
@@ -33169,7 +33214,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
33169
33214
|
tickSpacing: number;
|
|
33170
33215
|
fee: number;
|
|
33171
33216
|
}>;
|
|
33172
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
33217
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
33173
33218
|
readonly type: "function";
|
|
33174
33219
|
readonly name: "batchGetRefTick";
|
|
33175
33220
|
readonly inputs: readonly [{
|
|
@@ -33347,6 +33392,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
33347
33392
|
readonly name: "vault";
|
|
33348
33393
|
readonly type: "address";
|
|
33349
33394
|
readonly internalType: "contract ITimelockVault";
|
|
33395
|
+
}, {
|
|
33396
|
+
readonly name: "poolManager";
|
|
33397
|
+
readonly type: "address";
|
|
33398
|
+
readonly internalType: "contract IPoolManager";
|
|
33350
33399
|
}, {
|
|
33351
33400
|
readonly name: "poolKey";
|
|
33352
33401
|
readonly type: "tuple";
|
|
@@ -33866,7 +33915,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
33866
33915
|
}];
|
|
33867
33916
|
readonly stateMutability: "view";
|
|
33868
33917
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
33869
|
-
getTokenData: (args: readonly [`0x${string}`], options?:
|
|
33918
|
+
getTokenData: (args: readonly [`0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
33870
33919
|
readonly type: "function";
|
|
33871
33920
|
readonly name: "batchGetRefTick";
|
|
33872
33921
|
readonly inputs: readonly [{
|
|
@@ -34044,6 +34093,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
34044
34093
|
readonly name: "vault";
|
|
34045
34094
|
readonly type: "address";
|
|
34046
34095
|
readonly internalType: "contract ITimelockVault";
|
|
34096
|
+
}, {
|
|
34097
|
+
readonly name: "poolManager";
|
|
34098
|
+
readonly type: "address";
|
|
34099
|
+
readonly internalType: "contract IPoolManager";
|
|
34047
34100
|
}, {
|
|
34048
34101
|
readonly name: "poolKey";
|
|
34049
34102
|
readonly type: "tuple";
|
|
@@ -34567,7 +34620,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
34567
34620
|
symbol: string;
|
|
34568
34621
|
name: string;
|
|
34569
34622
|
}>;
|
|
34570
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
34623
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
34571
34624
|
readonly type: "function";
|
|
34572
34625
|
readonly name: "batchGetRefTick";
|
|
34573
34626
|
readonly inputs: readonly [{
|
|
@@ -34745,6 +34798,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
34745
34798
|
readonly name: "vault";
|
|
34746
34799
|
readonly type: "address";
|
|
34747
34800
|
readonly internalType: "contract ITimelockVault";
|
|
34801
|
+
}, {
|
|
34802
|
+
readonly name: "poolManager";
|
|
34803
|
+
readonly type: "address";
|
|
34804
|
+
readonly internalType: "contract IPoolManager";
|
|
34748
34805
|
}, {
|
|
34749
34806
|
readonly name: "poolKey";
|
|
34750
34807
|
readonly type: "tuple";
|
|
@@ -35274,7 +35331,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
35274
35331
|
expiresAt: number;
|
|
35275
35332
|
liquidities: readonly bigint[];
|
|
35276
35333
|
}[], bigint, boolean]>;
|
|
35277
|
-
getVaultData: (args: readonly [`0x${string}`], options?:
|
|
35334
|
+
getVaultData: (args: readonly [`0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
35278
35335
|
readonly type: "function";
|
|
35279
35336
|
readonly name: "batchGetRefTick";
|
|
35280
35337
|
readonly inputs: readonly [{
|
|
@@ -35452,6 +35509,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
35452
35509
|
readonly name: "vault";
|
|
35453
35510
|
readonly type: "address";
|
|
35454
35511
|
readonly internalType: "contract ITimelockVault";
|
|
35512
|
+
}, {
|
|
35513
|
+
readonly name: "poolManager";
|
|
35514
|
+
readonly type: "address";
|
|
35515
|
+
readonly internalType: "contract IPoolManager";
|
|
35455
35516
|
}, {
|
|
35456
35517
|
readonly name: "poolKey";
|
|
35457
35518
|
readonly type: "tuple";
|
|
@@ -35980,7 +36041,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
35980
36041
|
hooks: `0x${string}`;
|
|
35981
36042
|
};
|
|
35982
36043
|
}>;
|
|
35983
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
36044
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
35984
36045
|
readonly type: "function";
|
|
35985
36046
|
readonly name: "batchGetRefTick";
|
|
35986
36047
|
readonly inputs: readonly [{
|
|
@@ -36158,6 +36219,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
36158
36219
|
readonly name: "vault";
|
|
36159
36220
|
readonly type: "address";
|
|
36160
36221
|
readonly internalType: "contract ITimelockVault";
|
|
36222
|
+
}, {
|
|
36223
|
+
readonly name: "poolManager";
|
|
36224
|
+
readonly type: "address";
|
|
36225
|
+
readonly internalType: "contract IPoolManager";
|
|
36161
36226
|
}, {
|
|
36162
36227
|
readonly name: "poolKey";
|
|
36163
36228
|
readonly type: "tuple";
|
|
@@ -36857,6 +36922,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
36857
36922
|
readonly name: "vault";
|
|
36858
36923
|
readonly type: "address";
|
|
36859
36924
|
readonly internalType: "contract ITimelockVault";
|
|
36925
|
+
}, {
|
|
36926
|
+
readonly name: "poolManager";
|
|
36927
|
+
readonly type: "address";
|
|
36928
|
+
readonly internalType: "contract IPoolManager";
|
|
36860
36929
|
}, {
|
|
36861
36930
|
readonly name: "poolKey";
|
|
36862
36931
|
readonly type: "tuple";
|
|
@@ -37477,7 +37546,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
37477
37546
|
isRefetching: boolean;
|
|
37478
37547
|
isStale: boolean;
|
|
37479
37548
|
isEnabled: boolean;
|
|
37480
|
-
refetch: (options?:
|
|
37549
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
37481
37550
|
optionId: bigint;
|
|
37482
37551
|
marketAddr: Address;
|
|
37483
37552
|
ownerAddr: Address;
|
|
@@ -37507,7 +37576,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
37507
37576
|
address: string;
|
|
37508
37577
|
} | null;
|
|
37509
37578
|
}[], Error>>;
|
|
37510
|
-
fetchStatus:
|
|
37579
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
37511
37580
|
promise: Promise<{
|
|
37512
37581
|
optionId: bigint;
|
|
37513
37582
|
marketAddr: Address;
|
|
@@ -37591,7 +37660,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
37591
37660
|
isRefetching: boolean;
|
|
37592
37661
|
isStale: boolean;
|
|
37593
37662
|
isEnabled: boolean;
|
|
37594
|
-
refetch: (options?:
|
|
37663
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
37595
37664
|
optionId: bigint;
|
|
37596
37665
|
marketAddr: Address;
|
|
37597
37666
|
ownerAddr: Address;
|
|
@@ -37621,7 +37690,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
37621
37690
|
address: string;
|
|
37622
37691
|
} | null;
|
|
37623
37692
|
}[], Error>>;
|
|
37624
|
-
fetchStatus:
|
|
37693
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
37625
37694
|
promise: Promise<{
|
|
37626
37695
|
optionId: bigint;
|
|
37627
37696
|
marketAddr: Address;
|
|
@@ -37705,7 +37774,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
37705
37774
|
isRefetching: boolean;
|
|
37706
37775
|
isStale: boolean;
|
|
37707
37776
|
isEnabled: boolean;
|
|
37708
|
-
refetch: (options?:
|
|
37777
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
37709
37778
|
optionId: bigint;
|
|
37710
37779
|
marketAddr: Address;
|
|
37711
37780
|
ownerAddr: Address;
|
|
@@ -37735,7 +37804,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
37735
37804
|
address: string;
|
|
37736
37805
|
} | null;
|
|
37737
37806
|
}[], Error>>;
|
|
37738
|
-
fetchStatus:
|
|
37807
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
37739
37808
|
promise: Promise<{
|
|
37740
37809
|
optionId: bigint;
|
|
37741
37810
|
marketAddr: Address;
|
|
@@ -37819,7 +37888,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
37819
37888
|
isRefetching: boolean;
|
|
37820
37889
|
isStale: boolean;
|
|
37821
37890
|
isEnabled: boolean;
|
|
37822
|
-
refetch: (options?:
|
|
37891
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
37823
37892
|
optionId: bigint;
|
|
37824
37893
|
marketAddr: Address;
|
|
37825
37894
|
ownerAddr: Address;
|
|
@@ -37849,7 +37918,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
37849
37918
|
address: string;
|
|
37850
37919
|
} | null;
|
|
37851
37920
|
}[], Error>>;
|
|
37852
|
-
fetchStatus:
|
|
37921
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
37853
37922
|
promise: Promise<{
|
|
37854
37923
|
optionId: bigint;
|
|
37855
37924
|
marketAddr: Address;
|
|
@@ -37933,7 +38002,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
37933
38002
|
isRefetching: boolean;
|
|
37934
38003
|
isStale: boolean;
|
|
37935
38004
|
isEnabled: boolean;
|
|
37936
|
-
refetch: (options?:
|
|
38005
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
37937
38006
|
optionId: bigint;
|
|
37938
38007
|
marketAddr: Address;
|
|
37939
38008
|
ownerAddr: Address;
|
|
@@ -37963,7 +38032,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
37963
38032
|
address: string;
|
|
37964
38033
|
} | null;
|
|
37965
38034
|
}[], Error>>;
|
|
37966
|
-
fetchStatus:
|
|
38035
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
37967
38036
|
promise: Promise<{
|
|
37968
38037
|
optionId: bigint;
|
|
37969
38038
|
marketAddr: Address;
|
|
@@ -38047,7 +38116,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
38047
38116
|
isRefetching: boolean;
|
|
38048
38117
|
isStale: boolean;
|
|
38049
38118
|
isEnabled: boolean;
|
|
38050
|
-
refetch: (options?:
|
|
38119
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
38051
38120
|
optionId: bigint;
|
|
38052
38121
|
marketAddr: Address;
|
|
38053
38122
|
ownerAddr: Address;
|
|
@@ -38077,7 +38146,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
38077
38146
|
address: string;
|
|
38078
38147
|
} | null;
|
|
38079
38148
|
}[], Error>>;
|
|
38080
|
-
fetchStatus:
|
|
38149
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
38081
38150
|
promise: Promise<{
|
|
38082
38151
|
optionId: bigint;
|
|
38083
38152
|
marketAddr: Address;
|
|
@@ -38162,7 +38231,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38162
38231
|
isRefetching: boolean;
|
|
38163
38232
|
isStale: boolean;
|
|
38164
38233
|
isEnabled: boolean;
|
|
38165
|
-
refetch: (options?:
|
|
38234
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
38166
38235
|
optionId: bigint;
|
|
38167
38236
|
marketAddr: Address;
|
|
38168
38237
|
ownerAddr: Address;
|
|
@@ -38192,7 +38261,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38192
38261
|
address: string;
|
|
38193
38262
|
} | null;
|
|
38194
38263
|
}[], Error>>;
|
|
38195
|
-
fetchStatus:
|
|
38264
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
38196
38265
|
promise: Promise<{
|
|
38197
38266
|
optionId: bigint;
|
|
38198
38267
|
marketAddr: Address;
|
|
@@ -38276,7 +38345,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38276
38345
|
isRefetching: boolean;
|
|
38277
38346
|
isStale: boolean;
|
|
38278
38347
|
isEnabled: boolean;
|
|
38279
|
-
refetch: (options?:
|
|
38348
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
38280
38349
|
optionId: bigint;
|
|
38281
38350
|
marketAddr: Address;
|
|
38282
38351
|
ownerAddr: Address;
|
|
@@ -38306,7 +38375,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38306
38375
|
address: string;
|
|
38307
38376
|
} | null;
|
|
38308
38377
|
}[], Error>>;
|
|
38309
|
-
fetchStatus:
|
|
38378
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
38310
38379
|
promise: Promise<{
|
|
38311
38380
|
optionId: bigint;
|
|
38312
38381
|
marketAddr: Address;
|
|
@@ -38390,7 +38459,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38390
38459
|
isRefetching: boolean;
|
|
38391
38460
|
isStale: boolean;
|
|
38392
38461
|
isEnabled: boolean;
|
|
38393
|
-
refetch: (options?:
|
|
38462
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
38394
38463
|
optionId: bigint;
|
|
38395
38464
|
marketAddr: Address;
|
|
38396
38465
|
ownerAddr: Address;
|
|
@@ -38420,7 +38489,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38420
38489
|
address: string;
|
|
38421
38490
|
} | null;
|
|
38422
38491
|
}[], Error>>;
|
|
38423
|
-
fetchStatus:
|
|
38492
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
38424
38493
|
promise: Promise<{
|
|
38425
38494
|
optionId: bigint;
|
|
38426
38495
|
marketAddr: Address;
|
|
@@ -38504,7 +38573,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38504
38573
|
isRefetching: boolean;
|
|
38505
38574
|
isStale: boolean;
|
|
38506
38575
|
isEnabled: boolean;
|
|
38507
|
-
refetch: (options?:
|
|
38576
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
38508
38577
|
optionId: bigint;
|
|
38509
38578
|
marketAddr: Address;
|
|
38510
38579
|
ownerAddr: Address;
|
|
@@ -38534,7 +38603,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38534
38603
|
address: string;
|
|
38535
38604
|
} | null;
|
|
38536
38605
|
}[], Error>>;
|
|
38537
|
-
fetchStatus:
|
|
38606
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
38538
38607
|
promise: Promise<{
|
|
38539
38608
|
optionId: bigint;
|
|
38540
38609
|
marketAddr: Address;
|
|
@@ -38618,7 +38687,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38618
38687
|
isRefetching: boolean;
|
|
38619
38688
|
isStale: boolean;
|
|
38620
38689
|
isEnabled: boolean;
|
|
38621
|
-
refetch: (options?:
|
|
38690
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
38622
38691
|
optionId: bigint;
|
|
38623
38692
|
marketAddr: Address;
|
|
38624
38693
|
ownerAddr: Address;
|
|
@@ -38648,7 +38717,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38648
38717
|
address: string;
|
|
38649
38718
|
} | null;
|
|
38650
38719
|
}[], Error>>;
|
|
38651
|
-
fetchStatus:
|
|
38720
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
38652
38721
|
promise: Promise<{
|
|
38653
38722
|
optionId: bigint;
|
|
38654
38723
|
marketAddr: Address;
|
|
@@ -38732,7 +38801,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38732
38801
|
isRefetching: boolean;
|
|
38733
38802
|
isStale: boolean;
|
|
38734
38803
|
isEnabled: boolean;
|
|
38735
|
-
refetch: (options?:
|
|
38804
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
38736
38805
|
optionId: bigint;
|
|
38737
38806
|
marketAddr: Address;
|
|
38738
38807
|
ownerAddr: Address;
|
|
@@ -38762,7 +38831,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38762
38831
|
address: string;
|
|
38763
38832
|
} | null;
|
|
38764
38833
|
}[], Error>>;
|
|
38765
|
-
fetchStatus:
|
|
38834
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
38766
38835
|
promise: Promise<{
|
|
38767
38836
|
optionId: bigint;
|
|
38768
38837
|
marketAddr: Address;
|
|
@@ -38847,7 +38916,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38847
38916
|
isRefetching: boolean;
|
|
38848
38917
|
isStale: boolean;
|
|
38849
38918
|
isEnabled: boolean;
|
|
38850
|
-
refetch: (options?:
|
|
38919
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
38851
38920
|
optionId: bigint;
|
|
38852
38921
|
marketAddr: Address;
|
|
38853
38922
|
ownerAddr: Address;
|
|
@@ -38877,7 +38946,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38877
38946
|
address: string;
|
|
38878
38947
|
} | null;
|
|
38879
38948
|
}[], Error>>;
|
|
38880
|
-
fetchStatus:
|
|
38949
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
38881
38950
|
promise: Promise<{
|
|
38882
38951
|
optionId: bigint;
|
|
38883
38952
|
marketAddr: Address;
|
|
@@ -38961,7 +39030,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38961
39030
|
isRefetching: boolean;
|
|
38962
39031
|
isStale: boolean;
|
|
38963
39032
|
isEnabled: boolean;
|
|
38964
|
-
refetch: (options?:
|
|
39033
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
38965
39034
|
optionId: bigint;
|
|
38966
39035
|
marketAddr: Address;
|
|
38967
39036
|
ownerAddr: Address;
|
|
@@ -38991,7 +39060,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38991
39060
|
address: string;
|
|
38992
39061
|
} | null;
|
|
38993
39062
|
}[], Error>>;
|
|
38994
|
-
fetchStatus:
|
|
39063
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
38995
39064
|
promise: Promise<{
|
|
38996
39065
|
optionId: bigint;
|
|
38997
39066
|
marketAddr: Address;
|
|
@@ -39075,7 +39144,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
39075
39144
|
isRefetching: boolean;
|
|
39076
39145
|
isStale: boolean;
|
|
39077
39146
|
isEnabled: boolean;
|
|
39078
|
-
refetch: (options?:
|
|
39147
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
39079
39148
|
optionId: bigint;
|
|
39080
39149
|
marketAddr: Address;
|
|
39081
39150
|
ownerAddr: Address;
|
|
@@ -39105,7 +39174,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
39105
39174
|
address: string;
|
|
39106
39175
|
} | null;
|
|
39107
39176
|
}[], Error>>;
|
|
39108
|
-
fetchStatus:
|
|
39177
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
39109
39178
|
promise: Promise<{
|
|
39110
39179
|
optionId: bigint;
|
|
39111
39180
|
marketAddr: Address;
|
|
@@ -39189,7 +39258,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
39189
39258
|
isRefetching: boolean;
|
|
39190
39259
|
isStale: boolean;
|
|
39191
39260
|
isEnabled: boolean;
|
|
39192
|
-
refetch: (options?:
|
|
39261
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
39193
39262
|
optionId: bigint;
|
|
39194
39263
|
marketAddr: Address;
|
|
39195
39264
|
ownerAddr: Address;
|
|
@@ -39219,7 +39288,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
39219
39288
|
address: string;
|
|
39220
39289
|
} | null;
|
|
39221
39290
|
}[], Error>>;
|
|
39222
|
-
fetchStatus:
|
|
39291
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
39223
39292
|
promise: Promise<{
|
|
39224
39293
|
optionId: bigint;
|
|
39225
39294
|
marketAddr: Address;
|
|
@@ -39303,7 +39372,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
39303
39372
|
isRefetching: boolean;
|
|
39304
39373
|
isStale: boolean;
|
|
39305
39374
|
isEnabled: boolean;
|
|
39306
|
-
refetch: (options?:
|
|
39375
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
39307
39376
|
optionId: bigint;
|
|
39308
39377
|
marketAddr: Address;
|
|
39309
39378
|
ownerAddr: Address;
|
|
@@ -39333,7 +39402,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
39333
39402
|
address: string;
|
|
39334
39403
|
} | null;
|
|
39335
39404
|
}[], Error>>;
|
|
39336
|
-
fetchStatus:
|
|
39405
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
39337
39406
|
promise: Promise<{
|
|
39338
39407
|
optionId: bigint;
|
|
39339
39408
|
marketAddr: Address;
|
|
@@ -39417,7 +39486,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
39417
39486
|
isRefetching: boolean;
|
|
39418
39487
|
isStale: boolean;
|
|
39419
39488
|
isEnabled: boolean;
|
|
39420
|
-
refetch: (options?:
|
|
39489
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
39421
39490
|
optionId: bigint;
|
|
39422
39491
|
marketAddr: Address;
|
|
39423
39492
|
ownerAddr: Address;
|
|
@@ -39447,7 +39516,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
39447
39516
|
address: string;
|
|
39448
39517
|
} | null;
|
|
39449
39518
|
}[], Error>>;
|
|
39450
|
-
fetchStatus:
|
|
39519
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
39451
39520
|
promise: Promise<{
|
|
39452
39521
|
optionId: bigint;
|
|
39453
39522
|
marketAddr: Address;
|
|
@@ -39569,7 +39638,7 @@ declare const formatUSD: (value: Big | string | number) => string;
|
|
|
39569
39638
|
//#endregion
|
|
39570
39639
|
//#region src/hooks/options/useMaxPositionSize.d.ts
|
|
39571
39640
|
declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowableRange?: number) => {
|
|
39572
|
-
error:
|
|
39641
|
+
error: viem184.ReadContractErrorType;
|
|
39573
39642
|
isError: true;
|
|
39574
39643
|
isPending: false;
|
|
39575
39644
|
isLoading: false;
|
|
@@ -39581,7 +39650,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39581
39650
|
dataUpdatedAt: number;
|
|
39582
39651
|
errorUpdatedAt: number;
|
|
39583
39652
|
failureCount: number;
|
|
39584
|
-
failureReason:
|
|
39653
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
39585
39654
|
errorUpdateCount: number;
|
|
39586
39655
|
isFetched: boolean;
|
|
39587
39656
|
isFetchedAfterMount: boolean;
|
|
@@ -39591,10 +39660,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39591
39660
|
isRefetching: boolean;
|
|
39592
39661
|
isStale: boolean;
|
|
39593
39662
|
isEnabled: boolean;
|
|
39594
|
-
refetch: (options?:
|
|
39595
|
-
fetchStatus:
|
|
39663
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<readonly [bigint, bigint], viem184.ReadContractErrorType>>;
|
|
39664
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
39596
39665
|
promise: Promise<readonly [bigint, bigint]>;
|
|
39597
|
-
queryKey:
|
|
39666
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
39598
39667
|
maxCallSize: Amount | undefined;
|
|
39599
39668
|
maxPutSize: Amount | undefined;
|
|
39600
39669
|
} | {
|
|
@@ -39610,7 +39679,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39610
39679
|
dataUpdatedAt: number;
|
|
39611
39680
|
errorUpdatedAt: number;
|
|
39612
39681
|
failureCount: number;
|
|
39613
|
-
failureReason:
|
|
39682
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
39614
39683
|
errorUpdateCount: number;
|
|
39615
39684
|
isFetched: boolean;
|
|
39616
39685
|
isFetchedAfterMount: boolean;
|
|
@@ -39620,14 +39689,14 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39620
39689
|
isRefetching: boolean;
|
|
39621
39690
|
isStale: boolean;
|
|
39622
39691
|
isEnabled: boolean;
|
|
39623
|
-
refetch: (options?:
|
|
39624
|
-
fetchStatus:
|
|
39692
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<readonly [bigint, bigint], viem184.ReadContractErrorType>>;
|
|
39693
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
39625
39694
|
promise: Promise<readonly [bigint, bigint]>;
|
|
39626
|
-
queryKey:
|
|
39695
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
39627
39696
|
maxCallSize: Amount | undefined;
|
|
39628
39697
|
maxPutSize: Amount | undefined;
|
|
39629
39698
|
} | {
|
|
39630
|
-
error:
|
|
39699
|
+
error: viem184.ReadContractErrorType;
|
|
39631
39700
|
isError: true;
|
|
39632
39701
|
isPending: false;
|
|
39633
39702
|
isLoading: false;
|
|
@@ -39639,7 +39708,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39639
39708
|
dataUpdatedAt: number;
|
|
39640
39709
|
errorUpdatedAt: number;
|
|
39641
39710
|
failureCount: number;
|
|
39642
|
-
failureReason:
|
|
39711
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
39643
39712
|
errorUpdateCount: number;
|
|
39644
39713
|
isFetched: boolean;
|
|
39645
39714
|
isFetchedAfterMount: boolean;
|
|
@@ -39649,10 +39718,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39649
39718
|
isRefetching: boolean;
|
|
39650
39719
|
isStale: boolean;
|
|
39651
39720
|
isEnabled: boolean;
|
|
39652
|
-
refetch: (options?:
|
|
39653
|
-
fetchStatus:
|
|
39721
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<readonly [bigint, bigint], viem184.ReadContractErrorType>>;
|
|
39722
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
39654
39723
|
promise: Promise<readonly [bigint, bigint]>;
|
|
39655
|
-
queryKey:
|
|
39724
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
39656
39725
|
maxCallSize: Amount | undefined;
|
|
39657
39726
|
maxPutSize: Amount | undefined;
|
|
39658
39727
|
} | {
|
|
@@ -39668,7 +39737,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39668
39737
|
dataUpdatedAt: number;
|
|
39669
39738
|
errorUpdatedAt: number;
|
|
39670
39739
|
failureCount: number;
|
|
39671
|
-
failureReason:
|
|
39740
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
39672
39741
|
errorUpdateCount: number;
|
|
39673
39742
|
isFetched: boolean;
|
|
39674
39743
|
isFetchedAfterMount: boolean;
|
|
@@ -39678,10 +39747,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39678
39747
|
isRefetching: boolean;
|
|
39679
39748
|
isStale: boolean;
|
|
39680
39749
|
isEnabled: boolean;
|
|
39681
|
-
refetch: (options?:
|
|
39682
|
-
fetchStatus:
|
|
39750
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<readonly [bigint, bigint], viem184.ReadContractErrorType>>;
|
|
39751
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
39683
39752
|
promise: Promise<readonly [bigint, bigint]>;
|
|
39684
|
-
queryKey:
|
|
39753
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
39685
39754
|
maxCallSize: Amount | undefined;
|
|
39686
39755
|
maxPutSize: Amount | undefined;
|
|
39687
39756
|
} | {
|
|
@@ -39696,7 +39765,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39696
39765
|
dataUpdatedAt: number;
|
|
39697
39766
|
errorUpdatedAt: number;
|
|
39698
39767
|
failureCount: number;
|
|
39699
|
-
failureReason:
|
|
39768
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
39700
39769
|
errorUpdateCount: number;
|
|
39701
39770
|
isFetched: boolean;
|
|
39702
39771
|
isFetchedAfterMount: boolean;
|
|
@@ -39707,10 +39776,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39707
39776
|
isRefetching: boolean;
|
|
39708
39777
|
isStale: boolean;
|
|
39709
39778
|
isEnabled: boolean;
|
|
39710
|
-
refetch: (options?:
|
|
39711
|
-
fetchStatus:
|
|
39779
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<readonly [bigint, bigint], viem184.ReadContractErrorType>>;
|
|
39780
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
39712
39781
|
promise: Promise<readonly [bigint, bigint]>;
|
|
39713
|
-
queryKey:
|
|
39782
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
39714
39783
|
maxCallSize: Amount | undefined;
|
|
39715
39784
|
maxPutSize: Amount | undefined;
|
|
39716
39785
|
} | {
|
|
@@ -39726,7 +39795,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39726
39795
|
dataUpdatedAt: number;
|
|
39727
39796
|
errorUpdatedAt: number;
|
|
39728
39797
|
failureCount: number;
|
|
39729
|
-
failureReason:
|
|
39798
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
39730
39799
|
errorUpdateCount: number;
|
|
39731
39800
|
isFetched: boolean;
|
|
39732
39801
|
isFetchedAfterMount: boolean;
|
|
@@ -39736,10 +39805,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39736
39805
|
isRefetching: boolean;
|
|
39737
39806
|
isStale: boolean;
|
|
39738
39807
|
isEnabled: boolean;
|
|
39739
|
-
refetch: (options?:
|
|
39740
|
-
fetchStatus:
|
|
39808
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<readonly [bigint, bigint], viem184.ReadContractErrorType>>;
|
|
39809
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
39741
39810
|
promise: Promise<readonly [bigint, bigint]>;
|
|
39742
|
-
queryKey:
|
|
39811
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
39743
39812
|
maxCallSize: Amount | undefined;
|
|
39744
39813
|
maxPutSize: Amount | undefined;
|
|
39745
39814
|
};
|
|
@@ -39809,7 +39878,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
39809
39878
|
isRefetching: boolean;
|
|
39810
39879
|
isStale: boolean;
|
|
39811
39880
|
isEnabled: boolean;
|
|
39812
|
-
refetch: (options?:
|
|
39881
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<({
|
|
39813
39882
|
type: "mint";
|
|
39814
39883
|
data: {
|
|
39815
39884
|
id: string;
|
|
@@ -39848,7 +39917,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
39848
39917
|
transactionHash: string;
|
|
39849
39918
|
};
|
|
39850
39919
|
})[], Error>>;
|
|
39851
|
-
fetchStatus:
|
|
39920
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
39852
39921
|
promise: Promise<({
|
|
39853
39922
|
type: "mint";
|
|
39854
39923
|
data: {
|
|
@@ -39950,7 +40019,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
39950
40019
|
isRefetching: boolean;
|
|
39951
40020
|
isStale: boolean;
|
|
39952
40021
|
isEnabled: boolean;
|
|
39953
|
-
refetch: (options?:
|
|
40022
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<({
|
|
39954
40023
|
type: "mint";
|
|
39955
40024
|
data: {
|
|
39956
40025
|
id: string;
|
|
@@ -39989,7 +40058,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
39989
40058
|
transactionHash: string;
|
|
39990
40059
|
};
|
|
39991
40060
|
})[], Error>>;
|
|
39992
|
-
fetchStatus:
|
|
40061
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
39993
40062
|
promise: Promise<({
|
|
39994
40063
|
type: "mint";
|
|
39995
40064
|
data: {
|
|
@@ -40091,7 +40160,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
40091
40160
|
isRefetching: boolean;
|
|
40092
40161
|
isStale: boolean;
|
|
40093
40162
|
isEnabled: boolean;
|
|
40094
|
-
refetch: (options?:
|
|
40163
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<({
|
|
40095
40164
|
type: "mint";
|
|
40096
40165
|
data: {
|
|
40097
40166
|
id: string;
|
|
@@ -40130,7 +40199,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
40130
40199
|
transactionHash: string;
|
|
40131
40200
|
};
|
|
40132
40201
|
})[], Error>>;
|
|
40133
|
-
fetchStatus:
|
|
40202
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
40134
40203
|
promise: Promise<({
|
|
40135
40204
|
type: "mint";
|
|
40136
40205
|
data: {
|
|
@@ -40232,7 +40301,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
40232
40301
|
isRefetching: boolean;
|
|
40233
40302
|
isStale: boolean;
|
|
40234
40303
|
isEnabled: boolean;
|
|
40235
|
-
refetch: (options?:
|
|
40304
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<({
|
|
40236
40305
|
type: "mint";
|
|
40237
40306
|
data: {
|
|
40238
40307
|
id: string;
|
|
@@ -40271,7 +40340,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
40271
40340
|
transactionHash: string;
|
|
40272
40341
|
};
|
|
40273
40342
|
})[], Error>>;
|
|
40274
|
-
fetchStatus:
|
|
40343
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
40275
40344
|
promise: Promise<({
|
|
40276
40345
|
type: "mint";
|
|
40277
40346
|
data: {
|
|
@@ -40373,7 +40442,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
40373
40442
|
isRefetching: boolean;
|
|
40374
40443
|
isStale: boolean;
|
|
40375
40444
|
isEnabled: boolean;
|
|
40376
|
-
refetch: (options?:
|
|
40445
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<({
|
|
40377
40446
|
type: "mint";
|
|
40378
40447
|
data: {
|
|
40379
40448
|
id: string;
|
|
@@ -40412,7 +40481,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
40412
40481
|
transactionHash: string;
|
|
40413
40482
|
};
|
|
40414
40483
|
})[], Error>>;
|
|
40415
|
-
fetchStatus:
|
|
40484
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
40416
40485
|
promise: Promise<({
|
|
40417
40486
|
type: "mint";
|
|
40418
40487
|
data: {
|
|
@@ -40514,7 +40583,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
40514
40583
|
isRefetching: boolean;
|
|
40515
40584
|
isStale: boolean;
|
|
40516
40585
|
isEnabled: boolean;
|
|
40517
|
-
refetch: (options?:
|
|
40586
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<({
|
|
40518
40587
|
type: "mint";
|
|
40519
40588
|
data: {
|
|
40520
40589
|
id: string;
|
|
@@ -40553,7 +40622,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
40553
40622
|
transactionHash: string;
|
|
40554
40623
|
};
|
|
40555
40624
|
})[], Error>>;
|
|
40556
|
-
fetchStatus:
|
|
40625
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
40557
40626
|
promise: Promise<({
|
|
40558
40627
|
type: "mint";
|
|
40559
40628
|
data: {
|
|
@@ -40676,7 +40745,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
40676
40745
|
isRefetching: boolean;
|
|
40677
40746
|
isStale: boolean;
|
|
40678
40747
|
isEnabled: boolean;
|
|
40679
|
-
refetch: (options?:
|
|
40748
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
40680
40749
|
optionId: bigint;
|
|
40681
40750
|
id: string;
|
|
40682
40751
|
ownerAddr: Address;
|
|
@@ -40685,7 +40754,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
40685
40754
|
expiresAt: number;
|
|
40686
40755
|
closed: boolean;
|
|
40687
40756
|
}[] | undefined, Error>>;
|
|
40688
|
-
fetchStatus:
|
|
40757
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
40689
40758
|
promise: Promise<{
|
|
40690
40759
|
optionId: bigint;
|
|
40691
40760
|
id: string;
|
|
@@ -40727,7 +40796,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
40727
40796
|
isRefetching: boolean;
|
|
40728
40797
|
isStale: boolean;
|
|
40729
40798
|
isEnabled: boolean;
|
|
40730
|
-
refetch: (options?:
|
|
40799
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
40731
40800
|
optionId: bigint;
|
|
40732
40801
|
id: string;
|
|
40733
40802
|
ownerAddr: Address;
|
|
@@ -40736,7 +40805,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
40736
40805
|
expiresAt: number;
|
|
40737
40806
|
closed: boolean;
|
|
40738
40807
|
}[] | undefined, Error>>;
|
|
40739
|
-
fetchStatus:
|
|
40808
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
40740
40809
|
promise: Promise<{
|
|
40741
40810
|
optionId: bigint;
|
|
40742
40811
|
id: string;
|
|
@@ -40778,7 +40847,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
40778
40847
|
isRefetching: boolean;
|
|
40779
40848
|
isStale: boolean;
|
|
40780
40849
|
isEnabled: boolean;
|
|
40781
|
-
refetch: (options?:
|
|
40850
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
40782
40851
|
optionId: bigint;
|
|
40783
40852
|
id: string;
|
|
40784
40853
|
ownerAddr: Address;
|
|
@@ -40787,7 +40856,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
40787
40856
|
expiresAt: number;
|
|
40788
40857
|
closed: boolean;
|
|
40789
40858
|
}[] | undefined, Error>>;
|
|
40790
|
-
fetchStatus:
|
|
40859
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
40791
40860
|
promise: Promise<{
|
|
40792
40861
|
optionId: bigint;
|
|
40793
40862
|
id: string;
|
|
@@ -40829,7 +40898,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
40829
40898
|
isRefetching: boolean;
|
|
40830
40899
|
isStale: boolean;
|
|
40831
40900
|
isEnabled: boolean;
|
|
40832
|
-
refetch: (options?:
|
|
40901
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
40833
40902
|
optionId: bigint;
|
|
40834
40903
|
id: string;
|
|
40835
40904
|
ownerAddr: Address;
|
|
@@ -40838,7 +40907,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
40838
40907
|
expiresAt: number;
|
|
40839
40908
|
closed: boolean;
|
|
40840
40909
|
}[] | undefined, Error>>;
|
|
40841
|
-
fetchStatus:
|
|
40910
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
40842
40911
|
promise: Promise<{
|
|
40843
40912
|
optionId: bigint;
|
|
40844
40913
|
id: string;
|
|
@@ -40880,7 +40949,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
40880
40949
|
isRefetching: boolean;
|
|
40881
40950
|
isStale: boolean;
|
|
40882
40951
|
isEnabled: boolean;
|
|
40883
|
-
refetch: (options?:
|
|
40952
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
40884
40953
|
optionId: bigint;
|
|
40885
40954
|
id: string;
|
|
40886
40955
|
ownerAddr: Address;
|
|
@@ -40889,7 +40958,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
40889
40958
|
expiresAt: number;
|
|
40890
40959
|
closed: boolean;
|
|
40891
40960
|
}[] | undefined, Error>>;
|
|
40892
|
-
fetchStatus:
|
|
40961
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
40893
40962
|
promise: Promise<{
|
|
40894
40963
|
optionId: bigint;
|
|
40895
40964
|
id: string;
|
|
@@ -40931,7 +41000,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
40931
41000
|
isRefetching: boolean;
|
|
40932
41001
|
isStale: boolean;
|
|
40933
41002
|
isEnabled: boolean;
|
|
40934
|
-
refetch: (options?:
|
|
41003
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
40935
41004
|
optionId: bigint;
|
|
40936
41005
|
id: string;
|
|
40937
41006
|
ownerAddr: Address;
|
|
@@ -40940,7 +41009,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
40940
41009
|
expiresAt: number;
|
|
40941
41010
|
closed: boolean;
|
|
40942
41011
|
}[] | undefined, Error>>;
|
|
40943
|
-
fetchStatus:
|
|
41012
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
40944
41013
|
promise: Promise<{
|
|
40945
41014
|
optionId: bigint;
|
|
40946
41015
|
id: string;
|
|
@@ -40983,7 +41052,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
40983
41052
|
isRefetching: boolean;
|
|
40984
41053
|
isStale: boolean;
|
|
40985
41054
|
isEnabled: boolean;
|
|
40986
|
-
refetch: (options?:
|
|
41055
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
40987
41056
|
optionId: bigint;
|
|
40988
41057
|
id: string;
|
|
40989
41058
|
ownerAddr: Address;
|
|
@@ -40992,7 +41061,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
40992
41061
|
expiresAt: number;
|
|
40993
41062
|
closed: boolean;
|
|
40994
41063
|
}[] | undefined, Error>>;
|
|
40995
|
-
fetchStatus:
|
|
41064
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
40996
41065
|
promise: Promise<{
|
|
40997
41066
|
optionId: bigint;
|
|
40998
41067
|
id: string;
|
|
@@ -41034,7 +41103,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41034
41103
|
isRefetching: boolean;
|
|
41035
41104
|
isStale: boolean;
|
|
41036
41105
|
isEnabled: boolean;
|
|
41037
|
-
refetch: (options?:
|
|
41106
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
41038
41107
|
optionId: bigint;
|
|
41039
41108
|
id: string;
|
|
41040
41109
|
ownerAddr: Address;
|
|
@@ -41043,7 +41112,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41043
41112
|
expiresAt: number;
|
|
41044
41113
|
closed: boolean;
|
|
41045
41114
|
}[] | undefined, Error>>;
|
|
41046
|
-
fetchStatus:
|
|
41115
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
41047
41116
|
promise: Promise<{
|
|
41048
41117
|
optionId: bigint;
|
|
41049
41118
|
id: string;
|
|
@@ -41085,7 +41154,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41085
41154
|
isRefetching: boolean;
|
|
41086
41155
|
isStale: boolean;
|
|
41087
41156
|
isEnabled: boolean;
|
|
41088
|
-
refetch: (options?:
|
|
41157
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
41089
41158
|
optionId: bigint;
|
|
41090
41159
|
id: string;
|
|
41091
41160
|
ownerAddr: Address;
|
|
@@ -41094,7 +41163,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41094
41163
|
expiresAt: number;
|
|
41095
41164
|
closed: boolean;
|
|
41096
41165
|
}[] | undefined, Error>>;
|
|
41097
|
-
fetchStatus:
|
|
41166
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
41098
41167
|
promise: Promise<{
|
|
41099
41168
|
optionId: bigint;
|
|
41100
41169
|
id: string;
|
|
@@ -41136,7 +41205,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41136
41205
|
isRefetching: boolean;
|
|
41137
41206
|
isStale: boolean;
|
|
41138
41207
|
isEnabled: boolean;
|
|
41139
|
-
refetch: (options?:
|
|
41208
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
41140
41209
|
optionId: bigint;
|
|
41141
41210
|
id: string;
|
|
41142
41211
|
ownerAddr: Address;
|
|
@@ -41145,7 +41214,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41145
41214
|
expiresAt: number;
|
|
41146
41215
|
closed: boolean;
|
|
41147
41216
|
}[] | undefined, Error>>;
|
|
41148
|
-
fetchStatus:
|
|
41217
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
41149
41218
|
promise: Promise<{
|
|
41150
41219
|
optionId: bigint;
|
|
41151
41220
|
id: string;
|
|
@@ -41187,7 +41256,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41187
41256
|
isRefetching: boolean;
|
|
41188
41257
|
isStale: boolean;
|
|
41189
41258
|
isEnabled: boolean;
|
|
41190
|
-
refetch: (options?:
|
|
41259
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
41191
41260
|
optionId: bigint;
|
|
41192
41261
|
id: string;
|
|
41193
41262
|
ownerAddr: Address;
|
|
@@ -41196,7 +41265,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41196
41265
|
expiresAt: number;
|
|
41197
41266
|
closed: boolean;
|
|
41198
41267
|
}[] | undefined, Error>>;
|
|
41199
|
-
fetchStatus:
|
|
41268
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
41200
41269
|
promise: Promise<{
|
|
41201
41270
|
optionId: bigint;
|
|
41202
41271
|
id: string;
|
|
@@ -41238,7 +41307,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41238
41307
|
isRefetching: boolean;
|
|
41239
41308
|
isStale: boolean;
|
|
41240
41309
|
isEnabled: boolean;
|
|
41241
|
-
refetch: (options?:
|
|
41310
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
41242
41311
|
optionId: bigint;
|
|
41243
41312
|
id: string;
|
|
41244
41313
|
ownerAddr: Address;
|
|
@@ -41247,7 +41316,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41247
41316
|
expiresAt: number;
|
|
41248
41317
|
closed: boolean;
|
|
41249
41318
|
}[] | undefined, Error>>;
|
|
41250
|
-
fetchStatus:
|
|
41319
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
41251
41320
|
promise: Promise<{
|
|
41252
41321
|
optionId: bigint;
|
|
41253
41322
|
id: string;
|
|
@@ -41290,7 +41359,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41290
41359
|
isRefetching: boolean;
|
|
41291
41360
|
isStale: boolean;
|
|
41292
41361
|
isEnabled: boolean;
|
|
41293
|
-
refetch: (options?:
|
|
41362
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
41294
41363
|
optionId: bigint;
|
|
41295
41364
|
id: string;
|
|
41296
41365
|
ownerAddr: Address;
|
|
@@ -41299,7 +41368,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41299
41368
|
expiresAt: number;
|
|
41300
41369
|
closed: boolean;
|
|
41301
41370
|
}[] | undefined, Error>>;
|
|
41302
|
-
fetchStatus:
|
|
41371
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
41303
41372
|
promise: Promise<{
|
|
41304
41373
|
optionId: bigint;
|
|
41305
41374
|
id: string;
|
|
@@ -41341,7 +41410,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41341
41410
|
isRefetching: boolean;
|
|
41342
41411
|
isStale: boolean;
|
|
41343
41412
|
isEnabled: boolean;
|
|
41344
|
-
refetch: (options?:
|
|
41413
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
41345
41414
|
optionId: bigint;
|
|
41346
41415
|
id: string;
|
|
41347
41416
|
ownerAddr: Address;
|
|
@@ -41350,7 +41419,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41350
41419
|
expiresAt: number;
|
|
41351
41420
|
closed: boolean;
|
|
41352
41421
|
}[] | undefined, Error>>;
|
|
41353
|
-
fetchStatus:
|
|
41422
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
41354
41423
|
promise: Promise<{
|
|
41355
41424
|
optionId: bigint;
|
|
41356
41425
|
id: string;
|
|
@@ -41392,7 +41461,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41392
41461
|
isRefetching: boolean;
|
|
41393
41462
|
isStale: boolean;
|
|
41394
41463
|
isEnabled: boolean;
|
|
41395
|
-
refetch: (options?:
|
|
41464
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
41396
41465
|
optionId: bigint;
|
|
41397
41466
|
id: string;
|
|
41398
41467
|
ownerAddr: Address;
|
|
@@ -41401,7 +41470,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41401
41470
|
expiresAt: number;
|
|
41402
41471
|
closed: boolean;
|
|
41403
41472
|
}[] | undefined, Error>>;
|
|
41404
|
-
fetchStatus:
|
|
41473
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
41405
41474
|
promise: Promise<{
|
|
41406
41475
|
optionId: bigint;
|
|
41407
41476
|
id: string;
|
|
@@ -41443,7 +41512,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41443
41512
|
isRefetching: boolean;
|
|
41444
41513
|
isStale: boolean;
|
|
41445
41514
|
isEnabled: boolean;
|
|
41446
|
-
refetch: (options?:
|
|
41515
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
41447
41516
|
optionId: bigint;
|
|
41448
41517
|
id: string;
|
|
41449
41518
|
ownerAddr: Address;
|
|
@@ -41452,7 +41521,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41452
41521
|
expiresAt: number;
|
|
41453
41522
|
closed: boolean;
|
|
41454
41523
|
}[] | undefined, Error>>;
|
|
41455
|
-
fetchStatus:
|
|
41524
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
41456
41525
|
promise: Promise<{
|
|
41457
41526
|
optionId: bigint;
|
|
41458
41527
|
id: string;
|
|
@@ -41494,7 +41563,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41494
41563
|
isRefetching: boolean;
|
|
41495
41564
|
isStale: boolean;
|
|
41496
41565
|
isEnabled: boolean;
|
|
41497
|
-
refetch: (options?:
|
|
41566
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
41498
41567
|
optionId: bigint;
|
|
41499
41568
|
id: string;
|
|
41500
41569
|
ownerAddr: Address;
|
|
@@ -41503,7 +41572,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41503
41572
|
expiresAt: number;
|
|
41504
41573
|
closed: boolean;
|
|
41505
41574
|
}[] | undefined, Error>>;
|
|
41506
|
-
fetchStatus:
|
|
41575
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
41507
41576
|
promise: Promise<{
|
|
41508
41577
|
optionId: bigint;
|
|
41509
41578
|
id: string;
|
|
@@ -41545,7 +41614,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41545
41614
|
isRefetching: boolean;
|
|
41546
41615
|
isStale: boolean;
|
|
41547
41616
|
isEnabled: boolean;
|
|
41548
|
-
refetch: (options?:
|
|
41617
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
41549
41618
|
optionId: bigint;
|
|
41550
41619
|
id: string;
|
|
41551
41620
|
ownerAddr: Address;
|
|
@@ -41554,7 +41623,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41554
41623
|
expiresAt: number;
|
|
41555
41624
|
closed: boolean;
|
|
41556
41625
|
}[] | undefined, Error>>;
|
|
41557
|
-
fetchStatus:
|
|
41626
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
41558
41627
|
promise: Promise<{
|
|
41559
41628
|
optionId: bigint;
|
|
41560
41629
|
id: string;
|
|
@@ -41577,7 +41646,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41577
41646
|
//#endregion
|
|
41578
41647
|
//#region src/hooks/operators/useOperatorPerms.d.ts
|
|
41579
41648
|
declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, operatorAddr?: Address) => {
|
|
41580
|
-
error:
|
|
41649
|
+
error: viem184.ReadContractErrorType;
|
|
41581
41650
|
isError: true;
|
|
41582
41651
|
isPending: false;
|
|
41583
41652
|
isLoading: false;
|
|
@@ -41589,7 +41658,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41589
41658
|
dataUpdatedAt: number;
|
|
41590
41659
|
errorUpdatedAt: number;
|
|
41591
41660
|
failureCount: number;
|
|
41592
|
-
failureReason:
|
|
41661
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
41593
41662
|
errorUpdateCount: number;
|
|
41594
41663
|
isFetched: boolean;
|
|
41595
41664
|
isFetchedAfterMount: boolean;
|
|
@@ -41599,10 +41668,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41599
41668
|
isRefetching: boolean;
|
|
41600
41669
|
isStale: boolean;
|
|
41601
41670
|
isEnabled: boolean;
|
|
41602
|
-
refetch: (options?:
|
|
41603
|
-
fetchStatus:
|
|
41671
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem184.ReadContractErrorType>>;
|
|
41672
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
41604
41673
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
41605
|
-
queryKey:
|
|
41674
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
41606
41675
|
data: {
|
|
41607
41676
|
canExtend: boolean | undefined;
|
|
41608
41677
|
canExercise: boolean | undefined;
|
|
@@ -41624,7 +41693,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41624
41693
|
dataUpdatedAt: number;
|
|
41625
41694
|
errorUpdatedAt: number;
|
|
41626
41695
|
failureCount: number;
|
|
41627
|
-
failureReason:
|
|
41696
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
41628
41697
|
errorUpdateCount: number;
|
|
41629
41698
|
isFetched: boolean;
|
|
41630
41699
|
isFetchedAfterMount: boolean;
|
|
@@ -41634,10 +41703,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41634
41703
|
isRefetching: boolean;
|
|
41635
41704
|
isStale: boolean;
|
|
41636
41705
|
isEnabled: boolean;
|
|
41637
|
-
refetch: (options?:
|
|
41638
|
-
fetchStatus:
|
|
41706
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem184.ReadContractErrorType>>;
|
|
41707
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
41639
41708
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
41640
|
-
queryKey:
|
|
41709
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
41641
41710
|
data: {
|
|
41642
41711
|
canExtend: boolean | undefined;
|
|
41643
41712
|
canExercise: boolean | undefined;
|
|
@@ -41647,7 +41716,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41647
41716
|
effectiveApproval: bigint;
|
|
41648
41717
|
};
|
|
41649
41718
|
} | {
|
|
41650
|
-
error:
|
|
41719
|
+
error: viem184.ReadContractErrorType;
|
|
41651
41720
|
isError: true;
|
|
41652
41721
|
isPending: false;
|
|
41653
41722
|
isLoading: false;
|
|
@@ -41659,7 +41728,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41659
41728
|
dataUpdatedAt: number;
|
|
41660
41729
|
errorUpdatedAt: number;
|
|
41661
41730
|
failureCount: number;
|
|
41662
|
-
failureReason:
|
|
41731
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
41663
41732
|
errorUpdateCount: number;
|
|
41664
41733
|
isFetched: boolean;
|
|
41665
41734
|
isFetchedAfterMount: boolean;
|
|
@@ -41669,10 +41738,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41669
41738
|
isRefetching: boolean;
|
|
41670
41739
|
isStale: boolean;
|
|
41671
41740
|
isEnabled: boolean;
|
|
41672
|
-
refetch: (options?:
|
|
41673
|
-
fetchStatus:
|
|
41741
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem184.ReadContractErrorType>>;
|
|
41742
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
41674
41743
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
41675
|
-
queryKey:
|
|
41744
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
41676
41745
|
data: {
|
|
41677
41746
|
canExtend: boolean | undefined;
|
|
41678
41747
|
canExercise: boolean | undefined;
|
|
@@ -41694,7 +41763,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41694
41763
|
dataUpdatedAt: number;
|
|
41695
41764
|
errorUpdatedAt: number;
|
|
41696
41765
|
failureCount: number;
|
|
41697
|
-
failureReason:
|
|
41766
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
41698
41767
|
errorUpdateCount: number;
|
|
41699
41768
|
isFetched: boolean;
|
|
41700
41769
|
isFetchedAfterMount: boolean;
|
|
@@ -41704,10 +41773,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41704
41773
|
isRefetching: boolean;
|
|
41705
41774
|
isStale: boolean;
|
|
41706
41775
|
isEnabled: boolean;
|
|
41707
|
-
refetch: (options?:
|
|
41708
|
-
fetchStatus:
|
|
41776
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem184.ReadContractErrorType>>;
|
|
41777
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
41709
41778
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
41710
|
-
queryKey:
|
|
41779
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
41711
41780
|
data: {
|
|
41712
41781
|
canExtend: boolean | undefined;
|
|
41713
41782
|
canExercise: boolean | undefined;
|
|
@@ -41728,7 +41797,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41728
41797
|
dataUpdatedAt: number;
|
|
41729
41798
|
errorUpdatedAt: number;
|
|
41730
41799
|
failureCount: number;
|
|
41731
|
-
failureReason:
|
|
41800
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
41732
41801
|
errorUpdateCount: number;
|
|
41733
41802
|
isFetched: boolean;
|
|
41734
41803
|
isFetchedAfterMount: boolean;
|
|
@@ -41739,10 +41808,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41739
41808
|
isRefetching: boolean;
|
|
41740
41809
|
isStale: boolean;
|
|
41741
41810
|
isEnabled: boolean;
|
|
41742
|
-
refetch: (options?:
|
|
41743
|
-
fetchStatus:
|
|
41811
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem184.ReadContractErrorType>>;
|
|
41812
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
41744
41813
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
41745
|
-
queryKey:
|
|
41814
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
41746
41815
|
data: {
|
|
41747
41816
|
canExtend: boolean | undefined;
|
|
41748
41817
|
canExercise: boolean | undefined;
|
|
@@ -41764,7 +41833,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41764
41833
|
dataUpdatedAt: number;
|
|
41765
41834
|
errorUpdatedAt: number;
|
|
41766
41835
|
failureCount: number;
|
|
41767
|
-
failureReason:
|
|
41836
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
41768
41837
|
errorUpdateCount: number;
|
|
41769
41838
|
isFetched: boolean;
|
|
41770
41839
|
isFetchedAfterMount: boolean;
|
|
@@ -41774,10 +41843,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41774
41843
|
isRefetching: boolean;
|
|
41775
41844
|
isStale: boolean;
|
|
41776
41845
|
isEnabled: boolean;
|
|
41777
|
-
refetch: (options?:
|
|
41778
|
-
fetchStatus:
|
|
41846
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem184.ReadContractErrorType>>;
|
|
41847
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
41779
41848
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
41780
|
-
queryKey:
|
|
41849
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
41781
41850
|
data: {
|
|
41782
41851
|
canExtend: boolean | undefined;
|
|
41783
41852
|
canExercise: boolean | undefined;
|
|
@@ -41826,7 +41895,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
41826
41895
|
isRefetching: boolean;
|
|
41827
41896
|
isStale: boolean;
|
|
41828
41897
|
isEnabled: boolean;
|
|
41829
|
-
refetch: (options?:
|
|
41898
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
41830
41899
|
spendingApproval: bigint;
|
|
41831
41900
|
operatorAddr: string;
|
|
41832
41901
|
__typename: "UserMarketOperator";
|
|
@@ -41840,7 +41909,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
41840
41909
|
address: string;
|
|
41841
41910
|
} | null;
|
|
41842
41911
|
}[] | undefined, Error>>;
|
|
41843
|
-
fetchStatus:
|
|
41912
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
41844
41913
|
promise: Promise<{
|
|
41845
41914
|
spendingApproval: bigint;
|
|
41846
41915
|
operatorAddr: string;
|
|
@@ -41892,7 +41961,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
41892
41961
|
isRefetching: boolean;
|
|
41893
41962
|
isStale: boolean;
|
|
41894
41963
|
isEnabled: boolean;
|
|
41895
|
-
refetch: (options?:
|
|
41964
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
41896
41965
|
spendingApproval: bigint;
|
|
41897
41966
|
operatorAddr: string;
|
|
41898
41967
|
__typename: "UserMarketOperator";
|
|
@@ -41906,7 +41975,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
41906
41975
|
address: string;
|
|
41907
41976
|
} | null;
|
|
41908
41977
|
}[] | undefined, Error>>;
|
|
41909
|
-
fetchStatus:
|
|
41978
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
41910
41979
|
promise: Promise<{
|
|
41911
41980
|
spendingApproval: bigint;
|
|
41912
41981
|
operatorAddr: string;
|
|
@@ -41958,7 +42027,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
41958
42027
|
isRefetching: boolean;
|
|
41959
42028
|
isStale: boolean;
|
|
41960
42029
|
isEnabled: boolean;
|
|
41961
|
-
refetch: (options?:
|
|
42030
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
41962
42031
|
spendingApproval: bigint;
|
|
41963
42032
|
operatorAddr: string;
|
|
41964
42033
|
__typename: "UserMarketOperator";
|
|
@@ -41972,7 +42041,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
41972
42041
|
address: string;
|
|
41973
42042
|
} | null;
|
|
41974
42043
|
}[] | undefined, Error>>;
|
|
41975
|
-
fetchStatus:
|
|
42044
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
41976
42045
|
promise: Promise<{
|
|
41977
42046
|
spendingApproval: bigint;
|
|
41978
42047
|
operatorAddr: string;
|
|
@@ -42024,7 +42093,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
42024
42093
|
isRefetching: boolean;
|
|
42025
42094
|
isStale: boolean;
|
|
42026
42095
|
isEnabled: boolean;
|
|
42027
|
-
refetch: (options?:
|
|
42096
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
42028
42097
|
spendingApproval: bigint;
|
|
42029
42098
|
operatorAddr: string;
|
|
42030
42099
|
__typename: "UserMarketOperator";
|
|
@@ -42038,7 +42107,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
42038
42107
|
address: string;
|
|
42039
42108
|
} | null;
|
|
42040
42109
|
}[] | undefined, Error>>;
|
|
42041
|
-
fetchStatus:
|
|
42110
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
42042
42111
|
promise: Promise<{
|
|
42043
42112
|
spendingApproval: bigint;
|
|
42044
42113
|
operatorAddr: string;
|
|
@@ -42090,7 +42159,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
42090
42159
|
isRefetching: boolean;
|
|
42091
42160
|
isStale: boolean;
|
|
42092
42161
|
isEnabled: boolean;
|
|
42093
|
-
refetch: (options?:
|
|
42162
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
42094
42163
|
spendingApproval: bigint;
|
|
42095
42164
|
operatorAddr: string;
|
|
42096
42165
|
__typename: "UserMarketOperator";
|
|
@@ -42104,7 +42173,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
42104
42173
|
address: string;
|
|
42105
42174
|
} | null;
|
|
42106
42175
|
}[] | undefined, Error>>;
|
|
42107
|
-
fetchStatus:
|
|
42176
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
42108
42177
|
promise: Promise<{
|
|
42109
42178
|
spendingApproval: bigint;
|
|
42110
42179
|
operatorAddr: string;
|
|
@@ -42156,7 +42225,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
42156
42225
|
isRefetching: boolean;
|
|
42157
42226
|
isStale: boolean;
|
|
42158
42227
|
isEnabled: boolean;
|
|
42159
|
-
refetch: (options?:
|
|
42228
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
42160
42229
|
spendingApproval: bigint;
|
|
42161
42230
|
operatorAddr: string;
|
|
42162
42231
|
__typename: "UserMarketOperator";
|
|
@@ -42170,7 +42239,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
42170
42239
|
address: string;
|
|
42171
42240
|
} | null;
|
|
42172
42241
|
}[] | undefined, Error>>;
|
|
42173
|
-
fetchStatus:
|
|
42242
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
42174
42243
|
promise: Promise<{
|
|
42175
42244
|
spendingApproval: bigint;
|
|
42176
42245
|
operatorAddr: string;
|
|
@@ -42267,7 +42336,7 @@ declare const usePoolData: (poolManager?: Address, poolKey?: PoolKey) => Partial
|
|
|
42267
42336
|
//#endregion
|
|
42268
42337
|
//#region src/hooks/pool/useCurrentTick.d.ts
|
|
42269
42338
|
declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
42270
|
-
error:
|
|
42339
|
+
error: viem184.ReadContractErrorType;
|
|
42271
42340
|
isError: true;
|
|
42272
42341
|
isPending: false;
|
|
42273
42342
|
isLoading: false;
|
|
@@ -42279,7 +42348,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42279
42348
|
dataUpdatedAt: number;
|
|
42280
42349
|
errorUpdatedAt: number;
|
|
42281
42350
|
failureCount: number;
|
|
42282
|
-
failureReason:
|
|
42351
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42283
42352
|
errorUpdateCount: number;
|
|
42284
42353
|
isFetched: boolean;
|
|
42285
42354
|
isFetchedAfterMount: boolean;
|
|
@@ -42289,18 +42358,18 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42289
42358
|
isRefetching: boolean;
|
|
42290
42359
|
isStale: boolean;
|
|
42291
42360
|
isEnabled: boolean;
|
|
42292
|
-
refetch: (options?:
|
|
42361
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
42293
42362
|
exact: number;
|
|
42294
42363
|
rounded: number | undefined;
|
|
42295
42364
|
sqrtPriceX96: bigint;
|
|
42296
|
-
},
|
|
42297
|
-
fetchStatus:
|
|
42365
|
+
}, viem184.ReadContractErrorType>>;
|
|
42366
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
42298
42367
|
promise: Promise<{
|
|
42299
42368
|
exact: number;
|
|
42300
42369
|
rounded: number | undefined;
|
|
42301
42370
|
sqrtPriceX96: bigint;
|
|
42302
42371
|
}>;
|
|
42303
|
-
queryKey:
|
|
42372
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
42304
42373
|
exact: number | undefined;
|
|
42305
42374
|
rounded: number | undefined;
|
|
42306
42375
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -42317,7 +42386,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42317
42386
|
dataUpdatedAt: number;
|
|
42318
42387
|
errorUpdatedAt: number;
|
|
42319
42388
|
failureCount: number;
|
|
42320
|
-
failureReason:
|
|
42389
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42321
42390
|
errorUpdateCount: number;
|
|
42322
42391
|
isFetched: boolean;
|
|
42323
42392
|
isFetchedAfterMount: boolean;
|
|
@@ -42327,23 +42396,23 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42327
42396
|
isRefetching: boolean;
|
|
42328
42397
|
isStale: boolean;
|
|
42329
42398
|
isEnabled: boolean;
|
|
42330
|
-
refetch: (options?:
|
|
42399
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
42331
42400
|
exact: number;
|
|
42332
42401
|
rounded: number | undefined;
|
|
42333
42402
|
sqrtPriceX96: bigint;
|
|
42334
|
-
},
|
|
42335
|
-
fetchStatus:
|
|
42403
|
+
}, viem184.ReadContractErrorType>>;
|
|
42404
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
42336
42405
|
promise: Promise<{
|
|
42337
42406
|
exact: number;
|
|
42338
42407
|
rounded: number | undefined;
|
|
42339
42408
|
sqrtPriceX96: bigint;
|
|
42340
42409
|
}>;
|
|
42341
|
-
queryKey:
|
|
42410
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
42342
42411
|
exact: number | undefined;
|
|
42343
42412
|
rounded: number | undefined;
|
|
42344
42413
|
sqrtPriceX96: bigint | undefined;
|
|
42345
42414
|
} | {
|
|
42346
|
-
error:
|
|
42415
|
+
error: viem184.ReadContractErrorType;
|
|
42347
42416
|
isError: true;
|
|
42348
42417
|
isPending: false;
|
|
42349
42418
|
isLoading: false;
|
|
@@ -42355,7 +42424,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42355
42424
|
dataUpdatedAt: number;
|
|
42356
42425
|
errorUpdatedAt: number;
|
|
42357
42426
|
failureCount: number;
|
|
42358
|
-
failureReason:
|
|
42427
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42359
42428
|
errorUpdateCount: number;
|
|
42360
42429
|
isFetched: boolean;
|
|
42361
42430
|
isFetchedAfterMount: boolean;
|
|
@@ -42365,18 +42434,18 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42365
42434
|
isRefetching: boolean;
|
|
42366
42435
|
isStale: boolean;
|
|
42367
42436
|
isEnabled: boolean;
|
|
42368
|
-
refetch: (options?:
|
|
42437
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
42369
42438
|
exact: number;
|
|
42370
42439
|
rounded: number | undefined;
|
|
42371
42440
|
sqrtPriceX96: bigint;
|
|
42372
|
-
},
|
|
42373
|
-
fetchStatus:
|
|
42441
|
+
}, viem184.ReadContractErrorType>>;
|
|
42442
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
42374
42443
|
promise: Promise<{
|
|
42375
42444
|
exact: number;
|
|
42376
42445
|
rounded: number | undefined;
|
|
42377
42446
|
sqrtPriceX96: bigint;
|
|
42378
42447
|
}>;
|
|
42379
|
-
queryKey:
|
|
42448
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
42380
42449
|
exact: number | undefined;
|
|
42381
42450
|
rounded: number | undefined;
|
|
42382
42451
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -42393,7 +42462,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42393
42462
|
dataUpdatedAt: number;
|
|
42394
42463
|
errorUpdatedAt: number;
|
|
42395
42464
|
failureCount: number;
|
|
42396
|
-
failureReason:
|
|
42465
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42397
42466
|
errorUpdateCount: number;
|
|
42398
42467
|
isFetched: boolean;
|
|
42399
42468
|
isFetchedAfterMount: boolean;
|
|
@@ -42403,18 +42472,18 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42403
42472
|
isRefetching: boolean;
|
|
42404
42473
|
isStale: boolean;
|
|
42405
42474
|
isEnabled: boolean;
|
|
42406
|
-
refetch: (options?:
|
|
42475
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
42407
42476
|
exact: number;
|
|
42408
42477
|
rounded: number | undefined;
|
|
42409
42478
|
sqrtPriceX96: bigint;
|
|
42410
|
-
},
|
|
42411
|
-
fetchStatus:
|
|
42479
|
+
}, viem184.ReadContractErrorType>>;
|
|
42480
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
42412
42481
|
promise: Promise<{
|
|
42413
42482
|
exact: number;
|
|
42414
42483
|
rounded: number | undefined;
|
|
42415
42484
|
sqrtPriceX96: bigint;
|
|
42416
42485
|
}>;
|
|
42417
|
-
queryKey:
|
|
42486
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
42418
42487
|
exact: number | undefined;
|
|
42419
42488
|
rounded: number | undefined;
|
|
42420
42489
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -42430,7 +42499,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42430
42499
|
dataUpdatedAt: number;
|
|
42431
42500
|
errorUpdatedAt: number;
|
|
42432
42501
|
failureCount: number;
|
|
42433
|
-
failureReason:
|
|
42502
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42434
42503
|
errorUpdateCount: number;
|
|
42435
42504
|
isFetched: boolean;
|
|
42436
42505
|
isFetchedAfterMount: boolean;
|
|
@@ -42441,18 +42510,18 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42441
42510
|
isRefetching: boolean;
|
|
42442
42511
|
isStale: boolean;
|
|
42443
42512
|
isEnabled: boolean;
|
|
42444
|
-
refetch: (options?:
|
|
42513
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
42445
42514
|
exact: number;
|
|
42446
42515
|
rounded: number | undefined;
|
|
42447
42516
|
sqrtPriceX96: bigint;
|
|
42448
|
-
},
|
|
42449
|
-
fetchStatus:
|
|
42517
|
+
}, viem184.ReadContractErrorType>>;
|
|
42518
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
42450
42519
|
promise: Promise<{
|
|
42451
42520
|
exact: number;
|
|
42452
42521
|
rounded: number | undefined;
|
|
42453
42522
|
sqrtPriceX96: bigint;
|
|
42454
42523
|
}>;
|
|
42455
|
-
queryKey:
|
|
42524
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
42456
42525
|
exact: number | undefined;
|
|
42457
42526
|
rounded: number | undefined;
|
|
42458
42527
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -42469,7 +42538,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42469
42538
|
dataUpdatedAt: number;
|
|
42470
42539
|
errorUpdatedAt: number;
|
|
42471
42540
|
failureCount: number;
|
|
42472
|
-
failureReason:
|
|
42541
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42473
42542
|
errorUpdateCount: number;
|
|
42474
42543
|
isFetched: boolean;
|
|
42475
42544
|
isFetchedAfterMount: boolean;
|
|
@@ -42479,18 +42548,18 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42479
42548
|
isRefetching: boolean;
|
|
42480
42549
|
isStale: boolean;
|
|
42481
42550
|
isEnabled: boolean;
|
|
42482
|
-
refetch: (options?:
|
|
42551
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<{
|
|
42483
42552
|
exact: number;
|
|
42484
42553
|
rounded: number | undefined;
|
|
42485
42554
|
sqrtPriceX96: bigint;
|
|
42486
|
-
},
|
|
42487
|
-
fetchStatus:
|
|
42555
|
+
}, viem184.ReadContractErrorType>>;
|
|
42556
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
42488
42557
|
promise: Promise<{
|
|
42489
42558
|
exact: number;
|
|
42490
42559
|
rounded: number | undefined;
|
|
42491
42560
|
sqrtPriceX96: bigint;
|
|
42492
42561
|
}>;
|
|
42493
|
-
queryKey:
|
|
42562
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
42494
42563
|
exact: number | undefined;
|
|
42495
42564
|
rounded: number | undefined;
|
|
42496
42565
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -42524,7 +42593,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
42524
42593
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
42525
42594
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
42526
42595
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
42527
|
-
error:
|
|
42596
|
+
error: viem184.ReadContractErrorType;
|
|
42528
42597
|
isError: true;
|
|
42529
42598
|
isPending: false;
|
|
42530
42599
|
isLoading: false;
|
|
@@ -42536,7 +42605,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42536
42605
|
dataUpdatedAt: number;
|
|
42537
42606
|
errorUpdatedAt: number;
|
|
42538
42607
|
failureCount: number;
|
|
42539
|
-
failureReason:
|
|
42608
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42540
42609
|
errorUpdateCount: number;
|
|
42541
42610
|
isFetched: boolean;
|
|
42542
42611
|
isFetchedAfterMount: boolean;
|
|
@@ -42546,7 +42615,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42546
42615
|
isRefetching: boolean;
|
|
42547
42616
|
isStale: boolean;
|
|
42548
42617
|
isEnabled: boolean;
|
|
42549
|
-
refetch: (options?:
|
|
42618
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<readonly {
|
|
42550
42619
|
tickLower: number;
|
|
42551
42620
|
tickUpper: number;
|
|
42552
42621
|
prevTickLower: number;
|
|
@@ -42556,8 +42625,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42556
42625
|
totalAmount1: bigint;
|
|
42557
42626
|
borrowedAmount0: bigint;
|
|
42558
42627
|
borrowedAmount1: bigint;
|
|
42559
|
-
}[],
|
|
42560
|
-
fetchStatus:
|
|
42628
|
+
}[], viem184.ReadContractErrorType>>;
|
|
42629
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
42561
42630
|
promise: Promise<readonly {
|
|
42562
42631
|
tickLower: number;
|
|
42563
42632
|
tickUpper: number;
|
|
@@ -42569,7 +42638,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42569
42638
|
borrowedAmount0: bigint;
|
|
42570
42639
|
borrowedAmount1: bigint;
|
|
42571
42640
|
}[]>;
|
|
42572
|
-
queryKey:
|
|
42641
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
42573
42642
|
data: readonly {
|
|
42574
42643
|
tickLower: number;
|
|
42575
42644
|
tickUpper: number;
|
|
@@ -42594,7 +42663,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42594
42663
|
dataUpdatedAt: number;
|
|
42595
42664
|
errorUpdatedAt: number;
|
|
42596
42665
|
failureCount: number;
|
|
42597
|
-
failureReason:
|
|
42666
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42598
42667
|
errorUpdateCount: number;
|
|
42599
42668
|
isFetched: boolean;
|
|
42600
42669
|
isFetchedAfterMount: boolean;
|
|
@@ -42604,7 +42673,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42604
42673
|
isRefetching: boolean;
|
|
42605
42674
|
isStale: boolean;
|
|
42606
42675
|
isEnabled: boolean;
|
|
42607
|
-
refetch: (options?:
|
|
42676
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<readonly {
|
|
42608
42677
|
tickLower: number;
|
|
42609
42678
|
tickUpper: number;
|
|
42610
42679
|
prevTickLower: number;
|
|
@@ -42614,8 +42683,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42614
42683
|
totalAmount1: bigint;
|
|
42615
42684
|
borrowedAmount0: bigint;
|
|
42616
42685
|
borrowedAmount1: bigint;
|
|
42617
|
-
}[],
|
|
42618
|
-
fetchStatus:
|
|
42686
|
+
}[], viem184.ReadContractErrorType>>;
|
|
42687
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
42619
42688
|
promise: Promise<readonly {
|
|
42620
42689
|
tickLower: number;
|
|
42621
42690
|
tickUpper: number;
|
|
@@ -42627,7 +42696,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42627
42696
|
borrowedAmount0: bigint;
|
|
42628
42697
|
borrowedAmount1: bigint;
|
|
42629
42698
|
}[]>;
|
|
42630
|
-
queryKey:
|
|
42699
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
42631
42700
|
data: readonly {
|
|
42632
42701
|
tickLower: number;
|
|
42633
42702
|
tickUpper: number;
|
|
@@ -42640,7 +42709,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42640
42709
|
borrowedAmount1: bigint;
|
|
42641
42710
|
}[];
|
|
42642
42711
|
} | {
|
|
42643
|
-
error:
|
|
42712
|
+
error: viem184.ReadContractErrorType;
|
|
42644
42713
|
isError: true;
|
|
42645
42714
|
isPending: false;
|
|
42646
42715
|
isLoading: false;
|
|
@@ -42652,7 +42721,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42652
42721
|
dataUpdatedAt: number;
|
|
42653
42722
|
errorUpdatedAt: number;
|
|
42654
42723
|
failureCount: number;
|
|
42655
|
-
failureReason:
|
|
42724
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42656
42725
|
errorUpdateCount: number;
|
|
42657
42726
|
isFetched: boolean;
|
|
42658
42727
|
isFetchedAfterMount: boolean;
|
|
@@ -42662,7 +42731,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42662
42731
|
isRefetching: boolean;
|
|
42663
42732
|
isStale: boolean;
|
|
42664
42733
|
isEnabled: boolean;
|
|
42665
|
-
refetch: (options?:
|
|
42734
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<readonly {
|
|
42666
42735
|
tickLower: number;
|
|
42667
42736
|
tickUpper: number;
|
|
42668
42737
|
prevTickLower: number;
|
|
@@ -42672,8 +42741,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42672
42741
|
totalAmount1: bigint;
|
|
42673
42742
|
borrowedAmount0: bigint;
|
|
42674
42743
|
borrowedAmount1: bigint;
|
|
42675
|
-
}[],
|
|
42676
|
-
fetchStatus:
|
|
42744
|
+
}[], viem184.ReadContractErrorType>>;
|
|
42745
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
42677
42746
|
promise: Promise<readonly {
|
|
42678
42747
|
tickLower: number;
|
|
42679
42748
|
tickUpper: number;
|
|
@@ -42685,7 +42754,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42685
42754
|
borrowedAmount0: bigint;
|
|
42686
42755
|
borrowedAmount1: bigint;
|
|
42687
42756
|
}[]>;
|
|
42688
|
-
queryKey:
|
|
42757
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
42689
42758
|
data: readonly {
|
|
42690
42759
|
tickLower: number;
|
|
42691
42760
|
tickUpper: number;
|
|
@@ -42710,7 +42779,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42710
42779
|
dataUpdatedAt: number;
|
|
42711
42780
|
errorUpdatedAt: number;
|
|
42712
42781
|
failureCount: number;
|
|
42713
|
-
failureReason:
|
|
42782
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42714
42783
|
errorUpdateCount: number;
|
|
42715
42784
|
isFetched: boolean;
|
|
42716
42785
|
isFetchedAfterMount: boolean;
|
|
@@ -42720,7 +42789,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42720
42789
|
isRefetching: boolean;
|
|
42721
42790
|
isStale: boolean;
|
|
42722
42791
|
isEnabled: boolean;
|
|
42723
|
-
refetch: (options?:
|
|
42792
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<readonly {
|
|
42724
42793
|
tickLower: number;
|
|
42725
42794
|
tickUpper: number;
|
|
42726
42795
|
prevTickLower: number;
|
|
@@ -42730,8 +42799,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42730
42799
|
totalAmount1: bigint;
|
|
42731
42800
|
borrowedAmount0: bigint;
|
|
42732
42801
|
borrowedAmount1: bigint;
|
|
42733
|
-
}[],
|
|
42734
|
-
fetchStatus:
|
|
42802
|
+
}[], viem184.ReadContractErrorType>>;
|
|
42803
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
42735
42804
|
promise: Promise<readonly {
|
|
42736
42805
|
tickLower: number;
|
|
42737
42806
|
tickUpper: number;
|
|
@@ -42743,7 +42812,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42743
42812
|
borrowedAmount0: bigint;
|
|
42744
42813
|
borrowedAmount1: bigint;
|
|
42745
42814
|
}[]>;
|
|
42746
|
-
queryKey:
|
|
42815
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
42747
42816
|
data: readonly {
|
|
42748
42817
|
tickLower: number;
|
|
42749
42818
|
tickUpper: number;
|
|
@@ -42767,7 +42836,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42767
42836
|
dataUpdatedAt: number;
|
|
42768
42837
|
errorUpdatedAt: number;
|
|
42769
42838
|
failureCount: number;
|
|
42770
|
-
failureReason:
|
|
42839
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42771
42840
|
errorUpdateCount: number;
|
|
42772
42841
|
isFetched: boolean;
|
|
42773
42842
|
isFetchedAfterMount: boolean;
|
|
@@ -42778,7 +42847,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42778
42847
|
isRefetching: boolean;
|
|
42779
42848
|
isStale: boolean;
|
|
42780
42849
|
isEnabled: boolean;
|
|
42781
|
-
refetch: (options?:
|
|
42850
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<readonly {
|
|
42782
42851
|
tickLower: number;
|
|
42783
42852
|
tickUpper: number;
|
|
42784
42853
|
prevTickLower: number;
|
|
@@ -42788,8 +42857,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42788
42857
|
totalAmount1: bigint;
|
|
42789
42858
|
borrowedAmount0: bigint;
|
|
42790
42859
|
borrowedAmount1: bigint;
|
|
42791
|
-
}[],
|
|
42792
|
-
fetchStatus:
|
|
42860
|
+
}[], viem184.ReadContractErrorType>>;
|
|
42861
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
42793
42862
|
promise: Promise<readonly {
|
|
42794
42863
|
tickLower: number;
|
|
42795
42864
|
tickUpper: number;
|
|
@@ -42801,7 +42870,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42801
42870
|
borrowedAmount0: bigint;
|
|
42802
42871
|
borrowedAmount1: bigint;
|
|
42803
42872
|
}[]>;
|
|
42804
|
-
queryKey:
|
|
42873
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
42805
42874
|
data: readonly {
|
|
42806
42875
|
tickLower: number;
|
|
42807
42876
|
tickUpper: number;
|
|
@@ -42826,7 +42895,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42826
42895
|
dataUpdatedAt: number;
|
|
42827
42896
|
errorUpdatedAt: number;
|
|
42828
42897
|
failureCount: number;
|
|
42829
|
-
failureReason:
|
|
42898
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42830
42899
|
errorUpdateCount: number;
|
|
42831
42900
|
isFetched: boolean;
|
|
42832
42901
|
isFetchedAfterMount: boolean;
|
|
@@ -42836,7 +42905,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42836
42905
|
isRefetching: boolean;
|
|
42837
42906
|
isStale: boolean;
|
|
42838
42907
|
isEnabled: boolean;
|
|
42839
|
-
refetch: (options?:
|
|
42908
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<readonly {
|
|
42840
42909
|
tickLower: number;
|
|
42841
42910
|
tickUpper: number;
|
|
42842
42911
|
prevTickLower: number;
|
|
@@ -42846,8 +42915,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42846
42915
|
totalAmount1: bigint;
|
|
42847
42916
|
borrowedAmount0: bigint;
|
|
42848
42917
|
borrowedAmount1: bigint;
|
|
42849
|
-
}[],
|
|
42850
|
-
fetchStatus:
|
|
42918
|
+
}[], viem184.ReadContractErrorType>>;
|
|
42919
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
42851
42920
|
promise: Promise<readonly {
|
|
42852
42921
|
tickLower: number;
|
|
42853
42922
|
tickUpper: number;
|
|
@@ -42859,7 +42928,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42859
42928
|
borrowedAmount0: bigint;
|
|
42860
42929
|
borrowedAmount1: bigint;
|
|
42861
42930
|
}[]>;
|
|
42862
|
-
queryKey:
|
|
42931
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
42863
42932
|
data: readonly {
|
|
42864
42933
|
tickLower: number;
|
|
42865
42934
|
tickUpper: number;
|
|
@@ -42917,7 +42986,7 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
42917
42986
|
borrowed0: Amount;
|
|
42918
42987
|
borrowed1: Amount;
|
|
42919
42988
|
blocksCount: bigint;
|
|
42920
|
-
refetch: (options?:
|
|
42989
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem184.ReadContractErrorType>>;
|
|
42921
42990
|
};
|
|
42922
42991
|
//#endregion
|
|
42923
42992
|
//#region src/hooks/tokens/useTokenData.d.ts
|
|
@@ -42930,7 +42999,7 @@ declare const useTokenData: (tokenAddr?: Address) => Partial<NonUndefinedGuard<{
|
|
|
42930
42999
|
//#endregion
|
|
42931
43000
|
//#region src/hooks/tokens/useTokenBalance.d.ts
|
|
42932
43001
|
declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
42933
|
-
error:
|
|
43002
|
+
error: viem184.ReadContractErrorType;
|
|
42934
43003
|
isError: true;
|
|
42935
43004
|
isPending: false;
|
|
42936
43005
|
isLoading: false;
|
|
@@ -42942,7 +43011,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
42942
43011
|
dataUpdatedAt: number;
|
|
42943
43012
|
errorUpdatedAt: number;
|
|
42944
43013
|
failureCount: number;
|
|
42945
|
-
failureReason:
|
|
43014
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42946
43015
|
errorUpdateCount: number;
|
|
42947
43016
|
isFetched: boolean;
|
|
42948
43017
|
isFetchedAfterMount: boolean;
|
|
@@ -42952,10 +43021,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
42952
43021
|
isRefetching: boolean;
|
|
42953
43022
|
isStale: boolean;
|
|
42954
43023
|
isEnabled: boolean;
|
|
42955
|
-
refetch: (options?:
|
|
42956
|
-
fetchStatus:
|
|
43024
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<bigint, viem184.ReadContractErrorType>>;
|
|
43025
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
42957
43026
|
promise: Promise<bigint>;
|
|
42958
|
-
queryKey:
|
|
43027
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
42959
43028
|
data: Amount | undefined;
|
|
42960
43029
|
} | {
|
|
42961
43030
|
error: null;
|
|
@@ -42970,7 +43039,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
42970
43039
|
dataUpdatedAt: number;
|
|
42971
43040
|
errorUpdatedAt: number;
|
|
42972
43041
|
failureCount: number;
|
|
42973
|
-
failureReason:
|
|
43042
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
42974
43043
|
errorUpdateCount: number;
|
|
42975
43044
|
isFetched: boolean;
|
|
42976
43045
|
isFetchedAfterMount: boolean;
|
|
@@ -42980,13 +43049,13 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
42980
43049
|
isRefetching: boolean;
|
|
42981
43050
|
isStale: boolean;
|
|
42982
43051
|
isEnabled: boolean;
|
|
42983
|
-
refetch: (options?:
|
|
42984
|
-
fetchStatus:
|
|
43052
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<bigint, viem184.ReadContractErrorType>>;
|
|
43053
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
42985
43054
|
promise: Promise<bigint>;
|
|
42986
|
-
queryKey:
|
|
43055
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
42987
43056
|
data: Amount | undefined;
|
|
42988
43057
|
} | {
|
|
42989
|
-
error:
|
|
43058
|
+
error: viem184.ReadContractErrorType;
|
|
42990
43059
|
isError: true;
|
|
42991
43060
|
isPending: false;
|
|
42992
43061
|
isLoading: false;
|
|
@@ -42998,7 +43067,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
42998
43067
|
dataUpdatedAt: number;
|
|
42999
43068
|
errorUpdatedAt: number;
|
|
43000
43069
|
failureCount: number;
|
|
43001
|
-
failureReason:
|
|
43070
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
43002
43071
|
errorUpdateCount: number;
|
|
43003
43072
|
isFetched: boolean;
|
|
43004
43073
|
isFetchedAfterMount: boolean;
|
|
@@ -43008,10 +43077,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43008
43077
|
isRefetching: boolean;
|
|
43009
43078
|
isStale: boolean;
|
|
43010
43079
|
isEnabled: boolean;
|
|
43011
|
-
refetch: (options?:
|
|
43012
|
-
fetchStatus:
|
|
43080
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<bigint, viem184.ReadContractErrorType>>;
|
|
43081
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
43013
43082
|
promise: Promise<bigint>;
|
|
43014
|
-
queryKey:
|
|
43083
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
43015
43084
|
data: Amount | undefined;
|
|
43016
43085
|
} | {
|
|
43017
43086
|
error: null;
|
|
@@ -43026,7 +43095,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43026
43095
|
dataUpdatedAt: number;
|
|
43027
43096
|
errorUpdatedAt: number;
|
|
43028
43097
|
failureCount: number;
|
|
43029
|
-
failureReason:
|
|
43098
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
43030
43099
|
errorUpdateCount: number;
|
|
43031
43100
|
isFetched: boolean;
|
|
43032
43101
|
isFetchedAfterMount: boolean;
|
|
@@ -43036,10 +43105,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43036
43105
|
isRefetching: boolean;
|
|
43037
43106
|
isStale: boolean;
|
|
43038
43107
|
isEnabled: boolean;
|
|
43039
|
-
refetch: (options?:
|
|
43040
|
-
fetchStatus:
|
|
43108
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<bigint, viem184.ReadContractErrorType>>;
|
|
43109
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
43041
43110
|
promise: Promise<bigint>;
|
|
43042
|
-
queryKey:
|
|
43111
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
43043
43112
|
data: Amount | undefined;
|
|
43044
43113
|
} | {
|
|
43045
43114
|
error: null;
|
|
@@ -43053,7 +43122,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43053
43122
|
dataUpdatedAt: number;
|
|
43054
43123
|
errorUpdatedAt: number;
|
|
43055
43124
|
failureCount: number;
|
|
43056
|
-
failureReason:
|
|
43125
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
43057
43126
|
errorUpdateCount: number;
|
|
43058
43127
|
isFetched: boolean;
|
|
43059
43128
|
isFetchedAfterMount: boolean;
|
|
@@ -43064,10 +43133,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43064
43133
|
isRefetching: boolean;
|
|
43065
43134
|
isStale: boolean;
|
|
43066
43135
|
isEnabled: boolean;
|
|
43067
|
-
refetch: (options?:
|
|
43068
|
-
fetchStatus:
|
|
43136
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<bigint, viem184.ReadContractErrorType>>;
|
|
43137
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
43069
43138
|
promise: Promise<bigint>;
|
|
43070
|
-
queryKey:
|
|
43139
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
43071
43140
|
data: Amount | undefined;
|
|
43072
43141
|
} | {
|
|
43073
43142
|
isError: false;
|
|
@@ -43082,7 +43151,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43082
43151
|
dataUpdatedAt: number;
|
|
43083
43152
|
errorUpdatedAt: number;
|
|
43084
43153
|
failureCount: number;
|
|
43085
|
-
failureReason:
|
|
43154
|
+
failureReason: viem184.ReadContractErrorType | null;
|
|
43086
43155
|
errorUpdateCount: number;
|
|
43087
43156
|
isFetched: boolean;
|
|
43088
43157
|
isFetchedAfterMount: boolean;
|
|
@@ -43092,10 +43161,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43092
43161
|
isRefetching: boolean;
|
|
43093
43162
|
isStale: boolean;
|
|
43094
43163
|
isEnabled: boolean;
|
|
43095
|
-
refetch: (options?:
|
|
43096
|
-
fetchStatus:
|
|
43164
|
+
refetch: (options?: _tanstack_query_core77.RefetchOptions) => Promise<_tanstack_query_core77.QueryObserverResult<bigint, viem184.ReadContractErrorType>>;
|
|
43165
|
+
fetchStatus: _tanstack_query_core77.FetchStatus;
|
|
43097
43166
|
promise: Promise<bigint>;
|
|
43098
|
-
queryKey:
|
|
43167
|
+
queryKey: _tanstack_query_core77.QueryKey;
|
|
43099
43168
|
data: Amount | undefined;
|
|
43100
43169
|
};
|
|
43101
43170
|
//#endregion
|
|
@@ -43112,7 +43181,7 @@ declare const useApproval: () => {
|
|
|
43112
43181
|
declare const useLens: () => {
|
|
43113
43182
|
timelockLens: {
|
|
43114
43183
|
read: {
|
|
43115
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
43184
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
43116
43185
|
readonly type: "function";
|
|
43117
43186
|
readonly name: "batchGetRefTick";
|
|
43118
43187
|
readonly inputs: readonly [{
|
|
@@ -43290,6 +43359,10 @@ declare const useLens: () => {
|
|
|
43290
43359
|
readonly name: "vault";
|
|
43291
43360
|
readonly type: "address";
|
|
43292
43361
|
readonly internalType: "contract ITimelockVault";
|
|
43362
|
+
}, {
|
|
43363
|
+
readonly name: "poolManager";
|
|
43364
|
+
readonly type: "address";
|
|
43365
|
+
readonly internalType: "contract IPoolManager";
|
|
43293
43366
|
}, {
|
|
43294
43367
|
readonly name: "poolKey";
|
|
43295
43368
|
readonly type: "tuple";
|
|
@@ -43809,7 +43882,7 @@ declare const useLens: () => {
|
|
|
43809
43882
|
}];
|
|
43810
43883
|
readonly stateMutability: "view";
|
|
43811
43884
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
43812
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
43885
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
43813
43886
|
readonly type: "function";
|
|
43814
43887
|
readonly name: "batchGetRefTick";
|
|
43815
43888
|
readonly inputs: readonly [{
|
|
@@ -43987,6 +44060,10 @@ declare const useLens: () => {
|
|
|
43987
44060
|
readonly name: "vault";
|
|
43988
44061
|
readonly type: "address";
|
|
43989
44062
|
readonly internalType: "contract ITimelockVault";
|
|
44063
|
+
}, {
|
|
44064
|
+
readonly name: "poolManager";
|
|
44065
|
+
readonly type: "address";
|
|
44066
|
+
readonly internalType: "contract IPoolManager";
|
|
43990
44067
|
}, {
|
|
43991
44068
|
readonly name: "poolKey";
|
|
43992
44069
|
readonly type: "tuple";
|
|
@@ -44516,7 +44593,7 @@ declare const useLens: () => {
|
|
|
44516
44593
|
borrowedAmount0: bigint;
|
|
44517
44594
|
borrowedAmount1: bigint;
|
|
44518
44595
|
}[]>;
|
|
44519
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
44596
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
44520
44597
|
readonly type: "function";
|
|
44521
44598
|
readonly name: "batchGetRefTick";
|
|
44522
44599
|
readonly inputs: readonly [{
|
|
@@ -44694,6 +44771,10 @@ declare const useLens: () => {
|
|
|
44694
44771
|
readonly name: "vault";
|
|
44695
44772
|
readonly type: "address";
|
|
44696
44773
|
readonly internalType: "contract ITimelockVault";
|
|
44774
|
+
}, {
|
|
44775
|
+
readonly name: "poolManager";
|
|
44776
|
+
readonly type: "address";
|
|
44777
|
+
readonly internalType: "contract IPoolManager";
|
|
44697
44778
|
}, {
|
|
44698
44779
|
readonly name: "poolKey";
|
|
44699
44780
|
readonly type: "tuple";
|
|
@@ -45223,7 +45304,7 @@ declare const useLens: () => {
|
|
|
45223
45304
|
expiresAt: number;
|
|
45224
45305
|
liquidities: readonly bigint[];
|
|
45225
45306
|
}[], bigint, boolean]>;
|
|
45226
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
45307
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
45227
45308
|
readonly type: "function";
|
|
45228
45309
|
readonly name: "batchGetRefTick";
|
|
45229
45310
|
readonly inputs: readonly [{
|
|
@@ -45401,6 +45482,10 @@ declare const useLens: () => {
|
|
|
45401
45482
|
readonly name: "vault";
|
|
45402
45483
|
readonly type: "address";
|
|
45403
45484
|
readonly internalType: "contract ITimelockVault";
|
|
45485
|
+
}, {
|
|
45486
|
+
readonly name: "poolManager";
|
|
45487
|
+
readonly type: "address";
|
|
45488
|
+
readonly internalType: "contract IPoolManager";
|
|
45404
45489
|
}, {
|
|
45405
45490
|
readonly name: "poolKey";
|
|
45406
45491
|
readonly type: "tuple";
|
|
@@ -45920,7 +46005,7 @@ declare const useLens: () => {
|
|
|
45920
46005
|
}];
|
|
45921
46006
|
readonly stateMutability: "view";
|
|
45922
46007
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
45923
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
46008
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
45924
46009
|
readonly type: "function";
|
|
45925
46010
|
readonly name: "batchGetRefTick";
|
|
45926
46011
|
readonly inputs: readonly [{
|
|
@@ -46098,6 +46183,10 @@ declare const useLens: () => {
|
|
|
46098
46183
|
readonly name: "vault";
|
|
46099
46184
|
readonly type: "address";
|
|
46100
46185
|
readonly internalType: "contract ITimelockVault";
|
|
46186
|
+
}, {
|
|
46187
|
+
readonly name: "poolManager";
|
|
46188
|
+
readonly type: "address";
|
|
46189
|
+
readonly internalType: "contract IPoolManager";
|
|
46101
46190
|
}, {
|
|
46102
46191
|
readonly name: "poolKey";
|
|
46103
46192
|
readonly type: "tuple";
|
|
@@ -46619,6 +46708,7 @@ declare const useLens: () => {
|
|
|
46619
46708
|
}], "getMarketData", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<{
|
|
46620
46709
|
optionAssetIsToken0: boolean;
|
|
46621
46710
|
vault: `0x${string}`;
|
|
46711
|
+
poolManager: `0x${string}`;
|
|
46622
46712
|
poolKey: {
|
|
46623
46713
|
currency0: `0x${string}`;
|
|
46624
46714
|
currency1: `0x${string}`;
|
|
@@ -46636,7 +46726,7 @@ declare const useLens: () => {
|
|
|
46636
46726
|
payoutAssetName: string;
|
|
46637
46727
|
optionsCount: bigint;
|
|
46638
46728
|
}>;
|
|
46639
|
-
getMaxATMSizes: (args: readonly [`0x${string}`, number], options?:
|
|
46729
|
+
getMaxATMSizes: (args: readonly [`0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
46640
46730
|
readonly type: "function";
|
|
46641
46731
|
readonly name: "batchGetRefTick";
|
|
46642
46732
|
readonly inputs: readonly [{
|
|
@@ -46814,6 +46904,10 @@ declare const useLens: () => {
|
|
|
46814
46904
|
readonly name: "vault";
|
|
46815
46905
|
readonly type: "address";
|
|
46816
46906
|
readonly internalType: "contract ITimelockVault";
|
|
46907
|
+
}, {
|
|
46908
|
+
readonly name: "poolManager";
|
|
46909
|
+
readonly type: "address";
|
|
46910
|
+
readonly internalType: "contract IPoolManager";
|
|
46817
46911
|
}, {
|
|
46818
46912
|
readonly name: "poolKey";
|
|
46819
46913
|
readonly type: "tuple";
|
|
@@ -47333,7 +47427,7 @@ declare const useLens: () => {
|
|
|
47333
47427
|
}];
|
|
47334
47428
|
readonly stateMutability: "view";
|
|
47335
47429
|
}], "getMaxATMSizes", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
47336
|
-
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?:
|
|
47430
|
+
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
47337
47431
|
readonly type: "function";
|
|
47338
47432
|
readonly name: "batchGetRefTick";
|
|
47339
47433
|
readonly inputs: readonly [{
|
|
@@ -47511,6 +47605,10 @@ declare const useLens: () => {
|
|
|
47511
47605
|
readonly name: "vault";
|
|
47512
47606
|
readonly type: "address";
|
|
47513
47607
|
readonly internalType: "contract ITimelockVault";
|
|
47608
|
+
}, {
|
|
47609
|
+
readonly name: "poolManager";
|
|
47610
|
+
readonly type: "address";
|
|
47611
|
+
readonly internalType: "contract IPoolManager";
|
|
47514
47612
|
}, {
|
|
47515
47613
|
readonly name: "poolKey";
|
|
47516
47614
|
readonly type: "tuple";
|
|
@@ -48030,7 +48128,7 @@ declare const useLens: () => {
|
|
|
48030
48128
|
}];
|
|
48031
48129
|
readonly stateMutability: "view";
|
|
48032
48130
|
}], "getMaxBorrowable0", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
48033
|
-
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?:
|
|
48131
|
+
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
48034
48132
|
readonly type: "function";
|
|
48035
48133
|
readonly name: "batchGetRefTick";
|
|
48036
48134
|
readonly inputs: readonly [{
|
|
@@ -48208,6 +48306,10 @@ declare const useLens: () => {
|
|
|
48208
48306
|
readonly name: "vault";
|
|
48209
48307
|
readonly type: "address";
|
|
48210
48308
|
readonly internalType: "contract ITimelockVault";
|
|
48309
|
+
}, {
|
|
48310
|
+
readonly name: "poolManager";
|
|
48311
|
+
readonly type: "address";
|
|
48312
|
+
readonly internalType: "contract IPoolManager";
|
|
48211
48313
|
}, {
|
|
48212
48314
|
readonly name: "poolKey";
|
|
48213
48315
|
readonly type: "tuple";
|
|
@@ -48727,7 +48829,7 @@ declare const useLens: () => {
|
|
|
48727
48829
|
}];
|
|
48728
48830
|
readonly stateMutability: "view";
|
|
48729
48831
|
}], "getMaxBorrowable1", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
48730
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
48832
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
48731
48833
|
readonly type: "function";
|
|
48732
48834
|
readonly name: "batchGetRefTick";
|
|
48733
48835
|
readonly inputs: readonly [{
|
|
@@ -48905,6 +49007,10 @@ declare const useLens: () => {
|
|
|
48905
49007
|
readonly name: "vault";
|
|
48906
49008
|
readonly type: "address";
|
|
48907
49009
|
readonly internalType: "contract ITimelockVault";
|
|
49010
|
+
}, {
|
|
49011
|
+
readonly name: "poolManager";
|
|
49012
|
+
readonly type: "address";
|
|
49013
|
+
readonly internalType: "contract IPoolManager";
|
|
48908
49014
|
}, {
|
|
48909
49015
|
readonly name: "poolKey";
|
|
48910
49016
|
readonly type: "tuple";
|
|
@@ -49434,7 +49540,7 @@ declare const useLens: () => {
|
|
|
49434
49540
|
expiresAt: number;
|
|
49435
49541
|
liquidities: readonly bigint[];
|
|
49436
49542
|
}>;
|
|
49437
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
49543
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
49438
49544
|
readonly type: "function";
|
|
49439
49545
|
readonly name: "batchGetRefTick";
|
|
49440
49546
|
readonly inputs: readonly [{
|
|
@@ -49612,6 +49718,10 @@ declare const useLens: () => {
|
|
|
49612
49718
|
readonly name: "vault";
|
|
49613
49719
|
readonly type: "address";
|
|
49614
49720
|
readonly internalType: "contract ITimelockVault";
|
|
49721
|
+
}, {
|
|
49722
|
+
readonly name: "poolManager";
|
|
49723
|
+
readonly type: "address";
|
|
49724
|
+
readonly internalType: "contract IPoolManager";
|
|
49615
49725
|
}, {
|
|
49616
49726
|
readonly name: "poolKey";
|
|
49617
49727
|
readonly type: "tuple";
|
|
@@ -50147,7 +50257,7 @@ declare const useLens: () => {
|
|
|
50147
50257
|
fee: number;
|
|
50148
50258
|
tickSpacing: number;
|
|
50149
50259
|
hooks: `0x${string}`;
|
|
50150
|
-
}], options?:
|
|
50260
|
+
}], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
50151
50261
|
readonly type: "function";
|
|
50152
50262
|
readonly name: "batchGetRefTick";
|
|
50153
50263
|
readonly inputs: readonly [{
|
|
@@ -50325,6 +50435,10 @@ declare const useLens: () => {
|
|
|
50325
50435
|
readonly name: "vault";
|
|
50326
50436
|
readonly type: "address";
|
|
50327
50437
|
readonly internalType: "contract ITimelockVault";
|
|
50438
|
+
}, {
|
|
50439
|
+
readonly name: "poolManager";
|
|
50440
|
+
readonly type: "address";
|
|
50441
|
+
readonly internalType: "contract IPoolManager";
|
|
50328
50442
|
}, {
|
|
50329
50443
|
readonly name: "poolKey";
|
|
50330
50444
|
readonly type: "tuple";
|
|
@@ -50861,7 +50975,7 @@ declare const useLens: () => {
|
|
|
50861
50975
|
tickSpacing: number;
|
|
50862
50976
|
fee: number;
|
|
50863
50977
|
}>;
|
|
50864
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
50978
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
50865
50979
|
readonly type: "function";
|
|
50866
50980
|
readonly name: "batchGetRefTick";
|
|
50867
50981
|
readonly inputs: readonly [{
|
|
@@ -51039,6 +51153,10 @@ declare const useLens: () => {
|
|
|
51039
51153
|
readonly name: "vault";
|
|
51040
51154
|
readonly type: "address";
|
|
51041
51155
|
readonly internalType: "contract ITimelockVault";
|
|
51156
|
+
}, {
|
|
51157
|
+
readonly name: "poolManager";
|
|
51158
|
+
readonly type: "address";
|
|
51159
|
+
readonly internalType: "contract IPoolManager";
|
|
51042
51160
|
}, {
|
|
51043
51161
|
readonly name: "poolKey";
|
|
51044
51162
|
readonly type: "tuple";
|
|
@@ -51558,7 +51676,7 @@ declare const useLens: () => {
|
|
|
51558
51676
|
}];
|
|
51559
51677
|
readonly stateMutability: "view";
|
|
51560
51678
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
51561
|
-
getTokenData: (args: readonly [`0x${string}`], options?:
|
|
51679
|
+
getTokenData: (args: readonly [`0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
51562
51680
|
readonly type: "function";
|
|
51563
51681
|
readonly name: "batchGetRefTick";
|
|
51564
51682
|
readonly inputs: readonly [{
|
|
@@ -51736,6 +51854,10 @@ declare const useLens: () => {
|
|
|
51736
51854
|
readonly name: "vault";
|
|
51737
51855
|
readonly type: "address";
|
|
51738
51856
|
readonly internalType: "contract ITimelockVault";
|
|
51857
|
+
}, {
|
|
51858
|
+
readonly name: "poolManager";
|
|
51859
|
+
readonly type: "address";
|
|
51860
|
+
readonly internalType: "contract IPoolManager";
|
|
51739
51861
|
}, {
|
|
51740
51862
|
readonly name: "poolKey";
|
|
51741
51863
|
readonly type: "tuple";
|
|
@@ -52259,7 +52381,7 @@ declare const useLens: () => {
|
|
|
52259
52381
|
symbol: string;
|
|
52260
52382
|
name: string;
|
|
52261
52383
|
}>;
|
|
52262
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
52384
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
52263
52385
|
readonly type: "function";
|
|
52264
52386
|
readonly name: "batchGetRefTick";
|
|
52265
52387
|
readonly inputs: readonly [{
|
|
@@ -52437,6 +52559,10 @@ declare const useLens: () => {
|
|
|
52437
52559
|
readonly name: "vault";
|
|
52438
52560
|
readonly type: "address";
|
|
52439
52561
|
readonly internalType: "contract ITimelockVault";
|
|
52562
|
+
}, {
|
|
52563
|
+
readonly name: "poolManager";
|
|
52564
|
+
readonly type: "address";
|
|
52565
|
+
readonly internalType: "contract IPoolManager";
|
|
52440
52566
|
}, {
|
|
52441
52567
|
readonly name: "poolKey";
|
|
52442
52568
|
readonly type: "tuple";
|
|
@@ -52966,7 +53092,7 @@ declare const useLens: () => {
|
|
|
52966
53092
|
expiresAt: number;
|
|
52967
53093
|
liquidities: readonly bigint[];
|
|
52968
53094
|
}[], bigint, boolean]>;
|
|
52969
|
-
getVaultData: (args: readonly [`0x${string}`], options?:
|
|
53095
|
+
getVaultData: (args: readonly [`0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
52970
53096
|
readonly type: "function";
|
|
52971
53097
|
readonly name: "batchGetRefTick";
|
|
52972
53098
|
readonly inputs: readonly [{
|
|
@@ -53144,6 +53270,10 @@ declare const useLens: () => {
|
|
|
53144
53270
|
readonly name: "vault";
|
|
53145
53271
|
readonly type: "address";
|
|
53146
53272
|
readonly internalType: "contract ITimelockVault";
|
|
53273
|
+
}, {
|
|
53274
|
+
readonly name: "poolManager";
|
|
53275
|
+
readonly type: "address";
|
|
53276
|
+
readonly internalType: "contract IPoolManager";
|
|
53147
53277
|
}, {
|
|
53148
53278
|
readonly name: "poolKey";
|
|
53149
53279
|
readonly type: "tuple";
|
|
@@ -53672,7 +53802,7 @@ declare const useLens: () => {
|
|
|
53672
53802
|
hooks: `0x${string}`;
|
|
53673
53803
|
};
|
|
53674
53804
|
}>;
|
|
53675
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
53805
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
53676
53806
|
readonly type: "function";
|
|
53677
53807
|
readonly name: "batchGetRefTick";
|
|
53678
53808
|
readonly inputs: readonly [{
|
|
@@ -53850,6 +53980,10 @@ declare const useLens: () => {
|
|
|
53850
53980
|
readonly name: "vault";
|
|
53851
53981
|
readonly type: "address";
|
|
53852
53982
|
readonly internalType: "contract ITimelockVault";
|
|
53983
|
+
}, {
|
|
53984
|
+
readonly name: "poolManager";
|
|
53985
|
+
readonly type: "address";
|
|
53986
|
+
readonly internalType: "contract IPoolManager";
|
|
53853
53987
|
}, {
|
|
53854
53988
|
readonly name: "poolKey";
|
|
53855
53989
|
readonly type: "tuple";
|
|
@@ -54549,6 +54683,10 @@ declare const useLens: () => {
|
|
|
54549
54683
|
readonly name: "vault";
|
|
54550
54684
|
readonly type: "address";
|
|
54551
54685
|
readonly internalType: "contract ITimelockVault";
|
|
54686
|
+
}, {
|
|
54687
|
+
readonly name: "poolManager";
|
|
54688
|
+
readonly type: "address";
|
|
54689
|
+
readonly internalType: "contract IPoolManager";
|
|
54552
54690
|
}, {
|
|
54553
54691
|
readonly name: "poolKey";
|
|
54554
54692
|
readonly type: "tuple";
|
|
@@ -55071,7 +55209,7 @@ declare const useLens: () => {
|
|
|
55071
55209
|
} | undefined;
|
|
55072
55210
|
stateView: {
|
|
55073
55211
|
read: {
|
|
55074
|
-
getFeeGrowthGlobals: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
55212
|
+
getFeeGrowthGlobals: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
55075
55213
|
readonly type: "function";
|
|
55076
55214
|
readonly name: "getFeeGrowthGlobals";
|
|
55077
55215
|
readonly inputs: readonly [{
|
|
@@ -55918,7 +56056,7 @@ declare const useLens: () => {
|
|
|
55918
56056
|
fee: number;
|
|
55919
56057
|
tickSpacing: number;
|
|
55920
56058
|
hooks: `0x${string}`;
|
|
55921
|
-
}], options?:
|
|
56059
|
+
}], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
55922
56060
|
readonly type: "function";
|
|
55923
56061
|
readonly name: "getFeeGrowthGlobals";
|
|
55924
56062
|
readonly inputs: readonly [{
|
|
@@ -56760,7 +56898,7 @@ declare const useLens: () => {
|
|
|
56760
56898
|
tickSpacing: number;
|
|
56761
56899
|
hooks: `0x${string}`;
|
|
56762
56900
|
}]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
56763
|
-
getFeeGrowthInside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number, number], options?:
|
|
56901
|
+
getFeeGrowthInside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
56764
56902
|
readonly type: "function";
|
|
56765
56903
|
readonly name: "getFeeGrowthGlobals";
|
|
56766
56904
|
readonly inputs: readonly [{
|
|
@@ -57607,7 +57745,7 @@ declare const useLens: () => {
|
|
|
57607
57745
|
fee: number;
|
|
57608
57746
|
tickSpacing: number;
|
|
57609
57747
|
hooks: `0x${string}`;
|
|
57610
|
-
}, number, number], options?:
|
|
57748
|
+
}, number, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
57611
57749
|
readonly type: "function";
|
|
57612
57750
|
readonly name: "getFeeGrowthGlobals";
|
|
57613
57751
|
readonly inputs: readonly [{
|
|
@@ -58449,7 +58587,7 @@ declare const useLens: () => {
|
|
|
58449
58587
|
tickSpacing: number;
|
|
58450
58588
|
hooks: `0x${string}`;
|
|
58451
58589
|
}, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
58452
|
-
getLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
58590
|
+
getLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
58453
58591
|
readonly type: "function";
|
|
58454
58592
|
readonly name: "getFeeGrowthGlobals";
|
|
58455
58593
|
readonly inputs: readonly [{
|
|
@@ -59296,7 +59434,7 @@ declare const useLens: () => {
|
|
|
59296
59434
|
fee: number;
|
|
59297
59435
|
tickSpacing: number;
|
|
59298
59436
|
hooks: `0x${string}`;
|
|
59299
|
-
}], options?:
|
|
59437
|
+
}], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
59300
59438
|
readonly type: "function";
|
|
59301
59439
|
readonly name: "getFeeGrowthGlobals";
|
|
59302
59440
|
readonly inputs: readonly [{
|
|
@@ -60138,7 +60276,7 @@ declare const useLens: () => {
|
|
|
60138
60276
|
tickSpacing: number;
|
|
60139
60277
|
hooks: `0x${string}`;
|
|
60140
60278
|
}]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
60141
|
-
getPositionInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?:
|
|
60279
|
+
getPositionInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
60142
60280
|
readonly type: "function";
|
|
60143
60281
|
readonly name: "getFeeGrowthGlobals";
|
|
60144
60282
|
readonly inputs: readonly [{
|
|
@@ -60985,7 +61123,7 @@ declare const useLens: () => {
|
|
|
60985
61123
|
fee: number;
|
|
60986
61124
|
tickSpacing: number;
|
|
60987
61125
|
hooks: `0x${string}`;
|
|
60988
|
-
}, `0x${string}`, number, number, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, number, number, `0x${string}`], options?:
|
|
61126
|
+
}, `0x${string}`, number, number, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, number, number, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
60989
61127
|
readonly type: "function";
|
|
60990
61128
|
readonly name: "getFeeGrowthGlobals";
|
|
60991
61129
|
readonly inputs: readonly [{
|
|
@@ -61838,7 +61976,7 @@ declare const useLens: () => {
|
|
|
61838
61976
|
fee: number;
|
|
61839
61977
|
tickSpacing: number;
|
|
61840
61978
|
hooks: `0x${string}`;
|
|
61841
|
-
}, `0x${string}`], options?:
|
|
61979
|
+
}, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
61842
61980
|
readonly type: "function";
|
|
61843
61981
|
readonly name: "getFeeGrowthGlobals";
|
|
61844
61982
|
readonly inputs: readonly [{
|
|
@@ -62691,7 +62829,7 @@ declare const useLens: () => {
|
|
|
62691
62829
|
fee: number;
|
|
62692
62830
|
tickSpacing: number;
|
|
62693
62831
|
hooks: `0x${string}`;
|
|
62694
|
-
}, `0x${string}`, number, number, `0x${string}`], options?:
|
|
62832
|
+
}, `0x${string}`, number, number, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
62695
62833
|
readonly type: "function";
|
|
62696
62834
|
readonly name: "getFeeGrowthGlobals";
|
|
62697
62835
|
readonly inputs: readonly [{
|
|
@@ -63539,7 +63677,7 @@ declare const useLens: () => {
|
|
|
63539
63677
|
tickSpacing: number;
|
|
63540
63678
|
hooks: `0x${string}`;
|
|
63541
63679
|
}, `0x${string}`, number, number, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
63542
|
-
getPositionLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?:
|
|
63680
|
+
getPositionLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
63543
63681
|
readonly type: "function";
|
|
63544
63682
|
readonly name: "getFeeGrowthGlobals";
|
|
63545
63683
|
readonly inputs: readonly [{
|
|
@@ -64386,7 +64524,7 @@ declare const useLens: () => {
|
|
|
64386
64524
|
fee: number;
|
|
64387
64525
|
tickSpacing: number;
|
|
64388
64526
|
hooks: `0x${string}`;
|
|
64389
|
-
}, `0x${string}`], options?:
|
|
64527
|
+
}, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
64390
64528
|
readonly type: "function";
|
|
64391
64529
|
readonly name: "getFeeGrowthGlobals";
|
|
64392
64530
|
readonly inputs: readonly [{
|
|
@@ -65228,7 +65366,7 @@ declare const useLens: () => {
|
|
|
65228
65366
|
tickSpacing: number;
|
|
65229
65367
|
hooks: `0x${string}`;
|
|
65230
65368
|
}, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
65231
|
-
getSlot0: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
65369
|
+
getSlot0: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
65232
65370
|
readonly type: "function";
|
|
65233
65371
|
readonly name: "getFeeGrowthGlobals";
|
|
65234
65372
|
readonly inputs: readonly [{
|
|
@@ -66063,19 +66201,19 @@ declare const useLens: () => {
|
|
|
66063
66201
|
readonly internalType: "int128";
|
|
66064
66202
|
}];
|
|
66065
66203
|
readonly stateMutability: "view";
|
|
66066
|
-
}], "getSlot0", readonly [`0x${string}`, {
|
|
66204
|
+
}], "getSlot0", readonly [`0x${string}`, `0x${string}`] | readonly [`0x${string}`, {
|
|
66067
66205
|
currency0: `0x${string}`;
|
|
66068
66206
|
currency1: `0x${string}`;
|
|
66069
66207
|
fee: number;
|
|
66070
66208
|
tickSpacing: number;
|
|
66071
66209
|
hooks: `0x${string}`;
|
|
66072
|
-
}]
|
|
66210
|
+
}]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, {
|
|
66073
66211
|
currency0: `0x${string}`;
|
|
66074
66212
|
currency1: `0x${string}`;
|
|
66075
66213
|
fee: number;
|
|
66076
66214
|
tickSpacing: number;
|
|
66077
66215
|
hooks: `0x${string}`;
|
|
66078
|
-
}], options?:
|
|
66216
|
+
}], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
66079
66217
|
readonly type: "function";
|
|
66080
66218
|
readonly name: "getFeeGrowthGlobals";
|
|
66081
66219
|
readonly inputs: readonly [{
|
|
@@ -66910,14 +67048,14 @@ declare const useLens: () => {
|
|
|
66910
67048
|
readonly internalType: "int128";
|
|
66911
67049
|
}];
|
|
66912
67050
|
readonly stateMutability: "view";
|
|
66913
|
-
}], "getSlot0", readonly [`0x${string}`, {
|
|
67051
|
+
}], "getSlot0", readonly [`0x${string}`, `0x${string}`] | readonly [`0x${string}`, {
|
|
66914
67052
|
currency0: `0x${string}`;
|
|
66915
67053
|
currency1: `0x${string}`;
|
|
66916
67054
|
fee: number;
|
|
66917
67055
|
tickSpacing: number;
|
|
66918
67056
|
hooks: `0x${string}`;
|
|
66919
|
-
}]
|
|
66920
|
-
getTickBitmap: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
67057
|
+
}]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
67058
|
+
getTickBitmap: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
66921
67059
|
readonly type: "function";
|
|
66922
67060
|
readonly name: "getFeeGrowthGlobals";
|
|
66923
67061
|
readonly inputs: readonly [{
|
|
@@ -67764,7 +67902,7 @@ declare const useLens: () => {
|
|
|
67764
67902
|
fee: number;
|
|
67765
67903
|
tickSpacing: number;
|
|
67766
67904
|
hooks: `0x${string}`;
|
|
67767
|
-
}, number], options?:
|
|
67905
|
+
}, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
67768
67906
|
readonly type: "function";
|
|
67769
67907
|
readonly name: "getFeeGrowthGlobals";
|
|
67770
67908
|
readonly inputs: readonly [{
|
|
@@ -68606,7 +68744,7 @@ declare const useLens: () => {
|
|
|
68606
68744
|
tickSpacing: number;
|
|
68607
68745
|
hooks: `0x${string}`;
|
|
68608
68746
|
}, number] | readonly [`0x${string}`, `0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
68609
|
-
getTickFeeGrowthOutside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
68747
|
+
getTickFeeGrowthOutside: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
68610
68748
|
readonly type: "function";
|
|
68611
68749
|
readonly name: "getFeeGrowthGlobals";
|
|
68612
68750
|
readonly inputs: readonly [{
|
|
@@ -69453,7 +69591,7 @@ declare const useLens: () => {
|
|
|
69453
69591
|
fee: number;
|
|
69454
69592
|
tickSpacing: number;
|
|
69455
69593
|
hooks: `0x${string}`;
|
|
69456
|
-
}, number], options?:
|
|
69594
|
+
}, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
69457
69595
|
readonly type: "function";
|
|
69458
69596
|
readonly name: "getFeeGrowthGlobals";
|
|
69459
69597
|
readonly inputs: readonly [{
|
|
@@ -70295,7 +70433,7 @@ declare const useLens: () => {
|
|
|
70295
70433
|
tickSpacing: number;
|
|
70296
70434
|
hooks: `0x${string}`;
|
|
70297
70435
|
}, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
70298
|
-
getTickInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
70436
|
+
getTickInfo: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
70299
70437
|
readonly type: "function";
|
|
70300
70438
|
readonly name: "getFeeGrowthGlobals";
|
|
70301
70439
|
readonly inputs: readonly [{
|
|
@@ -71142,7 +71280,7 @@ declare const useLens: () => {
|
|
|
71142
71280
|
fee: number;
|
|
71143
71281
|
tickSpacing: number;
|
|
71144
71282
|
hooks: `0x${string}`;
|
|
71145
|
-
}, number], options?:
|
|
71283
|
+
}, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
71146
71284
|
readonly type: "function";
|
|
71147
71285
|
readonly name: "getFeeGrowthGlobals";
|
|
71148
71286
|
readonly inputs: readonly [{
|
|
@@ -71984,7 +72122,7 @@ declare const useLens: () => {
|
|
|
71984
72122
|
tickSpacing: number;
|
|
71985
72123
|
hooks: `0x${string}`;
|
|
71986
72124
|
}, number]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
|
|
71987
|
-
getTickLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?:
|
|
72125
|
+
getTickLiquidity: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
71988
72126
|
readonly type: "function";
|
|
71989
72127
|
readonly name: "getFeeGrowthGlobals";
|
|
71990
72128
|
readonly inputs: readonly [{
|
|
@@ -72831,7 +72969,7 @@ declare const useLens: () => {
|
|
|
72831
72969
|
fee: number;
|
|
72832
72970
|
tickSpacing: number;
|
|
72833
72971
|
hooks: `0x${string}`;
|
|
72834
|
-
}, number], options?:
|
|
72972
|
+
}, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
|
|
72835
72973
|
readonly type: "function";
|
|
72836
72974
|
readonly name: "getFeeGrowthGlobals";
|
|
72837
72975
|
readonly inputs: readonly [{
|
|
@@ -74515,4 +74653,4 @@ declare const useLens: () => {
|
|
|
74515
74653
|
};
|
|
74516
74654
|
//#endregion
|
|
74517
74655
|
export { ExerciseOptionEvent as $, getTickAtPrice as A, TimelockProvider as At, PriceDataPoint as B, getTimelockMarket as Bt, getPayoutAtTick as C, zero as Ct, getPriceAtSqrtPriceX96 as D, OptionData as Dt, getNearestValidStrikeTick as E, useExerciseOption as Et, token0ToToken1 as F, TimelockMarketData as Ft, useUserOperators as G, getCurrentPrice as H, swappers as Ht, token0ToToken1AtTick as I, UniswapMathLens as It, useClosedUserPerps as J, useOperatorPerms as K, token1ToToken0 as L, getErc20 as Lt, liquiditiesToAmount1 as M, useTimelockConfig as Mt, liquiditiesToAmounts as N, TimelockLens as Nt, getPriceAtTick as O, useActiveUserOptions as Ot, roundTick as P, TimelockMarket as Pt, useMintPerp as Q, token1ToToken0AtTick as R, getStateView as Rt, getPayoutAtPrice as S, wrapPriceUnscaled as St, getAmountsFromLiquidity as T, useMarketData as Tt, getPriceHistory as U, timelockLenses as Ut, PriceResolution as V, stateViews as Vt, useSetOperatorPerms as W, usePerpsOperator as X, useUserPerps as Y, useClosePerp as Z, useCurrentTick as _, unscaleAmount as _t, useTokenData as a, useOptionPremium as at, usePoolData as b, wrapAmountUnscaled as bt, batchGetAmountsFromLiquidity as c, useMaxPositionSize as ct, useLiquidityBlocks as d, formatAmount as dt, ExtendEvent as et, useBurnLiquidity as f, formatCondensed as ft, usePriceSqrtPriceX96 as g, scalePrice as gt, usePriceAtTick as h, scaleAmount as ht, TokenData as i, useExtendOption as it, liquiditiesToAmount0 as j, useCurrentMarket as jt, getSqrtPriceX96AtPrice as k, useClosedUserOptions as kt, useMintLiquidity as l, Amount as lt, usePriceHistory as m, formatVagueAmount as mt, useApproval as n, OptionEvent as nt, useVaultTVL as o, useOptionPnl as ot, useMarketPriceHistory as p, formatUSD as pt, useActiveUserPerps as q, useTokenBalance as r, useOptionTimeline as rt, useVaultData as s, useMintOption as st, useLens as t, MintOptionEvent as tt, LiquidityBlockData as u, EMPTY_ARRAY as ut, PoolKey as v, unscalePrice as vt, PRICE_PRECISION as w, useMarketVolume as wt, useCurrentPrice as x, wrapPrice as xt, UniswapPoolData as y, wrapAmount as yt, PriceData as z, getTimelockLens as zt };
|
|
74518
|
-
//# sourceMappingURL=client-
|
|
74656
|
+
//# sourceMappingURL=client-C64SeTLH.d.cts.map
|