timelock-sdk 0.0.131 → 0.0.132
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.d.cts +1 -1
- package/dist/abis.d.ts +1 -1
- package/dist/abis.js +2 -2
- package/dist/{client-Cs5UA8KQ.d.cts → client-VhkUQ-HJ.d.cts} +181 -181
- package/dist/{client-BzO_GBnM.d.ts → client-gQvld5wF.d.ts} +181 -181
- package/dist/client.cjs +69 -82
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +74 -87
- package/dist/client.js.map +1 -1
- package/dist/{optionUtils-CUg_L5bP.js → optionUtils-DTutSZPI.js} +2 -2
- package/dist/{optionUtils-CUg_L5bP.js.map → optionUtils-DTutSZPI.js.map} +1 -1
- package/dist/{optionsMarket-Dkwpa2uO.js → optionsMarket-Hq7O-Hry.js} +1 -1
- package/dist/{optionsMarket-Dkwpa2uO.js.map → optionsMarket-Hq7O-Hry.js.map} +1 -1
- package/dist/package.d.cts +2 -2
- package/dist/package.d.ts +2 -2
- package/dist/package.js +2 -2
- package/dist/{singleOwnerVault-BeJChjfJ.js → singleOwnerVault-p81IjmWe.js} +1 -1
- package/dist/{singleOwnerVault-BeJChjfJ.js.map → singleOwnerVault-p81IjmWe.js.map} +1 -1
- package/dist/{uniswapMathLens-JKcBN1v_.d.ts → uniswapMathLens-BGtGI-Nm.d.ts} +1 -1
- package/dist/{uniswapMathLens-DtacRMPz.d.cts → uniswapMathLens-EIuBr8ZZ.d.cts} +1 -1
- package/package.json +11 -11
|
@@ -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-EIuBr8ZZ.cjs";
|
|
2
|
+
import * as viem162 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
4
|
import React, { ReactNode } from "react";
|
|
5
5
|
import "graphql";
|
|
@@ -228,7 +228,7 @@ type TimelockMarketData = Awaited<ReturnType<TimelockLens['read']['getMarketData
|
|
|
228
228
|
};
|
|
229
229
|
declare const getErc20: (address: Address, client: Client) => {
|
|
230
230
|
read: {
|
|
231
|
-
symbol: (options?:
|
|
231
|
+
symbol: (options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
232
232
|
readonly type: "constructor";
|
|
233
233
|
readonly inputs: readonly [{
|
|
234
234
|
readonly name: "name_";
|
|
@@ -407,7 +407,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
407
407
|
}];
|
|
408
408
|
readonly stateMutability: "nonpayable";
|
|
409
409
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
410
|
-
|
|
410
|
+
decimals: (options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
411
411
|
readonly type: "constructor";
|
|
412
412
|
readonly inputs: readonly [{
|
|
413
413
|
readonly name: "name_";
|
|
@@ -585,8 +585,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
585
585
|
readonly internalType: "bool";
|
|
586
586
|
}];
|
|
587
587
|
readonly stateMutability: "nonpayable";
|
|
588
|
-
}], "
|
|
589
|
-
|
|
588
|
+
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
589
|
+
name: (options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
590
590
|
readonly type: "constructor";
|
|
591
591
|
readonly inputs: readonly [{
|
|
592
592
|
readonly name: "name_";
|
|
@@ -764,8 +764,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
764
764
|
readonly internalType: "bool";
|
|
765
765
|
}];
|
|
766
766
|
readonly stateMutability: "nonpayable";
|
|
767
|
-
}], "
|
|
768
|
-
|
|
767
|
+
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
768
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
769
769
|
readonly type: "constructor";
|
|
770
770
|
readonly inputs: readonly [{
|
|
771
771
|
readonly name: "name_";
|
|
@@ -943,8 +943,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
943
943
|
readonly internalType: "bool";
|
|
944
944
|
}];
|
|
945
945
|
readonly stateMutability: "nonpayable";
|
|
946
|
-
}], "
|
|
947
|
-
|
|
946
|
+
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
947
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
948
948
|
readonly type: "constructor";
|
|
949
949
|
readonly inputs: readonly [{
|
|
950
950
|
readonly name: "name_";
|
|
@@ -1122,8 +1122,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1122
1122
|
readonly internalType: "bool";
|
|
1123
1123
|
}];
|
|
1124
1124
|
readonly stateMutability: "nonpayable";
|
|
1125
|
-
}], "
|
|
1126
|
-
totalSupply: (options?:
|
|
1125
|
+
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1126
|
+
totalSupply: (options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
1127
1127
|
readonly type: "constructor";
|
|
1128
1128
|
readonly inputs: readonly [{
|
|
1129
1129
|
readonly name: "name_";
|
|
@@ -1304,7 +1304,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1304
1304
|
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1305
1305
|
};
|
|
1306
1306
|
estimateGas: {
|
|
1307
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
1307
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem162.Prettify<viem162.UnionOmit<viem162.EstimateContractGasParameters<readonly [{
|
|
1308
1308
|
readonly type: "constructor";
|
|
1309
1309
|
readonly inputs: readonly [{
|
|
1310
1310
|
readonly name: "name_";
|
|
@@ -1482,8 +1482,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1482
1482
|
readonly internalType: "bool";
|
|
1483
1483
|
}];
|
|
1484
1484
|
readonly stateMutability: "nonpayable";
|
|
1485
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
1486
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1485
|
+
}], "approve", readonly [`0x${string}`, bigint], viem162.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem162.EstimateContractGasReturnType>;
|
|
1486
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem162.Prettify<viem162.UnionOmit<viem162.EstimateContractGasParameters<readonly [{
|
|
1487
1487
|
readonly type: "constructor";
|
|
1488
1488
|
readonly inputs: readonly [{
|
|
1489
1489
|
readonly name: "name_";
|
|
@@ -1661,8 +1661,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1661
1661
|
readonly internalType: "bool";
|
|
1662
1662
|
}];
|
|
1663
1663
|
readonly stateMutability: "nonpayable";
|
|
1664
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
1665
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1664
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem162.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem162.EstimateContractGasReturnType>;
|
|
1665
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem162.Prettify<viem162.UnionOmit<viem162.EstimateContractGasParameters<readonly [{
|
|
1666
1666
|
readonly type: "constructor";
|
|
1667
1667
|
readonly inputs: readonly [{
|
|
1668
1668
|
readonly name: "name_";
|
|
@@ -1840,8 +1840,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1840
1840
|
readonly internalType: "bool";
|
|
1841
1841
|
}];
|
|
1842
1842
|
readonly stateMutability: "nonpayable";
|
|
1843
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
1844
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
1843
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem162.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem162.EstimateContractGasReturnType>;
|
|
1844
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem162.Prettify<viem162.UnionOmit<viem162.EstimateContractGasParameters<readonly [{
|
|
1845
1845
|
readonly type: "constructor";
|
|
1846
1846
|
readonly inputs: readonly [{
|
|
1847
1847
|
readonly name: "name_";
|
|
@@ -2019,8 +2019,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2019
2019
|
readonly internalType: "bool";
|
|
2020
2020
|
}];
|
|
2021
2021
|
readonly stateMutability: "nonpayable";
|
|
2022
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2023
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2022
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem162.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem162.EstimateContractGasReturnType>;
|
|
2023
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem162.Prettify<viem162.UnionOmit<viem162.EstimateContractGasParameters<readonly [{
|
|
2024
2024
|
readonly type: "constructor";
|
|
2025
2025
|
readonly inputs: readonly [{
|
|
2026
2026
|
readonly name: "name_";
|
|
@@ -2198,9 +2198,9 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2198
2198
|
readonly internalType: "bool";
|
|
2199
2199
|
}];
|
|
2200
2200
|
readonly stateMutability: "nonpayable";
|
|
2201
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
2201
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem162.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem162.EstimateContractGasReturnType>;
|
|
2202
2202
|
} & {
|
|
2203
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
2203
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem162.Prettify<viem162.UnionOmit<viem162.EstimateContractGasParameters<readonly [{
|
|
2204
2204
|
readonly type: "constructor";
|
|
2205
2205
|
readonly inputs: readonly [{
|
|
2206
2206
|
readonly name: "name_";
|
|
@@ -2378,8 +2378,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2378
2378
|
readonly internalType: "bool";
|
|
2379
2379
|
}];
|
|
2380
2380
|
readonly stateMutability: "nonpayable";
|
|
2381
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
2382
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2381
|
+
}], "approve", readonly [`0x${string}`, bigint], viem162.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem162.EstimateContractGasReturnType>;
|
|
2382
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem162.Prettify<viem162.UnionOmit<viem162.EstimateContractGasParameters<readonly [{
|
|
2383
2383
|
readonly type: "constructor";
|
|
2384
2384
|
readonly inputs: readonly [{
|
|
2385
2385
|
readonly name: "name_";
|
|
@@ -2557,8 +2557,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2557
2557
|
readonly internalType: "bool";
|
|
2558
2558
|
}];
|
|
2559
2559
|
readonly stateMutability: "nonpayable";
|
|
2560
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
2561
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2560
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem162.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem162.EstimateContractGasReturnType>;
|
|
2561
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem162.Prettify<viem162.UnionOmit<viem162.EstimateContractGasParameters<readonly [{
|
|
2562
2562
|
readonly type: "constructor";
|
|
2563
2563
|
readonly inputs: readonly [{
|
|
2564
2564
|
readonly name: "name_";
|
|
@@ -2736,8 +2736,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2736
2736
|
readonly internalType: "bool";
|
|
2737
2737
|
}];
|
|
2738
2738
|
readonly stateMutability: "nonpayable";
|
|
2739
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
2740
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
2739
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem162.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem162.EstimateContractGasReturnType>;
|
|
2740
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem162.Prettify<viem162.UnionOmit<viem162.EstimateContractGasParameters<readonly [{
|
|
2741
2741
|
readonly type: "constructor";
|
|
2742
2742
|
readonly inputs: readonly [{
|
|
2743
2743
|
readonly name: "name_";
|
|
@@ -2915,8 +2915,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2915
2915
|
readonly internalType: "bool";
|
|
2916
2916
|
}];
|
|
2917
2917
|
readonly stateMutability: "nonpayable";
|
|
2918
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2919
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2918
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem162.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem162.EstimateContractGasReturnType>;
|
|
2919
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem162.Prettify<viem162.UnionOmit<viem162.EstimateContractGasParameters<readonly [{
|
|
2920
2920
|
readonly type: "constructor";
|
|
2921
2921
|
readonly inputs: readonly [{
|
|
2922
2922
|
readonly name: "name_";
|
|
@@ -3094,10 +3094,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3094
3094
|
readonly internalType: "bool";
|
|
3095
3095
|
}];
|
|
3096
3096
|
readonly stateMutability: "nonpayable";
|
|
3097
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
3097
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem162.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem162.EstimateContractGasReturnType>;
|
|
3098
3098
|
};
|
|
3099
3099
|
simulate: {
|
|
3100
|
-
approve: <chainOverride extends
|
|
3100
|
+
approve: <chainOverride extends viem162.Chain | undefined = undefined, accountOverride extends viem162.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem162.SimulateContractParameters<readonly [{
|
|
3101
3101
|
readonly type: "constructor";
|
|
3102
3102
|
readonly inputs: readonly [{
|
|
3103
3103
|
readonly name: "name_";
|
|
@@ -3275,7 +3275,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3275
3275
|
readonly internalType: "bool";
|
|
3276
3276
|
}];
|
|
3277
3277
|
readonly stateMutability: "nonpayable";
|
|
3278
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3278
|
+
}], "approve", readonly [`0x${string}`, bigint], viem162.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem162.SimulateContractReturnType<readonly [{
|
|
3279
3279
|
readonly type: "constructor";
|
|
3280
3280
|
readonly inputs: readonly [{
|
|
3281
3281
|
readonly name: "name_";
|
|
@@ -3453,8 +3453,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3453
3453
|
readonly internalType: "bool";
|
|
3454
3454
|
}];
|
|
3455
3455
|
readonly stateMutability: "nonpayable";
|
|
3456
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3457
|
-
decreaseAllowance: <chainOverride extends
|
|
3456
|
+
}], "approve", readonly [`0x${string}`, bigint], viem162.Chain | undefined, viem162.Account | undefined, chainOverride, accountOverride>>;
|
|
3457
|
+
decreaseAllowance: <chainOverride extends viem162.Chain | undefined = undefined, accountOverride extends viem162.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem162.SimulateContractParameters<readonly [{
|
|
3458
3458
|
readonly type: "constructor";
|
|
3459
3459
|
readonly inputs: readonly [{
|
|
3460
3460
|
readonly name: "name_";
|
|
@@ -3632,7 +3632,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3632
3632
|
readonly internalType: "bool";
|
|
3633
3633
|
}];
|
|
3634
3634
|
readonly stateMutability: "nonpayable";
|
|
3635
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3635
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem162.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem162.SimulateContractReturnType<readonly [{
|
|
3636
3636
|
readonly type: "constructor";
|
|
3637
3637
|
readonly inputs: readonly [{
|
|
3638
3638
|
readonly name: "name_";
|
|
@@ -3810,8 +3810,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3810
3810
|
readonly internalType: "bool";
|
|
3811
3811
|
}];
|
|
3812
3812
|
readonly stateMutability: "nonpayable";
|
|
3813
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3814
|
-
increaseAllowance: <chainOverride extends
|
|
3813
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem162.Chain | undefined, viem162.Account | undefined, chainOverride, accountOverride>>;
|
|
3814
|
+
increaseAllowance: <chainOverride extends viem162.Chain | undefined = undefined, accountOverride extends viem162.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem162.SimulateContractParameters<readonly [{
|
|
3815
3815
|
readonly type: "constructor";
|
|
3816
3816
|
readonly inputs: readonly [{
|
|
3817
3817
|
readonly name: "name_";
|
|
@@ -3989,7 +3989,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3989
3989
|
readonly internalType: "bool";
|
|
3990
3990
|
}];
|
|
3991
3991
|
readonly stateMutability: "nonpayable";
|
|
3992
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
3992
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem162.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem162.SimulateContractReturnType<readonly [{
|
|
3993
3993
|
readonly type: "constructor";
|
|
3994
3994
|
readonly inputs: readonly [{
|
|
3995
3995
|
readonly name: "name_";
|
|
@@ -4167,8 +4167,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4167
4167
|
readonly internalType: "bool";
|
|
4168
4168
|
}];
|
|
4169
4169
|
readonly stateMutability: "nonpayable";
|
|
4170
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
4171
|
-
transfer: <chainOverride extends
|
|
4170
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem162.Chain | undefined, viem162.Account | undefined, chainOverride, accountOverride>>;
|
|
4171
|
+
transfer: <chainOverride extends viem162.Chain | undefined = undefined, accountOverride extends viem162.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem162.SimulateContractParameters<readonly [{
|
|
4172
4172
|
readonly type: "constructor";
|
|
4173
4173
|
readonly inputs: readonly [{
|
|
4174
4174
|
readonly name: "name_";
|
|
@@ -4346,7 +4346,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4346
4346
|
readonly internalType: "bool";
|
|
4347
4347
|
}];
|
|
4348
4348
|
readonly stateMutability: "nonpayable";
|
|
4349
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4349
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem162.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem162.SimulateContractReturnType<readonly [{
|
|
4350
4350
|
readonly type: "constructor";
|
|
4351
4351
|
readonly inputs: readonly [{
|
|
4352
4352
|
readonly name: "name_";
|
|
@@ -4524,8 +4524,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4524
4524
|
readonly internalType: "bool";
|
|
4525
4525
|
}];
|
|
4526
4526
|
readonly stateMutability: "nonpayable";
|
|
4527
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4528
|
-
transferFrom: <chainOverride extends
|
|
4527
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem162.Chain | undefined, viem162.Account | undefined, chainOverride, accountOverride>>;
|
|
4528
|
+
transferFrom: <chainOverride extends viem162.Chain | undefined = undefined, accountOverride extends viem162.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem162.SimulateContractParameters<readonly [{
|
|
4529
4529
|
readonly type: "constructor";
|
|
4530
4530
|
readonly inputs: readonly [{
|
|
4531
4531
|
readonly name: "name_";
|
|
@@ -4703,7 +4703,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4703
4703
|
readonly internalType: "bool";
|
|
4704
4704
|
}];
|
|
4705
4705
|
readonly stateMutability: "nonpayable";
|
|
4706
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4706
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem162.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem162.SimulateContractReturnType<readonly [{
|
|
4707
4707
|
readonly type: "constructor";
|
|
4708
4708
|
readonly inputs: readonly [{
|
|
4709
4709
|
readonly name: "name_";
|
|
@@ -4881,10 +4881,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4881
4881
|
readonly internalType: "bool";
|
|
4882
4882
|
}];
|
|
4883
4883
|
readonly stateMutability: "nonpayable";
|
|
4884
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4884
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem162.Chain | undefined, viem162.Account | undefined, chainOverride, accountOverride>>;
|
|
4885
4885
|
};
|
|
4886
4886
|
write: {
|
|
4887
|
-
approve: <chainOverride extends
|
|
4887
|
+
approve: <chainOverride extends viem162.Chain | undefined, options extends (viem162.UnionOmit<viem162.WriteContractParameters<readonly [{
|
|
4888
4888
|
readonly type: "constructor";
|
|
4889
4889
|
readonly inputs: readonly [{
|
|
4890
4890
|
readonly name: "name_";
|
|
@@ -5062,8 +5062,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5062
5062
|
readonly internalType: "bool";
|
|
5063
5063
|
}];
|
|
5064
5064
|
readonly stateMutability: "nonpayable";
|
|
5065
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
5066
|
-
decreaseAllowance: <chainOverride extends
|
|
5065
|
+
}], "approve", readonly [`0x${string}`, bigint], viem162.Chain | undefined, viem162.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<viem162.WriteContractReturnType>;
|
|
5066
|
+
decreaseAllowance: <chainOverride extends viem162.Chain | undefined, options extends (viem162.UnionOmit<viem162.WriteContractParameters<readonly [{
|
|
5067
5067
|
readonly type: "constructor";
|
|
5068
5068
|
readonly inputs: readonly [{
|
|
5069
5069
|
readonly name: "name_";
|
|
@@ -5241,8 +5241,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5241
5241
|
readonly internalType: "bool";
|
|
5242
5242
|
}];
|
|
5243
5243
|
readonly stateMutability: "nonpayable";
|
|
5244
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
5245
|
-
increaseAllowance: <chainOverride extends
|
|
5244
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem162.Chain | undefined, viem162.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<viem162.WriteContractReturnType>;
|
|
5245
|
+
increaseAllowance: <chainOverride extends viem162.Chain | undefined, options extends (viem162.UnionOmit<viem162.WriteContractParameters<readonly [{
|
|
5246
5246
|
readonly type: "constructor";
|
|
5247
5247
|
readonly inputs: readonly [{
|
|
5248
5248
|
readonly name: "name_";
|
|
@@ -5420,8 +5420,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5420
5420
|
readonly internalType: "bool";
|
|
5421
5421
|
}];
|
|
5422
5422
|
readonly stateMutability: "nonpayable";
|
|
5423
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
5424
|
-
transfer: <chainOverride extends
|
|
5423
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem162.Chain | undefined, viem162.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<viem162.WriteContractReturnType>;
|
|
5424
|
+
transfer: <chainOverride extends viem162.Chain | undefined, options extends (viem162.UnionOmit<viem162.WriteContractParameters<readonly [{
|
|
5425
5425
|
readonly type: "constructor";
|
|
5426
5426
|
readonly inputs: readonly [{
|
|
5427
5427
|
readonly name: "name_";
|
|
@@ -5599,8 +5599,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5599
5599
|
readonly internalType: "bool";
|
|
5600
5600
|
}];
|
|
5601
5601
|
readonly stateMutability: "nonpayable";
|
|
5602
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
5603
|
-
transferFrom: <chainOverride extends
|
|
5602
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem162.Chain | undefined, viem162.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<viem162.WriteContractReturnType>;
|
|
5603
|
+
transferFrom: <chainOverride extends viem162.Chain | undefined, options extends (viem162.UnionOmit<viem162.WriteContractParameters<readonly [{
|
|
5604
5604
|
readonly type: "constructor";
|
|
5605
5605
|
readonly inputs: readonly [{
|
|
5606
5606
|
readonly name: "name_";
|
|
@@ -5778,7 +5778,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5778
5778
|
readonly internalType: "bool";
|
|
5779
5779
|
}];
|
|
5780
5780
|
readonly stateMutability: "nonpayable";
|
|
5781
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
5781
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem162.Chain | undefined, viem162.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<viem162.WriteContractReturnType>;
|
|
5782
5782
|
};
|
|
5783
5783
|
address: `0x${string}`;
|
|
5784
5784
|
abi: readonly [{
|
|
@@ -5964,7 +5964,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5964
5964
|
declare const getTimelockMarket: (address: Address, client: Client) => TimelockMarket;
|
|
5965
5965
|
declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
5966
5966
|
read: {
|
|
5967
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
5967
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
5968
5968
|
readonly type: "function";
|
|
5969
5969
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
5970
5970
|
readonly inputs: readonly [{
|
|
@@ -6585,7 +6585,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
6585
6585
|
}];
|
|
6586
6586
|
readonly stateMutability: "pure";
|
|
6587
6587
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
6588
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
6588
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
6589
6589
|
readonly type: "function";
|
|
6590
6590
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6591
6591
|
readonly inputs: readonly [{
|
|
@@ -7206,7 +7206,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
7206
7206
|
}];
|
|
7207
7207
|
readonly stateMutability: "pure";
|
|
7208
7208
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7209
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
7209
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
7210
7210
|
readonly type: "function";
|
|
7211
7211
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7212
7212
|
readonly inputs: readonly [{
|
|
@@ -7827,7 +7827,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
7827
7827
|
}];
|
|
7828
7828
|
readonly stateMutability: "pure";
|
|
7829
7829
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7830
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
7830
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
7831
7831
|
readonly type: "function";
|
|
7832
7832
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7833
7833
|
readonly inputs: readonly [{
|
|
@@ -8448,7 +8448,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
8448
8448
|
}];
|
|
8449
8449
|
readonly stateMutability: "pure";
|
|
8450
8450
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
8451
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
8451
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
8452
8452
|
readonly type: "function";
|
|
8453
8453
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8454
8454
|
readonly inputs: readonly [{
|
|
@@ -9069,7 +9069,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
9069
9069
|
}];
|
|
9070
9070
|
readonly stateMutability: "pure";
|
|
9071
9071
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
9072
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
9072
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
9073
9073
|
readonly type: "function";
|
|
9074
9074
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9075
9075
|
readonly inputs: readonly [{
|
|
@@ -9690,7 +9690,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
9690
9690
|
}];
|
|
9691
9691
|
readonly stateMutability: "pure";
|
|
9692
9692
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
9693
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
9693
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
9694
9694
|
readonly type: "function";
|
|
9695
9695
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9696
9696
|
readonly inputs: readonly [{
|
|
@@ -10311,7 +10311,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10311
10311
|
}];
|
|
10312
10312
|
readonly stateMutability: "pure";
|
|
10313
10313
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10314
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
10314
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
10315
10315
|
readonly type: "function";
|
|
10316
10316
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10317
10317
|
readonly inputs: readonly [{
|
|
@@ -10932,7 +10932,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10932
10932
|
}];
|
|
10933
10933
|
readonly stateMutability: "pure";
|
|
10934
10934
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10935
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
10935
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
10936
10936
|
readonly type: "function";
|
|
10937
10937
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10938
10938
|
readonly inputs: readonly [{
|
|
@@ -11553,7 +11553,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
11553
11553
|
}];
|
|
11554
11554
|
readonly stateMutability: "pure";
|
|
11555
11555
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
11556
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
11556
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
11557
11557
|
readonly type: "function";
|
|
11558
11558
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11559
11559
|
readonly inputs: readonly [{
|
|
@@ -12174,7 +12174,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12174
12174
|
}];
|
|
12175
12175
|
readonly stateMutability: "pure";
|
|
12176
12176
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12177
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
12177
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
12178
12178
|
readonly type: "function";
|
|
12179
12179
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12180
12180
|
readonly inputs: readonly [{
|
|
@@ -12795,7 +12795,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12795
12795
|
}];
|
|
12796
12796
|
readonly stateMutability: "pure";
|
|
12797
12797
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12798
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
12798
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
12799
12799
|
readonly type: "function";
|
|
12800
12800
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12801
12801
|
readonly inputs: readonly [{
|
|
@@ -13416,7 +13416,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
13416
13416
|
}];
|
|
13417
13417
|
readonly stateMutability: "pure";
|
|
13418
13418
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13419
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
13419
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
13420
13420
|
readonly type: "function";
|
|
13421
13421
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13422
13422
|
readonly inputs: readonly [{
|
|
@@ -14037,7 +14037,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14037
14037
|
}];
|
|
14038
14038
|
readonly stateMutability: "pure";
|
|
14039
14039
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14040
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
14040
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
14041
14041
|
readonly type: "function";
|
|
14042
14042
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14043
14043
|
readonly inputs: readonly [{
|
|
@@ -14658,7 +14658,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14658
14658
|
}];
|
|
14659
14659
|
readonly stateMutability: "pure";
|
|
14660
14660
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
14661
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
14661
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
14662
14662
|
readonly type: "function";
|
|
14663
14663
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14664
14664
|
readonly inputs: readonly [{
|
|
@@ -15279,7 +15279,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15279
15279
|
}];
|
|
15280
15280
|
readonly stateMutability: "pure";
|
|
15281
15281
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15282
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
15282
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
15283
15283
|
readonly type: "function";
|
|
15284
15284
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15285
15285
|
readonly inputs: readonly [{
|
|
@@ -15900,7 +15900,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15900
15900
|
}];
|
|
15901
15901
|
readonly stateMutability: "pure";
|
|
15902
15902
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15903
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
15903
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
15904
15904
|
readonly type: "function";
|
|
15905
15905
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15906
15906
|
readonly inputs: readonly [{
|
|
@@ -16521,7 +16521,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
16521
16521
|
}];
|
|
16522
16522
|
readonly stateMutability: "pure";
|
|
16523
16523
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
16524
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
16524
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
16525
16525
|
readonly type: "function";
|
|
16526
16526
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16527
16527
|
readonly inputs: readonly [{
|
|
@@ -17142,7 +17142,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17142
17142
|
}];
|
|
17143
17143
|
readonly stateMutability: "pure";
|
|
17144
17144
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
17145
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
17145
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
17146
17146
|
readonly type: "function";
|
|
17147
17147
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17148
17148
|
readonly inputs: readonly [{
|
|
@@ -17763,7 +17763,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17763
17763
|
}];
|
|
17764
17764
|
readonly stateMutability: "pure";
|
|
17765
17765
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
17766
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
17766
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
17767
17767
|
readonly type: "function";
|
|
17768
17768
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17769
17769
|
readonly inputs: readonly [{
|
|
@@ -18384,7 +18384,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
18384
18384
|
}];
|
|
18385
18385
|
readonly stateMutability: "pure";
|
|
18386
18386
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
18387
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
18387
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
18388
18388
|
readonly type: "function";
|
|
18389
18389
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18390
18390
|
readonly inputs: readonly [{
|
|
@@ -19005,7 +19005,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19005
19005
|
}];
|
|
19006
19006
|
readonly stateMutability: "pure";
|
|
19007
19007
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
19008
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
19008
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
19009
19009
|
readonly type: "function";
|
|
19010
19010
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19011
19011
|
readonly inputs: readonly [{
|
|
@@ -19626,7 +19626,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19626
19626
|
}];
|
|
19627
19627
|
readonly stateMutability: "pure";
|
|
19628
19628
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
19629
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
19629
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
19630
19630
|
readonly type: "function";
|
|
19631
19631
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19632
19632
|
readonly inputs: readonly [{
|
|
@@ -20247,7 +20247,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20247
20247
|
}];
|
|
20248
20248
|
readonly stateMutability: "pure";
|
|
20249
20249
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20250
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
20250
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
20251
20251
|
readonly type: "function";
|
|
20252
20252
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20253
20253
|
readonly inputs: readonly [{
|
|
@@ -20868,7 +20868,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20868
20868
|
}];
|
|
20869
20869
|
readonly stateMutability: "pure";
|
|
20870
20870
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20871
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
20871
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
20872
20872
|
readonly type: "function";
|
|
20873
20873
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20874
20874
|
readonly inputs: readonly [{
|
|
@@ -21489,7 +21489,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
21489
21489
|
}];
|
|
21490
21490
|
readonly stateMutability: "pure";
|
|
21491
21491
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21492
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
21492
|
+
getPriceAtTick: (args: readonly [number], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
21493
21493
|
readonly type: "function";
|
|
21494
21494
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21495
21495
|
readonly inputs: readonly [{
|
|
@@ -22736,7 +22736,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
22736
22736
|
};
|
|
22737
22737
|
declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
22738
22738
|
read: {
|
|
22739
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
22739
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
22740
22740
|
readonly type: "function";
|
|
22741
22741
|
readonly name: "batchGetRefTick";
|
|
22742
22742
|
readonly inputs: readonly [{
|
|
@@ -23325,7 +23325,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23325
23325
|
}];
|
|
23326
23326
|
readonly stateMutability: "view";
|
|
23327
23327
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
23328
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
23328
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
23329
23329
|
readonly type: "function";
|
|
23330
23330
|
readonly name: "batchGetRefTick";
|
|
23331
23331
|
readonly inputs: readonly [{
|
|
@@ -23924,7 +23924,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23924
23924
|
borrowedAmount0: bigint;
|
|
23925
23925
|
borrowedAmount1: bigint;
|
|
23926
23926
|
}[]>;
|
|
23927
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
23927
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
23928
23928
|
readonly type: "function";
|
|
23929
23929
|
readonly name: "batchGetRefTick";
|
|
23930
23930
|
readonly inputs: readonly [{
|
|
@@ -24523,7 +24523,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24523
24523
|
expiresAt: number;
|
|
24524
24524
|
liquidities: readonly bigint[];
|
|
24525
24525
|
}[], bigint, boolean]>;
|
|
24526
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
24526
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
24527
24527
|
readonly type: "function";
|
|
24528
24528
|
readonly name: "batchGetRefTick";
|
|
24529
24529
|
readonly inputs: readonly [{
|
|
@@ -25112,7 +25112,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25112
25112
|
}];
|
|
25113
25113
|
readonly stateMutability: "view";
|
|
25114
25114
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25115
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
25115
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
25116
25116
|
readonly type: "function";
|
|
25117
25117
|
readonly name: "batchGetRefTick";
|
|
25118
25118
|
readonly inputs: readonly [{
|
|
@@ -25714,7 +25714,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25714
25714
|
payoutAssetName: string;
|
|
25715
25715
|
optionsCount: bigint;
|
|
25716
25716
|
}>;
|
|
25717
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
25717
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
25718
25718
|
readonly type: "function";
|
|
25719
25719
|
readonly name: "batchGetRefTick";
|
|
25720
25720
|
readonly inputs: readonly [{
|
|
@@ -26303,7 +26303,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26303
26303
|
}];
|
|
26304
26304
|
readonly stateMutability: "view";
|
|
26305
26305
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
26306
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
26306
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
26307
26307
|
readonly type: "function";
|
|
26308
26308
|
readonly name: "batchGetRefTick";
|
|
26309
26309
|
readonly inputs: readonly [{
|
|
@@ -26892,7 +26892,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26892
26892
|
}];
|
|
26893
26893
|
readonly stateMutability: "view";
|
|
26894
26894
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
26895
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
26895
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
26896
26896
|
readonly type: "function";
|
|
26897
26897
|
readonly name: "batchGetRefTick";
|
|
26898
26898
|
readonly inputs: readonly [{
|
|
@@ -27491,7 +27491,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27491
27491
|
expiresAt: number;
|
|
27492
27492
|
liquidities: readonly bigint[];
|
|
27493
27493
|
}>;
|
|
27494
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
27494
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
27495
27495
|
readonly type: "function";
|
|
27496
27496
|
readonly name: "batchGetRefTick";
|
|
27497
27497
|
readonly inputs: readonly [{
|
|
@@ -28090,7 +28090,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28090
28090
|
expiresAt: number;
|
|
28091
28091
|
liquidities: readonly bigint[];
|
|
28092
28092
|
}[]>;
|
|
28093
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
28093
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
28094
28094
|
readonly type: "function";
|
|
28095
28095
|
readonly name: "batchGetRefTick";
|
|
28096
28096
|
readonly inputs: readonly [{
|
|
@@ -28690,7 +28690,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28690
28690
|
tickSpacing: number;
|
|
28691
28691
|
fee: number;
|
|
28692
28692
|
}>;
|
|
28693
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
28693
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
28694
28694
|
readonly type: "function";
|
|
28695
28695
|
readonly name: "batchGetRefTick";
|
|
28696
28696
|
readonly inputs: readonly [{
|
|
@@ -29279,7 +29279,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29279
29279
|
}];
|
|
29280
29280
|
readonly stateMutability: "view";
|
|
29281
29281
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
29282
|
-
getTokenData: (args: readonly [`0x${string}`], options?:
|
|
29282
|
+
getTokenData: (args: readonly [`0x${string}`], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
29283
29283
|
readonly type: "function";
|
|
29284
29284
|
readonly name: "batchGetRefTick";
|
|
29285
29285
|
readonly inputs: readonly [{
|
|
@@ -29872,7 +29872,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29872
29872
|
symbol: string;
|
|
29873
29873
|
name: string;
|
|
29874
29874
|
}>;
|
|
29875
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
29875
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
29876
29876
|
readonly type: "function";
|
|
29877
29877
|
readonly name: "batchGetRefTick";
|
|
29878
29878
|
readonly inputs: readonly [{
|
|
@@ -30471,7 +30471,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30471
30471
|
expiresAt: number;
|
|
30472
30472
|
liquidities: readonly bigint[];
|
|
30473
30473
|
}[], bigint, boolean]>;
|
|
30474
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
30474
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
30475
30475
|
readonly type: "function";
|
|
30476
30476
|
readonly name: "batchGetRefTick";
|
|
30477
30477
|
readonly inputs: readonly [{
|
|
@@ -35674,7 +35674,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35674
35674
|
//#endregion
|
|
35675
35675
|
//#region src/hooks/operators/useOperatorPerms.d.ts
|
|
35676
35676
|
declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, operatorAddr?: Address) => {
|
|
35677
|
-
error:
|
|
35677
|
+
error: viem162.ReadContractErrorType;
|
|
35678
35678
|
isError: true;
|
|
35679
35679
|
isPending: false;
|
|
35680
35680
|
isLoading: false;
|
|
@@ -35686,7 +35686,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35686
35686
|
dataUpdatedAt: number;
|
|
35687
35687
|
errorUpdatedAt: number;
|
|
35688
35688
|
failureCount: number;
|
|
35689
|
-
failureReason:
|
|
35689
|
+
failureReason: viem162.ReadContractErrorType | null;
|
|
35690
35690
|
errorUpdateCount: number;
|
|
35691
35691
|
isFetched: boolean;
|
|
35692
35692
|
isFetchedAfterMount: boolean;
|
|
@@ -35696,7 +35696,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35696
35696
|
isRefetching: boolean;
|
|
35697
35697
|
isStale: boolean;
|
|
35698
35698
|
isEnabled: boolean;
|
|
35699
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
35699
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem162.ReadContractErrorType>>;
|
|
35700
35700
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35701
35701
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35702
35702
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -35721,7 +35721,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35721
35721
|
dataUpdatedAt: number;
|
|
35722
35722
|
errorUpdatedAt: number;
|
|
35723
35723
|
failureCount: number;
|
|
35724
|
-
failureReason:
|
|
35724
|
+
failureReason: viem162.ReadContractErrorType | null;
|
|
35725
35725
|
errorUpdateCount: number;
|
|
35726
35726
|
isFetched: boolean;
|
|
35727
35727
|
isFetchedAfterMount: boolean;
|
|
@@ -35731,7 +35731,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35731
35731
|
isRefetching: boolean;
|
|
35732
35732
|
isStale: boolean;
|
|
35733
35733
|
isEnabled: boolean;
|
|
35734
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
35734
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem162.ReadContractErrorType>>;
|
|
35735
35735
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35736
35736
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35737
35737
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -35744,7 +35744,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35744
35744
|
effectiveApproval: bigint;
|
|
35745
35745
|
};
|
|
35746
35746
|
} | {
|
|
35747
|
-
error:
|
|
35747
|
+
error: viem162.ReadContractErrorType;
|
|
35748
35748
|
isError: true;
|
|
35749
35749
|
isPending: false;
|
|
35750
35750
|
isLoading: false;
|
|
@@ -35756,7 +35756,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35756
35756
|
dataUpdatedAt: number;
|
|
35757
35757
|
errorUpdatedAt: number;
|
|
35758
35758
|
failureCount: number;
|
|
35759
|
-
failureReason:
|
|
35759
|
+
failureReason: viem162.ReadContractErrorType | null;
|
|
35760
35760
|
errorUpdateCount: number;
|
|
35761
35761
|
isFetched: boolean;
|
|
35762
35762
|
isFetchedAfterMount: boolean;
|
|
@@ -35766,7 +35766,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35766
35766
|
isRefetching: boolean;
|
|
35767
35767
|
isStale: boolean;
|
|
35768
35768
|
isEnabled: boolean;
|
|
35769
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
35769
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem162.ReadContractErrorType>>;
|
|
35770
35770
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35771
35771
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35772
35772
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -35791,7 +35791,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35791
35791
|
dataUpdatedAt: number;
|
|
35792
35792
|
errorUpdatedAt: number;
|
|
35793
35793
|
failureCount: number;
|
|
35794
|
-
failureReason:
|
|
35794
|
+
failureReason: viem162.ReadContractErrorType | null;
|
|
35795
35795
|
errorUpdateCount: number;
|
|
35796
35796
|
isFetched: boolean;
|
|
35797
35797
|
isFetchedAfterMount: boolean;
|
|
@@ -35801,7 +35801,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35801
35801
|
isRefetching: boolean;
|
|
35802
35802
|
isStale: boolean;
|
|
35803
35803
|
isEnabled: boolean;
|
|
35804
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
35804
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem162.ReadContractErrorType>>;
|
|
35805
35805
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35806
35806
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35807
35807
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -35825,7 +35825,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35825
35825
|
dataUpdatedAt: number;
|
|
35826
35826
|
errorUpdatedAt: number;
|
|
35827
35827
|
failureCount: number;
|
|
35828
|
-
failureReason:
|
|
35828
|
+
failureReason: viem162.ReadContractErrorType | null;
|
|
35829
35829
|
errorUpdateCount: number;
|
|
35830
35830
|
isFetched: boolean;
|
|
35831
35831
|
isFetchedAfterMount: boolean;
|
|
@@ -35836,7 +35836,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35836
35836
|
isRefetching: boolean;
|
|
35837
35837
|
isStale: boolean;
|
|
35838
35838
|
isEnabled: boolean;
|
|
35839
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
35839
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem162.ReadContractErrorType>>;
|
|
35840
35840
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35841
35841
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35842
35842
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -35861,7 +35861,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35861
35861
|
dataUpdatedAt: number;
|
|
35862
35862
|
errorUpdatedAt: number;
|
|
35863
35863
|
failureCount: number;
|
|
35864
|
-
failureReason:
|
|
35864
|
+
failureReason: viem162.ReadContractErrorType | null;
|
|
35865
35865
|
errorUpdateCount: number;
|
|
35866
35866
|
isFetched: boolean;
|
|
35867
35867
|
isFetchedAfterMount: boolean;
|
|
@@ -35871,7 +35871,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35871
35871
|
isRefetching: boolean;
|
|
35872
35872
|
isStale: boolean;
|
|
35873
35873
|
isEnabled: boolean;
|
|
35874
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
35874
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem162.ReadContractErrorType>>;
|
|
35875
35875
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35876
35876
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35877
35877
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -36343,7 +36343,7 @@ declare const useCurrentPrice: (poolAddr?: Address) => {
|
|
|
36343
36343
|
//#endregion
|
|
36344
36344
|
//#region src/hooks/pool/useCurrentTick.d.ts
|
|
36345
36345
|
declare const useCurrentTick: (poolAddr?: Address) => {
|
|
36346
|
-
error:
|
|
36346
|
+
error: viem162.ReadContractErrorType;
|
|
36347
36347
|
isError: true;
|
|
36348
36348
|
isPending: false;
|
|
36349
36349
|
isLoading: false;
|
|
@@ -36355,7 +36355,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
36355
36355
|
dataUpdatedAt: number;
|
|
36356
36356
|
errorUpdatedAt: number;
|
|
36357
36357
|
failureCount: number;
|
|
36358
|
-
failureReason:
|
|
36358
|
+
failureReason: viem162.ReadContractErrorType | null;
|
|
36359
36359
|
errorUpdateCount: number;
|
|
36360
36360
|
isFetched: boolean;
|
|
36361
36361
|
isFetchedAfterMount: boolean;
|
|
@@ -36369,7 +36369,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
36369
36369
|
exact: number;
|
|
36370
36370
|
rounded: number | undefined;
|
|
36371
36371
|
sqrtPriceX96: bigint;
|
|
36372
|
-
},
|
|
36372
|
+
}, viem162.ReadContractErrorType>>;
|
|
36373
36373
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36374
36374
|
promise: Promise<{
|
|
36375
36375
|
exact: number;
|
|
@@ -36393,7 +36393,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
36393
36393
|
dataUpdatedAt: number;
|
|
36394
36394
|
errorUpdatedAt: number;
|
|
36395
36395
|
failureCount: number;
|
|
36396
|
-
failureReason:
|
|
36396
|
+
failureReason: viem162.ReadContractErrorType | null;
|
|
36397
36397
|
errorUpdateCount: number;
|
|
36398
36398
|
isFetched: boolean;
|
|
36399
36399
|
isFetchedAfterMount: boolean;
|
|
@@ -36407,7 +36407,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
36407
36407
|
exact: number;
|
|
36408
36408
|
rounded: number | undefined;
|
|
36409
36409
|
sqrtPriceX96: bigint;
|
|
36410
|
-
},
|
|
36410
|
+
}, viem162.ReadContractErrorType>>;
|
|
36411
36411
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36412
36412
|
promise: Promise<{
|
|
36413
36413
|
exact: number;
|
|
@@ -36419,7 +36419,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
36419
36419
|
rounded: number | undefined;
|
|
36420
36420
|
sqrtPriceX96: bigint | undefined;
|
|
36421
36421
|
} | {
|
|
36422
|
-
error:
|
|
36422
|
+
error: viem162.ReadContractErrorType;
|
|
36423
36423
|
isError: true;
|
|
36424
36424
|
isPending: false;
|
|
36425
36425
|
isLoading: false;
|
|
@@ -36431,7 +36431,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
36431
36431
|
dataUpdatedAt: number;
|
|
36432
36432
|
errorUpdatedAt: number;
|
|
36433
36433
|
failureCount: number;
|
|
36434
|
-
failureReason:
|
|
36434
|
+
failureReason: viem162.ReadContractErrorType | null;
|
|
36435
36435
|
errorUpdateCount: number;
|
|
36436
36436
|
isFetched: boolean;
|
|
36437
36437
|
isFetchedAfterMount: boolean;
|
|
@@ -36445,7 +36445,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
36445
36445
|
exact: number;
|
|
36446
36446
|
rounded: number | undefined;
|
|
36447
36447
|
sqrtPriceX96: bigint;
|
|
36448
|
-
},
|
|
36448
|
+
}, viem162.ReadContractErrorType>>;
|
|
36449
36449
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36450
36450
|
promise: Promise<{
|
|
36451
36451
|
exact: number;
|
|
@@ -36469,7 +36469,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
36469
36469
|
dataUpdatedAt: number;
|
|
36470
36470
|
errorUpdatedAt: number;
|
|
36471
36471
|
failureCount: number;
|
|
36472
|
-
failureReason:
|
|
36472
|
+
failureReason: viem162.ReadContractErrorType | null;
|
|
36473
36473
|
errorUpdateCount: number;
|
|
36474
36474
|
isFetched: boolean;
|
|
36475
36475
|
isFetchedAfterMount: boolean;
|
|
@@ -36483,7 +36483,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
36483
36483
|
exact: number;
|
|
36484
36484
|
rounded: number | undefined;
|
|
36485
36485
|
sqrtPriceX96: bigint;
|
|
36486
|
-
},
|
|
36486
|
+
}, viem162.ReadContractErrorType>>;
|
|
36487
36487
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36488
36488
|
promise: Promise<{
|
|
36489
36489
|
exact: number;
|
|
@@ -36506,7 +36506,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
36506
36506
|
dataUpdatedAt: number;
|
|
36507
36507
|
errorUpdatedAt: number;
|
|
36508
36508
|
failureCount: number;
|
|
36509
|
-
failureReason:
|
|
36509
|
+
failureReason: viem162.ReadContractErrorType | null;
|
|
36510
36510
|
errorUpdateCount: number;
|
|
36511
36511
|
isFetched: boolean;
|
|
36512
36512
|
isFetchedAfterMount: boolean;
|
|
@@ -36521,7 +36521,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
36521
36521
|
exact: number;
|
|
36522
36522
|
rounded: number | undefined;
|
|
36523
36523
|
sqrtPriceX96: bigint;
|
|
36524
|
-
},
|
|
36524
|
+
}, viem162.ReadContractErrorType>>;
|
|
36525
36525
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36526
36526
|
promise: Promise<{
|
|
36527
36527
|
exact: number;
|
|
@@ -36545,7 +36545,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
36545
36545
|
dataUpdatedAt: number;
|
|
36546
36546
|
errorUpdatedAt: number;
|
|
36547
36547
|
failureCount: number;
|
|
36548
|
-
failureReason:
|
|
36548
|
+
failureReason: viem162.ReadContractErrorType | null;
|
|
36549
36549
|
errorUpdateCount: number;
|
|
36550
36550
|
isFetched: boolean;
|
|
36551
36551
|
isFetchedAfterMount: boolean;
|
|
@@ -36559,7 +36559,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
36559
36559
|
exact: number;
|
|
36560
36560
|
rounded: number | undefined;
|
|
36561
36561
|
sqrtPriceX96: bigint;
|
|
36562
|
-
},
|
|
36562
|
+
}, viem162.ReadContractErrorType>>;
|
|
36563
36563
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36564
36564
|
promise: Promise<{
|
|
36565
36565
|
exact: number;
|
|
@@ -36616,7 +36616,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
36616
36616
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
36617
36617
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
36618
36618
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
36619
|
-
error:
|
|
36619
|
+
error: viem162.ReadContractErrorType;
|
|
36620
36620
|
isError: true;
|
|
36621
36621
|
isPending: false;
|
|
36622
36622
|
isLoading: false;
|
|
@@ -36628,7 +36628,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36628
36628
|
dataUpdatedAt: number;
|
|
36629
36629
|
errorUpdatedAt: number;
|
|
36630
36630
|
failureCount: number;
|
|
36631
|
-
failureReason:
|
|
36631
|
+
failureReason: viem162.ReadContractErrorType | null;
|
|
36632
36632
|
errorUpdateCount: number;
|
|
36633
36633
|
isFetched: boolean;
|
|
36634
36634
|
isFetchedAfterMount: boolean;
|
|
@@ -36648,7 +36648,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36648
36648
|
totalAmount1: bigint;
|
|
36649
36649
|
borrowedAmount0: bigint;
|
|
36650
36650
|
borrowedAmount1: bigint;
|
|
36651
|
-
}[],
|
|
36651
|
+
}[], viem162.ReadContractErrorType>>;
|
|
36652
36652
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36653
36653
|
promise: Promise<readonly {
|
|
36654
36654
|
tickLower: number;
|
|
@@ -36686,7 +36686,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36686
36686
|
dataUpdatedAt: number;
|
|
36687
36687
|
errorUpdatedAt: number;
|
|
36688
36688
|
failureCount: number;
|
|
36689
|
-
failureReason:
|
|
36689
|
+
failureReason: viem162.ReadContractErrorType | null;
|
|
36690
36690
|
errorUpdateCount: number;
|
|
36691
36691
|
isFetched: boolean;
|
|
36692
36692
|
isFetchedAfterMount: boolean;
|
|
@@ -36706,7 +36706,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36706
36706
|
totalAmount1: bigint;
|
|
36707
36707
|
borrowedAmount0: bigint;
|
|
36708
36708
|
borrowedAmount1: bigint;
|
|
36709
|
-
}[],
|
|
36709
|
+
}[], viem162.ReadContractErrorType>>;
|
|
36710
36710
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36711
36711
|
promise: Promise<readonly {
|
|
36712
36712
|
tickLower: number;
|
|
@@ -36732,7 +36732,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36732
36732
|
borrowedAmount1: bigint;
|
|
36733
36733
|
}[];
|
|
36734
36734
|
} | {
|
|
36735
|
-
error:
|
|
36735
|
+
error: viem162.ReadContractErrorType;
|
|
36736
36736
|
isError: true;
|
|
36737
36737
|
isPending: false;
|
|
36738
36738
|
isLoading: false;
|
|
@@ -36744,7 +36744,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36744
36744
|
dataUpdatedAt: number;
|
|
36745
36745
|
errorUpdatedAt: number;
|
|
36746
36746
|
failureCount: number;
|
|
36747
|
-
failureReason:
|
|
36747
|
+
failureReason: viem162.ReadContractErrorType | null;
|
|
36748
36748
|
errorUpdateCount: number;
|
|
36749
36749
|
isFetched: boolean;
|
|
36750
36750
|
isFetchedAfterMount: boolean;
|
|
@@ -36764,7 +36764,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36764
36764
|
totalAmount1: bigint;
|
|
36765
36765
|
borrowedAmount0: bigint;
|
|
36766
36766
|
borrowedAmount1: bigint;
|
|
36767
|
-
}[],
|
|
36767
|
+
}[], viem162.ReadContractErrorType>>;
|
|
36768
36768
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36769
36769
|
promise: Promise<readonly {
|
|
36770
36770
|
tickLower: number;
|
|
@@ -36802,7 +36802,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36802
36802
|
dataUpdatedAt: number;
|
|
36803
36803
|
errorUpdatedAt: number;
|
|
36804
36804
|
failureCount: number;
|
|
36805
|
-
failureReason:
|
|
36805
|
+
failureReason: viem162.ReadContractErrorType | null;
|
|
36806
36806
|
errorUpdateCount: number;
|
|
36807
36807
|
isFetched: boolean;
|
|
36808
36808
|
isFetchedAfterMount: boolean;
|
|
@@ -36822,7 +36822,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36822
36822
|
totalAmount1: bigint;
|
|
36823
36823
|
borrowedAmount0: bigint;
|
|
36824
36824
|
borrowedAmount1: bigint;
|
|
36825
|
-
}[],
|
|
36825
|
+
}[], viem162.ReadContractErrorType>>;
|
|
36826
36826
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36827
36827
|
promise: Promise<readonly {
|
|
36828
36828
|
tickLower: number;
|
|
@@ -36859,7 +36859,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36859
36859
|
dataUpdatedAt: number;
|
|
36860
36860
|
errorUpdatedAt: number;
|
|
36861
36861
|
failureCount: number;
|
|
36862
|
-
failureReason:
|
|
36862
|
+
failureReason: viem162.ReadContractErrorType | null;
|
|
36863
36863
|
errorUpdateCount: number;
|
|
36864
36864
|
isFetched: boolean;
|
|
36865
36865
|
isFetchedAfterMount: boolean;
|
|
@@ -36880,7 +36880,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36880
36880
|
totalAmount1: bigint;
|
|
36881
36881
|
borrowedAmount0: bigint;
|
|
36882
36882
|
borrowedAmount1: bigint;
|
|
36883
|
-
}[],
|
|
36883
|
+
}[], viem162.ReadContractErrorType>>;
|
|
36884
36884
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36885
36885
|
promise: Promise<readonly {
|
|
36886
36886
|
tickLower: number;
|
|
@@ -36918,7 +36918,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36918
36918
|
dataUpdatedAt: number;
|
|
36919
36919
|
errorUpdatedAt: number;
|
|
36920
36920
|
failureCount: number;
|
|
36921
|
-
failureReason:
|
|
36921
|
+
failureReason: viem162.ReadContractErrorType | null;
|
|
36922
36922
|
errorUpdateCount: number;
|
|
36923
36923
|
isFetched: boolean;
|
|
36924
36924
|
isFetchedAfterMount: boolean;
|
|
@@ -36938,7 +36938,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36938
36938
|
totalAmount1: bigint;
|
|
36939
36939
|
borrowedAmount0: bigint;
|
|
36940
36940
|
borrowedAmount1: bigint;
|
|
36941
|
-
}[],
|
|
36941
|
+
}[], viem162.ReadContractErrorType>>;
|
|
36942
36942
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36943
36943
|
promise: Promise<readonly {
|
|
36944
36944
|
tickLower: number;
|
|
@@ -37002,14 +37002,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
37002
37002
|
borrowedAmount0: Amount;
|
|
37003
37003
|
borrowedAmount1: Amount;
|
|
37004
37004
|
blocksCount: bigint;
|
|
37005
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
37005
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem162.ReadContractErrorType>>;
|
|
37006
37006
|
};
|
|
37007
37007
|
//#endregion
|
|
37008
37008
|
//#region src/hooks/useLens.d.ts
|
|
37009
37009
|
declare const useLens: () => {
|
|
37010
37010
|
timelockLens: {
|
|
37011
37011
|
read: {
|
|
37012
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
37012
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
37013
37013
|
readonly type: "function";
|
|
37014
37014
|
readonly name: "batchGetRefTick";
|
|
37015
37015
|
readonly inputs: readonly [{
|
|
@@ -37598,7 +37598,7 @@ declare const useLens: () => {
|
|
|
37598
37598
|
}];
|
|
37599
37599
|
readonly stateMutability: "view";
|
|
37600
37600
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
37601
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
37601
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
37602
37602
|
readonly type: "function";
|
|
37603
37603
|
readonly name: "batchGetRefTick";
|
|
37604
37604
|
readonly inputs: readonly [{
|
|
@@ -38197,7 +38197,7 @@ declare const useLens: () => {
|
|
|
38197
38197
|
borrowedAmount0: bigint;
|
|
38198
38198
|
borrowedAmount1: bigint;
|
|
38199
38199
|
}[]>;
|
|
38200
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
38200
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
38201
38201
|
readonly type: "function";
|
|
38202
38202
|
readonly name: "batchGetRefTick";
|
|
38203
38203
|
readonly inputs: readonly [{
|
|
@@ -38796,7 +38796,7 @@ declare const useLens: () => {
|
|
|
38796
38796
|
expiresAt: number;
|
|
38797
38797
|
liquidities: readonly bigint[];
|
|
38798
38798
|
}[], bigint, boolean]>;
|
|
38799
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
38799
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
38800
38800
|
readonly type: "function";
|
|
38801
38801
|
readonly name: "batchGetRefTick";
|
|
38802
38802
|
readonly inputs: readonly [{
|
|
@@ -39385,7 +39385,7 @@ declare const useLens: () => {
|
|
|
39385
39385
|
}];
|
|
39386
39386
|
readonly stateMutability: "view";
|
|
39387
39387
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
39388
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
39388
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
39389
39389
|
readonly type: "function";
|
|
39390
39390
|
readonly name: "batchGetRefTick";
|
|
39391
39391
|
readonly inputs: readonly [{
|
|
@@ -39987,7 +39987,7 @@ declare const useLens: () => {
|
|
|
39987
39987
|
payoutAssetName: string;
|
|
39988
39988
|
optionsCount: bigint;
|
|
39989
39989
|
}>;
|
|
39990
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
39990
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
39991
39991
|
readonly type: "function";
|
|
39992
39992
|
readonly name: "batchGetRefTick";
|
|
39993
39993
|
readonly inputs: readonly [{
|
|
@@ -40576,7 +40576,7 @@ declare const useLens: () => {
|
|
|
40576
40576
|
}];
|
|
40577
40577
|
readonly stateMutability: "view";
|
|
40578
40578
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
40579
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
40579
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
40580
40580
|
readonly type: "function";
|
|
40581
40581
|
readonly name: "batchGetRefTick";
|
|
40582
40582
|
readonly inputs: readonly [{
|
|
@@ -41165,7 +41165,7 @@ declare const useLens: () => {
|
|
|
41165
41165
|
}];
|
|
41166
41166
|
readonly stateMutability: "view";
|
|
41167
41167
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
41168
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
41168
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
41169
41169
|
readonly type: "function";
|
|
41170
41170
|
readonly name: "batchGetRefTick";
|
|
41171
41171
|
readonly inputs: readonly [{
|
|
@@ -41764,7 +41764,7 @@ declare const useLens: () => {
|
|
|
41764
41764
|
expiresAt: number;
|
|
41765
41765
|
liquidities: readonly bigint[];
|
|
41766
41766
|
}>;
|
|
41767
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
41767
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
41768
41768
|
readonly type: "function";
|
|
41769
41769
|
readonly name: "batchGetRefTick";
|
|
41770
41770
|
readonly inputs: readonly [{
|
|
@@ -42363,7 +42363,7 @@ declare const useLens: () => {
|
|
|
42363
42363
|
expiresAt: number;
|
|
42364
42364
|
liquidities: readonly bigint[];
|
|
42365
42365
|
}[]>;
|
|
42366
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
42366
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
42367
42367
|
readonly type: "function";
|
|
42368
42368
|
readonly name: "batchGetRefTick";
|
|
42369
42369
|
readonly inputs: readonly [{
|
|
@@ -42963,7 +42963,7 @@ declare const useLens: () => {
|
|
|
42963
42963
|
tickSpacing: number;
|
|
42964
42964
|
fee: number;
|
|
42965
42965
|
}>;
|
|
42966
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
42966
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
42967
42967
|
readonly type: "function";
|
|
42968
42968
|
readonly name: "batchGetRefTick";
|
|
42969
42969
|
readonly inputs: readonly [{
|
|
@@ -43552,7 +43552,7 @@ declare const useLens: () => {
|
|
|
43552
43552
|
}];
|
|
43553
43553
|
readonly stateMutability: "view";
|
|
43554
43554
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
43555
|
-
getTokenData: (args: readonly [`0x${string}`], options?:
|
|
43555
|
+
getTokenData: (args: readonly [`0x${string}`], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
43556
43556
|
readonly type: "function";
|
|
43557
43557
|
readonly name: "batchGetRefTick";
|
|
43558
43558
|
readonly inputs: readonly [{
|
|
@@ -44145,7 +44145,7 @@ declare const useLens: () => {
|
|
|
44145
44145
|
symbol: string;
|
|
44146
44146
|
name: string;
|
|
44147
44147
|
}>;
|
|
44148
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
44148
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
44149
44149
|
readonly type: "function";
|
|
44150
44150
|
readonly name: "batchGetRefTick";
|
|
44151
44151
|
readonly inputs: readonly [{
|
|
@@ -44744,7 +44744,7 @@ declare const useLens: () => {
|
|
|
44744
44744
|
expiresAt: number;
|
|
44745
44745
|
liquidities: readonly bigint[];
|
|
44746
44746
|
}[], bigint, boolean]>;
|
|
44747
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
44747
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
44748
44748
|
readonly type: "function";
|
|
44749
44749
|
readonly name: "batchGetRefTick";
|
|
44750
44750
|
readonly inputs: readonly [{
|
|
@@ -45927,7 +45927,7 @@ declare const useLens: () => {
|
|
|
45927
45927
|
} | undefined;
|
|
45928
45928
|
uniswapLens: {
|
|
45929
45929
|
read: {
|
|
45930
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
45930
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
45931
45931
|
readonly type: "function";
|
|
45932
45932
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
45933
45933
|
readonly inputs: readonly [{
|
|
@@ -46548,7 +46548,7 @@ declare const useLens: () => {
|
|
|
46548
46548
|
}];
|
|
46549
46549
|
readonly stateMutability: "pure";
|
|
46550
46550
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46551
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
46551
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
46552
46552
|
readonly type: "function";
|
|
46553
46553
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46554
46554
|
readonly inputs: readonly [{
|
|
@@ -47169,7 +47169,7 @@ declare const useLens: () => {
|
|
|
47169
47169
|
}];
|
|
47170
47170
|
readonly stateMutability: "pure";
|
|
47171
47171
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47172
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
47172
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
47173
47173
|
readonly type: "function";
|
|
47174
47174
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47175
47175
|
readonly inputs: readonly [{
|
|
@@ -47790,7 +47790,7 @@ declare const useLens: () => {
|
|
|
47790
47790
|
}];
|
|
47791
47791
|
readonly stateMutability: "pure";
|
|
47792
47792
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47793
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
47793
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
47794
47794
|
readonly type: "function";
|
|
47795
47795
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47796
47796
|
readonly inputs: readonly [{
|
|
@@ -48411,7 +48411,7 @@ declare const useLens: () => {
|
|
|
48411
48411
|
}];
|
|
48412
48412
|
readonly stateMutability: "pure";
|
|
48413
48413
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
48414
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
48414
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
48415
48415
|
readonly type: "function";
|
|
48416
48416
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48417
48417
|
readonly inputs: readonly [{
|
|
@@ -49032,7 +49032,7 @@ declare const useLens: () => {
|
|
|
49032
49032
|
}];
|
|
49033
49033
|
readonly stateMutability: "pure";
|
|
49034
49034
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
49035
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
49035
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
49036
49036
|
readonly type: "function";
|
|
49037
49037
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49038
49038
|
readonly inputs: readonly [{
|
|
@@ -49653,7 +49653,7 @@ declare const useLens: () => {
|
|
|
49653
49653
|
}];
|
|
49654
49654
|
readonly stateMutability: "pure";
|
|
49655
49655
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
49656
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
49656
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
49657
49657
|
readonly type: "function";
|
|
49658
49658
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49659
49659
|
readonly inputs: readonly [{
|
|
@@ -50274,7 +50274,7 @@ declare const useLens: () => {
|
|
|
50274
50274
|
}];
|
|
50275
50275
|
readonly stateMutability: "pure";
|
|
50276
50276
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50277
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
50277
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
50278
50278
|
readonly type: "function";
|
|
50279
50279
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50280
50280
|
readonly inputs: readonly [{
|
|
@@ -50895,7 +50895,7 @@ declare const useLens: () => {
|
|
|
50895
50895
|
}];
|
|
50896
50896
|
readonly stateMutability: "pure";
|
|
50897
50897
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50898
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
50898
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
50899
50899
|
readonly type: "function";
|
|
50900
50900
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50901
50901
|
readonly inputs: readonly [{
|
|
@@ -51516,7 +51516,7 @@ declare const useLens: () => {
|
|
|
51516
51516
|
}];
|
|
51517
51517
|
readonly stateMutability: "pure";
|
|
51518
51518
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51519
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
51519
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
51520
51520
|
readonly type: "function";
|
|
51521
51521
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51522
51522
|
readonly inputs: readonly [{
|
|
@@ -52137,7 +52137,7 @@ declare const useLens: () => {
|
|
|
52137
52137
|
}];
|
|
52138
52138
|
readonly stateMutability: "pure";
|
|
52139
52139
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52140
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
52140
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
52141
52141
|
readonly type: "function";
|
|
52142
52142
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52143
52143
|
readonly inputs: readonly [{
|
|
@@ -52758,7 +52758,7 @@ declare const useLens: () => {
|
|
|
52758
52758
|
}];
|
|
52759
52759
|
readonly stateMutability: "pure";
|
|
52760
52760
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52761
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
52761
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
52762
52762
|
readonly type: "function";
|
|
52763
52763
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52764
52764
|
readonly inputs: readonly [{
|
|
@@ -53379,7 +53379,7 @@ declare const useLens: () => {
|
|
|
53379
53379
|
}];
|
|
53380
53380
|
readonly stateMutability: "pure";
|
|
53381
53381
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53382
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
53382
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
53383
53383
|
readonly type: "function";
|
|
53384
53384
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53385
53385
|
readonly inputs: readonly [{
|
|
@@ -54000,7 +54000,7 @@ declare const useLens: () => {
|
|
|
54000
54000
|
}];
|
|
54001
54001
|
readonly stateMutability: "pure";
|
|
54002
54002
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
54003
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
54003
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
54004
54004
|
readonly type: "function";
|
|
54005
54005
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54006
54006
|
readonly inputs: readonly [{
|
|
@@ -54621,7 +54621,7 @@ declare const useLens: () => {
|
|
|
54621
54621
|
}];
|
|
54622
54622
|
readonly stateMutability: "pure";
|
|
54623
54623
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54624
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
54624
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
54625
54625
|
readonly type: "function";
|
|
54626
54626
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54627
54627
|
readonly inputs: readonly [{
|
|
@@ -55242,7 +55242,7 @@ declare const useLens: () => {
|
|
|
55242
55242
|
}];
|
|
55243
55243
|
readonly stateMutability: "pure";
|
|
55244
55244
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55245
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
55245
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
55246
55246
|
readonly type: "function";
|
|
55247
55247
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55248
55248
|
readonly inputs: readonly [{
|
|
@@ -55863,7 +55863,7 @@ declare const useLens: () => {
|
|
|
55863
55863
|
}];
|
|
55864
55864
|
readonly stateMutability: "pure";
|
|
55865
55865
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55866
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
55866
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
55867
55867
|
readonly type: "function";
|
|
55868
55868
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55869
55869
|
readonly inputs: readonly [{
|
|
@@ -56484,7 +56484,7 @@ declare const useLens: () => {
|
|
|
56484
56484
|
}];
|
|
56485
56485
|
readonly stateMutability: "pure";
|
|
56486
56486
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
56487
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
56487
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
56488
56488
|
readonly type: "function";
|
|
56489
56489
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56490
56490
|
readonly inputs: readonly [{
|
|
@@ -57105,7 +57105,7 @@ declare const useLens: () => {
|
|
|
57105
57105
|
}];
|
|
57106
57106
|
readonly stateMutability: "pure";
|
|
57107
57107
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
57108
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
57108
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
57109
57109
|
readonly type: "function";
|
|
57110
57110
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57111
57111
|
readonly inputs: readonly [{
|
|
@@ -57726,7 +57726,7 @@ declare const useLens: () => {
|
|
|
57726
57726
|
}];
|
|
57727
57727
|
readonly stateMutability: "pure";
|
|
57728
57728
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
57729
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
57729
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
57730
57730
|
readonly type: "function";
|
|
57731
57731
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57732
57732
|
readonly inputs: readonly [{
|
|
@@ -58347,7 +58347,7 @@ declare const useLens: () => {
|
|
|
58347
58347
|
}];
|
|
58348
58348
|
readonly stateMutability: "pure";
|
|
58349
58349
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58350
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
58350
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
58351
58351
|
readonly type: "function";
|
|
58352
58352
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58353
58353
|
readonly inputs: readonly [{
|
|
@@ -58968,7 +58968,7 @@ declare const useLens: () => {
|
|
|
58968
58968
|
}];
|
|
58969
58969
|
readonly stateMutability: "pure";
|
|
58970
58970
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58971
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
58971
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
58972
58972
|
readonly type: "function";
|
|
58973
58973
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58974
58974
|
readonly inputs: readonly [{
|
|
@@ -59589,7 +59589,7 @@ declare const useLens: () => {
|
|
|
59589
59589
|
}];
|
|
59590
59590
|
readonly stateMutability: "pure";
|
|
59591
59591
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59592
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
59592
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
59593
59593
|
readonly type: "function";
|
|
59594
59594
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59595
59595
|
readonly inputs: readonly [{
|
|
@@ -60210,7 +60210,7 @@ declare const useLens: () => {
|
|
|
60210
60210
|
}];
|
|
60211
60211
|
readonly stateMutability: "pure";
|
|
60212
60212
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60213
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
60213
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
60214
60214
|
readonly type: "function";
|
|
60215
60215
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60216
60216
|
readonly inputs: readonly [{
|
|
@@ -60831,7 +60831,7 @@ declare const useLens: () => {
|
|
|
60831
60831
|
}];
|
|
60832
60832
|
readonly stateMutability: "pure";
|
|
60833
60833
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60834
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
60834
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
60835
60835
|
readonly type: "function";
|
|
60836
60836
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60837
60837
|
readonly inputs: readonly [{
|
|
@@ -61452,7 +61452,7 @@ declare const useLens: () => {
|
|
|
61452
61452
|
}];
|
|
61453
61453
|
readonly stateMutability: "pure";
|
|
61454
61454
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
61455
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
61455
|
+
getPriceAtTick: (args: readonly [number], options?: viem162.Prettify<viem162.UnionOmit<viem162.ReadContractParameters<readonly [{
|
|
61456
61456
|
readonly type: "function";
|
|
61457
61457
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
61458
61458
|
readonly inputs: readonly [{
|
|
@@ -62709,4 +62709,4 @@ declare const useApproval: () => {
|
|
|
62709
62709
|
};
|
|
62710
62710
|
//#endregion
|
|
62711
62711
|
export { OptionEvent as $, roundTickDown as A, TimelockMarket as At, getPriceHistory as B, getPriceAtSqrtPriceX96 as C, OptionData as Ct, liquiditiesToAmount0 as D, useCurrentMarket as Dt, getTickAtPrice as E, TimelockProvider as Et, token1ToToken0AtTick as F, getTimelockMarket as Ft, useClosedUserPerps as G, useUserOperators as H, PriceData as I, getUniswapMathLens as It, useClosePerp as J, useUserPerps as K, PriceDataPoint as L, swappers as Lt, token0ToToken1 as M, UniswapMathLens as Mt, token0ToToken1AtTick as N, getErc20 as Nt, liquiditiesToAmount1 as O, useTimelockConfig as Ot, token1ToToken0 as P, getTimelockLens as Pt, MintOptionEvent as Q, PriceResolution as R, timelockLenses as Rt, getNearestValidStrikeTick as S, useExerciseOption as St, getSqrtPriceX96AtPrice as T, useClosedUserOptions as Tt, useOperatorPerms as U, useSetOperatorPerms as V, useActiveUserPerps as W, ExerciseOptionEvent as X, useMintPerp as Y, ExtendEvent as Z, useCurrentPrice as _, wrapAmountUnscaled as _t, batchGetAmountsFromLiquidity as a, useMaxPositionSize as at, PRICE_PRECISION as b, zero as bt, useLiquidityBlocks as c, formatAmount as ct, usePriceHistory as d, formatVagueAmount as dt, useOptionTimeline as et, usePriceAtTick as f, scaleAmount as ft, useCurrentTick as g, wrapAmount as gt, usePoolData as h, unscalePrice as ht, useVaultData as i, useMintOption as it, roundTickUp as j, TimelockMarketData as jt, liquiditiesToAmounts as k, TimelockLens as kt, useBurnLiquidity as l, formatCondensed as lt, UniswapPoolData as m, unscaleAmount as mt, useLens as n, useOptionPremium as nt, useMintLiquidity as o, Amount as ot, usePriceSqrtPriceX96 as p, scalePrice as pt, usePerpsOperator as q, useVaultTVL as r, useOptionPnl as rt, LiquidityBlockData as s, EMPTY_ARRAY as st, useApproval as t, useExtendOption as tt, useMarketPriceHistory as u, formatUSD as ut, getPayoutAtPrice as v, wrapPrice as vt, getPriceAtTick as w, useActiveUserOptions as wt, getAmountsFromLiquidity as x, useMarketData as xt, getPayoutAtTick as y, wrapPriceUnscaled as yt, getCurrentPrice as z, uniswapMathLenses as zt };
|
|
62712
|
-
//# sourceMappingURL=client-
|
|
62712
|
+
//# sourceMappingURL=client-VhkUQ-HJ.d.cts.map
|