timelock-sdk 0.0.81 → 0.0.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{client-DSnOWcqf.d.ts → client-BjjoSITU.d.ts} +149 -158
- package/dist/{client-CPNANzx8.d.cts → client-GoHd57RL.d.cts} +87 -96
- package/dist/client.cjs +36 -99
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +37 -100
- package/dist/client.js.map +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-C54iWXpi.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as viem0 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, PublicClient } from "viem";
|
|
4
4
|
import Big from "big.js";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
@@ -228,7 +228,7 @@ type TimelockMarketData = Awaited<ReturnType<TimelockLens['read']['getMarketData
|
|
|
228
228
|
};
|
|
229
229
|
declare const getErc20: (address: Address, client: Client) => {
|
|
230
230
|
read: {
|
|
231
|
-
symbol: (options?:
|
|
231
|
+
symbol: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
232
232
|
readonly type: "constructor";
|
|
233
233
|
readonly inputs: readonly [{
|
|
234
234
|
readonly name: "name_";
|
|
@@ -407,7 +407,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
407
407
|
}];
|
|
408
408
|
readonly stateMutability: "nonpayable";
|
|
409
409
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
410
|
-
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
410
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
411
411
|
readonly type: "constructor";
|
|
412
412
|
readonly inputs: readonly [{
|
|
413
413
|
readonly name: "name_";
|
|
@@ -586,7 +586,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
586
586
|
}];
|
|
587
587
|
readonly stateMutability: "nonpayable";
|
|
588
588
|
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
589
|
-
balanceOf: (args: readonly [`0x${string}`], options?:
|
|
589
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
590
590
|
readonly type: "constructor";
|
|
591
591
|
readonly inputs: readonly [{
|
|
592
592
|
readonly name: "name_";
|
|
@@ -765,7 +765,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
765
765
|
}];
|
|
766
766
|
readonly stateMutability: "nonpayable";
|
|
767
767
|
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
768
|
-
decimals: (options?:
|
|
768
|
+
decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
769
769
|
readonly type: "constructor";
|
|
770
770
|
readonly inputs: readonly [{
|
|
771
771
|
readonly name: "name_";
|
|
@@ -944,7 +944,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
944
944
|
}];
|
|
945
945
|
readonly stateMutability: "nonpayable";
|
|
946
946
|
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
947
|
-
name: (options?:
|
|
947
|
+
name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
948
948
|
readonly type: "constructor";
|
|
949
949
|
readonly inputs: readonly [{
|
|
950
950
|
readonly name: "name_";
|
|
@@ -1123,7 +1123,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1123
1123
|
}];
|
|
1124
1124
|
readonly stateMutability: "nonpayable";
|
|
1125
1125
|
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
1126
|
-
totalSupply: (options?:
|
|
1126
|
+
totalSupply: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
1127
1127
|
readonly type: "constructor";
|
|
1128
1128
|
readonly inputs: readonly [{
|
|
1129
1129
|
readonly name: "name_";
|
|
@@ -1304,7 +1304,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1304
1304
|
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1305
1305
|
};
|
|
1306
1306
|
estimateGas: {
|
|
1307
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
1307
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1308
1308
|
readonly type: "constructor";
|
|
1309
1309
|
readonly inputs: readonly [{
|
|
1310
1310
|
readonly name: "name_";
|
|
@@ -1482,8 +1482,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1482
1482
|
readonly internalType: "bool";
|
|
1483
1483
|
}];
|
|
1484
1484
|
readonly stateMutability: "nonpayable";
|
|
1485
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
1486
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1485
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
1486
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1487
1487
|
readonly type: "constructor";
|
|
1488
1488
|
readonly inputs: readonly [{
|
|
1489
1489
|
readonly name: "name_";
|
|
@@ -1661,8 +1661,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1661
1661
|
readonly internalType: "bool";
|
|
1662
1662
|
}];
|
|
1663
1663
|
readonly stateMutability: "nonpayable";
|
|
1664
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
1665
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1664
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
1665
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1666
1666
|
readonly type: "constructor";
|
|
1667
1667
|
readonly inputs: readonly [{
|
|
1668
1668
|
readonly name: "name_";
|
|
@@ -1840,8 +1840,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1840
1840
|
readonly internalType: "bool";
|
|
1841
1841
|
}];
|
|
1842
1842
|
readonly stateMutability: "nonpayable";
|
|
1843
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
1844
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
1843
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
1844
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1845
1845
|
readonly type: "constructor";
|
|
1846
1846
|
readonly inputs: readonly [{
|
|
1847
1847
|
readonly name: "name_";
|
|
@@ -2019,8 +2019,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2019
2019
|
readonly internalType: "bool";
|
|
2020
2020
|
}];
|
|
2021
2021
|
readonly stateMutability: "nonpayable";
|
|
2022
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2023
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2022
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2023
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2024
2024
|
readonly type: "constructor";
|
|
2025
2025
|
readonly inputs: readonly [{
|
|
2026
2026
|
readonly name: "name_";
|
|
@@ -2198,9 +2198,9 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2198
2198
|
readonly internalType: "bool";
|
|
2199
2199
|
}];
|
|
2200
2200
|
readonly stateMutability: "nonpayable";
|
|
2201
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
2201
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2202
2202
|
} & {
|
|
2203
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
2203
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2204
2204
|
readonly type: "constructor";
|
|
2205
2205
|
readonly inputs: readonly [{
|
|
2206
2206
|
readonly name: "name_";
|
|
@@ -2378,8 +2378,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2378
2378
|
readonly internalType: "bool";
|
|
2379
2379
|
}];
|
|
2380
2380
|
readonly stateMutability: "nonpayable";
|
|
2381
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
2382
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2381
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2382
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2383
2383
|
readonly type: "constructor";
|
|
2384
2384
|
readonly inputs: readonly [{
|
|
2385
2385
|
readonly name: "name_";
|
|
@@ -2557,8 +2557,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2557
2557
|
readonly internalType: "bool";
|
|
2558
2558
|
}];
|
|
2559
2559
|
readonly stateMutability: "nonpayable";
|
|
2560
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
2561
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2560
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2561
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2562
2562
|
readonly type: "constructor";
|
|
2563
2563
|
readonly inputs: readonly [{
|
|
2564
2564
|
readonly name: "name_";
|
|
@@ -2736,8 +2736,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2736
2736
|
readonly internalType: "bool";
|
|
2737
2737
|
}];
|
|
2738
2738
|
readonly stateMutability: "nonpayable";
|
|
2739
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
2740
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
2739
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2740
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2741
2741
|
readonly type: "constructor";
|
|
2742
2742
|
readonly inputs: readonly [{
|
|
2743
2743
|
readonly name: "name_";
|
|
@@ -2915,8 +2915,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2915
2915
|
readonly internalType: "bool";
|
|
2916
2916
|
}];
|
|
2917
2917
|
readonly stateMutability: "nonpayable";
|
|
2918
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2919
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2918
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2919
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2920
2920
|
readonly type: "constructor";
|
|
2921
2921
|
readonly inputs: readonly [{
|
|
2922
2922
|
readonly name: "name_";
|
|
@@ -3094,10 +3094,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3094
3094
|
readonly internalType: "bool";
|
|
3095
3095
|
}];
|
|
3096
3096
|
readonly stateMutability: "nonpayable";
|
|
3097
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
3097
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
3098
3098
|
};
|
|
3099
3099
|
simulate: {
|
|
3100
|
-
approve: <chainOverride extends
|
|
3100
|
+
approve: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
3101
3101
|
readonly type: "constructor";
|
|
3102
3102
|
readonly inputs: readonly [{
|
|
3103
3103
|
readonly name: "name_";
|
|
@@ -3275,7 +3275,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3275
3275
|
readonly internalType: "bool";
|
|
3276
3276
|
}];
|
|
3277
3277
|
readonly stateMutability: "nonpayable";
|
|
3278
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3278
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
3279
3279
|
readonly type: "constructor";
|
|
3280
3280
|
readonly inputs: readonly [{
|
|
3281
3281
|
readonly name: "name_";
|
|
@@ -3453,8 +3453,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3453
3453
|
readonly internalType: "bool";
|
|
3454
3454
|
}];
|
|
3455
3455
|
readonly stateMutability: "nonpayable";
|
|
3456
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3457
|
-
decreaseAllowance: <chainOverride extends
|
|
3456
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
3457
|
+
decreaseAllowance: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
3458
3458
|
readonly type: "constructor";
|
|
3459
3459
|
readonly inputs: readonly [{
|
|
3460
3460
|
readonly name: "name_";
|
|
@@ -3632,7 +3632,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3632
3632
|
readonly internalType: "bool";
|
|
3633
3633
|
}];
|
|
3634
3634
|
readonly stateMutability: "nonpayable";
|
|
3635
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3635
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
3636
3636
|
readonly type: "constructor";
|
|
3637
3637
|
readonly inputs: readonly [{
|
|
3638
3638
|
readonly name: "name_";
|
|
@@ -3810,8 +3810,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3810
3810
|
readonly internalType: "bool";
|
|
3811
3811
|
}];
|
|
3812
3812
|
readonly stateMutability: "nonpayable";
|
|
3813
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3814
|
-
increaseAllowance: <chainOverride extends
|
|
3813
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
3814
|
+
increaseAllowance: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
3815
3815
|
readonly type: "constructor";
|
|
3816
3816
|
readonly inputs: readonly [{
|
|
3817
3817
|
readonly name: "name_";
|
|
@@ -3989,7 +3989,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3989
3989
|
readonly internalType: "bool";
|
|
3990
3990
|
}];
|
|
3991
3991
|
readonly stateMutability: "nonpayable";
|
|
3992
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
3992
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
3993
3993
|
readonly type: "constructor";
|
|
3994
3994
|
readonly inputs: readonly [{
|
|
3995
3995
|
readonly name: "name_";
|
|
@@ -4167,8 +4167,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4167
4167
|
readonly internalType: "bool";
|
|
4168
4168
|
}];
|
|
4169
4169
|
readonly stateMutability: "nonpayable";
|
|
4170
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
4171
|
-
transfer: <chainOverride extends
|
|
4170
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
4171
|
+
transfer: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
4172
4172
|
readonly type: "constructor";
|
|
4173
4173
|
readonly inputs: readonly [{
|
|
4174
4174
|
readonly name: "name_";
|
|
@@ -4346,7 +4346,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4346
4346
|
readonly internalType: "bool";
|
|
4347
4347
|
}];
|
|
4348
4348
|
readonly stateMutability: "nonpayable";
|
|
4349
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4349
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
4350
4350
|
readonly type: "constructor";
|
|
4351
4351
|
readonly inputs: readonly [{
|
|
4352
4352
|
readonly name: "name_";
|
|
@@ -4524,8 +4524,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4524
4524
|
readonly internalType: "bool";
|
|
4525
4525
|
}];
|
|
4526
4526
|
readonly stateMutability: "nonpayable";
|
|
4527
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4528
|
-
transferFrom: <chainOverride extends
|
|
4527
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
4528
|
+
transferFrom: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
4529
4529
|
readonly type: "constructor";
|
|
4530
4530
|
readonly inputs: readonly [{
|
|
4531
4531
|
readonly name: "name_";
|
|
@@ -4703,7 +4703,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4703
4703
|
readonly internalType: "bool";
|
|
4704
4704
|
}];
|
|
4705
4705
|
readonly stateMutability: "nonpayable";
|
|
4706
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4706
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
4707
4707
|
readonly type: "constructor";
|
|
4708
4708
|
readonly inputs: readonly [{
|
|
4709
4709
|
readonly name: "name_";
|
|
@@ -4881,10 +4881,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4881
4881
|
readonly internalType: "bool";
|
|
4882
4882
|
}];
|
|
4883
4883
|
readonly stateMutability: "nonpayable";
|
|
4884
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4884
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
4885
4885
|
};
|
|
4886
4886
|
write: {
|
|
4887
|
-
approve: <chainOverride extends
|
|
4887
|
+
approve: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
4888
4888
|
readonly type: "constructor";
|
|
4889
4889
|
readonly inputs: readonly [{
|
|
4890
4890
|
readonly name: "name_";
|
|
@@ -5062,8 +5062,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5062
5062
|
readonly internalType: "bool";
|
|
5063
5063
|
}];
|
|
5064
5064
|
readonly stateMutability: "nonpayable";
|
|
5065
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
5066
|
-
decreaseAllowance: <chainOverride extends
|
|
5065
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5066
|
+
decreaseAllowance: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
5067
5067
|
readonly type: "constructor";
|
|
5068
5068
|
readonly inputs: readonly [{
|
|
5069
5069
|
readonly name: "name_";
|
|
@@ -5241,8 +5241,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5241
5241
|
readonly internalType: "bool";
|
|
5242
5242
|
}];
|
|
5243
5243
|
readonly stateMutability: "nonpayable";
|
|
5244
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
5245
|
-
increaseAllowance: <chainOverride extends
|
|
5244
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5245
|
+
increaseAllowance: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
5246
5246
|
readonly type: "constructor";
|
|
5247
5247
|
readonly inputs: readonly [{
|
|
5248
5248
|
readonly name: "name_";
|
|
@@ -5420,8 +5420,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5420
5420
|
readonly internalType: "bool";
|
|
5421
5421
|
}];
|
|
5422
5422
|
readonly stateMutability: "nonpayable";
|
|
5423
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
5424
|
-
transfer: <chainOverride extends
|
|
5423
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5424
|
+
transfer: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
5425
5425
|
readonly type: "constructor";
|
|
5426
5426
|
readonly inputs: readonly [{
|
|
5427
5427
|
readonly name: "name_";
|
|
@@ -5599,8 +5599,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5599
5599
|
readonly internalType: "bool";
|
|
5600
5600
|
}];
|
|
5601
5601
|
readonly stateMutability: "nonpayable";
|
|
5602
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
5603
|
-
transferFrom: <chainOverride extends
|
|
5602
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5603
|
+
transferFrom: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
5604
5604
|
readonly type: "constructor";
|
|
5605
5605
|
readonly inputs: readonly [{
|
|
5606
5606
|
readonly name: "name_";
|
|
@@ -5778,7 +5778,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5778
5778
|
readonly internalType: "bool";
|
|
5779
5779
|
}];
|
|
5780
5780
|
readonly stateMutability: "nonpayable";
|
|
5781
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
5781
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, `0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5782
5782
|
};
|
|
5783
5783
|
address: `0x${string}`;
|
|
5784
5784
|
abi: readonly [{
|
|
@@ -5964,7 +5964,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5964
5964
|
declare const getTimelockMarket: (address: Address, client: Client) => TimelockMarket;
|
|
5965
5965
|
declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
5966
5966
|
read: {
|
|
5967
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
5967
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
5968
5968
|
readonly type: "function";
|
|
5969
5969
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
5970
5970
|
readonly inputs: readonly [{
|
|
@@ -6585,7 +6585,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
6585
6585
|
}];
|
|
6586
6586
|
readonly stateMutability: "pure";
|
|
6587
6587
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
6588
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
6588
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
6589
6589
|
readonly type: "function";
|
|
6590
6590
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6591
6591
|
readonly inputs: readonly [{
|
|
@@ -7206,7 +7206,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
7206
7206
|
}];
|
|
7207
7207
|
readonly stateMutability: "pure";
|
|
7208
7208
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7209
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
7209
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
7210
7210
|
readonly type: "function";
|
|
7211
7211
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7212
7212
|
readonly inputs: readonly [{
|
|
@@ -7827,7 +7827,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
7827
7827
|
}];
|
|
7828
7828
|
readonly stateMutability: "pure";
|
|
7829
7829
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7830
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
7830
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
7831
7831
|
readonly type: "function";
|
|
7832
7832
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7833
7833
|
readonly inputs: readonly [{
|
|
@@ -8448,7 +8448,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
8448
8448
|
}];
|
|
8449
8449
|
readonly stateMutability: "pure";
|
|
8450
8450
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
8451
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
8451
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
8452
8452
|
readonly type: "function";
|
|
8453
8453
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8454
8454
|
readonly inputs: readonly [{
|
|
@@ -9069,7 +9069,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
9069
9069
|
}];
|
|
9070
9070
|
readonly stateMutability: "pure";
|
|
9071
9071
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
9072
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
9072
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
9073
9073
|
readonly type: "function";
|
|
9074
9074
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9075
9075
|
readonly inputs: readonly [{
|
|
@@ -9690,7 +9690,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
9690
9690
|
}];
|
|
9691
9691
|
readonly stateMutability: "pure";
|
|
9692
9692
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
9693
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
9693
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
9694
9694
|
readonly type: "function";
|
|
9695
9695
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9696
9696
|
readonly inputs: readonly [{
|
|
@@ -10311,7 +10311,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10311
10311
|
}];
|
|
10312
10312
|
readonly stateMutability: "pure";
|
|
10313
10313
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10314
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
10314
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
10315
10315
|
readonly type: "function";
|
|
10316
10316
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10317
10317
|
readonly inputs: readonly [{
|
|
@@ -10932,7 +10932,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10932
10932
|
}];
|
|
10933
10933
|
readonly stateMutability: "pure";
|
|
10934
10934
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10935
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
10935
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
10936
10936
|
readonly type: "function";
|
|
10937
10937
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10938
10938
|
readonly inputs: readonly [{
|
|
@@ -11553,7 +11553,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
11553
11553
|
}];
|
|
11554
11554
|
readonly stateMutability: "pure";
|
|
11555
11555
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
11556
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
11556
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
11557
11557
|
readonly type: "function";
|
|
11558
11558
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11559
11559
|
readonly inputs: readonly [{
|
|
@@ -12174,7 +12174,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12174
12174
|
}];
|
|
12175
12175
|
readonly stateMutability: "pure";
|
|
12176
12176
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12177
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
12177
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
12178
12178
|
readonly type: "function";
|
|
12179
12179
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12180
12180
|
readonly inputs: readonly [{
|
|
@@ -12795,7 +12795,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12795
12795
|
}];
|
|
12796
12796
|
readonly stateMutability: "pure";
|
|
12797
12797
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12798
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
12798
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
12799
12799
|
readonly type: "function";
|
|
12800
12800
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12801
12801
|
readonly inputs: readonly [{
|
|
@@ -13416,7 +13416,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
13416
13416
|
}];
|
|
13417
13417
|
readonly stateMutability: "pure";
|
|
13418
13418
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13419
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
13419
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
13420
13420
|
readonly type: "function";
|
|
13421
13421
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13422
13422
|
readonly inputs: readonly [{
|
|
@@ -14037,7 +14037,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14037
14037
|
}];
|
|
14038
14038
|
readonly stateMutability: "pure";
|
|
14039
14039
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14040
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
14040
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
14041
14041
|
readonly type: "function";
|
|
14042
14042
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14043
14043
|
readonly inputs: readonly [{
|
|
@@ -14658,7 +14658,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14658
14658
|
}];
|
|
14659
14659
|
readonly stateMutability: "pure";
|
|
14660
14660
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
14661
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
14661
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
14662
14662
|
readonly type: "function";
|
|
14663
14663
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14664
14664
|
readonly inputs: readonly [{
|
|
@@ -15279,7 +15279,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15279
15279
|
}];
|
|
15280
15280
|
readonly stateMutability: "pure";
|
|
15281
15281
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15282
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
15282
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15283
15283
|
readonly type: "function";
|
|
15284
15284
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15285
15285
|
readonly inputs: readonly [{
|
|
@@ -15900,7 +15900,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15900
15900
|
}];
|
|
15901
15901
|
readonly stateMutability: "pure";
|
|
15902
15902
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15903
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
15903
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15904
15904
|
readonly type: "function";
|
|
15905
15905
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15906
15906
|
readonly inputs: readonly [{
|
|
@@ -16521,7 +16521,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
16521
16521
|
}];
|
|
16522
16522
|
readonly stateMutability: "pure";
|
|
16523
16523
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
16524
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
16524
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
16525
16525
|
readonly type: "function";
|
|
16526
16526
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16527
16527
|
readonly inputs: readonly [{
|
|
@@ -17142,7 +17142,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17142
17142
|
}];
|
|
17143
17143
|
readonly stateMutability: "pure";
|
|
17144
17144
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
17145
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
17145
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
17146
17146
|
readonly type: "function";
|
|
17147
17147
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17148
17148
|
readonly inputs: readonly [{
|
|
@@ -17763,7 +17763,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17763
17763
|
}];
|
|
17764
17764
|
readonly stateMutability: "pure";
|
|
17765
17765
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
17766
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
17766
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
17767
17767
|
readonly type: "function";
|
|
17768
17768
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17769
17769
|
readonly inputs: readonly [{
|
|
@@ -18384,7 +18384,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
18384
18384
|
}];
|
|
18385
18385
|
readonly stateMutability: "pure";
|
|
18386
18386
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
18387
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
18387
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
18388
18388
|
readonly type: "function";
|
|
18389
18389
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18390
18390
|
readonly inputs: readonly [{
|
|
@@ -19005,7 +19005,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19005
19005
|
}];
|
|
19006
19006
|
readonly stateMutability: "pure";
|
|
19007
19007
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
19008
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
19008
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
19009
19009
|
readonly type: "function";
|
|
19010
19010
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19011
19011
|
readonly inputs: readonly [{
|
|
@@ -19626,7 +19626,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19626
19626
|
}];
|
|
19627
19627
|
readonly stateMutability: "pure";
|
|
19628
19628
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
19629
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
19629
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
19630
19630
|
readonly type: "function";
|
|
19631
19631
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19632
19632
|
readonly inputs: readonly [{
|
|
@@ -20247,7 +20247,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20247
20247
|
}];
|
|
20248
20248
|
readonly stateMutability: "pure";
|
|
20249
20249
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20250
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
20250
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
20251
20251
|
readonly type: "function";
|
|
20252
20252
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20253
20253
|
readonly inputs: readonly [{
|
|
@@ -20868,7 +20868,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20868
20868
|
}];
|
|
20869
20869
|
readonly stateMutability: "pure";
|
|
20870
20870
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20871
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
20871
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
20872
20872
|
readonly type: "function";
|
|
20873
20873
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20874
20874
|
readonly inputs: readonly [{
|
|
@@ -21489,7 +21489,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
21489
21489
|
}];
|
|
21490
21490
|
readonly stateMutability: "pure";
|
|
21491
21491
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21492
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
21492
|
+
getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
21493
21493
|
readonly type: "function";
|
|
21494
21494
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21495
21495
|
readonly inputs: readonly [{
|
|
@@ -22736,7 +22736,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
22736
22736
|
};
|
|
22737
22737
|
declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
22738
22738
|
read: {
|
|
22739
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
22739
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
22740
22740
|
readonly type: "function";
|
|
22741
22741
|
readonly name: "batchGetRefTick";
|
|
22742
22742
|
readonly inputs: readonly [{
|
|
@@ -23410,7 +23410,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23410
23410
|
}];
|
|
23411
23411
|
readonly stateMutability: "view";
|
|
23412
23412
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
23413
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
23413
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23414
23414
|
readonly type: "function";
|
|
23415
23415
|
readonly name: "batchGetRefTick";
|
|
23416
23416
|
readonly inputs: readonly [{
|
|
@@ -24094,7 +24094,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24094
24094
|
borrowedAmount0: bigint;
|
|
24095
24095
|
borrowedAmount1: bigint;
|
|
24096
24096
|
}[]>;
|
|
24097
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
24097
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
24098
24098
|
readonly type: "function";
|
|
24099
24099
|
readonly name: "batchGetRefTick";
|
|
24100
24100
|
readonly inputs: readonly [{
|
|
@@ -24785,7 +24785,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24785
24785
|
expiresAt: number;
|
|
24786
24786
|
liquidities: readonly bigint[];
|
|
24787
24787
|
}[], bigint, boolean]>;
|
|
24788
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
24788
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
24789
24789
|
readonly type: "function";
|
|
24790
24790
|
readonly name: "batchGetRefTick";
|
|
24791
24791
|
readonly inputs: readonly [{
|
|
@@ -25459,7 +25459,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25459
25459
|
}];
|
|
25460
25460
|
readonly stateMutability: "view";
|
|
25461
25461
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25462
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
25462
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25463
25463
|
readonly type: "function";
|
|
25464
25464
|
readonly name: "batchGetRefTick";
|
|
25465
25465
|
readonly inputs: readonly [{
|
|
@@ -26146,7 +26146,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26146
26146
|
payoutAssetName: string;
|
|
26147
26147
|
optionsCount: bigint;
|
|
26148
26148
|
}>;
|
|
26149
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
26149
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26150
26150
|
readonly type: "function";
|
|
26151
26151
|
readonly name: "batchGetRefTick";
|
|
26152
26152
|
readonly inputs: readonly [{
|
|
@@ -26820,7 +26820,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26820
26820
|
}];
|
|
26821
26821
|
readonly stateMutability: "view";
|
|
26822
26822
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
26823
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
26823
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26824
26824
|
readonly type: "function";
|
|
26825
26825
|
readonly name: "batchGetRefTick";
|
|
26826
26826
|
readonly inputs: readonly [{
|
|
@@ -27494,7 +27494,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27494
27494
|
}];
|
|
27495
27495
|
readonly stateMutability: "view";
|
|
27496
27496
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
27497
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
27497
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
27498
27498
|
readonly type: "function";
|
|
27499
27499
|
readonly name: "batchGetRefTick";
|
|
27500
27500
|
readonly inputs: readonly [{
|
|
@@ -28185,7 +28185,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28185
28185
|
expiresAt: number;
|
|
28186
28186
|
liquidities: readonly bigint[];
|
|
28187
28187
|
}>;
|
|
28188
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
28188
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
28189
28189
|
readonly type: "function";
|
|
28190
28190
|
readonly name: "batchGetRefTick";
|
|
28191
28191
|
readonly inputs: readonly [{
|
|
@@ -28876,7 +28876,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28876
28876
|
expiresAt: number;
|
|
28877
28877
|
liquidities: readonly bigint[];
|
|
28878
28878
|
}[]>;
|
|
28879
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
28879
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
28880
28880
|
readonly type: "function";
|
|
28881
28881
|
readonly name: "batchGetRefTick";
|
|
28882
28882
|
readonly inputs: readonly [{
|
|
@@ -29561,7 +29561,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29561
29561
|
tickSpacing: number;
|
|
29562
29562
|
fee: number;
|
|
29563
29563
|
}>;
|
|
29564
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
29564
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
29565
29565
|
readonly type: "function";
|
|
29566
29566
|
readonly name: "batchGetRefTick";
|
|
29567
29567
|
readonly inputs: readonly [{
|
|
@@ -30235,7 +30235,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30235
30235
|
}];
|
|
30236
30236
|
readonly stateMutability: "view";
|
|
30237
30237
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
30238
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
30238
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
30239
30239
|
readonly type: "function";
|
|
30240
30240
|
readonly name: "batchGetRefTick";
|
|
30241
30241
|
readonly inputs: readonly [{
|
|
@@ -30926,7 +30926,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30926
30926
|
expiresAt: number;
|
|
30927
30927
|
liquidities: readonly bigint[];
|
|
30928
30928
|
}[], bigint, boolean]>;
|
|
30929
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
30929
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
30930
30930
|
readonly type: "function";
|
|
30931
30931
|
readonly name: "batchGetRefTick";
|
|
30932
30932
|
readonly inputs: readonly [{
|
|
@@ -35909,7 +35909,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
35909
35909
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
35910
35910
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
35911
35911
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
35912
|
-
error:
|
|
35912
|
+
error: viem0.ReadContractErrorType;
|
|
35913
35913
|
isError: true;
|
|
35914
35914
|
isPending: false;
|
|
35915
35915
|
isLoading: false;
|
|
@@ -35921,7 +35921,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35921
35921
|
dataUpdatedAt: number;
|
|
35922
35922
|
errorUpdatedAt: number;
|
|
35923
35923
|
failureCount: number;
|
|
35924
|
-
failureReason:
|
|
35924
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35925
35925
|
errorUpdateCount: number;
|
|
35926
35926
|
isFetched: boolean;
|
|
35927
35927
|
isFetchedAfterMount: boolean;
|
|
@@ -35941,7 +35941,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35941
35941
|
totalAmount1: bigint;
|
|
35942
35942
|
borrowedAmount0: bigint;
|
|
35943
35943
|
borrowedAmount1: bigint;
|
|
35944
|
-
}[],
|
|
35944
|
+
}[], viem0.ReadContractErrorType>>;
|
|
35945
35945
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35946
35946
|
promise: Promise<readonly {
|
|
35947
35947
|
tickLower: number;
|
|
@@ -35979,7 +35979,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35979
35979
|
dataUpdatedAt: number;
|
|
35980
35980
|
errorUpdatedAt: number;
|
|
35981
35981
|
failureCount: number;
|
|
35982
|
-
failureReason:
|
|
35982
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35983
35983
|
errorUpdateCount: number;
|
|
35984
35984
|
isFetched: boolean;
|
|
35985
35985
|
isFetchedAfterMount: boolean;
|
|
@@ -35999,7 +35999,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35999
35999
|
totalAmount1: bigint;
|
|
36000
36000
|
borrowedAmount0: bigint;
|
|
36001
36001
|
borrowedAmount1: bigint;
|
|
36002
|
-
}[],
|
|
36002
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36003
36003
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36004
36004
|
promise: Promise<readonly {
|
|
36005
36005
|
tickLower: number;
|
|
@@ -36025,7 +36025,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36025
36025
|
borrowedAmount1: bigint;
|
|
36026
36026
|
}[];
|
|
36027
36027
|
} | {
|
|
36028
|
-
error:
|
|
36028
|
+
error: viem0.ReadContractErrorType;
|
|
36029
36029
|
isError: true;
|
|
36030
36030
|
isPending: false;
|
|
36031
36031
|
isLoading: false;
|
|
@@ -36037,7 +36037,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36037
36037
|
dataUpdatedAt: number;
|
|
36038
36038
|
errorUpdatedAt: number;
|
|
36039
36039
|
failureCount: number;
|
|
36040
|
-
failureReason:
|
|
36040
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36041
36041
|
errorUpdateCount: number;
|
|
36042
36042
|
isFetched: boolean;
|
|
36043
36043
|
isFetchedAfterMount: boolean;
|
|
@@ -36057,7 +36057,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36057
36057
|
totalAmount1: bigint;
|
|
36058
36058
|
borrowedAmount0: bigint;
|
|
36059
36059
|
borrowedAmount1: bigint;
|
|
36060
|
-
}[],
|
|
36060
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36061
36061
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36062
36062
|
promise: Promise<readonly {
|
|
36063
36063
|
tickLower: number;
|
|
@@ -36095,7 +36095,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36095
36095
|
dataUpdatedAt: number;
|
|
36096
36096
|
errorUpdatedAt: number;
|
|
36097
36097
|
failureCount: number;
|
|
36098
|
-
failureReason:
|
|
36098
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36099
36099
|
errorUpdateCount: number;
|
|
36100
36100
|
isFetched: boolean;
|
|
36101
36101
|
isFetchedAfterMount: boolean;
|
|
@@ -36115,7 +36115,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36115
36115
|
totalAmount1: bigint;
|
|
36116
36116
|
borrowedAmount0: bigint;
|
|
36117
36117
|
borrowedAmount1: bigint;
|
|
36118
|
-
}[],
|
|
36118
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36119
36119
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36120
36120
|
promise: Promise<readonly {
|
|
36121
36121
|
tickLower: number;
|
|
@@ -36152,7 +36152,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36152
36152
|
dataUpdatedAt: number;
|
|
36153
36153
|
errorUpdatedAt: number;
|
|
36154
36154
|
failureCount: number;
|
|
36155
|
-
failureReason:
|
|
36155
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36156
36156
|
errorUpdateCount: number;
|
|
36157
36157
|
isFetched: boolean;
|
|
36158
36158
|
isFetchedAfterMount: boolean;
|
|
@@ -36173,7 +36173,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36173
36173
|
totalAmount1: bigint;
|
|
36174
36174
|
borrowedAmount0: bigint;
|
|
36175
36175
|
borrowedAmount1: bigint;
|
|
36176
|
-
}[],
|
|
36176
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36177
36177
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36178
36178
|
promise: Promise<readonly {
|
|
36179
36179
|
tickLower: number;
|
|
@@ -36211,7 +36211,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36211
36211
|
dataUpdatedAt: number;
|
|
36212
36212
|
errorUpdatedAt: number;
|
|
36213
36213
|
failureCount: number;
|
|
36214
|
-
failureReason:
|
|
36214
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36215
36215
|
errorUpdateCount: number;
|
|
36216
36216
|
isFetched: boolean;
|
|
36217
36217
|
isFetchedAfterMount: boolean;
|
|
@@ -36231,7 +36231,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36231
36231
|
totalAmount1: bigint;
|
|
36232
36232
|
borrowedAmount0: bigint;
|
|
36233
36233
|
borrowedAmount1: bigint;
|
|
36234
|
-
}[],
|
|
36234
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36235
36235
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36236
36236
|
promise: Promise<readonly {
|
|
36237
36237
|
tickLower: number;
|
|
@@ -36259,27 +36259,18 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36259
36259
|
};
|
|
36260
36260
|
//#endregion
|
|
36261
36261
|
//#region src/hooks/vault/useMintLiquidity.d.ts
|
|
36262
|
-
declare const batchGetAmountsFromLiquidity: (
|
|
36262
|
+
declare const batchGetAmountsFromLiquidity: (tickLowers: number[], tickUppers: number[], liquidities: bigint[], currentTick: number) => {
|
|
36263
36263
|
totalAmount0: bigint;
|
|
36264
36264
|
totalAmount1: bigint;
|
|
36265
36265
|
amounts0: bigint[];
|
|
36266
36266
|
amounts1: bigint[];
|
|
36267
|
-
}
|
|
36267
|
+
};
|
|
36268
36268
|
interface MintPositionParams {
|
|
36269
36269
|
tickLower: number;
|
|
36270
36270
|
tickUpper: number;
|
|
36271
36271
|
liquidity: bigint;
|
|
36272
36272
|
}
|
|
36273
|
-
declare const useMintLiquidity: (vaultAddr?: Address) =>
|
|
36274
|
-
mintMultiple: (positions: MintPositionParams[]) => Promise<void>;
|
|
36275
|
-
mint: (tickLower: number, tickUpper: number, liquidity: bigint) => Promise<`0x${string}`>;
|
|
36276
|
-
hash: `0x${string}` | undefined;
|
|
36277
|
-
isPending: boolean;
|
|
36278
|
-
isConfirming: boolean;
|
|
36279
|
-
isSuccess: boolean;
|
|
36280
|
-
error: _wagmi_core0.WriteContractErrorType | null;
|
|
36281
|
-
isLoading: boolean;
|
|
36282
|
-
};
|
|
36273
|
+
declare const useMintLiquidity: (vaultAddr?: Address) => _tanstack_react_query0.UseMutationResult<void, Error, MintPositionParams | MintPositionParams[], unknown>;
|
|
36283
36274
|
//#endregion
|
|
36284
36275
|
//#region src/hooks/vault/useVaultData.d.ts
|
|
36285
36276
|
declare const useVaultData: (vaultAddr?: Address) => {
|
|
@@ -36304,14 +36295,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
36304
36295
|
borrowedAmount0: Amount;
|
|
36305
36296
|
borrowedAmount1: Amount;
|
|
36306
36297
|
blocksCount: bigint;
|
|
36307
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
36298
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
|
|
36308
36299
|
};
|
|
36309
36300
|
//#endregion
|
|
36310
36301
|
//#region src/hooks/useLens.d.ts
|
|
36311
36302
|
declare const useLens: () => {
|
|
36312
36303
|
timelockLens: {
|
|
36313
36304
|
read: {
|
|
36314
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
36305
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
36315
36306
|
readonly type: "function";
|
|
36316
36307
|
readonly name: "batchGetRefTick";
|
|
36317
36308
|
readonly inputs: readonly [{
|
|
@@ -36985,7 +36976,7 @@ declare const useLens: () => {
|
|
|
36985
36976
|
}];
|
|
36986
36977
|
readonly stateMutability: "view";
|
|
36987
36978
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
36988
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
36979
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
36989
36980
|
readonly type: "function";
|
|
36990
36981
|
readonly name: "batchGetRefTick";
|
|
36991
36982
|
readonly inputs: readonly [{
|
|
@@ -37669,7 +37660,7 @@ declare const useLens: () => {
|
|
|
37669
37660
|
borrowedAmount0: bigint;
|
|
37670
37661
|
borrowedAmount1: bigint;
|
|
37671
37662
|
}[]>;
|
|
37672
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
37663
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
37673
37664
|
readonly type: "function";
|
|
37674
37665
|
readonly name: "batchGetRefTick";
|
|
37675
37666
|
readonly inputs: readonly [{
|
|
@@ -38360,7 +38351,7 @@ declare const useLens: () => {
|
|
|
38360
38351
|
expiresAt: number;
|
|
38361
38352
|
liquidities: readonly bigint[];
|
|
38362
38353
|
}[], bigint, boolean]>;
|
|
38363
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
38354
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
38364
38355
|
readonly type: "function";
|
|
38365
38356
|
readonly name: "batchGetRefTick";
|
|
38366
38357
|
readonly inputs: readonly [{
|
|
@@ -39034,7 +39025,7 @@ declare const useLens: () => {
|
|
|
39034
39025
|
}];
|
|
39035
39026
|
readonly stateMutability: "view";
|
|
39036
39027
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
39037
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
39028
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
39038
39029
|
readonly type: "function";
|
|
39039
39030
|
readonly name: "batchGetRefTick";
|
|
39040
39031
|
readonly inputs: readonly [{
|
|
@@ -39721,7 +39712,7 @@ declare const useLens: () => {
|
|
|
39721
39712
|
payoutAssetName: string;
|
|
39722
39713
|
optionsCount: bigint;
|
|
39723
39714
|
}>;
|
|
39724
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
39715
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
39725
39716
|
readonly type: "function";
|
|
39726
39717
|
readonly name: "batchGetRefTick";
|
|
39727
39718
|
readonly inputs: readonly [{
|
|
@@ -40395,7 +40386,7 @@ declare const useLens: () => {
|
|
|
40395
40386
|
}];
|
|
40396
40387
|
readonly stateMutability: "view";
|
|
40397
40388
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
40398
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
40389
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
40399
40390
|
readonly type: "function";
|
|
40400
40391
|
readonly name: "batchGetRefTick";
|
|
40401
40392
|
readonly inputs: readonly [{
|
|
@@ -41069,7 +41060,7 @@ declare const useLens: () => {
|
|
|
41069
41060
|
}];
|
|
41070
41061
|
readonly stateMutability: "view";
|
|
41071
41062
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
41072
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
41063
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
41073
41064
|
readonly type: "function";
|
|
41074
41065
|
readonly name: "batchGetRefTick";
|
|
41075
41066
|
readonly inputs: readonly [{
|
|
@@ -41760,7 +41751,7 @@ declare const useLens: () => {
|
|
|
41760
41751
|
expiresAt: number;
|
|
41761
41752
|
liquidities: readonly bigint[];
|
|
41762
41753
|
}>;
|
|
41763
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
41754
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
41764
41755
|
readonly type: "function";
|
|
41765
41756
|
readonly name: "batchGetRefTick";
|
|
41766
41757
|
readonly inputs: readonly [{
|
|
@@ -42451,7 +42442,7 @@ declare const useLens: () => {
|
|
|
42451
42442
|
expiresAt: number;
|
|
42452
42443
|
liquidities: readonly bigint[];
|
|
42453
42444
|
}[]>;
|
|
42454
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
42445
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
42455
42446
|
readonly type: "function";
|
|
42456
42447
|
readonly name: "batchGetRefTick";
|
|
42457
42448
|
readonly inputs: readonly [{
|
|
@@ -43136,7 +43127,7 @@ declare const useLens: () => {
|
|
|
43136
43127
|
tickSpacing: number;
|
|
43137
43128
|
fee: number;
|
|
43138
43129
|
}>;
|
|
43139
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
43130
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
43140
43131
|
readonly type: "function";
|
|
43141
43132
|
readonly name: "batchGetRefTick";
|
|
43142
43133
|
readonly inputs: readonly [{
|
|
@@ -43810,7 +43801,7 @@ declare const useLens: () => {
|
|
|
43810
43801
|
}];
|
|
43811
43802
|
readonly stateMutability: "view";
|
|
43812
43803
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
43813
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
43804
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
43814
43805
|
readonly type: "function";
|
|
43815
43806
|
readonly name: "batchGetRefTick";
|
|
43816
43807
|
readonly inputs: readonly [{
|
|
@@ -44501,7 +44492,7 @@ declare const useLens: () => {
|
|
|
44501
44492
|
expiresAt: number;
|
|
44502
44493
|
liquidities: readonly bigint[];
|
|
44503
44494
|
}[], bigint, boolean]>;
|
|
44504
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
44495
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
44505
44496
|
readonly type: "function";
|
|
44506
44497
|
readonly name: "batchGetRefTick";
|
|
44507
44498
|
readonly inputs: readonly [{
|
|
@@ -45854,7 +45845,7 @@ declare const useLens: () => {
|
|
|
45854
45845
|
} | undefined;
|
|
45855
45846
|
uniswapLens: {
|
|
45856
45847
|
read: {
|
|
45857
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
45848
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
45858
45849
|
readonly type: "function";
|
|
45859
45850
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
45860
45851
|
readonly inputs: readonly [{
|
|
@@ -46475,7 +46466,7 @@ declare const useLens: () => {
|
|
|
46475
46466
|
}];
|
|
46476
46467
|
readonly stateMutability: "pure";
|
|
46477
46468
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46478
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
46469
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
46479
46470
|
readonly type: "function";
|
|
46480
46471
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46481
46472
|
readonly inputs: readonly [{
|
|
@@ -47096,7 +47087,7 @@ declare const useLens: () => {
|
|
|
47096
47087
|
}];
|
|
47097
47088
|
readonly stateMutability: "pure";
|
|
47098
47089
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47099
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
47090
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
47100
47091
|
readonly type: "function";
|
|
47101
47092
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47102
47093
|
readonly inputs: readonly [{
|
|
@@ -47717,7 +47708,7 @@ declare const useLens: () => {
|
|
|
47717
47708
|
}];
|
|
47718
47709
|
readonly stateMutability: "pure";
|
|
47719
47710
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47720
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
47711
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
47721
47712
|
readonly type: "function";
|
|
47722
47713
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47723
47714
|
readonly inputs: readonly [{
|
|
@@ -48338,7 +48329,7 @@ declare const useLens: () => {
|
|
|
48338
48329
|
}];
|
|
48339
48330
|
readonly stateMutability: "pure";
|
|
48340
48331
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
48341
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
48332
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
48342
48333
|
readonly type: "function";
|
|
48343
48334
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48344
48335
|
readonly inputs: readonly [{
|
|
@@ -48959,7 +48950,7 @@ declare const useLens: () => {
|
|
|
48959
48950
|
}];
|
|
48960
48951
|
readonly stateMutability: "pure";
|
|
48961
48952
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
48962
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
48953
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
48963
48954
|
readonly type: "function";
|
|
48964
48955
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48965
48956
|
readonly inputs: readonly [{
|
|
@@ -49580,7 +49571,7 @@ declare const useLens: () => {
|
|
|
49580
49571
|
}];
|
|
49581
49572
|
readonly stateMutability: "pure";
|
|
49582
49573
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
49583
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
49574
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
49584
49575
|
readonly type: "function";
|
|
49585
49576
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49586
49577
|
readonly inputs: readonly [{
|
|
@@ -50201,7 +50192,7 @@ declare const useLens: () => {
|
|
|
50201
50192
|
}];
|
|
50202
50193
|
readonly stateMutability: "pure";
|
|
50203
50194
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50204
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
50195
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
50205
50196
|
readonly type: "function";
|
|
50206
50197
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50207
50198
|
readonly inputs: readonly [{
|
|
@@ -50822,7 +50813,7 @@ declare const useLens: () => {
|
|
|
50822
50813
|
}];
|
|
50823
50814
|
readonly stateMutability: "pure";
|
|
50824
50815
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50825
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
50816
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
50826
50817
|
readonly type: "function";
|
|
50827
50818
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50828
50819
|
readonly inputs: readonly [{
|
|
@@ -51443,7 +51434,7 @@ declare const useLens: () => {
|
|
|
51443
51434
|
}];
|
|
51444
51435
|
readonly stateMutability: "pure";
|
|
51445
51436
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51446
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
51437
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
51447
51438
|
readonly type: "function";
|
|
51448
51439
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51449
51440
|
readonly inputs: readonly [{
|
|
@@ -52064,7 +52055,7 @@ declare const useLens: () => {
|
|
|
52064
52055
|
}];
|
|
52065
52056
|
readonly stateMutability: "pure";
|
|
52066
52057
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52067
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
52058
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
52068
52059
|
readonly type: "function";
|
|
52069
52060
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52070
52061
|
readonly inputs: readonly [{
|
|
@@ -52685,7 +52676,7 @@ declare const useLens: () => {
|
|
|
52685
52676
|
}];
|
|
52686
52677
|
readonly stateMutability: "pure";
|
|
52687
52678
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52688
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
52679
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
52689
52680
|
readonly type: "function";
|
|
52690
52681
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52691
52682
|
readonly inputs: readonly [{
|
|
@@ -53306,7 +53297,7 @@ declare const useLens: () => {
|
|
|
53306
53297
|
}];
|
|
53307
53298
|
readonly stateMutability: "pure";
|
|
53308
53299
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53309
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
53300
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
53310
53301
|
readonly type: "function";
|
|
53311
53302
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53312
53303
|
readonly inputs: readonly [{
|
|
@@ -53927,7 +53918,7 @@ declare const useLens: () => {
|
|
|
53927
53918
|
}];
|
|
53928
53919
|
readonly stateMutability: "pure";
|
|
53929
53920
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53930
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
53921
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
53931
53922
|
readonly type: "function";
|
|
53932
53923
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53933
53924
|
readonly inputs: readonly [{
|
|
@@ -54548,7 +54539,7 @@ declare const useLens: () => {
|
|
|
54548
54539
|
}];
|
|
54549
54540
|
readonly stateMutability: "pure";
|
|
54550
54541
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54551
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
54542
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
54552
54543
|
readonly type: "function";
|
|
54553
54544
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54554
54545
|
readonly inputs: readonly [{
|
|
@@ -55169,7 +55160,7 @@ declare const useLens: () => {
|
|
|
55169
55160
|
}];
|
|
55170
55161
|
readonly stateMutability: "pure";
|
|
55171
55162
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55172
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
55163
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
55173
55164
|
readonly type: "function";
|
|
55174
55165
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55175
55166
|
readonly inputs: readonly [{
|
|
@@ -55790,7 +55781,7 @@ declare const useLens: () => {
|
|
|
55790
55781
|
}];
|
|
55791
55782
|
readonly stateMutability: "pure";
|
|
55792
55783
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55793
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
55784
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
55794
55785
|
readonly type: "function";
|
|
55795
55786
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55796
55787
|
readonly inputs: readonly [{
|
|
@@ -56411,7 +56402,7 @@ declare const useLens: () => {
|
|
|
56411
56402
|
}];
|
|
56412
56403
|
readonly stateMutability: "pure";
|
|
56413
56404
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
56414
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
56405
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
56415
56406
|
readonly type: "function";
|
|
56416
56407
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56417
56408
|
readonly inputs: readonly [{
|
|
@@ -57032,7 +57023,7 @@ declare const useLens: () => {
|
|
|
57032
57023
|
}];
|
|
57033
57024
|
readonly stateMutability: "pure";
|
|
57034
57025
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
57035
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
57026
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
57036
57027
|
readonly type: "function";
|
|
57037
57028
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57038
57029
|
readonly inputs: readonly [{
|
|
@@ -57653,7 +57644,7 @@ declare const useLens: () => {
|
|
|
57653
57644
|
}];
|
|
57654
57645
|
readonly stateMutability: "pure";
|
|
57655
57646
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
57656
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
57647
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
57657
57648
|
readonly type: "function";
|
|
57658
57649
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57659
57650
|
readonly inputs: readonly [{
|
|
@@ -58274,7 +58265,7 @@ declare const useLens: () => {
|
|
|
58274
58265
|
}];
|
|
58275
58266
|
readonly stateMutability: "pure";
|
|
58276
58267
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58277
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
58268
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
58278
58269
|
readonly type: "function";
|
|
58279
58270
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58280
58271
|
readonly inputs: readonly [{
|
|
@@ -58895,7 +58886,7 @@ declare const useLens: () => {
|
|
|
58895
58886
|
}];
|
|
58896
58887
|
readonly stateMutability: "pure";
|
|
58897
58888
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58898
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
58889
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
58899
58890
|
readonly type: "function";
|
|
58900
58891
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58901
58892
|
readonly inputs: readonly [{
|
|
@@ -59516,7 +59507,7 @@ declare const useLens: () => {
|
|
|
59516
59507
|
}];
|
|
59517
59508
|
readonly stateMutability: "pure";
|
|
59518
59509
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59519
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
59510
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
59520
59511
|
readonly type: "function";
|
|
59521
59512
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59522
59513
|
readonly inputs: readonly [{
|
|
@@ -60137,7 +60128,7 @@ declare const useLens: () => {
|
|
|
60137
60128
|
}];
|
|
60138
60129
|
readonly stateMutability: "pure";
|
|
60139
60130
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60140
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
60131
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
60141
60132
|
readonly type: "function";
|
|
60142
60133
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60143
60134
|
readonly inputs: readonly [{
|
|
@@ -60758,7 +60749,7 @@ declare const useLens: () => {
|
|
|
60758
60749
|
}];
|
|
60759
60750
|
readonly stateMutability: "pure";
|
|
60760
60751
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60761
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
60752
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
60762
60753
|
readonly type: "function";
|
|
60763
60754
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60764
60755
|
readonly inputs: readonly [{
|
|
@@ -61379,7 +61370,7 @@ declare const useLens: () => {
|
|
|
61379
61370
|
}];
|
|
61380
61371
|
readonly stateMutability: "pure";
|
|
61381
61372
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
61382
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
61373
|
+
getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
61383
61374
|
readonly type: "function";
|
|
61384
61375
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
61385
61376
|
readonly inputs: readonly [{
|
|
@@ -62636,4 +62627,4 @@ declare const useApproval: () => {
|
|
|
62636
62627
|
};
|
|
62637
62628
|
//#endregion
|
|
62638
62629
|
export { scalePrice as $, PriceDataPoint as A, useOptionTimeline as B, liquiditiesToAmount1 as C, timelockLenses as Ct, token0ToToken1 as D, roundTickUp as E, useUserOperators as F, useMaxPositionSize as G, useOptionPremium as H, usePerpsOperator as I, formatAmount as J, Amount as K, useClosePerp as L, getCurrentPrice as M, getPriceHistory as N, token1ToToken0 as O, useSetOperatorPerms as P, scaleAmount as Q, useMintPerp as R, liquiditiesToAmount0 as S, getUniswapMathLens as St, roundTickDown as T, useOptionPnl as U, useExtendOption as V, useMintOption as W, formatUSD as X, formatCondensed as Y, formatVagueAmount as Z, PRICE_PRECISION as _, TimelockMarketData as _t, batchGetAmountsFromLiquidity as a, wrapPriceUnscaled as at, getPriceAtTick as b, getTimelockLens as bt, useLiquidityBlocks as c, useExerciseOption as ct, usePriceAtTick as d, useClosedUserOptions as dt, unscaleAmount as et, UniswapPoolData as f, TimelockProvider as ft, getPayoutAtTick as g, TimelockMarket as gt, useCurrentPrice as h, TimelockLens as ht, useVaultData as i, wrapPrice as it, PriceResolution as j, PriceData as k, useBurnLiquidity as l, OptionData as lt, useCurrentTick as m, useTimelockConfig as mt, useLens as n, wrapAmount as nt, useMintLiquidity as o, zero as ot, usePoolData as p, useCurrentMarket as pt, EMPTY_ARRAY as q, useVaultTVL as r, wrapAmountUnscaled as rt, LiquidityBlockData as s, useMarketData as st, useApproval as t, unscalePrice as tt, usePriceHistory as u, useActiveUserOptions as ut, getAmountsFromLiquidity as v, UniswapMathLens as vt, liquiditiesToAmounts as w, uniswapMathLenses as wt, getTickAtPrice as x, getTimelockMarket as xt, getNearestValidStrikeTick as y, getErc20 as yt, OptionTimelineData as z };
|
|
62639
|
-
//# sourceMappingURL=client-
|
|
62630
|
+
//# sourceMappingURL=client-BjjoSITU.d.ts.map
|