timelock-sdk 0.0.115 → 0.0.117
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-DM6DKDpk.d.cts → client-C5OVhky5.d.ts} +165 -165
- package/dist/{client-BOmeI-gW.d.ts → client-Cgi8okgz.d.cts} +6 -6
- package/dist/client.cjs +13 -15
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +13 -9
- package/dist/client.js.map +1 -1
- package/dist/{optionUtils-DQakRJ_U.cjs → optionUtils-ZSFOJxaV.cjs} +1 -4
- package/dist/{optionUtils-DQakRJ_U.cjs.map → optionUtils-ZSFOJxaV.cjs.map} +1 -1
- package/dist/package.cjs +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +7 -7
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-
|
|
2
|
-
import * as
|
|
1
|
+
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-ChJFZ6hc.js";
|
|
2
|
+
import * as viem145 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
|
+
import Big from "big.js";
|
|
4
5
|
import React, { ReactNode } from "react";
|
|
5
|
-
import "graphql";
|
|
6
6
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
7
7
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
8
8
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
9
|
+
import "graphql";
|
|
9
10
|
import * as _tanstack_query_core35 from "@tanstack/query-core";
|
|
10
|
-
import Big from "big.js";
|
|
11
11
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
12
12
|
|
|
13
13
|
//#region src/generated/graphql.d.ts
|
|
@@ -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 [{
|
|
@@ -31862,11 +31862,11 @@ declare class PerpsOperator {
|
|
|
31862
31862
|
closed: boolean;
|
|
31863
31863
|
}[]>;
|
|
31864
31864
|
mintPerp: (body: MintPerpBody) => Promise<{
|
|
31865
|
-
txHash: string
|
|
31865
|
+
txHash: `0x${string}`;
|
|
31866
31866
|
optionId: bigint;
|
|
31867
31867
|
}>;
|
|
31868
31868
|
exercisePerp: (body: ExercisePerpBody) => Promise<{
|
|
31869
|
-
txHash: string
|
|
31869
|
+
txHash: `0x${string}`;
|
|
31870
31870
|
optionId: bigint;
|
|
31871
31871
|
}>;
|
|
31872
31872
|
}
|
|
@@ -35887,7 +35887,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35887
35887
|
//#endregion
|
|
35888
35888
|
//#region src/hooks/operators/useOperatorPerms.d.ts
|
|
35889
35889
|
declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, operatorAddr?: Address) => {
|
|
35890
|
-
error:
|
|
35890
|
+
error: viem145.ReadContractErrorType;
|
|
35891
35891
|
isError: true;
|
|
35892
35892
|
isPending: false;
|
|
35893
35893
|
isLoading: false;
|
|
@@ -35899,7 +35899,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35899
35899
|
dataUpdatedAt: number;
|
|
35900
35900
|
errorUpdatedAt: number;
|
|
35901
35901
|
failureCount: number;
|
|
35902
|
-
failureReason:
|
|
35902
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35903
35903
|
errorUpdateCount: number;
|
|
35904
35904
|
isFetched: boolean;
|
|
35905
35905
|
isFetchedAfterMount: boolean;
|
|
@@ -35909,7 +35909,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35909
35909
|
isRefetching: boolean;
|
|
35910
35910
|
isStale: boolean;
|
|
35911
35911
|
isEnabled: boolean;
|
|
35912
|
-
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
35912
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
35913
35913
|
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
35914
35914
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35915
35915
|
queryKey: _tanstack_query_core35.QueryKey;
|
|
@@ -35934,7 +35934,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35934
35934
|
dataUpdatedAt: number;
|
|
35935
35935
|
errorUpdatedAt: number;
|
|
35936
35936
|
failureCount: number;
|
|
35937
|
-
failureReason:
|
|
35937
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35938
35938
|
errorUpdateCount: number;
|
|
35939
35939
|
isFetched: boolean;
|
|
35940
35940
|
isFetchedAfterMount: boolean;
|
|
@@ -35944,7 +35944,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35944
35944
|
isRefetching: boolean;
|
|
35945
35945
|
isStale: boolean;
|
|
35946
35946
|
isEnabled: boolean;
|
|
35947
|
-
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
35947
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
35948
35948
|
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
35949
35949
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35950
35950
|
queryKey: _tanstack_query_core35.QueryKey;
|
|
@@ -35957,7 +35957,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35957
35957
|
effectiveApproval: bigint;
|
|
35958
35958
|
};
|
|
35959
35959
|
} | {
|
|
35960
|
-
error:
|
|
35960
|
+
error: viem145.ReadContractErrorType;
|
|
35961
35961
|
isError: true;
|
|
35962
35962
|
isPending: false;
|
|
35963
35963
|
isLoading: false;
|
|
@@ -35969,7 +35969,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35969
35969
|
dataUpdatedAt: number;
|
|
35970
35970
|
errorUpdatedAt: number;
|
|
35971
35971
|
failureCount: number;
|
|
35972
|
-
failureReason:
|
|
35972
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35973
35973
|
errorUpdateCount: number;
|
|
35974
35974
|
isFetched: boolean;
|
|
35975
35975
|
isFetchedAfterMount: boolean;
|
|
@@ -35979,7 +35979,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35979
35979
|
isRefetching: boolean;
|
|
35980
35980
|
isStale: boolean;
|
|
35981
35981
|
isEnabled: boolean;
|
|
35982
|
-
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
35982
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
35983
35983
|
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
35984
35984
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35985
35985
|
queryKey: _tanstack_query_core35.QueryKey;
|
|
@@ -36004,7 +36004,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36004
36004
|
dataUpdatedAt: number;
|
|
36005
36005
|
errorUpdatedAt: number;
|
|
36006
36006
|
failureCount: number;
|
|
36007
|
-
failureReason:
|
|
36007
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
36008
36008
|
errorUpdateCount: number;
|
|
36009
36009
|
isFetched: boolean;
|
|
36010
36010
|
isFetchedAfterMount: boolean;
|
|
@@ -36014,7 +36014,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36014
36014
|
isRefetching: boolean;
|
|
36015
36015
|
isStale: boolean;
|
|
36016
36016
|
isEnabled: boolean;
|
|
36017
|
-
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
36017
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
36018
36018
|
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
36019
36019
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36020
36020
|
queryKey: _tanstack_query_core35.QueryKey;
|
|
@@ -36038,7 +36038,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36038
36038
|
dataUpdatedAt: number;
|
|
36039
36039
|
errorUpdatedAt: number;
|
|
36040
36040
|
failureCount: number;
|
|
36041
|
-
failureReason:
|
|
36041
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
36042
36042
|
errorUpdateCount: number;
|
|
36043
36043
|
isFetched: boolean;
|
|
36044
36044
|
isFetchedAfterMount: boolean;
|
|
@@ -36049,7 +36049,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36049
36049
|
isRefetching: boolean;
|
|
36050
36050
|
isStale: boolean;
|
|
36051
36051
|
isEnabled: boolean;
|
|
36052
|
-
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
36052
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
36053
36053
|
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
36054
36054
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36055
36055
|
queryKey: _tanstack_query_core35.QueryKey;
|
|
@@ -36074,7 +36074,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36074
36074
|
dataUpdatedAt: number;
|
|
36075
36075
|
errorUpdatedAt: number;
|
|
36076
36076
|
failureCount: number;
|
|
36077
|
-
failureReason:
|
|
36077
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
36078
36078
|
errorUpdateCount: number;
|
|
36079
36079
|
isFetched: boolean;
|
|
36080
36080
|
isFetchedAfterMount: boolean;
|
|
@@ -36084,7 +36084,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36084
36084
|
isRefetching: boolean;
|
|
36085
36085
|
isStale: boolean;
|
|
36086
36086
|
isEnabled: boolean;
|
|
36087
|
-
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
36087
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
36088
36088
|
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
36089
36089
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36090
36090
|
queryKey: _tanstack_query_core35.QueryKey;
|
|
@@ -36600,7 +36600,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
36600
36600
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
36601
36601
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
36602
36602
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
36603
|
-
error:
|
|
36603
|
+
error: viem145.ReadContractErrorType;
|
|
36604
36604
|
isError: true;
|
|
36605
36605
|
isPending: false;
|
|
36606
36606
|
isLoading: false;
|
|
@@ -36612,7 +36612,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36612
36612
|
dataUpdatedAt: number;
|
|
36613
36613
|
errorUpdatedAt: number;
|
|
36614
36614
|
failureCount: number;
|
|
36615
|
-
failureReason:
|
|
36615
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
36616
36616
|
errorUpdateCount: number;
|
|
36617
36617
|
isFetched: boolean;
|
|
36618
36618
|
isFetchedAfterMount: boolean;
|
|
@@ -36632,7 +36632,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36632
36632
|
totalAmount1: bigint;
|
|
36633
36633
|
borrowedAmount0: bigint;
|
|
36634
36634
|
borrowedAmount1: bigint;
|
|
36635
|
-
}[],
|
|
36635
|
+
}[], viem145.ReadContractErrorType>>;
|
|
36636
36636
|
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
36637
36637
|
promise: Promise<readonly {
|
|
36638
36638
|
tickLower: number;
|
|
@@ -36670,7 +36670,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36670
36670
|
dataUpdatedAt: number;
|
|
36671
36671
|
errorUpdatedAt: number;
|
|
36672
36672
|
failureCount: number;
|
|
36673
|
-
failureReason:
|
|
36673
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
36674
36674
|
errorUpdateCount: number;
|
|
36675
36675
|
isFetched: boolean;
|
|
36676
36676
|
isFetchedAfterMount: boolean;
|
|
@@ -36690,7 +36690,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36690
36690
|
totalAmount1: bigint;
|
|
36691
36691
|
borrowedAmount0: bigint;
|
|
36692
36692
|
borrowedAmount1: bigint;
|
|
36693
|
-
}[],
|
|
36693
|
+
}[], viem145.ReadContractErrorType>>;
|
|
36694
36694
|
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
36695
36695
|
promise: Promise<readonly {
|
|
36696
36696
|
tickLower: number;
|
|
@@ -36716,7 +36716,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36716
36716
|
borrowedAmount1: bigint;
|
|
36717
36717
|
}[];
|
|
36718
36718
|
} | {
|
|
36719
|
-
error:
|
|
36719
|
+
error: viem145.ReadContractErrorType;
|
|
36720
36720
|
isError: true;
|
|
36721
36721
|
isPending: false;
|
|
36722
36722
|
isLoading: false;
|
|
@@ -36728,7 +36728,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36728
36728
|
dataUpdatedAt: number;
|
|
36729
36729
|
errorUpdatedAt: number;
|
|
36730
36730
|
failureCount: number;
|
|
36731
|
-
failureReason:
|
|
36731
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
36732
36732
|
errorUpdateCount: number;
|
|
36733
36733
|
isFetched: boolean;
|
|
36734
36734
|
isFetchedAfterMount: boolean;
|
|
@@ -36748,7 +36748,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36748
36748
|
totalAmount1: bigint;
|
|
36749
36749
|
borrowedAmount0: bigint;
|
|
36750
36750
|
borrowedAmount1: bigint;
|
|
36751
|
-
}[],
|
|
36751
|
+
}[], viem145.ReadContractErrorType>>;
|
|
36752
36752
|
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
36753
36753
|
promise: Promise<readonly {
|
|
36754
36754
|
tickLower: number;
|
|
@@ -36786,7 +36786,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36786
36786
|
dataUpdatedAt: number;
|
|
36787
36787
|
errorUpdatedAt: number;
|
|
36788
36788
|
failureCount: number;
|
|
36789
|
-
failureReason:
|
|
36789
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
36790
36790
|
errorUpdateCount: number;
|
|
36791
36791
|
isFetched: boolean;
|
|
36792
36792
|
isFetchedAfterMount: boolean;
|
|
@@ -36806,7 +36806,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36806
36806
|
totalAmount1: bigint;
|
|
36807
36807
|
borrowedAmount0: bigint;
|
|
36808
36808
|
borrowedAmount1: bigint;
|
|
36809
|
-
}[],
|
|
36809
|
+
}[], viem145.ReadContractErrorType>>;
|
|
36810
36810
|
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
36811
36811
|
promise: Promise<readonly {
|
|
36812
36812
|
tickLower: number;
|
|
@@ -36843,7 +36843,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36843
36843
|
dataUpdatedAt: number;
|
|
36844
36844
|
errorUpdatedAt: number;
|
|
36845
36845
|
failureCount: number;
|
|
36846
|
-
failureReason:
|
|
36846
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
36847
36847
|
errorUpdateCount: number;
|
|
36848
36848
|
isFetched: boolean;
|
|
36849
36849
|
isFetchedAfterMount: boolean;
|
|
@@ -36864,7 +36864,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36864
36864
|
totalAmount1: bigint;
|
|
36865
36865
|
borrowedAmount0: bigint;
|
|
36866
36866
|
borrowedAmount1: bigint;
|
|
36867
|
-
}[],
|
|
36867
|
+
}[], viem145.ReadContractErrorType>>;
|
|
36868
36868
|
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
36869
36869
|
promise: Promise<readonly {
|
|
36870
36870
|
tickLower: number;
|
|
@@ -36902,7 +36902,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36902
36902
|
dataUpdatedAt: number;
|
|
36903
36903
|
errorUpdatedAt: number;
|
|
36904
36904
|
failureCount: number;
|
|
36905
|
-
failureReason:
|
|
36905
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
36906
36906
|
errorUpdateCount: number;
|
|
36907
36907
|
isFetched: boolean;
|
|
36908
36908
|
isFetchedAfterMount: boolean;
|
|
@@ -36922,7 +36922,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36922
36922
|
totalAmount1: bigint;
|
|
36923
36923
|
borrowedAmount0: bigint;
|
|
36924
36924
|
borrowedAmount1: bigint;
|
|
36925
|
-
}[],
|
|
36925
|
+
}[], viem145.ReadContractErrorType>>;
|
|
36926
36926
|
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
36927
36927
|
promise: Promise<readonly {
|
|
36928
36928
|
tickLower: number;
|
|
@@ -36986,14 +36986,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
36986
36986
|
borrowedAmount0: Amount;
|
|
36987
36987
|
borrowedAmount1: Amount;
|
|
36988
36988
|
blocksCount: bigint;
|
|
36989
|
-
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
36989
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem145.ReadContractErrorType>>;
|
|
36990
36990
|
};
|
|
36991
36991
|
//#endregion
|
|
36992
36992
|
//#region src/hooks/useLens.d.ts
|
|
36993
36993
|
declare const useLens: () => {
|
|
36994
36994
|
timelockLens: {
|
|
36995
36995
|
read: {
|
|
36996
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
36996
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
36997
36997
|
readonly type: "function";
|
|
36998
36998
|
readonly name: "batchGetRefTick";
|
|
36999
36999
|
readonly inputs: readonly [{
|
|
@@ -37635,7 +37635,7 @@ declare const useLens: () => {
|
|
|
37635
37635
|
}];
|
|
37636
37636
|
readonly stateMutability: "view";
|
|
37637
37637
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
37638
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
37638
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
37639
37639
|
readonly type: "function";
|
|
37640
37640
|
readonly name: "batchGetRefTick";
|
|
37641
37641
|
readonly inputs: readonly [{
|
|
@@ -38287,7 +38287,7 @@ declare const useLens: () => {
|
|
|
38287
38287
|
borrowedAmount0: bigint;
|
|
38288
38288
|
borrowedAmount1: bigint;
|
|
38289
38289
|
}[]>;
|
|
38290
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
38290
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
38291
38291
|
readonly type: "function";
|
|
38292
38292
|
readonly name: "batchGetRefTick";
|
|
38293
38293
|
readonly inputs: readonly [{
|
|
@@ -38944,7 +38944,7 @@ declare const useLens: () => {
|
|
|
38944
38944
|
expiresAt: number;
|
|
38945
38945
|
liquidities: readonly bigint[];
|
|
38946
38946
|
}[], bigint, boolean]>;
|
|
38947
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
38947
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
38948
38948
|
readonly type: "function";
|
|
38949
38949
|
readonly name: "batchGetRefTick";
|
|
38950
38950
|
readonly inputs: readonly [{
|
|
@@ -39586,7 +39586,7 @@ declare const useLens: () => {
|
|
|
39586
39586
|
}];
|
|
39587
39587
|
readonly stateMutability: "view";
|
|
39588
39588
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
39589
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
39589
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
39590
39590
|
readonly type: "function";
|
|
39591
39591
|
readonly name: "batchGetRefTick";
|
|
39592
39592
|
readonly inputs: readonly [{
|
|
@@ -40241,7 +40241,7 @@ declare const useLens: () => {
|
|
|
40241
40241
|
payoutAssetName: string;
|
|
40242
40242
|
optionsCount: bigint;
|
|
40243
40243
|
}>;
|
|
40244
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
40244
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
40245
40245
|
readonly type: "function";
|
|
40246
40246
|
readonly name: "batchGetRefTick";
|
|
40247
40247
|
readonly inputs: readonly [{
|
|
@@ -40883,7 +40883,7 @@ declare const useLens: () => {
|
|
|
40883
40883
|
}];
|
|
40884
40884
|
readonly stateMutability: "view";
|
|
40885
40885
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
40886
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
40886
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
40887
40887
|
readonly type: "function";
|
|
40888
40888
|
readonly name: "batchGetRefTick";
|
|
40889
40889
|
readonly inputs: readonly [{
|
|
@@ -41525,7 +41525,7 @@ declare const useLens: () => {
|
|
|
41525
41525
|
}];
|
|
41526
41526
|
readonly stateMutability: "view";
|
|
41527
41527
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
41528
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
41528
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
41529
41529
|
readonly type: "function";
|
|
41530
41530
|
readonly name: "batchGetRefTick";
|
|
41531
41531
|
readonly inputs: readonly [{
|
|
@@ -42182,7 +42182,7 @@ declare const useLens: () => {
|
|
|
42182
42182
|
expiresAt: number;
|
|
42183
42183
|
liquidities: readonly bigint[];
|
|
42184
42184
|
}>;
|
|
42185
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
42185
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
42186
42186
|
readonly type: "function";
|
|
42187
42187
|
readonly name: "batchGetRefTick";
|
|
42188
42188
|
readonly inputs: readonly [{
|
|
@@ -42839,7 +42839,7 @@ declare const useLens: () => {
|
|
|
42839
42839
|
expiresAt: number;
|
|
42840
42840
|
liquidities: readonly bigint[];
|
|
42841
42841
|
}[]>;
|
|
42842
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
42842
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
42843
42843
|
readonly type: "function";
|
|
42844
42844
|
readonly name: "batchGetRefTick";
|
|
42845
42845
|
readonly inputs: readonly [{
|
|
@@ -43492,7 +43492,7 @@ declare const useLens: () => {
|
|
|
43492
43492
|
tickSpacing: number;
|
|
43493
43493
|
fee: number;
|
|
43494
43494
|
}>;
|
|
43495
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
43495
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
43496
43496
|
readonly type: "function";
|
|
43497
43497
|
readonly name: "batchGetRefTick";
|
|
43498
43498
|
readonly inputs: readonly [{
|
|
@@ -44134,7 +44134,7 @@ declare const useLens: () => {
|
|
|
44134
44134
|
}];
|
|
44135
44135
|
readonly stateMutability: "view";
|
|
44136
44136
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
44137
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
44137
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
44138
44138
|
readonly type: "function";
|
|
44139
44139
|
readonly name: "batchGetRefTick";
|
|
44140
44140
|
readonly inputs: readonly [{
|
|
@@ -44791,7 +44791,7 @@ declare const useLens: () => {
|
|
|
44791
44791
|
expiresAt: number;
|
|
44792
44792
|
liquidities: readonly bigint[];
|
|
44793
44793
|
}[], bigint, boolean]>;
|
|
44794
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
44794
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
44795
44795
|
readonly type: "function";
|
|
44796
44796
|
readonly name: "batchGetRefTick";
|
|
44797
44797
|
readonly inputs: readonly [{
|
|
@@ -46080,7 +46080,7 @@ declare const useLens: () => {
|
|
|
46080
46080
|
} | undefined;
|
|
46081
46081
|
uniswapLens: {
|
|
46082
46082
|
read: {
|
|
46083
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
46083
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
46084
46084
|
readonly type: "function";
|
|
46085
46085
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46086
46086
|
readonly inputs: readonly [{
|
|
@@ -46701,7 +46701,7 @@ declare const useLens: () => {
|
|
|
46701
46701
|
}];
|
|
46702
46702
|
readonly stateMutability: "pure";
|
|
46703
46703
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46704
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
46704
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
46705
46705
|
readonly type: "function";
|
|
46706
46706
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46707
46707
|
readonly inputs: readonly [{
|
|
@@ -47322,7 +47322,7 @@ declare const useLens: () => {
|
|
|
47322
47322
|
}];
|
|
47323
47323
|
readonly stateMutability: "pure";
|
|
47324
47324
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47325
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
47325
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
47326
47326
|
readonly type: "function";
|
|
47327
47327
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47328
47328
|
readonly inputs: readonly [{
|
|
@@ -47943,7 +47943,7 @@ declare const useLens: () => {
|
|
|
47943
47943
|
}];
|
|
47944
47944
|
readonly stateMutability: "pure";
|
|
47945
47945
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47946
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
47946
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
47947
47947
|
readonly type: "function";
|
|
47948
47948
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47949
47949
|
readonly inputs: readonly [{
|
|
@@ -48564,7 +48564,7 @@ declare const useLens: () => {
|
|
|
48564
48564
|
}];
|
|
48565
48565
|
readonly stateMutability: "pure";
|
|
48566
48566
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
48567
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
48567
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
48568
48568
|
readonly type: "function";
|
|
48569
48569
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48570
48570
|
readonly inputs: readonly [{
|
|
@@ -49185,7 +49185,7 @@ declare const useLens: () => {
|
|
|
49185
49185
|
}];
|
|
49186
49186
|
readonly stateMutability: "pure";
|
|
49187
49187
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
49188
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
49188
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
49189
49189
|
readonly type: "function";
|
|
49190
49190
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49191
49191
|
readonly inputs: readonly [{
|
|
@@ -49806,7 +49806,7 @@ declare const useLens: () => {
|
|
|
49806
49806
|
}];
|
|
49807
49807
|
readonly stateMutability: "pure";
|
|
49808
49808
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
49809
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
49809
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
49810
49810
|
readonly type: "function";
|
|
49811
49811
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49812
49812
|
readonly inputs: readonly [{
|
|
@@ -50427,7 +50427,7 @@ declare const useLens: () => {
|
|
|
50427
50427
|
}];
|
|
50428
50428
|
readonly stateMutability: "pure";
|
|
50429
50429
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50430
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
50430
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
50431
50431
|
readonly type: "function";
|
|
50432
50432
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50433
50433
|
readonly inputs: readonly [{
|
|
@@ -51048,7 +51048,7 @@ declare const useLens: () => {
|
|
|
51048
51048
|
}];
|
|
51049
51049
|
readonly stateMutability: "pure";
|
|
51050
51050
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51051
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
51051
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
51052
51052
|
readonly type: "function";
|
|
51053
51053
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51054
51054
|
readonly inputs: readonly [{
|
|
@@ -51669,7 +51669,7 @@ declare const useLens: () => {
|
|
|
51669
51669
|
}];
|
|
51670
51670
|
readonly stateMutability: "pure";
|
|
51671
51671
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51672
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
51672
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
51673
51673
|
readonly type: "function";
|
|
51674
51674
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51675
51675
|
readonly inputs: readonly [{
|
|
@@ -52290,7 +52290,7 @@ declare const useLens: () => {
|
|
|
52290
52290
|
}];
|
|
52291
52291
|
readonly stateMutability: "pure";
|
|
52292
52292
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52293
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
52293
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
52294
52294
|
readonly type: "function";
|
|
52295
52295
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52296
52296
|
readonly inputs: readonly [{
|
|
@@ -52911,7 +52911,7 @@ declare const useLens: () => {
|
|
|
52911
52911
|
}];
|
|
52912
52912
|
readonly stateMutability: "pure";
|
|
52913
52913
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52914
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
52914
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
52915
52915
|
readonly type: "function";
|
|
52916
52916
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52917
52917
|
readonly inputs: readonly [{
|
|
@@ -53532,7 +53532,7 @@ declare const useLens: () => {
|
|
|
53532
53532
|
}];
|
|
53533
53533
|
readonly stateMutability: "pure";
|
|
53534
53534
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53535
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
53535
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
53536
53536
|
readonly type: "function";
|
|
53537
53537
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53538
53538
|
readonly inputs: readonly [{
|
|
@@ -54153,7 +54153,7 @@ declare const useLens: () => {
|
|
|
54153
54153
|
}];
|
|
54154
54154
|
readonly stateMutability: "pure";
|
|
54155
54155
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
54156
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
54156
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
54157
54157
|
readonly type: "function";
|
|
54158
54158
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54159
54159
|
readonly inputs: readonly [{
|
|
@@ -54774,7 +54774,7 @@ declare const useLens: () => {
|
|
|
54774
54774
|
}];
|
|
54775
54775
|
readonly stateMutability: "pure";
|
|
54776
54776
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54777
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
54777
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
54778
54778
|
readonly type: "function";
|
|
54779
54779
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54780
54780
|
readonly inputs: readonly [{
|
|
@@ -55395,7 +55395,7 @@ declare const useLens: () => {
|
|
|
55395
55395
|
}];
|
|
55396
55396
|
readonly stateMutability: "pure";
|
|
55397
55397
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55398
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
55398
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
55399
55399
|
readonly type: "function";
|
|
55400
55400
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55401
55401
|
readonly inputs: readonly [{
|
|
@@ -56016,7 +56016,7 @@ declare const useLens: () => {
|
|
|
56016
56016
|
}];
|
|
56017
56017
|
readonly stateMutability: "pure";
|
|
56018
56018
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
56019
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
56019
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
56020
56020
|
readonly type: "function";
|
|
56021
56021
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56022
56022
|
readonly inputs: readonly [{
|
|
@@ -56637,7 +56637,7 @@ declare const useLens: () => {
|
|
|
56637
56637
|
}];
|
|
56638
56638
|
readonly stateMutability: "pure";
|
|
56639
56639
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
56640
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
56640
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
56641
56641
|
readonly type: "function";
|
|
56642
56642
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56643
56643
|
readonly inputs: readonly [{
|
|
@@ -57258,7 +57258,7 @@ declare const useLens: () => {
|
|
|
57258
57258
|
}];
|
|
57259
57259
|
readonly stateMutability: "pure";
|
|
57260
57260
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
57261
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
57261
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
57262
57262
|
readonly type: "function";
|
|
57263
57263
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57264
57264
|
readonly inputs: readonly [{
|
|
@@ -57879,7 +57879,7 @@ declare const useLens: () => {
|
|
|
57879
57879
|
}];
|
|
57880
57880
|
readonly stateMutability: "pure";
|
|
57881
57881
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
57882
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
57882
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
57883
57883
|
readonly type: "function";
|
|
57884
57884
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57885
57885
|
readonly inputs: readonly [{
|
|
@@ -58500,7 +58500,7 @@ declare const useLens: () => {
|
|
|
58500
58500
|
}];
|
|
58501
58501
|
readonly stateMutability: "pure";
|
|
58502
58502
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58503
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
58503
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
58504
58504
|
readonly type: "function";
|
|
58505
58505
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58506
58506
|
readonly inputs: readonly [{
|
|
@@ -59121,7 +59121,7 @@ declare const useLens: () => {
|
|
|
59121
59121
|
}];
|
|
59122
59122
|
readonly stateMutability: "pure";
|
|
59123
59123
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59124
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
59124
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
59125
59125
|
readonly type: "function";
|
|
59126
59126
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59127
59127
|
readonly inputs: readonly [{
|
|
@@ -59742,7 +59742,7 @@ declare const useLens: () => {
|
|
|
59742
59742
|
}];
|
|
59743
59743
|
readonly stateMutability: "pure";
|
|
59744
59744
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59745
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
59745
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
59746
59746
|
readonly type: "function";
|
|
59747
59747
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59748
59748
|
readonly inputs: readonly [{
|
|
@@ -60363,7 +60363,7 @@ declare const useLens: () => {
|
|
|
60363
60363
|
}];
|
|
60364
60364
|
readonly stateMutability: "pure";
|
|
60365
60365
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60366
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
60366
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
60367
60367
|
readonly type: "function";
|
|
60368
60368
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60369
60369
|
readonly inputs: readonly [{
|
|
@@ -60984,7 +60984,7 @@ declare const useLens: () => {
|
|
|
60984
60984
|
}];
|
|
60985
60985
|
readonly stateMutability: "pure";
|
|
60986
60986
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60987
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
60987
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
60988
60988
|
readonly type: "function";
|
|
60989
60989
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60990
60990
|
readonly inputs: readonly [{
|
|
@@ -61605,7 +61605,7 @@ declare const useLens: () => {
|
|
|
61605
61605
|
}];
|
|
61606
61606
|
readonly stateMutability: "pure";
|
|
61607
61607
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
61608
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
61608
|
+
getPriceAtTick: (args: readonly [number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
61609
61609
|
readonly type: "function";
|
|
61610
61610
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
61611
61611
|
readonly inputs: readonly [{
|
|
@@ -62862,4 +62862,4 @@ declare const useApproval: () => {
|
|
|
62862
62862
|
};
|
|
62863
62863
|
//#endregion
|
|
62864
62864
|
export { EMPTY_ARRAY as $, token1ToToken0 as A, uniswapMathLenses as At, useClosedUserPerps as B, getTickAtPrice as C, TimelockMarketData as Ct, roundTickDown as D, getTimelockMarket as Dt, liquiditiesToAmounts as E, getTimelockLens as Et, getPriceHistory as F, OptionTimelineData as G, usePerpsOperator as H, useSetOperatorPerms as I, useOptionPremium as J, useOptionTimeline as K, useUserOperators as L, PriceDataPoint as M, PriceResolution as N, roundTickUp as O, getUniswapMathLens as Ot, getCurrentPrice as P, Amount as Q, useOperatorPerms as R, getPriceSqrtPriceX96 as S, TimelockMarket as St, liquiditiesToAmount1 as T, getErc20 as Tt, useClosePerp as U, useUserPerps as V, useMintPerp as W, useMintOption as X, useOptionPnl as Y, useMaxPositionSize as Z, getPayoutAtTick as _, useClosedUserOptions as _t, batchGetAmountsFromLiquidity as a, scalePrice as at, getNearestValidStrikeTick as b, useTimelockConfig as bt, useLiquidityBlocks as c, wrapAmount as ct, usePriceAtTick as d, wrapPriceUnscaled as dt, formatAmount as et, usePriceSqrtPriceX96 as f, zero as ft, useCurrentPrice as g, useActiveUserOptions as gt, useCurrentTick as h, OptionData as ht, useVaultData as i, scaleAmount as it, PriceData as j, token0ToToken1 as k, timelockLenses as kt, useBurnLiquidity as l, wrapAmountUnscaled as lt, usePoolData as m, useExerciseOption as mt, useLens as n, formatUSD as nt, useMintLiquidity as o, unscaleAmount as ot, UniswapPoolData as p, useMarketData as pt, useExtendOption as q, useVaultTVL as r, formatVagueAmount as rt, LiquidityBlockData as s, unscalePrice as st, useApproval as t, formatCondensed as tt, usePriceHistory as u, wrapPrice as ut, PRICE_PRECISION as v, TimelockProvider as vt, liquiditiesToAmount0 as w, UniswapMathLens as wt, getPriceAtTick as x, TimelockLens as xt, getAmountsFromLiquidity as y, useCurrentMarket as yt, useActiveUserPerps as z };
|
|
62865
|
-
//# sourceMappingURL=client-
|
|
62865
|
+
//# sourceMappingURL=client-C5OVhky5.d.ts.map
|