timelock-sdk 0.0.91 → 0.0.93
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-pWy70TUj.d.cts → client-B6xuAheU.d.cts} +354 -147
- package/dist/{client-CYa7ruZt.d.ts → client-CZVKXvrJ.d.ts} +433 -226
- package/dist/client.cjs +22 -0
- 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 +22 -1
- package/dist/client.js.map +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-B_cHjOOB.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as viem145 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, PublicClient } from "viem";
|
|
4
4
|
import React, { ReactNode } from "react";
|
|
5
5
|
import "graphql";
|
|
@@ -228,7 +228,7 @@ type TimelockMarketData = Awaited<ReturnType<TimelockLens['read']['getMarketData
|
|
|
228
228
|
};
|
|
229
229
|
declare const getErc20: (address: Address, client: Client) => {
|
|
230
230
|
read: {
|
|
231
|
-
symbol: (options?:
|
|
231
|
+
symbol: (options?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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: viem145.Prettify<viem145.UnionOmit<viem145.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], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
1486
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.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], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
1665
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.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], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
1844
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.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], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
2023
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.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], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
2202
2202
|
} & {
|
|
2203
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
2203
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.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], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
2382
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.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], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
2561
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.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], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
2740
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.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], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
2919
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.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], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
3098
3098
|
};
|
|
3099
3099
|
simulate: {
|
|
3100
|
-
approve: <chainOverride extends
|
|
3100
|
+
approve: <chainOverride extends viem145.Chain | undefined = undefined, accountOverride extends viem145.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem145.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], viem145.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem145.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], viem145.Chain | undefined, viem145.Account | undefined, chainOverride, accountOverride>>;
|
|
3457
|
+
decreaseAllowance: <chainOverride extends viem145.Chain | undefined = undefined, accountOverride extends viem145.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem145.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], viem145.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem145.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], viem145.Chain | undefined, viem145.Account | undefined, chainOverride, accountOverride>>;
|
|
3814
|
+
increaseAllowance: <chainOverride extends viem145.Chain | undefined = undefined, accountOverride extends viem145.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem145.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], viem145.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem145.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], viem145.Chain | undefined, viem145.Account | undefined, chainOverride, accountOverride>>;
|
|
4171
|
+
transfer: <chainOverride extends viem145.Chain | undefined = undefined, accountOverride extends viem145.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem145.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], viem145.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem145.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], viem145.Chain | undefined, viem145.Account | undefined, chainOverride, accountOverride>>;
|
|
4528
|
+
transferFrom: <chainOverride extends viem145.Chain | undefined = undefined, accountOverride extends viem145.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem145.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], viem145.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem145.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], viem145.Chain | undefined, viem145.Account | undefined, chainOverride, accountOverride>>;
|
|
4885
4885
|
};
|
|
4886
4886
|
write: {
|
|
4887
|
-
approve: <chainOverride extends
|
|
4887
|
+
approve: <chainOverride extends viem145.Chain | undefined, options extends (viem145.UnionOmit<viem145.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], viem145.Chain | undefined, viem145.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<viem145.WriteContractReturnType>;
|
|
5066
|
+
decreaseAllowance: <chainOverride extends viem145.Chain | undefined, options extends (viem145.UnionOmit<viem145.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], viem145.Chain | undefined, viem145.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<viem145.WriteContractReturnType>;
|
|
5245
|
+
increaseAllowance: <chainOverride extends viem145.Chain | undefined, options extends (viem145.UnionOmit<viem145.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], viem145.Chain | undefined, viem145.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<viem145.WriteContractReturnType>;
|
|
5424
|
+
transfer: <chainOverride extends viem145.Chain | undefined, options extends (viem145.UnionOmit<viem145.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], viem145.Chain | undefined, viem145.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<viem145.WriteContractReturnType>;
|
|
5603
|
+
transferFrom: <chainOverride extends viem145.Chain | undefined, options extends (viem145.UnionOmit<viem145.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], viem145.Chain | undefined, viem145.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<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.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?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
30538
30538
|
readonly type: "function";
|
|
30539
30539
|
readonly name: "batchGetRefTick";
|
|
30540
30540
|
readonly inputs: readonly [{
|
|
@@ -34955,6 +34955,213 @@ declare const usePerpsOperator: () => {
|
|
|
34955
34955
|
address: `0x${string}` | undefined;
|
|
34956
34956
|
};
|
|
34957
34957
|
//#endregion
|
|
34958
|
+
//#region src/hooks/operators/useOperatorPerps.d.ts
|
|
34959
|
+
declare const useOperatorPerms: (operatorAddr?: Address, userAddr?: Address) => {
|
|
34960
|
+
error: viem145.ReadContractErrorType;
|
|
34961
|
+
isError: true;
|
|
34962
|
+
isPending: false;
|
|
34963
|
+
isLoading: false;
|
|
34964
|
+
isLoadingError: false;
|
|
34965
|
+
isRefetchError: true;
|
|
34966
|
+
isSuccess: false;
|
|
34967
|
+
isPlaceholderData: false;
|
|
34968
|
+
status: "error";
|
|
34969
|
+
dataUpdatedAt: number;
|
|
34970
|
+
errorUpdatedAt: number;
|
|
34971
|
+
failureCount: number;
|
|
34972
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
34973
|
+
errorUpdateCount: number;
|
|
34974
|
+
isFetched: boolean;
|
|
34975
|
+
isFetchedAfterMount: boolean;
|
|
34976
|
+
isFetching: boolean;
|
|
34977
|
+
isInitialLoading: boolean;
|
|
34978
|
+
isPaused: boolean;
|
|
34979
|
+
isRefetching: boolean;
|
|
34980
|
+
isStale: boolean;
|
|
34981
|
+
isEnabled: boolean;
|
|
34982
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
34983
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34984
|
+
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
34985
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
34986
|
+
data: {
|
|
34987
|
+
canExtend: boolean;
|
|
34988
|
+
canExercise: boolean;
|
|
34989
|
+
canTransfer: boolean;
|
|
34990
|
+
canMint: boolean;
|
|
34991
|
+
spendingApproval: bigint;
|
|
34992
|
+
} | undefined;
|
|
34993
|
+
} | {
|
|
34994
|
+
error: null;
|
|
34995
|
+
isError: false;
|
|
34996
|
+
isPending: false;
|
|
34997
|
+
isLoading: false;
|
|
34998
|
+
isLoadingError: false;
|
|
34999
|
+
isRefetchError: false;
|
|
35000
|
+
isSuccess: true;
|
|
35001
|
+
isPlaceholderData: false;
|
|
35002
|
+
status: "success";
|
|
35003
|
+
dataUpdatedAt: number;
|
|
35004
|
+
errorUpdatedAt: number;
|
|
35005
|
+
failureCount: number;
|
|
35006
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35007
|
+
errorUpdateCount: number;
|
|
35008
|
+
isFetched: boolean;
|
|
35009
|
+
isFetchedAfterMount: boolean;
|
|
35010
|
+
isFetching: boolean;
|
|
35011
|
+
isInitialLoading: boolean;
|
|
35012
|
+
isPaused: boolean;
|
|
35013
|
+
isRefetching: boolean;
|
|
35014
|
+
isStale: boolean;
|
|
35015
|
+
isEnabled: boolean;
|
|
35016
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
35017
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35018
|
+
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35019
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35020
|
+
data: {
|
|
35021
|
+
canExtend: boolean;
|
|
35022
|
+
canExercise: boolean;
|
|
35023
|
+
canTransfer: boolean;
|
|
35024
|
+
canMint: boolean;
|
|
35025
|
+
spendingApproval: bigint;
|
|
35026
|
+
} | undefined;
|
|
35027
|
+
} | {
|
|
35028
|
+
error: viem145.ReadContractErrorType;
|
|
35029
|
+
isError: true;
|
|
35030
|
+
isPending: false;
|
|
35031
|
+
isLoading: false;
|
|
35032
|
+
isLoadingError: true;
|
|
35033
|
+
isRefetchError: false;
|
|
35034
|
+
isSuccess: false;
|
|
35035
|
+
isPlaceholderData: false;
|
|
35036
|
+
status: "error";
|
|
35037
|
+
dataUpdatedAt: number;
|
|
35038
|
+
errorUpdatedAt: number;
|
|
35039
|
+
failureCount: number;
|
|
35040
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35041
|
+
errorUpdateCount: number;
|
|
35042
|
+
isFetched: boolean;
|
|
35043
|
+
isFetchedAfterMount: boolean;
|
|
35044
|
+
isFetching: boolean;
|
|
35045
|
+
isInitialLoading: boolean;
|
|
35046
|
+
isPaused: boolean;
|
|
35047
|
+
isRefetching: boolean;
|
|
35048
|
+
isStale: boolean;
|
|
35049
|
+
isEnabled: boolean;
|
|
35050
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
35051
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35052
|
+
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35053
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35054
|
+
data: {
|
|
35055
|
+
canExtend: boolean;
|
|
35056
|
+
canExercise: boolean;
|
|
35057
|
+
canTransfer: boolean;
|
|
35058
|
+
canMint: boolean;
|
|
35059
|
+
spendingApproval: bigint;
|
|
35060
|
+
} | undefined;
|
|
35061
|
+
} | {
|
|
35062
|
+
error: null;
|
|
35063
|
+
isError: false;
|
|
35064
|
+
isPending: true;
|
|
35065
|
+
isLoading: true;
|
|
35066
|
+
isLoadingError: false;
|
|
35067
|
+
isRefetchError: false;
|
|
35068
|
+
isSuccess: false;
|
|
35069
|
+
isPlaceholderData: false;
|
|
35070
|
+
status: "pending";
|
|
35071
|
+
dataUpdatedAt: number;
|
|
35072
|
+
errorUpdatedAt: number;
|
|
35073
|
+
failureCount: number;
|
|
35074
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35075
|
+
errorUpdateCount: number;
|
|
35076
|
+
isFetched: boolean;
|
|
35077
|
+
isFetchedAfterMount: boolean;
|
|
35078
|
+
isFetching: boolean;
|
|
35079
|
+
isInitialLoading: boolean;
|
|
35080
|
+
isPaused: boolean;
|
|
35081
|
+
isRefetching: boolean;
|
|
35082
|
+
isStale: boolean;
|
|
35083
|
+
isEnabled: boolean;
|
|
35084
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
35085
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35086
|
+
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35087
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35088
|
+
data: {
|
|
35089
|
+
canExtend: boolean;
|
|
35090
|
+
canExercise: boolean;
|
|
35091
|
+
canTransfer: boolean;
|
|
35092
|
+
canMint: boolean;
|
|
35093
|
+
spendingApproval: bigint;
|
|
35094
|
+
} | undefined;
|
|
35095
|
+
} | {
|
|
35096
|
+
error: null;
|
|
35097
|
+
isError: false;
|
|
35098
|
+
isPending: true;
|
|
35099
|
+
isLoadingError: false;
|
|
35100
|
+
isRefetchError: false;
|
|
35101
|
+
isSuccess: false;
|
|
35102
|
+
isPlaceholderData: false;
|
|
35103
|
+
status: "pending";
|
|
35104
|
+
dataUpdatedAt: number;
|
|
35105
|
+
errorUpdatedAt: number;
|
|
35106
|
+
failureCount: number;
|
|
35107
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35108
|
+
errorUpdateCount: number;
|
|
35109
|
+
isFetched: boolean;
|
|
35110
|
+
isFetchedAfterMount: boolean;
|
|
35111
|
+
isFetching: boolean;
|
|
35112
|
+
isLoading: boolean;
|
|
35113
|
+
isInitialLoading: boolean;
|
|
35114
|
+
isPaused: boolean;
|
|
35115
|
+
isRefetching: boolean;
|
|
35116
|
+
isStale: boolean;
|
|
35117
|
+
isEnabled: boolean;
|
|
35118
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
35119
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35120
|
+
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35121
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35122
|
+
data: {
|
|
35123
|
+
canExtend: boolean;
|
|
35124
|
+
canExercise: boolean;
|
|
35125
|
+
canTransfer: boolean;
|
|
35126
|
+
canMint: boolean;
|
|
35127
|
+
spendingApproval: bigint;
|
|
35128
|
+
} | undefined;
|
|
35129
|
+
} | {
|
|
35130
|
+
isError: false;
|
|
35131
|
+
error: null;
|
|
35132
|
+
isPending: false;
|
|
35133
|
+
isLoading: false;
|
|
35134
|
+
isLoadingError: false;
|
|
35135
|
+
isRefetchError: false;
|
|
35136
|
+
isSuccess: true;
|
|
35137
|
+
isPlaceholderData: true;
|
|
35138
|
+
status: "success";
|
|
35139
|
+
dataUpdatedAt: number;
|
|
35140
|
+
errorUpdatedAt: number;
|
|
35141
|
+
failureCount: number;
|
|
35142
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35143
|
+
errorUpdateCount: number;
|
|
35144
|
+
isFetched: boolean;
|
|
35145
|
+
isFetchedAfterMount: boolean;
|
|
35146
|
+
isFetching: boolean;
|
|
35147
|
+
isInitialLoading: boolean;
|
|
35148
|
+
isPaused: boolean;
|
|
35149
|
+
isRefetching: boolean;
|
|
35150
|
+
isStale: boolean;
|
|
35151
|
+
isEnabled: boolean;
|
|
35152
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
35153
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35154
|
+
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35155
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35156
|
+
data: {
|
|
35157
|
+
canExtend: boolean;
|
|
35158
|
+
canExercise: boolean;
|
|
35159
|
+
canTransfer: boolean;
|
|
35160
|
+
canMint: boolean;
|
|
35161
|
+
spendingApproval: bigint;
|
|
35162
|
+
} | undefined;
|
|
35163
|
+
};
|
|
35164
|
+
//#endregion
|
|
34958
35165
|
//#region src/hooks/operators/useUserOperators.d.ts
|
|
34959
35166
|
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
34960
35167
|
data: {
|
|
@@ -35453,7 +35660,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
35453
35660
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
35454
35661
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
35455
35662
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
35456
|
-
error:
|
|
35663
|
+
error: viem145.ReadContractErrorType;
|
|
35457
35664
|
isError: true;
|
|
35458
35665
|
isPending: false;
|
|
35459
35666
|
isLoading: false;
|
|
@@ -35465,7 +35672,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35465
35672
|
dataUpdatedAt: number;
|
|
35466
35673
|
errorUpdatedAt: number;
|
|
35467
35674
|
failureCount: number;
|
|
35468
|
-
failureReason:
|
|
35675
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35469
35676
|
errorUpdateCount: number;
|
|
35470
35677
|
isFetched: boolean;
|
|
35471
35678
|
isFetchedAfterMount: boolean;
|
|
@@ -35485,7 +35692,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35485
35692
|
totalAmount1: bigint;
|
|
35486
35693
|
borrowedAmount0: bigint;
|
|
35487
35694
|
borrowedAmount1: bigint;
|
|
35488
|
-
}[],
|
|
35695
|
+
}[], viem145.ReadContractErrorType>>;
|
|
35489
35696
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35490
35697
|
promise: Promise<readonly {
|
|
35491
35698
|
tickLower: number;
|
|
@@ -35523,7 +35730,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35523
35730
|
dataUpdatedAt: number;
|
|
35524
35731
|
errorUpdatedAt: number;
|
|
35525
35732
|
failureCount: number;
|
|
35526
|
-
failureReason:
|
|
35733
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35527
35734
|
errorUpdateCount: number;
|
|
35528
35735
|
isFetched: boolean;
|
|
35529
35736
|
isFetchedAfterMount: boolean;
|
|
@@ -35543,7 +35750,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35543
35750
|
totalAmount1: bigint;
|
|
35544
35751
|
borrowedAmount0: bigint;
|
|
35545
35752
|
borrowedAmount1: bigint;
|
|
35546
|
-
}[],
|
|
35753
|
+
}[], viem145.ReadContractErrorType>>;
|
|
35547
35754
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35548
35755
|
promise: Promise<readonly {
|
|
35549
35756
|
tickLower: number;
|
|
@@ -35569,7 +35776,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35569
35776
|
borrowedAmount1: bigint;
|
|
35570
35777
|
}[];
|
|
35571
35778
|
} | {
|
|
35572
|
-
error:
|
|
35779
|
+
error: viem145.ReadContractErrorType;
|
|
35573
35780
|
isError: true;
|
|
35574
35781
|
isPending: false;
|
|
35575
35782
|
isLoading: false;
|
|
@@ -35581,7 +35788,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35581
35788
|
dataUpdatedAt: number;
|
|
35582
35789
|
errorUpdatedAt: number;
|
|
35583
35790
|
failureCount: number;
|
|
35584
|
-
failureReason:
|
|
35791
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35585
35792
|
errorUpdateCount: number;
|
|
35586
35793
|
isFetched: boolean;
|
|
35587
35794
|
isFetchedAfterMount: boolean;
|
|
@@ -35601,7 +35808,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35601
35808
|
totalAmount1: bigint;
|
|
35602
35809
|
borrowedAmount0: bigint;
|
|
35603
35810
|
borrowedAmount1: bigint;
|
|
35604
|
-
}[],
|
|
35811
|
+
}[], viem145.ReadContractErrorType>>;
|
|
35605
35812
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35606
35813
|
promise: Promise<readonly {
|
|
35607
35814
|
tickLower: number;
|
|
@@ -35639,7 +35846,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35639
35846
|
dataUpdatedAt: number;
|
|
35640
35847
|
errorUpdatedAt: number;
|
|
35641
35848
|
failureCount: number;
|
|
35642
|
-
failureReason:
|
|
35849
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35643
35850
|
errorUpdateCount: number;
|
|
35644
35851
|
isFetched: boolean;
|
|
35645
35852
|
isFetchedAfterMount: boolean;
|
|
@@ -35659,7 +35866,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35659
35866
|
totalAmount1: bigint;
|
|
35660
35867
|
borrowedAmount0: bigint;
|
|
35661
35868
|
borrowedAmount1: bigint;
|
|
35662
|
-
}[],
|
|
35869
|
+
}[], viem145.ReadContractErrorType>>;
|
|
35663
35870
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35664
35871
|
promise: Promise<readonly {
|
|
35665
35872
|
tickLower: number;
|
|
@@ -35696,7 +35903,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35696
35903
|
dataUpdatedAt: number;
|
|
35697
35904
|
errorUpdatedAt: number;
|
|
35698
35905
|
failureCount: number;
|
|
35699
|
-
failureReason:
|
|
35906
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35700
35907
|
errorUpdateCount: number;
|
|
35701
35908
|
isFetched: boolean;
|
|
35702
35909
|
isFetchedAfterMount: boolean;
|
|
@@ -35717,7 +35924,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35717
35924
|
totalAmount1: bigint;
|
|
35718
35925
|
borrowedAmount0: bigint;
|
|
35719
35926
|
borrowedAmount1: bigint;
|
|
35720
|
-
}[],
|
|
35927
|
+
}[], viem145.ReadContractErrorType>>;
|
|
35721
35928
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35722
35929
|
promise: Promise<readonly {
|
|
35723
35930
|
tickLower: number;
|
|
@@ -35755,7 +35962,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35755
35962
|
dataUpdatedAt: number;
|
|
35756
35963
|
errorUpdatedAt: number;
|
|
35757
35964
|
failureCount: number;
|
|
35758
|
-
failureReason:
|
|
35965
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35759
35966
|
errorUpdateCount: number;
|
|
35760
35967
|
isFetched: boolean;
|
|
35761
35968
|
isFetchedAfterMount: boolean;
|
|
@@ -35775,7 +35982,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35775
35982
|
totalAmount1: bigint;
|
|
35776
35983
|
borrowedAmount0: bigint;
|
|
35777
35984
|
borrowedAmount1: bigint;
|
|
35778
|
-
}[],
|
|
35985
|
+
}[], viem145.ReadContractErrorType>>;
|
|
35779
35986
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35780
35987
|
promise: Promise<readonly {
|
|
35781
35988
|
tickLower: number;
|
|
@@ -35839,14 +36046,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
35839
36046
|
borrowedAmount0: Amount;
|
|
35840
36047
|
borrowedAmount1: Amount;
|
|
35841
36048
|
blocksCount: bigint;
|
|
35842
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
36049
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem145.ReadContractErrorType>>;
|
|
35843
36050
|
};
|
|
35844
36051
|
//#endregion
|
|
35845
36052
|
//#region src/hooks/useLens.d.ts
|
|
35846
36053
|
declare const useLens: () => {
|
|
35847
36054
|
timelockLens: {
|
|
35848
36055
|
read: {
|
|
35849
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
36056
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
35850
36057
|
readonly type: "function";
|
|
35851
36058
|
readonly name: "batchGetRefTick";
|
|
35852
36059
|
readonly inputs: readonly [{
|
|
@@ -36488,7 +36695,7 @@ declare const useLens: () => {
|
|
|
36488
36695
|
}];
|
|
36489
36696
|
readonly stateMutability: "view";
|
|
36490
36697
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
36491
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
36698
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
36492
36699
|
readonly type: "function";
|
|
36493
36700
|
readonly name: "batchGetRefTick";
|
|
36494
36701
|
readonly inputs: readonly [{
|
|
@@ -37140,7 +37347,7 @@ declare const useLens: () => {
|
|
|
37140
37347
|
borrowedAmount0: bigint;
|
|
37141
37348
|
borrowedAmount1: bigint;
|
|
37142
37349
|
}[]>;
|
|
37143
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
37350
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
37144
37351
|
readonly type: "function";
|
|
37145
37352
|
readonly name: "batchGetRefTick";
|
|
37146
37353
|
readonly inputs: readonly [{
|
|
@@ -37797,7 +38004,7 @@ declare const useLens: () => {
|
|
|
37797
38004
|
expiresAt: number;
|
|
37798
38005
|
liquidities: readonly bigint[];
|
|
37799
38006
|
}[], bigint, boolean]>;
|
|
37800
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
38007
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
37801
38008
|
readonly type: "function";
|
|
37802
38009
|
readonly name: "batchGetRefTick";
|
|
37803
38010
|
readonly inputs: readonly [{
|
|
@@ -38439,7 +38646,7 @@ declare const useLens: () => {
|
|
|
38439
38646
|
}];
|
|
38440
38647
|
readonly stateMutability: "view";
|
|
38441
38648
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
38442
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
38649
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
38443
38650
|
readonly type: "function";
|
|
38444
38651
|
readonly name: "batchGetRefTick";
|
|
38445
38652
|
readonly inputs: readonly [{
|
|
@@ -39094,7 +39301,7 @@ declare const useLens: () => {
|
|
|
39094
39301
|
payoutAssetName: string;
|
|
39095
39302
|
optionsCount: bigint;
|
|
39096
39303
|
}>;
|
|
39097
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
39304
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
39098
39305
|
readonly type: "function";
|
|
39099
39306
|
readonly name: "batchGetRefTick";
|
|
39100
39307
|
readonly inputs: readonly [{
|
|
@@ -39736,7 +39943,7 @@ declare const useLens: () => {
|
|
|
39736
39943
|
}];
|
|
39737
39944
|
readonly stateMutability: "view";
|
|
39738
39945
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
39739
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
39946
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
39740
39947
|
readonly type: "function";
|
|
39741
39948
|
readonly name: "batchGetRefTick";
|
|
39742
39949
|
readonly inputs: readonly [{
|
|
@@ -40378,7 +40585,7 @@ declare const useLens: () => {
|
|
|
40378
40585
|
}];
|
|
40379
40586
|
readonly stateMutability: "view";
|
|
40380
40587
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
40381
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
40588
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
40382
40589
|
readonly type: "function";
|
|
40383
40590
|
readonly name: "batchGetRefTick";
|
|
40384
40591
|
readonly inputs: readonly [{
|
|
@@ -41035,7 +41242,7 @@ declare const useLens: () => {
|
|
|
41035
41242
|
expiresAt: number;
|
|
41036
41243
|
liquidities: readonly bigint[];
|
|
41037
41244
|
}>;
|
|
41038
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
41245
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
41039
41246
|
readonly type: "function";
|
|
41040
41247
|
readonly name: "batchGetRefTick";
|
|
41041
41248
|
readonly inputs: readonly [{
|
|
@@ -41692,7 +41899,7 @@ declare const useLens: () => {
|
|
|
41692
41899
|
expiresAt: number;
|
|
41693
41900
|
liquidities: readonly bigint[];
|
|
41694
41901
|
}[]>;
|
|
41695
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
41902
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
41696
41903
|
readonly type: "function";
|
|
41697
41904
|
readonly name: "batchGetRefTick";
|
|
41698
41905
|
readonly inputs: readonly [{
|
|
@@ -42345,7 +42552,7 @@ declare const useLens: () => {
|
|
|
42345
42552
|
tickSpacing: number;
|
|
42346
42553
|
fee: number;
|
|
42347
42554
|
}>;
|
|
42348
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
42555
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
42349
42556
|
readonly type: "function";
|
|
42350
42557
|
readonly name: "batchGetRefTick";
|
|
42351
42558
|
readonly inputs: readonly [{
|
|
@@ -42987,7 +43194,7 @@ declare const useLens: () => {
|
|
|
42987
43194
|
}];
|
|
42988
43195
|
readonly stateMutability: "view";
|
|
42989
43196
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
42990
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
43197
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
42991
43198
|
readonly type: "function";
|
|
42992
43199
|
readonly name: "batchGetRefTick";
|
|
42993
43200
|
readonly inputs: readonly [{
|
|
@@ -43644,7 +43851,7 @@ declare const useLens: () => {
|
|
|
43644
43851
|
expiresAt: number;
|
|
43645
43852
|
liquidities: readonly bigint[];
|
|
43646
43853
|
}[], bigint, boolean]>;
|
|
43647
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
43854
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
43648
43855
|
readonly type: "function";
|
|
43649
43856
|
readonly name: "batchGetRefTick";
|
|
43650
43857
|
readonly inputs: readonly [{
|
|
@@ -44933,7 +45140,7 @@ declare const useLens: () => {
|
|
|
44933
45140
|
} | undefined;
|
|
44934
45141
|
uniswapLens: {
|
|
44935
45142
|
read: {
|
|
44936
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
45143
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
44937
45144
|
readonly type: "function";
|
|
44938
45145
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
44939
45146
|
readonly inputs: readonly [{
|
|
@@ -45554,7 +45761,7 @@ declare const useLens: () => {
|
|
|
45554
45761
|
}];
|
|
45555
45762
|
readonly stateMutability: "pure";
|
|
45556
45763
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
45557
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
45764
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
45558
45765
|
readonly type: "function";
|
|
45559
45766
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
45560
45767
|
readonly inputs: readonly [{
|
|
@@ -46175,7 +46382,7 @@ declare const useLens: () => {
|
|
|
46175
46382
|
}];
|
|
46176
46383
|
readonly stateMutability: "pure";
|
|
46177
46384
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46178
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
46385
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
46179
46386
|
readonly type: "function";
|
|
46180
46387
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46181
46388
|
readonly inputs: readonly [{
|
|
@@ -46796,7 +47003,7 @@ declare const useLens: () => {
|
|
|
46796
47003
|
}];
|
|
46797
47004
|
readonly stateMutability: "pure";
|
|
46798
47005
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46799
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
47006
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
46800
47007
|
readonly type: "function";
|
|
46801
47008
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46802
47009
|
readonly inputs: readonly [{
|
|
@@ -47417,7 +47624,7 @@ declare const useLens: () => {
|
|
|
47417
47624
|
}];
|
|
47418
47625
|
readonly stateMutability: "pure";
|
|
47419
47626
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47420
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
47627
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
47421
47628
|
readonly type: "function";
|
|
47422
47629
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47423
47630
|
readonly inputs: readonly [{
|
|
@@ -48038,7 +48245,7 @@ declare const useLens: () => {
|
|
|
48038
48245
|
}];
|
|
48039
48246
|
readonly stateMutability: "pure";
|
|
48040
48247
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
48041
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
48248
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
48042
48249
|
readonly type: "function";
|
|
48043
48250
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48044
48251
|
readonly inputs: readonly [{
|
|
@@ -48659,7 +48866,7 @@ declare const useLens: () => {
|
|
|
48659
48866
|
}];
|
|
48660
48867
|
readonly stateMutability: "pure";
|
|
48661
48868
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
48662
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
48869
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
48663
48870
|
readonly type: "function";
|
|
48664
48871
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48665
48872
|
readonly inputs: readonly [{
|
|
@@ -49280,7 +49487,7 @@ declare const useLens: () => {
|
|
|
49280
49487
|
}];
|
|
49281
49488
|
readonly stateMutability: "pure";
|
|
49282
49489
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
49283
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
49490
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
49284
49491
|
readonly type: "function";
|
|
49285
49492
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49286
49493
|
readonly inputs: readonly [{
|
|
@@ -49901,7 +50108,7 @@ declare const useLens: () => {
|
|
|
49901
50108
|
}];
|
|
49902
50109
|
readonly stateMutability: "pure";
|
|
49903
50110
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
49904
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
50111
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
49905
50112
|
readonly type: "function";
|
|
49906
50113
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49907
50114
|
readonly inputs: readonly [{
|
|
@@ -50522,7 +50729,7 @@ declare const useLens: () => {
|
|
|
50522
50729
|
}];
|
|
50523
50730
|
readonly stateMutability: "pure";
|
|
50524
50731
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50525
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
50732
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
50526
50733
|
readonly type: "function";
|
|
50527
50734
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50528
50735
|
readonly inputs: readonly [{
|
|
@@ -51143,7 +51350,7 @@ declare const useLens: () => {
|
|
|
51143
51350
|
}];
|
|
51144
51351
|
readonly stateMutability: "pure";
|
|
51145
51352
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51146
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
51353
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
51147
51354
|
readonly type: "function";
|
|
51148
51355
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51149
51356
|
readonly inputs: readonly [{
|
|
@@ -51764,7 +51971,7 @@ declare const useLens: () => {
|
|
|
51764
51971
|
}];
|
|
51765
51972
|
readonly stateMutability: "pure";
|
|
51766
51973
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51767
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
51974
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
51768
51975
|
readonly type: "function";
|
|
51769
51976
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51770
51977
|
readonly inputs: readonly [{
|
|
@@ -52385,7 +52592,7 @@ declare const useLens: () => {
|
|
|
52385
52592
|
}];
|
|
52386
52593
|
readonly stateMutability: "pure";
|
|
52387
52594
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52388
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
52595
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
52389
52596
|
readonly type: "function";
|
|
52390
52597
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52391
52598
|
readonly inputs: readonly [{
|
|
@@ -53006,7 +53213,7 @@ declare const useLens: () => {
|
|
|
53006
53213
|
}];
|
|
53007
53214
|
readonly stateMutability: "pure";
|
|
53008
53215
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53009
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
53216
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
53010
53217
|
readonly type: "function";
|
|
53011
53218
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53012
53219
|
readonly inputs: readonly [{
|
|
@@ -53627,7 +53834,7 @@ declare const useLens: () => {
|
|
|
53627
53834
|
}];
|
|
53628
53835
|
readonly stateMutability: "pure";
|
|
53629
53836
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
53630
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
53837
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
53631
53838
|
readonly type: "function";
|
|
53632
53839
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53633
53840
|
readonly inputs: readonly [{
|
|
@@ -54248,7 +54455,7 @@ declare const useLens: () => {
|
|
|
54248
54455
|
}];
|
|
54249
54456
|
readonly stateMutability: "pure";
|
|
54250
54457
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54251
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
54458
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
54252
54459
|
readonly type: "function";
|
|
54253
54460
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54254
54461
|
readonly inputs: readonly [{
|
|
@@ -54869,7 +55076,7 @@ declare const useLens: () => {
|
|
|
54869
55076
|
}];
|
|
54870
55077
|
readonly stateMutability: "pure";
|
|
54871
55078
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54872
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
55079
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
54873
55080
|
readonly type: "function";
|
|
54874
55081
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54875
55082
|
readonly inputs: readonly [{
|
|
@@ -55490,7 +55697,7 @@ declare const useLens: () => {
|
|
|
55490
55697
|
}];
|
|
55491
55698
|
readonly stateMutability: "pure";
|
|
55492
55699
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55493
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
55700
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
55494
55701
|
readonly type: "function";
|
|
55495
55702
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55496
55703
|
readonly inputs: readonly [{
|
|
@@ -56111,7 +56318,7 @@ declare const useLens: () => {
|
|
|
56111
56318
|
}];
|
|
56112
56319
|
readonly stateMutability: "pure";
|
|
56113
56320
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
56114
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
56321
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
56115
56322
|
readonly type: "function";
|
|
56116
56323
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56117
56324
|
readonly inputs: readonly [{
|
|
@@ -56732,7 +56939,7 @@ declare const useLens: () => {
|
|
|
56732
56939
|
}];
|
|
56733
56940
|
readonly stateMutability: "pure";
|
|
56734
56941
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
56735
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
56942
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
56736
56943
|
readonly type: "function";
|
|
56737
56944
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56738
56945
|
readonly inputs: readonly [{
|
|
@@ -57353,7 +57560,7 @@ declare const useLens: () => {
|
|
|
57353
57560
|
}];
|
|
57354
57561
|
readonly stateMutability: "pure";
|
|
57355
57562
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
57356
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
57563
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
57357
57564
|
readonly type: "function";
|
|
57358
57565
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57359
57566
|
readonly inputs: readonly [{
|
|
@@ -57974,7 +58181,7 @@ declare const useLens: () => {
|
|
|
57974
58181
|
}];
|
|
57975
58182
|
readonly stateMutability: "pure";
|
|
57976
58183
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
57977
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
58184
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
57978
58185
|
readonly type: "function";
|
|
57979
58186
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57980
58187
|
readonly inputs: readonly [{
|
|
@@ -58595,7 +58802,7 @@ declare const useLens: () => {
|
|
|
58595
58802
|
}];
|
|
58596
58803
|
readonly stateMutability: "pure";
|
|
58597
58804
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58598
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
58805
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
58599
58806
|
readonly type: "function";
|
|
58600
58807
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58601
58808
|
readonly inputs: readonly [{
|
|
@@ -59216,7 +59423,7 @@ declare const useLens: () => {
|
|
|
59216
59423
|
}];
|
|
59217
59424
|
readonly stateMutability: "pure";
|
|
59218
59425
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59219
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
59426
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
59220
59427
|
readonly type: "function";
|
|
59221
59428
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59222
59429
|
readonly inputs: readonly [{
|
|
@@ -59837,7 +60044,7 @@ declare const useLens: () => {
|
|
|
59837
60044
|
}];
|
|
59838
60045
|
readonly stateMutability: "pure";
|
|
59839
60046
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59840
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
60047
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
59841
60048
|
readonly type: "function";
|
|
59842
60049
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59843
60050
|
readonly inputs: readonly [{
|
|
@@ -60458,7 +60665,7 @@ declare const useLens: () => {
|
|
|
60458
60665
|
}];
|
|
60459
60666
|
readonly stateMutability: "pure";
|
|
60460
60667
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60461
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
60668
|
+
getPriceAtTick: (args: readonly [number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
60462
60669
|
readonly type: "function";
|
|
60463
60670
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60464
60671
|
readonly inputs: readonly [{
|
|
@@ -61714,5 +61921,5 @@ declare const useApproval: () => {
|
|
|
61714
61921
|
reset: () => void;
|
|
61715
61922
|
};
|
|
61716
61923
|
//#endregion
|
|
61717
|
-
export {
|
|
61718
|
-
//# sourceMappingURL=client-
|
|
61924
|
+
export { scaleAmount as $, PriceDataPoint as A, OptionTimelineData as B, liquiditiesToAmount1 as C, getUniswapMathLens as Ct, token0ToToken1 as D, roundTickUp as E, useUserOperators as F, useMintOption as G, useExtendOption as H, useOperatorPerms as I, EMPTY_ARRAY as J, useMaxPositionSize as K, usePerpsOperator as L, getCurrentPrice as M, getPriceHistory as N, token1ToToken0 as O, useSetOperatorPerms as P, formatVagueAmount as Q, useClosePerp as R, liquiditiesToAmount0 as S, getTimelockMarket as St, roundTickDown as T, uniswapMathLenses as Tt, useOptionPremium as U, useOptionTimeline as V, useOptionPnl as W, formatCondensed as X, formatAmount as Y, formatUSD as Z, PRICE_PRECISION as _, TimelockMarket as _t, batchGetAmountsFromLiquidity as a, wrapPrice as at, getPriceAtTick as b, getErc20 as bt, useLiquidityBlocks as c, useMarketData as ct, usePriceAtTick as d, useActiveUserOptions as dt, scalePrice as et, UniswapPoolData as f, useClosedUserOptions as ft, getPayoutAtTick as g, TimelockLens as gt, useCurrentPrice as h, useTimelockConfig as ht, useVaultData as i, wrapAmountUnscaled as it, PriceResolution as j, PriceData as k, useBurnLiquidity as l, useExerciseOption as lt, useCurrentTick as m, useCurrentMarket as mt, useLens as n, unscalePrice as nt, useMintLiquidity as o, wrapPriceUnscaled as ot, usePoolData as p, TimelockProvider as pt, Amount as q, useVaultTVL as r, wrapAmount as rt, LiquidityBlockData as s, zero as st, useApproval as t, unscaleAmount as tt, usePriceHistory as u, OptionData as ut, getAmountsFromLiquidity as v, TimelockMarketData as vt, liquiditiesToAmounts as w, timelockLenses as wt, getTickAtPrice as x, getTimelockLens as xt, getNearestValidStrikeTick as y, UniswapMathLens as yt, useMintPerp as z };
|
|
61925
|
+
//# sourceMappingURL=client-B6xuAheU.d.cts.map
|