timelock-sdk 0.0.112 → 0.0.114
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-Bcn8F-k3.d.ts → client-BFaMKjtt.d.ts} +165 -161
- package/dist/{client-191_W3kB.d.cts → client-dmXFiQFn.d.cts} +6 -2
- package/dist/client.cjs +56 -57
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +56 -58
- package/dist/client.js.map +1 -1
- package/dist/{optionUtils-BkogxEAT.js → optionUtils-D8zF6lcX.js} +5 -2
- package/dist/optionUtils-D8zF6lcX.js.map +1 -0
- package/dist/{optionUtils-DNAmXoEX.cjs → optionUtils-DQakRJ_U.cjs} +10 -1
- package/dist/optionUtils-DQakRJ_U.cjs.map +1 -0
- package/dist/package.cjs +2 -1
- package/dist/package.d.cts +2 -2
- package/dist/package.d.ts +2 -2
- package/dist/package.js +2 -2
- package/package.json +1 -1
- package/dist/optionUtils-BkogxEAT.js.map +0 -1
- package/dist/optionUtils-DNAmXoEX.cjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-ChJFZ6hc.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as viem144 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
4
|
import Big from "big.js";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
@@ -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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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: viem144.Prettify<viem144.UnionOmit<viem144.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], viem144.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem144.EstimateContractGasReturnType>;
|
|
1486
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem144.Prettify<viem144.UnionOmit<viem144.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], viem144.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem144.EstimateContractGasReturnType>;
|
|
1665
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem144.Prettify<viem144.UnionOmit<viem144.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], viem144.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem144.EstimateContractGasReturnType>;
|
|
1844
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem144.Prettify<viem144.UnionOmit<viem144.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], viem144.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem144.EstimateContractGasReturnType>;
|
|
2023
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem144.Prettify<viem144.UnionOmit<viem144.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], viem144.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem144.EstimateContractGasReturnType>;
|
|
2202
2202
|
} & {
|
|
2203
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
2203
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem144.Prettify<viem144.UnionOmit<viem144.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], viem144.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem144.EstimateContractGasReturnType>;
|
|
2382
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem144.Prettify<viem144.UnionOmit<viem144.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], viem144.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem144.EstimateContractGasReturnType>;
|
|
2561
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem144.Prettify<viem144.UnionOmit<viem144.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], viem144.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem144.EstimateContractGasReturnType>;
|
|
2740
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem144.Prettify<viem144.UnionOmit<viem144.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], viem144.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem144.EstimateContractGasReturnType>;
|
|
2919
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem144.Prettify<viem144.UnionOmit<viem144.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], viem144.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem144.EstimateContractGasReturnType>;
|
|
3098
3098
|
};
|
|
3099
3099
|
simulate: {
|
|
3100
|
-
approve: <chainOverride extends
|
|
3100
|
+
approve: <chainOverride extends viem144.Chain | undefined = undefined, accountOverride extends viem144.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem144.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], viem144.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem144.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], viem144.Chain | undefined, viem144.Account | undefined, chainOverride, accountOverride>>;
|
|
3457
|
+
decreaseAllowance: <chainOverride extends viem144.Chain | undefined = undefined, accountOverride extends viem144.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem144.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], viem144.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem144.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], viem144.Chain | undefined, viem144.Account | undefined, chainOverride, accountOverride>>;
|
|
3814
|
+
increaseAllowance: <chainOverride extends viem144.Chain | undefined = undefined, accountOverride extends viem144.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem144.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], viem144.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem144.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], viem144.Chain | undefined, viem144.Account | undefined, chainOverride, accountOverride>>;
|
|
4171
|
+
transfer: <chainOverride extends viem144.Chain | undefined = undefined, accountOverride extends viem144.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem144.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], viem144.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem144.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], viem144.Chain | undefined, viem144.Account | undefined, chainOverride, accountOverride>>;
|
|
4528
|
+
transferFrom: <chainOverride extends viem144.Chain | undefined = undefined, accountOverride extends viem144.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem144.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], viem144.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem144.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], viem144.Chain | undefined, viem144.Account | undefined, chainOverride, accountOverride>>;
|
|
4885
4885
|
};
|
|
4886
4886
|
write: {
|
|
4887
|
-
approve: <chainOverride extends
|
|
4887
|
+
approve: <chainOverride extends viem144.Chain | undefined, options extends (viem144.UnionOmit<viem144.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], viem144.Chain | undefined, viem144.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<viem144.WriteContractReturnType>;
|
|
5066
|
+
decreaseAllowance: <chainOverride extends viem144.Chain | undefined, options extends (viem144.UnionOmit<viem144.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], viem144.Chain | undefined, viem144.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<viem144.WriteContractReturnType>;
|
|
5245
|
+
increaseAllowance: <chainOverride extends viem144.Chain | undefined, options extends (viem144.UnionOmit<viem144.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], viem144.Chain | undefined, viem144.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<viem144.WriteContractReturnType>;
|
|
5424
|
+
transfer: <chainOverride extends viem144.Chain | undefined, options extends (viem144.UnionOmit<viem144.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], viem144.Chain | undefined, viem144.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<viem144.WriteContractReturnType>;
|
|
5603
|
+
transferFrom: <chainOverride extends viem144.Chain | undefined, options extends (viem144.UnionOmit<viem144.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], viem144.Chain | undefined, viem144.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<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.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?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
22740
22740
|
readonly type: "function";
|
|
22741
22741
|
readonly name: "batchGetRefTick";
|
|
22742
22742
|
readonly inputs: readonly [{
|
|
@@ -23378,7 +23378,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23378
23378
|
}];
|
|
23379
23379
|
readonly stateMutability: "view";
|
|
23380
23380
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
23381
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
23381
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
23382
23382
|
readonly type: "function";
|
|
23383
23383
|
readonly name: "batchGetRefTick";
|
|
23384
23384
|
readonly inputs: readonly [{
|
|
@@ -24030,7 +24030,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24030
24030
|
borrowedAmount0: bigint;
|
|
24031
24031
|
borrowedAmount1: bigint;
|
|
24032
24032
|
}[]>;
|
|
24033
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
24033
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
24034
24034
|
readonly type: "function";
|
|
24035
24035
|
readonly name: "batchGetRefTick";
|
|
24036
24036
|
readonly inputs: readonly [{
|
|
@@ -24687,7 +24687,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24687
24687
|
expiresAt: number;
|
|
24688
24688
|
liquidities: readonly bigint[];
|
|
24689
24689
|
}[], bigint, boolean]>;
|
|
24690
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
24690
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
24691
24691
|
readonly type: "function";
|
|
24692
24692
|
readonly name: "batchGetRefTick";
|
|
24693
24693
|
readonly inputs: readonly [{
|
|
@@ -25329,7 +25329,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25329
25329
|
}];
|
|
25330
25330
|
readonly stateMutability: "view";
|
|
25331
25331
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25332
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
25332
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
25333
25333
|
readonly type: "function";
|
|
25334
25334
|
readonly name: "batchGetRefTick";
|
|
25335
25335
|
readonly inputs: readonly [{
|
|
@@ -25984,7 +25984,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25984
25984
|
payoutAssetName: string;
|
|
25985
25985
|
optionsCount: bigint;
|
|
25986
25986
|
}>;
|
|
25987
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
25987
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
25988
25988
|
readonly type: "function";
|
|
25989
25989
|
readonly name: "batchGetRefTick";
|
|
25990
25990
|
readonly inputs: readonly [{
|
|
@@ -26626,7 +26626,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26626
26626
|
}];
|
|
26627
26627
|
readonly stateMutability: "view";
|
|
26628
26628
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
26629
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
26629
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
26630
26630
|
readonly type: "function";
|
|
26631
26631
|
readonly name: "batchGetRefTick";
|
|
26632
26632
|
readonly inputs: readonly [{
|
|
@@ -27268,7 +27268,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27268
27268
|
}];
|
|
27269
27269
|
readonly stateMutability: "view";
|
|
27270
27270
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
27271
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
27271
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
27272
27272
|
readonly type: "function";
|
|
27273
27273
|
readonly name: "batchGetRefTick";
|
|
27274
27274
|
readonly inputs: readonly [{
|
|
@@ -27925,7 +27925,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27925
27925
|
expiresAt: number;
|
|
27926
27926
|
liquidities: readonly bigint[];
|
|
27927
27927
|
}>;
|
|
27928
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
27928
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
27929
27929
|
readonly type: "function";
|
|
27930
27930
|
readonly name: "batchGetRefTick";
|
|
27931
27931
|
readonly inputs: readonly [{
|
|
@@ -28582,7 +28582,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28582
28582
|
expiresAt: number;
|
|
28583
28583
|
liquidities: readonly bigint[];
|
|
28584
28584
|
}[]>;
|
|
28585
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
28585
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
28586
28586
|
readonly type: "function";
|
|
28587
28587
|
readonly name: "batchGetRefTick";
|
|
28588
28588
|
readonly inputs: readonly [{
|
|
@@ -29235,7 +29235,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29235
29235
|
tickSpacing: number;
|
|
29236
29236
|
fee: number;
|
|
29237
29237
|
}>;
|
|
29238
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
29238
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
29239
29239
|
readonly type: "function";
|
|
29240
29240
|
readonly name: "batchGetRefTick";
|
|
29241
29241
|
readonly inputs: readonly [{
|
|
@@ -29877,7 +29877,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29877
29877
|
}];
|
|
29878
29878
|
readonly stateMutability: "view";
|
|
29879
29879
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
29880
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
29880
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
29881
29881
|
readonly type: "function";
|
|
29882
29882
|
readonly name: "batchGetRefTick";
|
|
29883
29883
|
readonly inputs: readonly [{
|
|
@@ -30534,7 +30534,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30534
30534
|
expiresAt: number;
|
|
30535
30535
|
liquidities: readonly bigint[];
|
|
30536
30536
|
}[], bigint, boolean]>;
|
|
30537
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
30537
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
30538
30538
|
readonly type: "function";
|
|
30539
30539
|
readonly name: "batchGetRefTick";
|
|
30540
30540
|
readonly inputs: readonly [{
|
|
@@ -35887,7 +35887,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35887
35887
|
//#endregion
|
|
35888
35888
|
//#region src/hooks/operators/useOperatorPerms.d.ts
|
|
35889
35889
|
declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, operatorAddr?: Address) => {
|
|
35890
|
-
error:
|
|
35890
|
+
error: viem144.ReadContractErrorType;
|
|
35891
35891
|
isError: true;
|
|
35892
35892
|
isPending: false;
|
|
35893
35893
|
isLoading: false;
|
|
@@ -35899,7 +35899,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35899
35899
|
dataUpdatedAt: number;
|
|
35900
35900
|
errorUpdatedAt: number;
|
|
35901
35901
|
failureCount: number;
|
|
35902
|
-
failureReason:
|
|
35902
|
+
failureReason: viem144.ReadContractErrorType | null;
|
|
35903
35903
|
errorUpdateCount: number;
|
|
35904
35904
|
isFetched: boolean;
|
|
35905
35905
|
isFetchedAfterMount: boolean;
|
|
@@ -35909,7 +35909,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35909
35909
|
isRefetching: boolean;
|
|
35910
35910
|
isStale: boolean;
|
|
35911
35911
|
isEnabled: boolean;
|
|
35912
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
35912
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem144.ReadContractErrorType>>;
|
|
35913
35913
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35914
35914
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35915
35915
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -35934,7 +35934,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35934
35934
|
dataUpdatedAt: number;
|
|
35935
35935
|
errorUpdatedAt: number;
|
|
35936
35936
|
failureCount: number;
|
|
35937
|
-
failureReason:
|
|
35937
|
+
failureReason: viem144.ReadContractErrorType | null;
|
|
35938
35938
|
errorUpdateCount: number;
|
|
35939
35939
|
isFetched: boolean;
|
|
35940
35940
|
isFetchedAfterMount: boolean;
|
|
@@ -35944,7 +35944,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35944
35944
|
isRefetching: boolean;
|
|
35945
35945
|
isStale: boolean;
|
|
35946
35946
|
isEnabled: boolean;
|
|
35947
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
35947
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem144.ReadContractErrorType>>;
|
|
35948
35948
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35949
35949
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35950
35950
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -35957,7 +35957,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35957
35957
|
effectiveApproval: bigint;
|
|
35958
35958
|
};
|
|
35959
35959
|
} | {
|
|
35960
|
-
error:
|
|
35960
|
+
error: viem144.ReadContractErrorType;
|
|
35961
35961
|
isError: true;
|
|
35962
35962
|
isPending: false;
|
|
35963
35963
|
isLoading: false;
|
|
@@ -35969,7 +35969,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35969
35969
|
dataUpdatedAt: number;
|
|
35970
35970
|
errorUpdatedAt: number;
|
|
35971
35971
|
failureCount: number;
|
|
35972
|
-
failureReason:
|
|
35972
|
+
failureReason: viem144.ReadContractErrorType | null;
|
|
35973
35973
|
errorUpdateCount: number;
|
|
35974
35974
|
isFetched: boolean;
|
|
35975
35975
|
isFetchedAfterMount: boolean;
|
|
@@ -35979,7 +35979,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35979
35979
|
isRefetching: boolean;
|
|
35980
35980
|
isStale: boolean;
|
|
35981
35981
|
isEnabled: boolean;
|
|
35982
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
35982
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem144.ReadContractErrorType>>;
|
|
35983
35983
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35984
35984
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35985
35985
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -36004,7 +36004,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36004
36004
|
dataUpdatedAt: number;
|
|
36005
36005
|
errorUpdatedAt: number;
|
|
36006
36006
|
failureCount: number;
|
|
36007
|
-
failureReason:
|
|
36007
|
+
failureReason: viem144.ReadContractErrorType | null;
|
|
36008
36008
|
errorUpdateCount: number;
|
|
36009
36009
|
isFetched: boolean;
|
|
36010
36010
|
isFetchedAfterMount: boolean;
|
|
@@ -36014,7 +36014,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36014
36014
|
isRefetching: boolean;
|
|
36015
36015
|
isStale: boolean;
|
|
36016
36016
|
isEnabled: boolean;
|
|
36017
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
36017
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem144.ReadContractErrorType>>;
|
|
36018
36018
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36019
36019
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36020
36020
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -36038,7 +36038,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36038
36038
|
dataUpdatedAt: number;
|
|
36039
36039
|
errorUpdatedAt: number;
|
|
36040
36040
|
failureCount: number;
|
|
36041
|
-
failureReason:
|
|
36041
|
+
failureReason: viem144.ReadContractErrorType | null;
|
|
36042
36042
|
errorUpdateCount: number;
|
|
36043
36043
|
isFetched: boolean;
|
|
36044
36044
|
isFetchedAfterMount: boolean;
|
|
@@ -36049,7 +36049,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36049
36049
|
isRefetching: boolean;
|
|
36050
36050
|
isStale: boolean;
|
|
36051
36051
|
isEnabled: boolean;
|
|
36052
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
36052
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem144.ReadContractErrorType>>;
|
|
36053
36053
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36054
36054
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36055
36055
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -36074,7 +36074,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36074
36074
|
dataUpdatedAt: number;
|
|
36075
36075
|
errorUpdatedAt: number;
|
|
36076
36076
|
failureCount: number;
|
|
36077
|
-
failureReason:
|
|
36077
|
+
failureReason: viem144.ReadContractErrorType | null;
|
|
36078
36078
|
errorUpdateCount: number;
|
|
36079
36079
|
isFetched: boolean;
|
|
36080
36080
|
isFetchedAfterMount: boolean;
|
|
@@ -36084,7 +36084,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36084
36084
|
isRefetching: boolean;
|
|
36085
36085
|
isStale: boolean;
|
|
36086
36086
|
isEnabled: boolean;
|
|
36087
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
36087
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem144.ReadContractErrorType>>;
|
|
36088
36088
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36089
36089
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36090
36090
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -36524,6 +36524,7 @@ declare const getCurrentPrice: (poolAddress: string) => Promise<PriceData>;
|
|
|
36524
36524
|
//#endregion
|
|
36525
36525
|
//#region src/lib/liquidityUtils.d.ts
|
|
36526
36526
|
declare const PRICE_PRECISION: bigint;
|
|
36527
|
+
declare const getPriceSqrtPriceX96: (sqrtPriceX96: bigint) => bigint;
|
|
36527
36528
|
declare const getPriceAtTick: (tick: number) => bigint;
|
|
36528
36529
|
declare const getTickAtPrice: (price: bigint) => number;
|
|
36529
36530
|
declare const getNearestValidStrikeTick: (optionType: "CALL" | "PUT", optionAssetIsToken0: boolean, tickSpacing: number, currentTick: number, strikeTick?: number) => number;
|
|
@@ -36542,6 +36543,7 @@ declare const getPayoutAtTick: (option: OptionData, liquidities: bigint[], tick:
|
|
|
36542
36543
|
//#region src/hooks/pool/useCurrentPrice.d.ts
|
|
36543
36544
|
declare const useCurrentPrice: (poolAddr?: Address) => {
|
|
36544
36545
|
currentPrice: Amount | undefined;
|
|
36546
|
+
sqrtPriceX96: bigint | undefined;
|
|
36545
36547
|
currentTick: {
|
|
36546
36548
|
exact: number | undefined;
|
|
36547
36549
|
rounded: number | undefined;
|
|
@@ -36552,6 +36554,7 @@ declare const useCurrentPrice: (poolAddr?: Address) => {
|
|
|
36552
36554
|
declare const useCurrentTick: (poolAddr?: Address) => {
|
|
36553
36555
|
exact: number | undefined;
|
|
36554
36556
|
rounded: number | undefined;
|
|
36557
|
+
sqrtPriceX96: bigint | undefined;
|
|
36555
36558
|
};
|
|
36556
36559
|
//#endregion
|
|
36557
36560
|
//#region src/hooks/pool/usePoolData.d.ts
|
|
@@ -36572,6 +36575,7 @@ declare const usePoolData: (poolAddr?: Address) => Partial<NonUndefined<{
|
|
|
36572
36575
|
//#endregion
|
|
36573
36576
|
//#region src/hooks/pool/usePriceAtTick.d.ts
|
|
36574
36577
|
declare const usePriceAtTick: (tick?: number, poolAddr?: Address) => Amount | undefined;
|
|
36578
|
+
declare const usePriceSqrtPriceX96: (sqrtPriceX96?: bigint, poolAddr?: Address) => Amount | undefined;
|
|
36575
36579
|
//#endregion
|
|
36576
36580
|
//#region src/hooks/pool/usePriceHistory.d.ts
|
|
36577
36581
|
declare const usePriceHistory: (pool: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query0.UseQueryResult<PriceDataPoint[], Error>;
|
|
@@ -36596,7 +36600,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
36596
36600
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
36597
36601
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
36598
36602
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
36599
|
-
error:
|
|
36603
|
+
error: viem144.ReadContractErrorType;
|
|
36600
36604
|
isError: true;
|
|
36601
36605
|
isPending: false;
|
|
36602
36606
|
isLoading: false;
|
|
@@ -36608,7 +36612,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36608
36612
|
dataUpdatedAt: number;
|
|
36609
36613
|
errorUpdatedAt: number;
|
|
36610
36614
|
failureCount: number;
|
|
36611
|
-
failureReason:
|
|
36615
|
+
failureReason: viem144.ReadContractErrorType | null;
|
|
36612
36616
|
errorUpdateCount: number;
|
|
36613
36617
|
isFetched: boolean;
|
|
36614
36618
|
isFetchedAfterMount: boolean;
|
|
@@ -36628,7 +36632,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36628
36632
|
totalAmount1: bigint;
|
|
36629
36633
|
borrowedAmount0: bigint;
|
|
36630
36634
|
borrowedAmount1: bigint;
|
|
36631
|
-
}[],
|
|
36635
|
+
}[], viem144.ReadContractErrorType>>;
|
|
36632
36636
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36633
36637
|
promise: Promise<readonly {
|
|
36634
36638
|
tickLower: number;
|
|
@@ -36666,7 +36670,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36666
36670
|
dataUpdatedAt: number;
|
|
36667
36671
|
errorUpdatedAt: number;
|
|
36668
36672
|
failureCount: number;
|
|
36669
|
-
failureReason:
|
|
36673
|
+
failureReason: viem144.ReadContractErrorType | null;
|
|
36670
36674
|
errorUpdateCount: number;
|
|
36671
36675
|
isFetched: boolean;
|
|
36672
36676
|
isFetchedAfterMount: boolean;
|
|
@@ -36686,7 +36690,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36686
36690
|
totalAmount1: bigint;
|
|
36687
36691
|
borrowedAmount0: bigint;
|
|
36688
36692
|
borrowedAmount1: bigint;
|
|
36689
|
-
}[],
|
|
36693
|
+
}[], viem144.ReadContractErrorType>>;
|
|
36690
36694
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36691
36695
|
promise: Promise<readonly {
|
|
36692
36696
|
tickLower: number;
|
|
@@ -36712,7 +36716,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36712
36716
|
borrowedAmount1: bigint;
|
|
36713
36717
|
}[];
|
|
36714
36718
|
} | {
|
|
36715
|
-
error:
|
|
36719
|
+
error: viem144.ReadContractErrorType;
|
|
36716
36720
|
isError: true;
|
|
36717
36721
|
isPending: false;
|
|
36718
36722
|
isLoading: false;
|
|
@@ -36724,7 +36728,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36724
36728
|
dataUpdatedAt: number;
|
|
36725
36729
|
errorUpdatedAt: number;
|
|
36726
36730
|
failureCount: number;
|
|
36727
|
-
failureReason:
|
|
36731
|
+
failureReason: viem144.ReadContractErrorType | null;
|
|
36728
36732
|
errorUpdateCount: number;
|
|
36729
36733
|
isFetched: boolean;
|
|
36730
36734
|
isFetchedAfterMount: boolean;
|
|
@@ -36744,7 +36748,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36744
36748
|
totalAmount1: bigint;
|
|
36745
36749
|
borrowedAmount0: bigint;
|
|
36746
36750
|
borrowedAmount1: bigint;
|
|
36747
|
-
}[],
|
|
36751
|
+
}[], viem144.ReadContractErrorType>>;
|
|
36748
36752
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36749
36753
|
promise: Promise<readonly {
|
|
36750
36754
|
tickLower: number;
|
|
@@ -36782,7 +36786,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36782
36786
|
dataUpdatedAt: number;
|
|
36783
36787
|
errorUpdatedAt: number;
|
|
36784
36788
|
failureCount: number;
|
|
36785
|
-
failureReason:
|
|
36789
|
+
failureReason: viem144.ReadContractErrorType | null;
|
|
36786
36790
|
errorUpdateCount: number;
|
|
36787
36791
|
isFetched: boolean;
|
|
36788
36792
|
isFetchedAfterMount: boolean;
|
|
@@ -36802,7 +36806,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36802
36806
|
totalAmount1: bigint;
|
|
36803
36807
|
borrowedAmount0: bigint;
|
|
36804
36808
|
borrowedAmount1: bigint;
|
|
36805
|
-
}[],
|
|
36809
|
+
}[], viem144.ReadContractErrorType>>;
|
|
36806
36810
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36807
36811
|
promise: Promise<readonly {
|
|
36808
36812
|
tickLower: number;
|
|
@@ -36839,7 +36843,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36839
36843
|
dataUpdatedAt: number;
|
|
36840
36844
|
errorUpdatedAt: number;
|
|
36841
36845
|
failureCount: number;
|
|
36842
|
-
failureReason:
|
|
36846
|
+
failureReason: viem144.ReadContractErrorType | null;
|
|
36843
36847
|
errorUpdateCount: number;
|
|
36844
36848
|
isFetched: boolean;
|
|
36845
36849
|
isFetchedAfterMount: boolean;
|
|
@@ -36860,7 +36864,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36860
36864
|
totalAmount1: bigint;
|
|
36861
36865
|
borrowedAmount0: bigint;
|
|
36862
36866
|
borrowedAmount1: bigint;
|
|
36863
|
-
}[],
|
|
36867
|
+
}[], viem144.ReadContractErrorType>>;
|
|
36864
36868
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36865
36869
|
promise: Promise<readonly {
|
|
36866
36870
|
tickLower: number;
|
|
@@ -36898,7 +36902,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36898
36902
|
dataUpdatedAt: number;
|
|
36899
36903
|
errorUpdatedAt: number;
|
|
36900
36904
|
failureCount: number;
|
|
36901
|
-
failureReason:
|
|
36905
|
+
failureReason: viem144.ReadContractErrorType | null;
|
|
36902
36906
|
errorUpdateCount: number;
|
|
36903
36907
|
isFetched: boolean;
|
|
36904
36908
|
isFetchedAfterMount: boolean;
|
|
@@ -36918,7 +36922,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36918
36922
|
totalAmount1: bigint;
|
|
36919
36923
|
borrowedAmount0: bigint;
|
|
36920
36924
|
borrowedAmount1: bigint;
|
|
36921
|
-
}[],
|
|
36925
|
+
}[], viem144.ReadContractErrorType>>;
|
|
36922
36926
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36923
36927
|
promise: Promise<readonly {
|
|
36924
36928
|
tickLower: number;
|
|
@@ -36982,14 +36986,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
36982
36986
|
borrowedAmount0: Amount;
|
|
36983
36987
|
borrowedAmount1: Amount;
|
|
36984
36988
|
blocksCount: bigint;
|
|
36985
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
36989
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem144.ReadContractErrorType>>;
|
|
36986
36990
|
};
|
|
36987
36991
|
//#endregion
|
|
36988
36992
|
//#region src/hooks/useLens.d.ts
|
|
36989
36993
|
declare const useLens: () => {
|
|
36990
36994
|
timelockLens: {
|
|
36991
36995
|
read: {
|
|
36992
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
36996
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
36993
36997
|
readonly type: "function";
|
|
36994
36998
|
readonly name: "batchGetRefTick";
|
|
36995
36999
|
readonly inputs: readonly [{
|
|
@@ -37631,7 +37635,7 @@ declare const useLens: () => {
|
|
|
37631
37635
|
}];
|
|
37632
37636
|
readonly stateMutability: "view";
|
|
37633
37637
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
37634
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
37638
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
37635
37639
|
readonly type: "function";
|
|
37636
37640
|
readonly name: "batchGetRefTick";
|
|
37637
37641
|
readonly inputs: readonly [{
|
|
@@ -38283,7 +38287,7 @@ declare const useLens: () => {
|
|
|
38283
38287
|
borrowedAmount0: bigint;
|
|
38284
38288
|
borrowedAmount1: bigint;
|
|
38285
38289
|
}[]>;
|
|
38286
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
38290
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
38287
38291
|
readonly type: "function";
|
|
38288
38292
|
readonly name: "batchGetRefTick";
|
|
38289
38293
|
readonly inputs: readonly [{
|
|
@@ -38940,7 +38944,7 @@ declare const useLens: () => {
|
|
|
38940
38944
|
expiresAt: number;
|
|
38941
38945
|
liquidities: readonly bigint[];
|
|
38942
38946
|
}[], bigint, boolean]>;
|
|
38943
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
38947
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
38944
38948
|
readonly type: "function";
|
|
38945
38949
|
readonly name: "batchGetRefTick";
|
|
38946
38950
|
readonly inputs: readonly [{
|
|
@@ -39582,7 +39586,7 @@ declare const useLens: () => {
|
|
|
39582
39586
|
}];
|
|
39583
39587
|
readonly stateMutability: "view";
|
|
39584
39588
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
39585
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
39589
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
39586
39590
|
readonly type: "function";
|
|
39587
39591
|
readonly name: "batchGetRefTick";
|
|
39588
39592
|
readonly inputs: readonly [{
|
|
@@ -40237,7 +40241,7 @@ declare const useLens: () => {
|
|
|
40237
40241
|
payoutAssetName: string;
|
|
40238
40242
|
optionsCount: bigint;
|
|
40239
40243
|
}>;
|
|
40240
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
40244
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
40241
40245
|
readonly type: "function";
|
|
40242
40246
|
readonly name: "batchGetRefTick";
|
|
40243
40247
|
readonly inputs: readonly [{
|
|
@@ -40879,7 +40883,7 @@ declare const useLens: () => {
|
|
|
40879
40883
|
}];
|
|
40880
40884
|
readonly stateMutability: "view";
|
|
40881
40885
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
40882
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
40886
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
40883
40887
|
readonly type: "function";
|
|
40884
40888
|
readonly name: "batchGetRefTick";
|
|
40885
40889
|
readonly inputs: readonly [{
|
|
@@ -41521,7 +41525,7 @@ declare const useLens: () => {
|
|
|
41521
41525
|
}];
|
|
41522
41526
|
readonly stateMutability: "view";
|
|
41523
41527
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
41524
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
41528
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
41525
41529
|
readonly type: "function";
|
|
41526
41530
|
readonly name: "batchGetRefTick";
|
|
41527
41531
|
readonly inputs: readonly [{
|
|
@@ -42178,7 +42182,7 @@ declare const useLens: () => {
|
|
|
42178
42182
|
expiresAt: number;
|
|
42179
42183
|
liquidities: readonly bigint[];
|
|
42180
42184
|
}>;
|
|
42181
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
42185
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
42182
42186
|
readonly type: "function";
|
|
42183
42187
|
readonly name: "batchGetRefTick";
|
|
42184
42188
|
readonly inputs: readonly [{
|
|
@@ -42835,7 +42839,7 @@ declare const useLens: () => {
|
|
|
42835
42839
|
expiresAt: number;
|
|
42836
42840
|
liquidities: readonly bigint[];
|
|
42837
42841
|
}[]>;
|
|
42838
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
42842
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
42839
42843
|
readonly type: "function";
|
|
42840
42844
|
readonly name: "batchGetRefTick";
|
|
42841
42845
|
readonly inputs: readonly [{
|
|
@@ -43488,7 +43492,7 @@ declare const useLens: () => {
|
|
|
43488
43492
|
tickSpacing: number;
|
|
43489
43493
|
fee: number;
|
|
43490
43494
|
}>;
|
|
43491
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
43495
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
43492
43496
|
readonly type: "function";
|
|
43493
43497
|
readonly name: "batchGetRefTick";
|
|
43494
43498
|
readonly inputs: readonly [{
|
|
@@ -44130,7 +44134,7 @@ declare const useLens: () => {
|
|
|
44130
44134
|
}];
|
|
44131
44135
|
readonly stateMutability: "view";
|
|
44132
44136
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
44133
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
44137
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
44134
44138
|
readonly type: "function";
|
|
44135
44139
|
readonly name: "batchGetRefTick";
|
|
44136
44140
|
readonly inputs: readonly [{
|
|
@@ -44787,7 +44791,7 @@ declare const useLens: () => {
|
|
|
44787
44791
|
expiresAt: number;
|
|
44788
44792
|
liquidities: readonly bigint[];
|
|
44789
44793
|
}[], bigint, boolean]>;
|
|
44790
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
44794
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
44791
44795
|
readonly type: "function";
|
|
44792
44796
|
readonly name: "batchGetRefTick";
|
|
44793
44797
|
readonly inputs: readonly [{
|
|
@@ -46076,7 +46080,7 @@ declare const useLens: () => {
|
|
|
46076
46080
|
} | undefined;
|
|
46077
46081
|
uniswapLens: {
|
|
46078
46082
|
read: {
|
|
46079
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
46083
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
46080
46084
|
readonly type: "function";
|
|
46081
46085
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46082
46086
|
readonly inputs: readonly [{
|
|
@@ -46697,7 +46701,7 @@ declare const useLens: () => {
|
|
|
46697
46701
|
}];
|
|
46698
46702
|
readonly stateMutability: "pure";
|
|
46699
46703
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46700
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
46704
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
46701
46705
|
readonly type: "function";
|
|
46702
46706
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46703
46707
|
readonly inputs: readonly [{
|
|
@@ -47318,7 +47322,7 @@ declare const useLens: () => {
|
|
|
47318
47322
|
}];
|
|
47319
47323
|
readonly stateMutability: "pure";
|
|
47320
47324
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47321
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
47325
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
47322
47326
|
readonly type: "function";
|
|
47323
47327
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47324
47328
|
readonly inputs: readonly [{
|
|
@@ -47939,7 +47943,7 @@ declare const useLens: () => {
|
|
|
47939
47943
|
}];
|
|
47940
47944
|
readonly stateMutability: "pure";
|
|
47941
47945
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47942
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
47946
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
47943
47947
|
readonly type: "function";
|
|
47944
47948
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47945
47949
|
readonly inputs: readonly [{
|
|
@@ -48560,7 +48564,7 @@ declare const useLens: () => {
|
|
|
48560
48564
|
}];
|
|
48561
48565
|
readonly stateMutability: "pure";
|
|
48562
48566
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
48563
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
48567
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
48564
48568
|
readonly type: "function";
|
|
48565
48569
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48566
48570
|
readonly inputs: readonly [{
|
|
@@ -49181,7 +49185,7 @@ declare const useLens: () => {
|
|
|
49181
49185
|
}];
|
|
49182
49186
|
readonly stateMutability: "pure";
|
|
49183
49187
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
49184
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
49188
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
49185
49189
|
readonly type: "function";
|
|
49186
49190
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49187
49191
|
readonly inputs: readonly [{
|
|
@@ -49802,7 +49806,7 @@ declare const useLens: () => {
|
|
|
49802
49806
|
}];
|
|
49803
49807
|
readonly stateMutability: "pure";
|
|
49804
49808
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
49805
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
49809
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
49806
49810
|
readonly type: "function";
|
|
49807
49811
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49808
49812
|
readonly inputs: readonly [{
|
|
@@ -50423,7 +50427,7 @@ declare const useLens: () => {
|
|
|
50423
50427
|
}];
|
|
50424
50428
|
readonly stateMutability: "pure";
|
|
50425
50429
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50426
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
50430
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
50427
50431
|
readonly type: "function";
|
|
50428
50432
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50429
50433
|
readonly inputs: readonly [{
|
|
@@ -51044,7 +51048,7 @@ declare const useLens: () => {
|
|
|
51044
51048
|
}];
|
|
51045
51049
|
readonly stateMutability: "pure";
|
|
51046
51050
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51047
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
51051
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
51048
51052
|
readonly type: "function";
|
|
51049
51053
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51050
51054
|
readonly inputs: readonly [{
|
|
@@ -51665,7 +51669,7 @@ declare const useLens: () => {
|
|
|
51665
51669
|
}];
|
|
51666
51670
|
readonly stateMutability: "pure";
|
|
51667
51671
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51668
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
51672
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
51669
51673
|
readonly type: "function";
|
|
51670
51674
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51671
51675
|
readonly inputs: readonly [{
|
|
@@ -52286,7 +52290,7 @@ declare const useLens: () => {
|
|
|
52286
52290
|
}];
|
|
52287
52291
|
readonly stateMutability: "pure";
|
|
52288
52292
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52289
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
52293
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
52290
52294
|
readonly type: "function";
|
|
52291
52295
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52292
52296
|
readonly inputs: readonly [{
|
|
@@ -52907,7 +52911,7 @@ declare const useLens: () => {
|
|
|
52907
52911
|
}];
|
|
52908
52912
|
readonly stateMutability: "pure";
|
|
52909
52913
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52910
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
52914
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
52911
52915
|
readonly type: "function";
|
|
52912
52916
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52913
52917
|
readonly inputs: readonly [{
|
|
@@ -53528,7 +53532,7 @@ declare const useLens: () => {
|
|
|
53528
53532
|
}];
|
|
53529
53533
|
readonly stateMutability: "pure";
|
|
53530
53534
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53531
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
53535
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
53532
53536
|
readonly type: "function";
|
|
53533
53537
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53534
53538
|
readonly inputs: readonly [{
|
|
@@ -54149,7 +54153,7 @@ declare const useLens: () => {
|
|
|
54149
54153
|
}];
|
|
54150
54154
|
readonly stateMutability: "pure";
|
|
54151
54155
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
54152
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
54156
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
54153
54157
|
readonly type: "function";
|
|
54154
54158
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54155
54159
|
readonly inputs: readonly [{
|
|
@@ -54770,7 +54774,7 @@ declare const useLens: () => {
|
|
|
54770
54774
|
}];
|
|
54771
54775
|
readonly stateMutability: "pure";
|
|
54772
54776
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54773
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
54777
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
54774
54778
|
readonly type: "function";
|
|
54775
54779
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54776
54780
|
readonly inputs: readonly [{
|
|
@@ -55391,7 +55395,7 @@ declare const useLens: () => {
|
|
|
55391
55395
|
}];
|
|
55392
55396
|
readonly stateMutability: "pure";
|
|
55393
55397
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55394
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
55398
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
55395
55399
|
readonly type: "function";
|
|
55396
55400
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55397
55401
|
readonly inputs: readonly [{
|
|
@@ -56012,7 +56016,7 @@ declare const useLens: () => {
|
|
|
56012
56016
|
}];
|
|
56013
56017
|
readonly stateMutability: "pure";
|
|
56014
56018
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
56015
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
56019
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
56016
56020
|
readonly type: "function";
|
|
56017
56021
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56018
56022
|
readonly inputs: readonly [{
|
|
@@ -56633,7 +56637,7 @@ declare const useLens: () => {
|
|
|
56633
56637
|
}];
|
|
56634
56638
|
readonly stateMutability: "pure";
|
|
56635
56639
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
56636
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
56640
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
56637
56641
|
readonly type: "function";
|
|
56638
56642
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56639
56643
|
readonly inputs: readonly [{
|
|
@@ -57254,7 +57258,7 @@ declare const useLens: () => {
|
|
|
57254
57258
|
}];
|
|
57255
57259
|
readonly stateMutability: "pure";
|
|
57256
57260
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
57257
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
57261
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
57258
57262
|
readonly type: "function";
|
|
57259
57263
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57260
57264
|
readonly inputs: readonly [{
|
|
@@ -57875,7 +57879,7 @@ declare const useLens: () => {
|
|
|
57875
57879
|
}];
|
|
57876
57880
|
readonly stateMutability: "pure";
|
|
57877
57881
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
57878
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
57882
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
57879
57883
|
readonly type: "function";
|
|
57880
57884
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57881
57885
|
readonly inputs: readonly [{
|
|
@@ -58496,7 +58500,7 @@ declare const useLens: () => {
|
|
|
58496
58500
|
}];
|
|
58497
58501
|
readonly stateMutability: "pure";
|
|
58498
58502
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58499
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
58503
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
58500
58504
|
readonly type: "function";
|
|
58501
58505
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58502
58506
|
readonly inputs: readonly [{
|
|
@@ -59117,7 +59121,7 @@ declare const useLens: () => {
|
|
|
59117
59121
|
}];
|
|
59118
59122
|
readonly stateMutability: "pure";
|
|
59119
59123
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59120
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
59124
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
59121
59125
|
readonly type: "function";
|
|
59122
59126
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59123
59127
|
readonly inputs: readonly [{
|
|
@@ -59738,7 +59742,7 @@ declare const useLens: () => {
|
|
|
59738
59742
|
}];
|
|
59739
59743
|
readonly stateMutability: "pure";
|
|
59740
59744
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59741
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
59745
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
59742
59746
|
readonly type: "function";
|
|
59743
59747
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59744
59748
|
readonly inputs: readonly [{
|
|
@@ -60359,7 +60363,7 @@ declare const useLens: () => {
|
|
|
60359
60363
|
}];
|
|
60360
60364
|
readonly stateMutability: "pure";
|
|
60361
60365
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60362
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
60366
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
60363
60367
|
readonly type: "function";
|
|
60364
60368
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60365
60369
|
readonly inputs: readonly [{
|
|
@@ -60980,7 +60984,7 @@ declare const useLens: () => {
|
|
|
60980
60984
|
}];
|
|
60981
60985
|
readonly stateMutability: "pure";
|
|
60982
60986
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60983
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
60987
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
60984
60988
|
readonly type: "function";
|
|
60985
60989
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60986
60990
|
readonly inputs: readonly [{
|
|
@@ -61601,7 +61605,7 @@ declare const useLens: () => {
|
|
|
61601
61605
|
}];
|
|
61602
61606
|
readonly stateMutability: "pure";
|
|
61603
61607
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
61604
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
61608
|
+
getPriceAtTick: (args: readonly [number], options?: viem144.Prettify<viem144.UnionOmit<viem144.ReadContractParameters<readonly [{
|
|
61605
61609
|
readonly type: "function";
|
|
61606
61610
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
61607
61611
|
readonly inputs: readonly [{
|
|
@@ -62857,5 +62861,5 @@ declare const useApproval: () => {
|
|
|
62857
62861
|
reset: () => void;
|
|
62858
62862
|
};
|
|
62859
62863
|
//#endregion
|
|
62860
|
-
export {
|
|
62861
|
-
//# sourceMappingURL=client-
|
|
62864
|
+
export { EMPTY_ARRAY as $, token1ToToken0 as A, uniswapMathLenses as At, useClosedUserPerps as B, getTickAtPrice as C, TimelockMarketData as Ct, roundTickDown as D, getTimelockMarket as Dt, liquiditiesToAmounts as E, getTimelockLens as Et, getPriceHistory as F, OptionTimelineData as G, usePerpsOperator as H, useSetOperatorPerms as I, useOptionPremium as J, useOptionTimeline as K, useUserOperators as L, PriceDataPoint as M, PriceResolution as N, roundTickUp as O, getUniswapMathLens as Ot, getCurrentPrice as P, Amount as Q, useOperatorPerms as R, getPriceSqrtPriceX96 as S, TimelockMarket as St, liquiditiesToAmount1 as T, getErc20 as Tt, useClosePerp as U, useUserPerps as V, useMintPerp as W, useMintOption as X, useOptionPnl as Y, useMaxPositionSize as Z, getPayoutAtTick as _, useClosedUserOptions as _t, batchGetAmountsFromLiquidity as a, scalePrice as at, getNearestValidStrikeTick as b, useTimelockConfig as bt, useLiquidityBlocks as c, wrapAmount as ct, usePriceAtTick as d, wrapPriceUnscaled as dt, formatAmount as et, usePriceSqrtPriceX96 as f, zero as ft, useCurrentPrice as g, useActiveUserOptions as gt, useCurrentTick as h, OptionData as ht, useVaultData as i, scaleAmount as it, PriceData as j, token0ToToken1 as k, timelockLenses as kt, useBurnLiquidity as l, wrapAmountUnscaled as lt, usePoolData as m, useExerciseOption as mt, useLens as n, formatUSD as nt, useMintLiquidity as o, unscaleAmount as ot, UniswapPoolData as p, useMarketData as pt, useExtendOption as q, useVaultTVL as r, formatVagueAmount as rt, LiquidityBlockData as s, unscalePrice as st, useApproval as t, formatCondensed as tt, usePriceHistory as u, wrapPrice as ut, PRICE_PRECISION as v, TimelockProvider as vt, liquiditiesToAmount0 as w, UniswapMathLens as wt, getPriceAtTick as x, TimelockLens as xt, getAmountsFromLiquidity as y, useCurrentMarket as yt, useActiveUserPerps as z };
|
|
62865
|
+
//# sourceMappingURL=client-BFaMKjtt.d.ts.map
|