timelock-sdk 0.0.136 → 0.0.138
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-B7kKAk49.d.cts → client-CP_QHL05.d.cts} +347 -209
- package/dist/{client-D4EJlSs_.d.ts → client-D1p2JAlj.d.ts} +516 -378
- 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-pH0o9gTm.cjs → optionUtils-BUJzXFyd.cjs} +3 -3
- package/dist/{optionUtils-pH0o9gTm.cjs.map → optionUtils-BUJzXFyd.cjs.map} +1 -1
- package/dist/{optionUtils-B0rlRtfb.js → optionUtils-BunZxBrW.js} +3 -3
- package/dist/{optionUtils-B0rlRtfb.js.map → optionUtils-BunZxBrW.js.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,5 +1,5 @@
|
|
|
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 viem0 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
4
|
import React, { ReactNode } from "react";
|
|
5
5
|
import "graphql";
|
|
@@ -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?: viem0.Prettify<viem0.UnionOmit<viem0.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
|
-
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
423
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
424
424
|
readonly type: "constructor";
|
|
425
425
|
readonly inputs: readonly [{
|
|
426
426
|
readonly name: "name_";
|
|
@@ -599,7 +599,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
599
599
|
}];
|
|
600
600
|
readonly stateMutability: "nonpayable";
|
|
601
601
|
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
602
|
-
balanceOf: (args: readonly [`0x${string}`], options?:
|
|
602
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
603
603
|
readonly type: "constructor";
|
|
604
604
|
readonly inputs: readonly [{
|
|
605
605
|
readonly name: "name_";
|
|
@@ -778,7 +778,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
778
778
|
}];
|
|
779
779
|
readonly stateMutability: "nonpayable";
|
|
780
780
|
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
781
|
-
decimals: (options?:
|
|
781
|
+
decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
782
782
|
readonly type: "constructor";
|
|
783
783
|
readonly inputs: readonly [{
|
|
784
784
|
readonly name: "name_";
|
|
@@ -957,7 +957,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
957
957
|
}];
|
|
958
958
|
readonly stateMutability: "nonpayable";
|
|
959
959
|
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
960
|
-
name: (options?:
|
|
960
|
+
name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
961
961
|
readonly type: "constructor";
|
|
962
962
|
readonly inputs: readonly [{
|
|
963
963
|
readonly name: "name_";
|
|
@@ -1136,7 +1136,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1136
1136
|
}];
|
|
1137
1137
|
readonly stateMutability: "nonpayable";
|
|
1138
1138
|
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
1139
|
-
totalSupply: (options?:
|
|
1139
|
+
totalSupply: (options?: viem0.Prettify<viem0.UnionOmit<viem0.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: viem0.Prettify<viem0.UnionOmit<viem0.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], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
1499
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.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], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
1678
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.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], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
1857
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.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], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2036
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.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], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2215
2215
|
} & {
|
|
2216
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
2216
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.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], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2395
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.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], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2574
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.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], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2753
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.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], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2932
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.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], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
3111
3111
|
};
|
|
3112
3112
|
simulate: {
|
|
3113
|
-
approve: <chainOverride extends
|
|
3113
|
+
approve: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.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], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.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], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
3470
|
+
decreaseAllowance: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.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], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.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], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
3827
|
+
increaseAllowance: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.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], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.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], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
4184
|
+
transfer: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.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], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.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], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
4541
|
+
transferFrom: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
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], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.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], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
4898
4898
|
};
|
|
4899
4899
|
write: {
|
|
4900
|
-
approve: <chainOverride extends
|
|
4900
|
+
approve: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.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], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5079
|
+
decreaseAllowance: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.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], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5258
|
+
increaseAllowance: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.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], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5437
|
+
transfer: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.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], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5616
|
+
transferFrom: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.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], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, `0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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";
|
|
@@ -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: viem0.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: viem0.ReadContractErrorType | null;
|
|
39585
39654
|
errorUpdateCount: number;
|
|
39586
39655
|
isFetched: boolean;
|
|
39587
39656
|
isFetchedAfterMount: boolean;
|
|
@@ -39591,7 +39660,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39591
39660
|
isRefetching: boolean;
|
|
39592
39661
|
isStale: boolean;
|
|
39593
39662
|
isEnabled: boolean;
|
|
39594
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint],
|
|
39663
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint], viem0.ReadContractErrorType>>;
|
|
39595
39664
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
39596
39665
|
promise: Promise<readonly [bigint, bigint]>;
|
|
39597
39666
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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: viem0.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?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint],
|
|
39692
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint], viem0.ReadContractErrorType>>;
|
|
39624
39693
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
39625
39694
|
promise: Promise<readonly [bigint, bigint]>;
|
|
39626
39695
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
39627
39696
|
maxCallSize: Amount | undefined;
|
|
39628
39697
|
maxPutSize: Amount | undefined;
|
|
39629
39698
|
} | {
|
|
39630
|
-
error:
|
|
39699
|
+
error: viem0.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: viem0.ReadContractErrorType | null;
|
|
39643
39712
|
errorUpdateCount: number;
|
|
39644
39713
|
isFetched: boolean;
|
|
39645
39714
|
isFetchedAfterMount: boolean;
|
|
@@ -39649,7 +39718,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39649
39718
|
isRefetching: boolean;
|
|
39650
39719
|
isStale: boolean;
|
|
39651
39720
|
isEnabled: boolean;
|
|
39652
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint],
|
|
39721
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint], viem0.ReadContractErrorType>>;
|
|
39653
39722
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
39654
39723
|
promise: Promise<readonly [bigint, bigint]>;
|
|
39655
39724
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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: viem0.ReadContractErrorType | null;
|
|
39672
39741
|
errorUpdateCount: number;
|
|
39673
39742
|
isFetched: boolean;
|
|
39674
39743
|
isFetchedAfterMount: boolean;
|
|
@@ -39678,7 +39747,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39678
39747
|
isRefetching: boolean;
|
|
39679
39748
|
isStale: boolean;
|
|
39680
39749
|
isEnabled: boolean;
|
|
39681
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint],
|
|
39750
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint], viem0.ReadContractErrorType>>;
|
|
39682
39751
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
39683
39752
|
promise: Promise<readonly [bigint, bigint]>;
|
|
39684
39753
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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: viem0.ReadContractErrorType | null;
|
|
39700
39769
|
errorUpdateCount: number;
|
|
39701
39770
|
isFetched: boolean;
|
|
39702
39771
|
isFetchedAfterMount: boolean;
|
|
@@ -39707,7 +39776,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39707
39776
|
isRefetching: boolean;
|
|
39708
39777
|
isStale: boolean;
|
|
39709
39778
|
isEnabled: boolean;
|
|
39710
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint],
|
|
39779
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint], viem0.ReadContractErrorType>>;
|
|
39711
39780
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
39712
39781
|
promise: Promise<readonly [bigint, bigint]>;
|
|
39713
39782
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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: viem0.ReadContractErrorType | null;
|
|
39730
39799
|
errorUpdateCount: number;
|
|
39731
39800
|
isFetched: boolean;
|
|
39732
39801
|
isFetchedAfterMount: boolean;
|
|
@@ -39736,7 +39805,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39736
39805
|
isRefetching: boolean;
|
|
39737
39806
|
isStale: boolean;
|
|
39738
39807
|
isEnabled: boolean;
|
|
39739
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint],
|
|
39808
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint], viem0.ReadContractErrorType>>;
|
|
39740
39809
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
39741
39810
|
promise: Promise<readonly [bigint, bigint]>;
|
|
39742
39811
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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: viem0.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: viem0.ReadContractErrorType | null;
|
|
41593
41662
|
errorUpdateCount: number;
|
|
41594
41663
|
isFetched: boolean;
|
|
41595
41664
|
isFetchedAfterMount: boolean;
|
|
@@ -41599,7 +41668,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41599
41668
|
isRefetching: boolean;
|
|
41600
41669
|
isStale: boolean;
|
|
41601
41670
|
isEnabled: boolean;
|
|
41602
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
41671
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
41603
41672
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41604
41673
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
41605
41674
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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: viem0.ReadContractErrorType | null;
|
|
41628
41697
|
errorUpdateCount: number;
|
|
41629
41698
|
isFetched: boolean;
|
|
41630
41699
|
isFetchedAfterMount: boolean;
|
|
@@ -41634,7 +41703,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41634
41703
|
isRefetching: boolean;
|
|
41635
41704
|
isStale: boolean;
|
|
41636
41705
|
isEnabled: boolean;
|
|
41637
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
41706
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
41638
41707
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41639
41708
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
41640
41709
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -41647,7 +41716,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41647
41716
|
effectiveApproval: bigint;
|
|
41648
41717
|
};
|
|
41649
41718
|
} | {
|
|
41650
|
-
error:
|
|
41719
|
+
error: viem0.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: viem0.ReadContractErrorType | null;
|
|
41663
41732
|
errorUpdateCount: number;
|
|
41664
41733
|
isFetched: boolean;
|
|
41665
41734
|
isFetchedAfterMount: boolean;
|
|
@@ -41669,7 +41738,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41669
41738
|
isRefetching: boolean;
|
|
41670
41739
|
isStale: boolean;
|
|
41671
41740
|
isEnabled: boolean;
|
|
41672
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
41741
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
41673
41742
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41674
41743
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
41675
41744
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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: viem0.ReadContractErrorType | null;
|
|
41698
41767
|
errorUpdateCount: number;
|
|
41699
41768
|
isFetched: boolean;
|
|
41700
41769
|
isFetchedAfterMount: boolean;
|
|
@@ -41704,7 +41773,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41704
41773
|
isRefetching: boolean;
|
|
41705
41774
|
isStale: boolean;
|
|
41706
41775
|
isEnabled: boolean;
|
|
41707
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
41776
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
41708
41777
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41709
41778
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
41710
41779
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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: viem0.ReadContractErrorType | null;
|
|
41732
41801
|
errorUpdateCount: number;
|
|
41733
41802
|
isFetched: boolean;
|
|
41734
41803
|
isFetchedAfterMount: boolean;
|
|
@@ -41739,7 +41808,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41739
41808
|
isRefetching: boolean;
|
|
41740
41809
|
isStale: boolean;
|
|
41741
41810
|
isEnabled: boolean;
|
|
41742
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
41811
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
41743
41812
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41744
41813
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
41745
41814
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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: viem0.ReadContractErrorType | null;
|
|
41768
41837
|
errorUpdateCount: number;
|
|
41769
41838
|
isFetched: boolean;
|
|
41770
41839
|
isFetchedAfterMount: boolean;
|
|
@@ -41774,7 +41843,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41774
41843
|
isRefetching: boolean;
|
|
41775
41844
|
isStale: boolean;
|
|
41776
41845
|
isEnabled: boolean;
|
|
41777
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
41846
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
41778
41847
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41779
41848
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
41780
41849
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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: viem0.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: viem0.ReadContractErrorType | null;
|
|
42283
42352
|
errorUpdateCount: number;
|
|
42284
42353
|
isFetched: boolean;
|
|
42285
42354
|
isFetchedAfterMount: boolean;
|
|
@@ -42293,7 +42362,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42293
42362
|
exact: number;
|
|
42294
42363
|
rounded: number | undefined;
|
|
42295
42364
|
sqrtPriceX96: bigint;
|
|
42296
|
-
},
|
|
42365
|
+
}, viem0.ReadContractErrorType>>;
|
|
42297
42366
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42298
42367
|
promise: Promise<{
|
|
42299
42368
|
exact: number;
|
|
@@ -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: viem0.ReadContractErrorType | null;
|
|
42321
42390
|
errorUpdateCount: number;
|
|
42322
42391
|
isFetched: boolean;
|
|
42323
42392
|
isFetchedAfterMount: boolean;
|
|
@@ -42331,7 +42400,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42331
42400
|
exact: number;
|
|
42332
42401
|
rounded: number | undefined;
|
|
42333
42402
|
sqrtPriceX96: bigint;
|
|
42334
|
-
},
|
|
42403
|
+
}, viem0.ReadContractErrorType>>;
|
|
42335
42404
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42336
42405
|
promise: Promise<{
|
|
42337
42406
|
exact: number;
|
|
@@ -42343,7 +42412,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42343
42412
|
rounded: number | undefined;
|
|
42344
42413
|
sqrtPriceX96: bigint | undefined;
|
|
42345
42414
|
} | {
|
|
42346
|
-
error:
|
|
42415
|
+
error: viem0.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: viem0.ReadContractErrorType | null;
|
|
42359
42428
|
errorUpdateCount: number;
|
|
42360
42429
|
isFetched: boolean;
|
|
42361
42430
|
isFetchedAfterMount: boolean;
|
|
@@ -42369,7 +42438,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42369
42438
|
exact: number;
|
|
42370
42439
|
rounded: number | undefined;
|
|
42371
42440
|
sqrtPriceX96: bigint;
|
|
42372
|
-
},
|
|
42441
|
+
}, viem0.ReadContractErrorType>>;
|
|
42373
42442
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42374
42443
|
promise: Promise<{
|
|
42375
42444
|
exact: number;
|
|
@@ -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: viem0.ReadContractErrorType | null;
|
|
42397
42466
|
errorUpdateCount: number;
|
|
42398
42467
|
isFetched: boolean;
|
|
42399
42468
|
isFetchedAfterMount: boolean;
|
|
@@ -42407,7 +42476,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42407
42476
|
exact: number;
|
|
42408
42477
|
rounded: number | undefined;
|
|
42409
42478
|
sqrtPriceX96: bigint;
|
|
42410
|
-
},
|
|
42479
|
+
}, viem0.ReadContractErrorType>>;
|
|
42411
42480
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42412
42481
|
promise: Promise<{
|
|
42413
42482
|
exact: number;
|
|
@@ -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: viem0.ReadContractErrorType | null;
|
|
42434
42503
|
errorUpdateCount: number;
|
|
42435
42504
|
isFetched: boolean;
|
|
42436
42505
|
isFetchedAfterMount: boolean;
|
|
@@ -42445,7 +42514,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42445
42514
|
exact: number;
|
|
42446
42515
|
rounded: number | undefined;
|
|
42447
42516
|
sqrtPriceX96: bigint;
|
|
42448
|
-
},
|
|
42517
|
+
}, viem0.ReadContractErrorType>>;
|
|
42449
42518
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42450
42519
|
promise: Promise<{
|
|
42451
42520
|
exact: number;
|
|
@@ -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: viem0.ReadContractErrorType | null;
|
|
42473
42542
|
errorUpdateCount: number;
|
|
42474
42543
|
isFetched: boolean;
|
|
42475
42544
|
isFetchedAfterMount: boolean;
|
|
@@ -42483,7 +42552,7 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42483
42552
|
exact: number;
|
|
42484
42553
|
rounded: number | undefined;
|
|
42485
42554
|
sqrtPriceX96: bigint;
|
|
42486
|
-
},
|
|
42555
|
+
}, viem0.ReadContractErrorType>>;
|
|
42487
42556
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42488
42557
|
promise: Promise<{
|
|
42489
42558
|
exact: number;
|
|
@@ -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: viem0.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: viem0.ReadContractErrorType | null;
|
|
42540
42609
|
errorUpdateCount: number;
|
|
42541
42610
|
isFetched: boolean;
|
|
42542
42611
|
isFetchedAfterMount: boolean;
|
|
@@ -42556,7 +42625,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42556
42625
|
totalAmount1: bigint;
|
|
42557
42626
|
borrowedAmount0: bigint;
|
|
42558
42627
|
borrowedAmount1: bigint;
|
|
42559
|
-
}[],
|
|
42628
|
+
}[], viem0.ReadContractErrorType>>;
|
|
42560
42629
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42561
42630
|
promise: Promise<readonly {
|
|
42562
42631
|
tickLower: 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: viem0.ReadContractErrorType | null;
|
|
42598
42667
|
errorUpdateCount: number;
|
|
42599
42668
|
isFetched: boolean;
|
|
42600
42669
|
isFetchedAfterMount: boolean;
|
|
@@ -42614,7 +42683,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42614
42683
|
totalAmount1: bigint;
|
|
42615
42684
|
borrowedAmount0: bigint;
|
|
42616
42685
|
borrowedAmount1: bigint;
|
|
42617
|
-
}[],
|
|
42686
|
+
}[], viem0.ReadContractErrorType>>;
|
|
42618
42687
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42619
42688
|
promise: Promise<readonly {
|
|
42620
42689
|
tickLower: number;
|
|
@@ -42640,7 +42709,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42640
42709
|
borrowedAmount1: bigint;
|
|
42641
42710
|
}[];
|
|
42642
42711
|
} | {
|
|
42643
|
-
error:
|
|
42712
|
+
error: viem0.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: viem0.ReadContractErrorType | null;
|
|
42656
42725
|
errorUpdateCount: number;
|
|
42657
42726
|
isFetched: boolean;
|
|
42658
42727
|
isFetchedAfterMount: boolean;
|
|
@@ -42672,7 +42741,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42672
42741
|
totalAmount1: bigint;
|
|
42673
42742
|
borrowedAmount0: bigint;
|
|
42674
42743
|
borrowedAmount1: bigint;
|
|
42675
|
-
}[],
|
|
42744
|
+
}[], viem0.ReadContractErrorType>>;
|
|
42676
42745
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42677
42746
|
promise: Promise<readonly {
|
|
42678
42747
|
tickLower: 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: viem0.ReadContractErrorType | null;
|
|
42714
42783
|
errorUpdateCount: number;
|
|
42715
42784
|
isFetched: boolean;
|
|
42716
42785
|
isFetchedAfterMount: boolean;
|
|
@@ -42730,7 +42799,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42730
42799
|
totalAmount1: bigint;
|
|
42731
42800
|
borrowedAmount0: bigint;
|
|
42732
42801
|
borrowedAmount1: bigint;
|
|
42733
|
-
}[],
|
|
42802
|
+
}[], viem0.ReadContractErrorType>>;
|
|
42734
42803
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42735
42804
|
promise: Promise<readonly {
|
|
42736
42805
|
tickLower: 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: viem0.ReadContractErrorType | null;
|
|
42771
42840
|
errorUpdateCount: number;
|
|
42772
42841
|
isFetched: boolean;
|
|
42773
42842
|
isFetchedAfterMount: boolean;
|
|
@@ -42788,7 +42857,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42788
42857
|
totalAmount1: bigint;
|
|
42789
42858
|
borrowedAmount0: bigint;
|
|
42790
42859
|
borrowedAmount1: bigint;
|
|
42791
|
-
}[],
|
|
42860
|
+
}[], viem0.ReadContractErrorType>>;
|
|
42792
42861
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42793
42862
|
promise: Promise<readonly {
|
|
42794
42863
|
tickLower: 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: viem0.ReadContractErrorType | null;
|
|
42830
42899
|
errorUpdateCount: number;
|
|
42831
42900
|
isFetched: boolean;
|
|
42832
42901
|
isFetchedAfterMount: boolean;
|
|
@@ -42846,7 +42915,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42846
42915
|
totalAmount1: bigint;
|
|
42847
42916
|
borrowedAmount0: bigint;
|
|
42848
42917
|
borrowedAmount1: bigint;
|
|
42849
|
-
}[],
|
|
42918
|
+
}[], viem0.ReadContractErrorType>>;
|
|
42850
42919
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42851
42920
|
promise: Promise<readonly {
|
|
42852
42921
|
tickLower: 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?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
42989
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.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: viem0.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: viem0.ReadContractErrorType | null;
|
|
42946
43015
|
errorUpdateCount: number;
|
|
42947
43016
|
isFetched: boolean;
|
|
42948
43017
|
isFetchedAfterMount: boolean;
|
|
@@ -42952,7 +43021,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
42952
43021
|
isRefetching: boolean;
|
|
42953
43022
|
isStale: boolean;
|
|
42954
43023
|
isEnabled: boolean;
|
|
42955
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint,
|
|
43024
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint, viem0.ReadContractErrorType>>;
|
|
42956
43025
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42957
43026
|
promise: Promise<bigint>;
|
|
42958
43027
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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: viem0.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?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint,
|
|
43052
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint, viem0.ReadContractErrorType>>;
|
|
42984
43053
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42985
43054
|
promise: Promise<bigint>;
|
|
42986
43055
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
42987
43056
|
data: Amount | undefined;
|
|
42988
43057
|
} | {
|
|
42989
|
-
error:
|
|
43058
|
+
error: viem0.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: viem0.ReadContractErrorType | null;
|
|
43002
43071
|
errorUpdateCount: number;
|
|
43003
43072
|
isFetched: boolean;
|
|
43004
43073
|
isFetchedAfterMount: boolean;
|
|
@@ -43008,7 +43077,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43008
43077
|
isRefetching: boolean;
|
|
43009
43078
|
isStale: boolean;
|
|
43010
43079
|
isEnabled: boolean;
|
|
43011
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint,
|
|
43080
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint, viem0.ReadContractErrorType>>;
|
|
43012
43081
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
43013
43082
|
promise: Promise<bigint>;
|
|
43014
43083
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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: viem0.ReadContractErrorType | null;
|
|
43030
43099
|
errorUpdateCount: number;
|
|
43031
43100
|
isFetched: boolean;
|
|
43032
43101
|
isFetchedAfterMount: boolean;
|
|
@@ -43036,7 +43105,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43036
43105
|
isRefetching: boolean;
|
|
43037
43106
|
isStale: boolean;
|
|
43038
43107
|
isEnabled: boolean;
|
|
43039
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint,
|
|
43108
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint, viem0.ReadContractErrorType>>;
|
|
43040
43109
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
43041
43110
|
promise: Promise<bigint>;
|
|
43042
43111
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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: viem0.ReadContractErrorType | null;
|
|
43057
43126
|
errorUpdateCount: number;
|
|
43058
43127
|
isFetched: boolean;
|
|
43059
43128
|
isFetchedAfterMount: boolean;
|
|
@@ -43064,7 +43133,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43064
43133
|
isRefetching: boolean;
|
|
43065
43134
|
isStale: boolean;
|
|
43066
43135
|
isEnabled: boolean;
|
|
43067
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint,
|
|
43136
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint, viem0.ReadContractErrorType>>;
|
|
43068
43137
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
43069
43138
|
promise: Promise<bigint>;
|
|
43070
43139
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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: viem0.ReadContractErrorType | null;
|
|
43086
43155
|
errorUpdateCount: number;
|
|
43087
43156
|
isFetched: boolean;
|
|
43088
43157
|
isFetchedAfterMount: boolean;
|
|
@@ -43092,7 +43161,7 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43092
43161
|
isRefetching: boolean;
|
|
43093
43162
|
isStale: boolean;
|
|
43094
43163
|
isEnabled: boolean;
|
|
43095
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint,
|
|
43164
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint, viem0.ReadContractErrorType>>;
|
|
43096
43165
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
43097
43166
|
promise: Promise<bigint>;
|
|
43098
43167
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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?: viem0.Prettify<viem0.UnionOmit<viem0.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-CP_QHL05.d.cts.map
|