timelock-sdk 0.0.4 → 0.0.6
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/package.cjs +1 -1
- package/dist/package.cjs.map +1 -1
- package/dist/package.d.cts +153 -153
- package/dist/package.d.ts +147 -147
- package/dist/package.js +1 -1
- package/dist/package.js.map +1 -1
- package/package.json +1 -1
package/dist/package.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "graphql";
|
|
2
2
|
import "graphql-request";
|
|
3
|
-
import
|
|
4
|
-
import * as viem116 from "viem";
|
|
3
|
+
import * as viem0 from "viem";
|
|
5
4
|
import { Address, Client, GetContractReturnType, PublicClient } from "viem";
|
|
6
|
-
import
|
|
5
|
+
import React, { ReactNode } from "react";
|
|
6
|
+
import * as _wagmi_core1 from "@wagmi/core";
|
|
7
7
|
import * as _tanstack_query_core1 from "@tanstack/query-core";
|
|
8
8
|
import Big from "big.js";
|
|
9
9
|
|
|
@@ -3616,7 +3616,7 @@ type TimelockLens = GetContractReturnType<typeof lensAbi, Client, Address>;
|
|
|
3616
3616
|
type UniswapMathLens = GetContractReturnType<typeof uniswapMathLensAbi, Client, Address>;
|
|
3617
3617
|
declare const getErc20: (address: Address, client: Client) => {
|
|
3618
3618
|
read: {
|
|
3619
|
-
symbol: (options?:
|
|
3619
|
+
symbol: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
3620
3620
|
readonly type: "constructor";
|
|
3621
3621
|
readonly inputs: readonly [{
|
|
3622
3622
|
readonly name: "name_";
|
|
@@ -3835,7 +3835,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3835
3835
|
}];
|
|
3836
3836
|
readonly anonymous: false;
|
|
3837
3837
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
3838
|
-
name: (options?:
|
|
3838
|
+
name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
3839
3839
|
readonly type: "constructor";
|
|
3840
3840
|
readonly inputs: readonly [{
|
|
3841
3841
|
readonly name: "name_";
|
|
@@ -4054,7 +4054,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4054
4054
|
}];
|
|
4055
4055
|
readonly anonymous: false;
|
|
4056
4056
|
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
4057
|
-
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
4057
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
4058
4058
|
readonly type: "constructor";
|
|
4059
4059
|
readonly inputs: readonly [{
|
|
4060
4060
|
readonly name: "name_";
|
|
@@ -4273,7 +4273,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4273
4273
|
}];
|
|
4274
4274
|
readonly anonymous: false;
|
|
4275
4275
|
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
4276
|
-
balanceOf: (args: readonly [`0x${string}`], options?:
|
|
4276
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
4277
4277
|
readonly type: "constructor";
|
|
4278
4278
|
readonly inputs: readonly [{
|
|
4279
4279
|
readonly name: "name_";
|
|
@@ -4492,7 +4492,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4492
4492
|
}];
|
|
4493
4493
|
readonly anonymous: false;
|
|
4494
4494
|
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
4495
|
-
decimals: (options?:
|
|
4495
|
+
decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
4496
4496
|
readonly type: "constructor";
|
|
4497
4497
|
readonly inputs: readonly [{
|
|
4498
4498
|
readonly name: "name_";
|
|
@@ -4711,7 +4711,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4711
4711
|
}];
|
|
4712
4712
|
readonly anonymous: false;
|
|
4713
4713
|
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
4714
|
-
totalSupply: (options?:
|
|
4714
|
+
totalSupply: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
4715
4715
|
readonly type: "constructor";
|
|
4716
4716
|
readonly inputs: readonly [{
|
|
4717
4717
|
readonly name: "name_";
|
|
@@ -4932,7 +4932,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4932
4932
|
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
4933
4933
|
};
|
|
4934
4934
|
estimateGas: {
|
|
4935
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
4935
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
4936
4936
|
readonly type: "constructor";
|
|
4937
4937
|
readonly inputs: readonly [{
|
|
4938
4938
|
readonly name: "name_";
|
|
@@ -5150,8 +5150,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5150
5150
|
readonly internalType: "uint256";
|
|
5151
5151
|
}];
|
|
5152
5152
|
readonly anonymous: false;
|
|
5153
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
5154
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
5153
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
5154
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
5155
5155
|
readonly type: "constructor";
|
|
5156
5156
|
readonly inputs: readonly [{
|
|
5157
5157
|
readonly name: "name_";
|
|
@@ -5369,8 +5369,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5369
5369
|
readonly internalType: "uint256";
|
|
5370
5370
|
}];
|
|
5371
5371
|
readonly anonymous: false;
|
|
5372
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
5373
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
5372
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
5373
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
5374
5374
|
readonly type: "constructor";
|
|
5375
5375
|
readonly inputs: readonly [{
|
|
5376
5376
|
readonly name: "name_";
|
|
@@ -5588,8 +5588,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5588
5588
|
readonly internalType: "uint256";
|
|
5589
5589
|
}];
|
|
5590
5590
|
readonly anonymous: false;
|
|
5591
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
5592
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
5591
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
5592
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
5593
5593
|
readonly type: "constructor";
|
|
5594
5594
|
readonly inputs: readonly [{
|
|
5595
5595
|
readonly name: "name_";
|
|
@@ -5807,8 +5807,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5807
5807
|
readonly internalType: "uint256";
|
|
5808
5808
|
}];
|
|
5809
5809
|
readonly anonymous: false;
|
|
5810
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
5811
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
5810
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
5811
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
5812
5812
|
readonly type: "constructor";
|
|
5813
5813
|
readonly inputs: readonly [{
|
|
5814
5814
|
readonly name: "name_";
|
|
@@ -6026,9 +6026,9 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
6026
6026
|
readonly internalType: "uint256";
|
|
6027
6027
|
}];
|
|
6028
6028
|
readonly anonymous: false;
|
|
6029
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
6029
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
6030
6030
|
} & {
|
|
6031
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
6031
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
6032
6032
|
readonly type: "constructor";
|
|
6033
6033
|
readonly inputs: readonly [{
|
|
6034
6034
|
readonly name: "name_";
|
|
@@ -6246,8 +6246,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
6246
6246
|
readonly internalType: "uint256";
|
|
6247
6247
|
}];
|
|
6248
6248
|
readonly anonymous: false;
|
|
6249
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
6250
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
6249
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
6250
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
6251
6251
|
readonly type: "constructor";
|
|
6252
6252
|
readonly inputs: readonly [{
|
|
6253
6253
|
readonly name: "name_";
|
|
@@ -6465,8 +6465,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
6465
6465
|
readonly internalType: "uint256";
|
|
6466
6466
|
}];
|
|
6467
6467
|
readonly anonymous: false;
|
|
6468
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
6469
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
6468
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
6469
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
6470
6470
|
readonly type: "constructor";
|
|
6471
6471
|
readonly inputs: readonly [{
|
|
6472
6472
|
readonly name: "name_";
|
|
@@ -6684,8 +6684,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
6684
6684
|
readonly internalType: "uint256";
|
|
6685
6685
|
}];
|
|
6686
6686
|
readonly anonymous: false;
|
|
6687
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
6688
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
6687
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
6688
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
6689
6689
|
readonly type: "constructor";
|
|
6690
6690
|
readonly inputs: readonly [{
|
|
6691
6691
|
readonly name: "name_";
|
|
@@ -6903,8 +6903,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
6903
6903
|
readonly internalType: "uint256";
|
|
6904
6904
|
}];
|
|
6905
6905
|
readonly anonymous: false;
|
|
6906
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
6907
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
6906
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
6907
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
6908
6908
|
readonly type: "constructor";
|
|
6909
6909
|
readonly inputs: readonly [{
|
|
6910
6910
|
readonly name: "name_";
|
|
@@ -7122,10 +7122,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
7122
7122
|
readonly internalType: "uint256";
|
|
7123
7123
|
}];
|
|
7124
7124
|
readonly anonymous: false;
|
|
7125
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
7125
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
7126
7126
|
};
|
|
7127
7127
|
simulate: {
|
|
7128
|
-
approve: <chainOverride extends
|
|
7128
|
+
approve: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
7129
7129
|
readonly type: "constructor";
|
|
7130
7130
|
readonly inputs: readonly [{
|
|
7131
7131
|
readonly name: "name_";
|
|
@@ -7343,7 +7343,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
7343
7343
|
readonly internalType: "uint256";
|
|
7344
7344
|
}];
|
|
7345
7345
|
readonly anonymous: false;
|
|
7346
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
7346
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
7347
7347
|
readonly type: "constructor";
|
|
7348
7348
|
readonly inputs: readonly [{
|
|
7349
7349
|
readonly name: "name_";
|
|
@@ -7561,8 +7561,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
7561
7561
|
readonly internalType: "uint256";
|
|
7562
7562
|
}];
|
|
7563
7563
|
readonly anonymous: false;
|
|
7564
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
7565
|
-
decreaseAllowance: <chainOverride extends
|
|
7564
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
7565
|
+
decreaseAllowance: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
7566
7566
|
readonly type: "constructor";
|
|
7567
7567
|
readonly inputs: readonly [{
|
|
7568
7568
|
readonly name: "name_";
|
|
@@ -7780,7 +7780,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
7780
7780
|
readonly internalType: "uint256";
|
|
7781
7781
|
}];
|
|
7782
7782
|
readonly anonymous: false;
|
|
7783
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
7783
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
7784
7784
|
readonly type: "constructor";
|
|
7785
7785
|
readonly inputs: readonly [{
|
|
7786
7786
|
readonly name: "name_";
|
|
@@ -7998,8 +7998,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
7998
7998
|
readonly internalType: "uint256";
|
|
7999
7999
|
}];
|
|
8000
8000
|
readonly anonymous: false;
|
|
8001
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
8002
|
-
increaseAllowance: <chainOverride extends
|
|
8001
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
8002
|
+
increaseAllowance: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
8003
8003
|
readonly type: "constructor";
|
|
8004
8004
|
readonly inputs: readonly [{
|
|
8005
8005
|
readonly name: "name_";
|
|
@@ -8217,7 +8217,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
8217
8217
|
readonly internalType: "uint256";
|
|
8218
8218
|
}];
|
|
8219
8219
|
readonly anonymous: false;
|
|
8220
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
8220
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
8221
8221
|
readonly type: "constructor";
|
|
8222
8222
|
readonly inputs: readonly [{
|
|
8223
8223
|
readonly name: "name_";
|
|
@@ -8435,8 +8435,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
8435
8435
|
readonly internalType: "uint256";
|
|
8436
8436
|
}];
|
|
8437
8437
|
readonly anonymous: false;
|
|
8438
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
8439
|
-
transfer: <chainOverride extends
|
|
8438
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
8439
|
+
transfer: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
8440
8440
|
readonly type: "constructor";
|
|
8441
8441
|
readonly inputs: readonly [{
|
|
8442
8442
|
readonly name: "name_";
|
|
@@ -8654,7 +8654,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
8654
8654
|
readonly internalType: "uint256";
|
|
8655
8655
|
}];
|
|
8656
8656
|
readonly anonymous: false;
|
|
8657
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
8657
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
8658
8658
|
readonly type: "constructor";
|
|
8659
8659
|
readonly inputs: readonly [{
|
|
8660
8660
|
readonly name: "name_";
|
|
@@ -8872,8 +8872,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
8872
8872
|
readonly internalType: "uint256";
|
|
8873
8873
|
}];
|
|
8874
8874
|
readonly anonymous: false;
|
|
8875
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
8876
|
-
transferFrom: <chainOverride extends
|
|
8875
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
8876
|
+
transferFrom: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
8877
8877
|
readonly type: "constructor";
|
|
8878
8878
|
readonly inputs: readonly [{
|
|
8879
8879
|
readonly name: "name_";
|
|
@@ -9091,7 +9091,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
9091
9091
|
readonly internalType: "uint256";
|
|
9092
9092
|
}];
|
|
9093
9093
|
readonly anonymous: false;
|
|
9094
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
9094
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
9095
9095
|
readonly type: "constructor";
|
|
9096
9096
|
readonly inputs: readonly [{
|
|
9097
9097
|
readonly name: "name_";
|
|
@@ -9309,7 +9309,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
9309
9309
|
readonly internalType: "uint256";
|
|
9310
9310
|
}];
|
|
9311
9311
|
readonly anonymous: false;
|
|
9312
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
9312
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
9313
9313
|
};
|
|
9314
9314
|
createEventFilter: {
|
|
9315
9315
|
Approval: <const args extends {
|
|
@@ -9325,11 +9325,11 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
9325
9325
|
owner?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9326
9326
|
spender?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9327
9327
|
} ? T extends args ? Readonly<args> : never : never : never), options?: ({
|
|
9328
|
-
fromBlock?: bigint |
|
|
9329
|
-
toBlock?: bigint |
|
|
9328
|
+
fromBlock?: bigint | viem0.BlockTag | undefined;
|
|
9329
|
+
toBlock?: bigint | viem0.BlockTag | undefined;
|
|
9330
9330
|
} & {
|
|
9331
9331
|
strict?: strict | undefined;
|
|
9332
|
-
}) | undefined) => Promise<
|
|
9332
|
+
}) | undefined) => Promise<viem0.CreateContractEventFilterReturnType<readonly [{
|
|
9333
9333
|
readonly type: "constructor";
|
|
9334
9334
|
readonly inputs: readonly [{
|
|
9335
9335
|
readonly name: "name_";
|
|
@@ -9561,11 +9561,11 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
9561
9561
|
from?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9562
9562
|
to?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9563
9563
|
} ? T extends args ? Readonly<args> : never : never : never), options?: ({
|
|
9564
|
-
fromBlock?: bigint |
|
|
9565
|
-
toBlock?: bigint |
|
|
9564
|
+
fromBlock?: bigint | viem0.BlockTag | undefined;
|
|
9565
|
+
toBlock?: bigint | viem0.BlockTag | undefined;
|
|
9566
9566
|
} & {
|
|
9567
9567
|
strict?: strict | undefined;
|
|
9568
|
-
}) | undefined) => Promise<
|
|
9568
|
+
}) | undefined) => Promise<viem0.CreateContractEventFilterReturnType<readonly [{
|
|
9569
9569
|
readonly type: "constructor";
|
|
9570
9570
|
readonly inputs: readonly [{
|
|
9571
9571
|
readonly name: "name_";
|
|
@@ -9791,10 +9791,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
9791
9791
|
spender?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9792
9792
|
} | undefined, options?: {
|
|
9793
9793
|
strict?: boolean | undefined;
|
|
9794
|
-
fromBlock?: bigint |
|
|
9795
|
-
toBlock?: bigint |
|
|
9794
|
+
fromBlock?: bigint | viem0.BlockTag | undefined;
|
|
9795
|
+
toBlock?: bigint | viem0.BlockTag | undefined;
|
|
9796
9796
|
blockHash?: `0x${string}` | undefined;
|
|
9797
|
-
} | undefined) => Promise<
|
|
9797
|
+
} | undefined) => Promise<viem0.GetContractEventsReturnType<readonly [{
|
|
9798
9798
|
readonly type: "constructor";
|
|
9799
9799
|
readonly inputs: readonly [{
|
|
9800
9800
|
readonly name: "name_";
|
|
@@ -10018,10 +10018,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
10018
10018
|
to?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
10019
10019
|
} | undefined, options?: {
|
|
10020
10020
|
strict?: boolean | undefined;
|
|
10021
|
-
fromBlock?: bigint |
|
|
10022
|
-
toBlock?: bigint |
|
|
10021
|
+
fromBlock?: bigint | viem0.BlockTag | undefined;
|
|
10022
|
+
toBlock?: bigint | viem0.BlockTag | undefined;
|
|
10023
10023
|
blockHash?: `0x${string}` | undefined;
|
|
10024
|
-
} | undefined) => Promise<
|
|
10024
|
+
} | undefined) => Promise<viem0.GetContractEventsReturnType<readonly [{
|
|
10025
10025
|
readonly type: "constructor";
|
|
10026
10026
|
readonly inputs: readonly [{
|
|
10027
10027
|
readonly name: "name_";
|
|
@@ -10251,7 +10251,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
10251
10251
|
strict?: boolean | undefined;
|
|
10252
10252
|
fromBlock?: bigint | undefined;
|
|
10253
10253
|
onError?: ((error: Error) => void) | undefined | undefined;
|
|
10254
|
-
onLogs:
|
|
10254
|
+
onLogs: viem0.WatchContractEventOnLogsFn<readonly [{
|
|
10255
10255
|
readonly type: "constructor";
|
|
10256
10256
|
readonly inputs: readonly [{
|
|
10257
10257
|
readonly name: "name_";
|
|
@@ -10471,7 +10471,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
10471
10471
|
readonly anonymous: false;
|
|
10472
10472
|
}], "Approval", undefined>;
|
|
10473
10473
|
poll?: true | undefined | undefined;
|
|
10474
|
-
}) =>
|
|
10474
|
+
}) => viem0.WatchContractEventReturnType;
|
|
10475
10475
|
Transfer: (args: {
|
|
10476
10476
|
from?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
10477
10477
|
to?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
@@ -10481,7 +10481,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
10481
10481
|
strict?: boolean | undefined;
|
|
10482
10482
|
fromBlock?: bigint | undefined;
|
|
10483
10483
|
onError?: ((error: Error) => void) | undefined | undefined;
|
|
10484
|
-
onLogs:
|
|
10484
|
+
onLogs: viem0.WatchContractEventOnLogsFn<readonly [{
|
|
10485
10485
|
readonly type: "constructor";
|
|
10486
10486
|
readonly inputs: readonly [{
|
|
10487
10487
|
readonly name: "name_";
|
|
@@ -10701,10 +10701,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
10701
10701
|
readonly anonymous: false;
|
|
10702
10702
|
}], "Transfer", undefined>;
|
|
10703
10703
|
poll?: true | undefined | undefined;
|
|
10704
|
-
}) =>
|
|
10704
|
+
}) => viem0.WatchContractEventReturnType;
|
|
10705
10705
|
};
|
|
10706
10706
|
write: {
|
|
10707
|
-
approve: <chainOverride extends
|
|
10707
|
+
approve: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
10708
10708
|
readonly type: "constructor";
|
|
10709
10709
|
readonly inputs: readonly [{
|
|
10710
10710
|
readonly name: "name_";
|
|
@@ -10922,8 +10922,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
10922
10922
|
readonly internalType: "uint256";
|
|
10923
10923
|
}];
|
|
10924
10924
|
readonly anonymous: false;
|
|
10925
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
10926
|
-
decreaseAllowance: <chainOverride extends
|
|
10925
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
10926
|
+
decreaseAllowance: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
10927
10927
|
readonly type: "constructor";
|
|
10928
10928
|
readonly inputs: readonly [{
|
|
10929
10929
|
readonly name: "name_";
|
|
@@ -11141,8 +11141,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
11141
11141
|
readonly internalType: "uint256";
|
|
11142
11142
|
}];
|
|
11143
11143
|
readonly anonymous: false;
|
|
11144
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
11145
|
-
increaseAllowance: <chainOverride extends
|
|
11144
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
11145
|
+
increaseAllowance: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
11146
11146
|
readonly type: "constructor";
|
|
11147
11147
|
readonly inputs: readonly [{
|
|
11148
11148
|
readonly name: "name_";
|
|
@@ -11360,8 +11360,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
11360
11360
|
readonly internalType: "uint256";
|
|
11361
11361
|
}];
|
|
11362
11362
|
readonly anonymous: false;
|
|
11363
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
11364
|
-
transfer: <chainOverride extends
|
|
11363
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
11364
|
+
transfer: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
11365
11365
|
readonly type: "constructor";
|
|
11366
11366
|
readonly inputs: readonly [{
|
|
11367
11367
|
readonly name: "name_";
|
|
@@ -11579,8 +11579,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
11579
11579
|
readonly internalType: "uint256";
|
|
11580
11580
|
}];
|
|
11581
11581
|
readonly anonymous: false;
|
|
11582
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
11583
|
-
transferFrom: <chainOverride extends
|
|
11582
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
11583
|
+
transferFrom: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
11584
11584
|
readonly type: "constructor";
|
|
11585
11585
|
readonly inputs: readonly [{
|
|
11586
11586
|
readonly name: "name_";
|
|
@@ -11798,7 +11798,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
11798
11798
|
readonly internalType: "uint256";
|
|
11799
11799
|
}];
|
|
11800
11800
|
readonly anonymous: false;
|
|
11801
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
11801
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, `0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
11802
11802
|
};
|
|
11803
11803
|
address: `0x${string}`;
|
|
11804
11804
|
abi: readonly [{
|
|
@@ -12026,7 +12026,7 @@ declare const getTimelockMarket: (address: Address, client: Client) => TimelockM
|
|
|
12026
12026
|
declare const getUniswapPool: (address: Address, client: Client) => UniswapPool;
|
|
12027
12027
|
declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
12028
12028
|
read: {
|
|
12029
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
12029
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
12030
12030
|
readonly type: "function";
|
|
12031
12031
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12032
12032
|
readonly inputs: readonly [{
|
|
@@ -12647,7 +12647,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12647
12647
|
}];
|
|
12648
12648
|
readonly stateMutability: "pure";
|
|
12649
12649
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12650
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
12650
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
12651
12651
|
readonly type: "function";
|
|
12652
12652
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12653
12653
|
readonly inputs: readonly [{
|
|
@@ -13268,7 +13268,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
13268
13268
|
}];
|
|
13269
13269
|
readonly stateMutability: "pure";
|
|
13270
13270
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13271
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
13271
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
13272
13272
|
readonly type: "function";
|
|
13273
13273
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13274
13274
|
readonly inputs: readonly [{
|
|
@@ -13889,7 +13889,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
13889
13889
|
}];
|
|
13890
13890
|
readonly stateMutability: "pure";
|
|
13891
13891
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13892
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
13892
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
13893
13893
|
readonly type: "function";
|
|
13894
13894
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13895
13895
|
readonly inputs: readonly [{
|
|
@@ -14510,7 +14510,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14510
14510
|
}];
|
|
14511
14511
|
readonly stateMutability: "pure";
|
|
14512
14512
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14513
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
14513
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
14514
14514
|
readonly type: "function";
|
|
14515
14515
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14516
14516
|
readonly inputs: readonly [{
|
|
@@ -15131,7 +15131,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15131
15131
|
}];
|
|
15132
15132
|
readonly stateMutability: "pure";
|
|
15133
15133
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
15134
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
15134
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15135
15135
|
readonly type: "function";
|
|
15136
15136
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15137
15137
|
readonly inputs: readonly [{
|
|
@@ -15752,7 +15752,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15752
15752
|
}];
|
|
15753
15753
|
readonly stateMutability: "pure";
|
|
15754
15754
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
15755
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
15755
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15756
15756
|
readonly type: "function";
|
|
15757
15757
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15758
15758
|
readonly inputs: readonly [{
|
|
@@ -16373,7 +16373,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
16373
16373
|
}];
|
|
16374
16374
|
readonly stateMutability: "pure";
|
|
16375
16375
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
16376
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
16376
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
16377
16377
|
readonly type: "function";
|
|
16378
16378
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16379
16379
|
readonly inputs: readonly [{
|
|
@@ -16994,7 +16994,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
16994
16994
|
}];
|
|
16995
16995
|
readonly stateMutability: "pure";
|
|
16996
16996
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
16997
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
16997
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
16998
16998
|
readonly type: "function";
|
|
16999
16999
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17000
17000
|
readonly inputs: readonly [{
|
|
@@ -17615,7 +17615,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17615
17615
|
}];
|
|
17616
17616
|
readonly stateMutability: "pure";
|
|
17617
17617
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17618
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
17618
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
17619
17619
|
readonly type: "function";
|
|
17620
17620
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17621
17621
|
readonly inputs: readonly [{
|
|
@@ -18236,7 +18236,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
18236
18236
|
}];
|
|
18237
18237
|
readonly stateMutability: "pure";
|
|
18238
18238
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18239
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
18239
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
18240
18240
|
readonly type: "function";
|
|
18241
18241
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18242
18242
|
readonly inputs: readonly [{
|
|
@@ -18857,7 +18857,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
18857
18857
|
}];
|
|
18858
18858
|
readonly stateMutability: "pure";
|
|
18859
18859
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18860
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
18860
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
18861
18861
|
readonly type: "function";
|
|
18862
18862
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18863
18863
|
readonly inputs: readonly [{
|
|
@@ -19478,7 +19478,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19478
19478
|
}];
|
|
19479
19479
|
readonly stateMutability: "pure";
|
|
19480
19480
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19481
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
19481
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
19482
19482
|
readonly type: "function";
|
|
19483
19483
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19484
19484
|
readonly inputs: readonly [{
|
|
@@ -20099,7 +20099,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20099
20099
|
}];
|
|
20100
20100
|
readonly stateMutability: "pure";
|
|
20101
20101
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20102
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
20102
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
20103
20103
|
readonly type: "function";
|
|
20104
20104
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20105
20105
|
readonly inputs: readonly [{
|
|
@@ -20720,7 +20720,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20720
20720
|
}];
|
|
20721
20721
|
readonly stateMutability: "pure";
|
|
20722
20722
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20723
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
20723
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
20724
20724
|
readonly type: "function";
|
|
20725
20725
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20726
20726
|
readonly inputs: readonly [{
|
|
@@ -21341,7 +21341,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
21341
21341
|
}];
|
|
21342
21342
|
readonly stateMutability: "pure";
|
|
21343
21343
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21344
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
21344
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
21345
21345
|
readonly type: "function";
|
|
21346
21346
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21347
21347
|
readonly inputs: readonly [{
|
|
@@ -21962,7 +21962,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
21962
21962
|
}];
|
|
21963
21963
|
readonly stateMutability: "pure";
|
|
21964
21964
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21965
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
21965
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
21966
21966
|
readonly type: "function";
|
|
21967
21967
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21968
21968
|
readonly inputs: readonly [{
|
|
@@ -22583,7 +22583,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
22583
22583
|
}];
|
|
22584
22584
|
readonly stateMutability: "pure";
|
|
22585
22585
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22586
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
22586
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
22587
22587
|
readonly type: "function";
|
|
22588
22588
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22589
22589
|
readonly inputs: readonly [{
|
|
@@ -23204,7 +23204,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
23204
23204
|
}];
|
|
23205
23205
|
readonly stateMutability: "pure";
|
|
23206
23206
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
23207
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
23207
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23208
23208
|
readonly type: "function";
|
|
23209
23209
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23210
23210
|
readonly inputs: readonly [{
|
|
@@ -23825,7 +23825,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
23825
23825
|
}];
|
|
23826
23826
|
readonly stateMutability: "pure";
|
|
23827
23827
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
23828
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
23828
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23829
23829
|
readonly type: "function";
|
|
23830
23830
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23831
23831
|
readonly inputs: readonly [{
|
|
@@ -24446,7 +24446,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
24446
24446
|
}];
|
|
24447
24447
|
readonly stateMutability: "pure";
|
|
24448
24448
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
24449
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
24449
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
24450
24450
|
readonly type: "function";
|
|
24451
24451
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24452
24452
|
readonly inputs: readonly [{
|
|
@@ -25067,7 +25067,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
25067
25067
|
}];
|
|
25068
25068
|
readonly stateMutability: "pure";
|
|
25069
25069
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25070
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
25070
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25071
25071
|
readonly type: "function";
|
|
25072
25072
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25073
25073
|
readonly inputs: readonly [{
|
|
@@ -25688,7 +25688,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
25688
25688
|
}];
|
|
25689
25689
|
readonly stateMutability: "pure";
|
|
25690
25690
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25691
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
25691
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25692
25692
|
readonly type: "function";
|
|
25693
25693
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25694
25694
|
readonly inputs: readonly [{
|
|
@@ -26309,7 +26309,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
26309
26309
|
}];
|
|
26310
26310
|
readonly stateMutability: "pure";
|
|
26311
26311
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26312
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
26312
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26313
26313
|
readonly type: "function";
|
|
26314
26314
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26315
26315
|
readonly inputs: readonly [{
|
|
@@ -26930,7 +26930,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
26930
26930
|
}];
|
|
26931
26931
|
readonly stateMutability: "pure";
|
|
26932
26932
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26933
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
26933
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26934
26934
|
readonly type: "function";
|
|
26935
26935
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26936
26936
|
readonly inputs: readonly [{
|
|
@@ -27551,7 +27551,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
27551
27551
|
}];
|
|
27552
27552
|
readonly stateMutability: "pure";
|
|
27553
27553
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27554
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
27554
|
+
getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
27555
27555
|
readonly type: "function";
|
|
27556
27556
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27557
27557
|
readonly inputs: readonly [{
|
|
@@ -28798,7 +28798,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
28798
28798
|
};
|
|
28799
28799
|
declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
28800
28800
|
read: {
|
|
28801
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
28801
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
28802
28802
|
readonly type: "function";
|
|
28803
28803
|
readonly name: "batchGetRefTick";
|
|
28804
28804
|
readonly inputs: readonly [{
|
|
@@ -29500,7 +29500,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29500
29500
|
}];
|
|
29501
29501
|
readonly stateMutability: "view";
|
|
29502
29502
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
29503
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
29503
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
29504
29504
|
readonly type: "function";
|
|
29505
29505
|
readonly name: "batchGetRefTick";
|
|
29506
29506
|
readonly inputs: readonly [{
|
|
@@ -30212,7 +30212,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30212
30212
|
borrowedAmount0: bigint;
|
|
30213
30213
|
borrowedAmount1: bigint;
|
|
30214
30214
|
}[]>;
|
|
30215
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
30215
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
30216
30216
|
readonly type: "function";
|
|
30217
30217
|
readonly name: "batchGetRefTick";
|
|
30218
30218
|
readonly inputs: readonly [{
|
|
@@ -30933,7 +30933,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30933
30933
|
createdAt: bigint;
|
|
30934
30934
|
liquidities: readonly bigint[];
|
|
30935
30935
|
}[], bigint, boolean]>;
|
|
30936
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
30936
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
30937
30937
|
readonly type: "function";
|
|
30938
30938
|
readonly name: "batchGetRefTick";
|
|
30939
30939
|
readonly inputs: readonly [{
|
|
@@ -31635,7 +31635,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
31635
31635
|
}];
|
|
31636
31636
|
readonly stateMutability: "view";
|
|
31637
31637
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
31638
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
31638
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
31639
31639
|
readonly type: "function";
|
|
31640
31640
|
readonly name: "batchGetRefTick";
|
|
31641
31641
|
readonly inputs: readonly [{
|
|
@@ -32350,7 +32350,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
32350
32350
|
payoutAssetName: string;
|
|
32351
32351
|
optionsCount: bigint;
|
|
32352
32352
|
}>;
|
|
32353
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
32353
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
32354
32354
|
readonly type: "function";
|
|
32355
32355
|
readonly name: "batchGetRefTick";
|
|
32356
32356
|
readonly inputs: readonly [{
|
|
@@ -33052,7 +33052,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
33052
33052
|
}];
|
|
33053
33053
|
readonly stateMutability: "view";
|
|
33054
33054
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
33055
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
33055
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
33056
33056
|
readonly type: "function";
|
|
33057
33057
|
readonly name: "batchGetRefTick";
|
|
33058
33058
|
readonly inputs: readonly [{
|
|
@@ -33754,7 +33754,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
33754
33754
|
}];
|
|
33755
33755
|
readonly stateMutability: "view";
|
|
33756
33756
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
33757
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
33757
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
33758
33758
|
readonly type: "function";
|
|
33759
33759
|
readonly name: "batchGetRefTick";
|
|
33760
33760
|
readonly inputs: readonly [{
|
|
@@ -34475,7 +34475,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
34475
34475
|
createdAt: bigint;
|
|
34476
34476
|
liquidities: readonly bigint[];
|
|
34477
34477
|
}>;
|
|
34478
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
34478
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
34479
34479
|
readonly type: "function";
|
|
34480
34480
|
readonly name: "batchGetRefTick";
|
|
34481
34481
|
readonly inputs: readonly [{
|
|
@@ -35196,7 +35196,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
35196
35196
|
createdAt: bigint;
|
|
35197
35197
|
liquidities: readonly bigint[];
|
|
35198
35198
|
}[]>;
|
|
35199
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
35199
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
35200
35200
|
readonly type: "function";
|
|
35201
35201
|
readonly name: "batchGetRefTick";
|
|
35202
35202
|
readonly inputs: readonly [{
|
|
@@ -35909,7 +35909,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
35909
35909
|
tickSpacing: number;
|
|
35910
35910
|
fee: number;
|
|
35911
35911
|
}>;
|
|
35912
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
35912
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
35913
35913
|
readonly type: "function";
|
|
35914
35914
|
readonly name: "batchGetRefTick";
|
|
35915
35915
|
readonly inputs: readonly [{
|
|
@@ -36611,7 +36611,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
36611
36611
|
}];
|
|
36612
36612
|
readonly stateMutability: "view";
|
|
36613
36613
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
36614
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
36614
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
36615
36615
|
readonly type: "function";
|
|
36616
36616
|
readonly name: "batchGetRefTick";
|
|
36617
36617
|
readonly inputs: readonly [{
|
|
@@ -37332,7 +37332,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
37332
37332
|
createdAt: bigint;
|
|
37333
37333
|
liquidities: readonly bigint[];
|
|
37334
37334
|
}[], bigint, boolean]>;
|
|
37335
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
37335
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
37336
37336
|
readonly type: "function";
|
|
37337
37337
|
readonly name: "batchGetRefTick";
|
|
37338
37338
|
readonly inputs: readonly [{
|
|
@@ -38804,7 +38804,7 @@ declare const useExerciseOption: (market?: Address | TimelockMarket) => {
|
|
|
38804
38804
|
isPending: boolean;
|
|
38805
38805
|
isConfirming: boolean;
|
|
38806
38806
|
isSuccess: boolean;
|
|
38807
|
-
error:
|
|
38807
|
+
error: _wagmi_core1.WriteContractErrorType | null;
|
|
38808
38808
|
isLoading: boolean;
|
|
38809
38809
|
};
|
|
38810
38810
|
//#endregion
|
|
@@ -38822,7 +38822,7 @@ declare const useMintOption: (market?: Address | TimelockMarket) => {
|
|
|
38822
38822
|
isPending: boolean;
|
|
38823
38823
|
isConfirming: boolean;
|
|
38824
38824
|
isSuccess: boolean;
|
|
38825
|
-
error:
|
|
38825
|
+
error: _wagmi_core1.WriteContractErrorType | null;
|
|
38826
38826
|
isLoading: boolean;
|
|
38827
38827
|
};
|
|
38828
38828
|
//#endregion
|
|
@@ -40631,7 +40631,7 @@ declare const useBurnLiquidity: (vault?: Address | TimelockVault) => {
|
|
|
40631
40631
|
isPending: boolean;
|
|
40632
40632
|
isConfirming: boolean;
|
|
40633
40633
|
isSuccess: boolean;
|
|
40634
|
-
error:
|
|
40634
|
+
error: _wagmi_core1.WriteContractErrorType | null;
|
|
40635
40635
|
isLoading: boolean;
|
|
40636
40636
|
};
|
|
40637
40637
|
//#endregion
|
|
@@ -40686,7 +40686,7 @@ declare const useMintLiquidity: (vault?: Address | TimelockVault) => {
|
|
|
40686
40686
|
isPending: boolean;
|
|
40687
40687
|
isConfirming: boolean;
|
|
40688
40688
|
isSuccess: boolean;
|
|
40689
|
-
error:
|
|
40689
|
+
error: _wagmi_core1.WriteContractErrorType | null;
|
|
40690
40690
|
isLoading: boolean;
|
|
40691
40691
|
};
|
|
40692
40692
|
//#endregion
|
|
@@ -40703,14 +40703,14 @@ declare const useVaultTVL: (vault?: Address | TimelockVault) => {
|
|
|
40703
40703
|
totalAmount1: Amount | undefined;
|
|
40704
40704
|
borrowedAmount0: Amount | undefined;
|
|
40705
40705
|
borrowedAmount1: Amount | undefined;
|
|
40706
|
-
refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint],
|
|
40706
|
+
refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
|
|
40707
40707
|
};
|
|
40708
40708
|
//#endregion
|
|
40709
40709
|
//#region src/hooks/useLens.d.ts
|
|
40710
40710
|
declare const useLens: () => {
|
|
40711
40711
|
uniswapLens: {
|
|
40712
40712
|
read: {
|
|
40713
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
40713
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
40714
40714
|
readonly type: "function";
|
|
40715
40715
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
40716
40716
|
readonly inputs: readonly [{
|
|
@@ -41331,7 +41331,7 @@ declare const useLens: () => {
|
|
|
41331
41331
|
}];
|
|
41332
41332
|
readonly stateMutability: "pure";
|
|
41333
41333
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
41334
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
41334
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
41335
41335
|
readonly type: "function";
|
|
41336
41336
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
41337
41337
|
readonly inputs: readonly [{
|
|
@@ -41952,7 +41952,7 @@ declare const useLens: () => {
|
|
|
41952
41952
|
}];
|
|
41953
41953
|
readonly stateMutability: "pure";
|
|
41954
41954
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
41955
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
41955
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
41956
41956
|
readonly type: "function";
|
|
41957
41957
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
41958
41958
|
readonly inputs: readonly [{
|
|
@@ -42573,7 +42573,7 @@ declare const useLens: () => {
|
|
|
42573
42573
|
}];
|
|
42574
42574
|
readonly stateMutability: "pure";
|
|
42575
42575
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
42576
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
42576
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
42577
42577
|
readonly type: "function";
|
|
42578
42578
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
42579
42579
|
readonly inputs: readonly [{
|
|
@@ -43194,7 +43194,7 @@ declare const useLens: () => {
|
|
|
43194
43194
|
}];
|
|
43195
43195
|
readonly stateMutability: "pure";
|
|
43196
43196
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
43197
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
43197
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
43198
43198
|
readonly type: "function";
|
|
43199
43199
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
43200
43200
|
readonly inputs: readonly [{
|
|
@@ -43815,7 +43815,7 @@ declare const useLens: () => {
|
|
|
43815
43815
|
}];
|
|
43816
43816
|
readonly stateMutability: "pure";
|
|
43817
43817
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
43818
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
43818
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
43819
43819
|
readonly type: "function";
|
|
43820
43820
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
43821
43821
|
readonly inputs: readonly [{
|
|
@@ -44436,7 +44436,7 @@ declare const useLens: () => {
|
|
|
44436
44436
|
}];
|
|
44437
44437
|
readonly stateMutability: "pure";
|
|
44438
44438
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
44439
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
44439
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
44440
44440
|
readonly type: "function";
|
|
44441
44441
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
44442
44442
|
readonly inputs: readonly [{
|
|
@@ -45057,7 +45057,7 @@ declare const useLens: () => {
|
|
|
45057
45057
|
}];
|
|
45058
45058
|
readonly stateMutability: "pure";
|
|
45059
45059
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
45060
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
45060
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
45061
45061
|
readonly type: "function";
|
|
45062
45062
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
45063
45063
|
readonly inputs: readonly [{
|
|
@@ -45678,7 +45678,7 @@ declare const useLens: () => {
|
|
|
45678
45678
|
}];
|
|
45679
45679
|
readonly stateMutability: "pure";
|
|
45680
45680
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
45681
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
45681
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
45682
45682
|
readonly type: "function";
|
|
45683
45683
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
45684
45684
|
readonly inputs: readonly [{
|
|
@@ -46299,7 +46299,7 @@ declare const useLens: () => {
|
|
|
46299
46299
|
}];
|
|
46300
46300
|
readonly stateMutability: "pure";
|
|
46301
46301
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46302
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
46302
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
46303
46303
|
readonly type: "function";
|
|
46304
46304
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46305
46305
|
readonly inputs: readonly [{
|
|
@@ -46920,7 +46920,7 @@ declare const useLens: () => {
|
|
|
46920
46920
|
}];
|
|
46921
46921
|
readonly stateMutability: "pure";
|
|
46922
46922
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46923
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
46923
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
46924
46924
|
readonly type: "function";
|
|
46925
46925
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46926
46926
|
readonly inputs: readonly [{
|
|
@@ -47541,7 +47541,7 @@ declare const useLens: () => {
|
|
|
47541
47541
|
}];
|
|
47542
47542
|
readonly stateMutability: "pure";
|
|
47543
47543
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47544
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
47544
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
47545
47545
|
readonly type: "function";
|
|
47546
47546
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47547
47547
|
readonly inputs: readonly [{
|
|
@@ -48162,7 +48162,7 @@ declare const useLens: () => {
|
|
|
48162
48162
|
}];
|
|
48163
48163
|
readonly stateMutability: "pure";
|
|
48164
48164
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
48165
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
48165
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
48166
48166
|
readonly type: "function";
|
|
48167
48167
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48168
48168
|
readonly inputs: readonly [{
|
|
@@ -48783,7 +48783,7 @@ declare const useLens: () => {
|
|
|
48783
48783
|
}];
|
|
48784
48784
|
readonly stateMutability: "pure";
|
|
48785
48785
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
48786
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
48786
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
48787
48787
|
readonly type: "function";
|
|
48788
48788
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48789
48789
|
readonly inputs: readonly [{
|
|
@@ -49404,7 +49404,7 @@ declare const useLens: () => {
|
|
|
49404
49404
|
}];
|
|
49405
49405
|
readonly stateMutability: "pure";
|
|
49406
49406
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
49407
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
49407
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
49408
49408
|
readonly type: "function";
|
|
49409
49409
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49410
49410
|
readonly inputs: readonly [{
|
|
@@ -50025,7 +50025,7 @@ declare const useLens: () => {
|
|
|
50025
50025
|
}];
|
|
50026
50026
|
readonly stateMutability: "pure";
|
|
50027
50027
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
50028
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
50028
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
50029
50029
|
readonly type: "function";
|
|
50030
50030
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50031
50031
|
readonly inputs: readonly [{
|
|
@@ -50646,7 +50646,7 @@ declare const useLens: () => {
|
|
|
50646
50646
|
}];
|
|
50647
50647
|
readonly stateMutability: "pure";
|
|
50648
50648
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
50649
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
50649
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
50650
50650
|
readonly type: "function";
|
|
50651
50651
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50652
50652
|
readonly inputs: readonly [{
|
|
@@ -51267,7 +51267,7 @@ declare const useLens: () => {
|
|
|
51267
51267
|
}];
|
|
51268
51268
|
readonly stateMutability: "pure";
|
|
51269
51269
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
51270
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
51270
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
51271
51271
|
readonly type: "function";
|
|
51272
51272
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51273
51273
|
readonly inputs: readonly [{
|
|
@@ -51888,7 +51888,7 @@ declare const useLens: () => {
|
|
|
51888
51888
|
}];
|
|
51889
51889
|
readonly stateMutability: "pure";
|
|
51890
51890
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
51891
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
51891
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
51892
51892
|
readonly type: "function";
|
|
51893
51893
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51894
51894
|
readonly inputs: readonly [{
|
|
@@ -52509,7 +52509,7 @@ declare const useLens: () => {
|
|
|
52509
52509
|
}];
|
|
52510
52510
|
readonly stateMutability: "pure";
|
|
52511
52511
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
52512
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
52512
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
52513
52513
|
readonly type: "function";
|
|
52514
52514
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52515
52515
|
readonly inputs: readonly [{
|
|
@@ -53130,7 +53130,7 @@ declare const useLens: () => {
|
|
|
53130
53130
|
}];
|
|
53131
53131
|
readonly stateMutability: "pure";
|
|
53132
53132
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
53133
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
53133
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
53134
53134
|
readonly type: "function";
|
|
53135
53135
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53136
53136
|
readonly inputs: readonly [{
|
|
@@ -53751,7 +53751,7 @@ declare const useLens: () => {
|
|
|
53751
53751
|
}];
|
|
53752
53752
|
readonly stateMutability: "pure";
|
|
53753
53753
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
53754
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
53754
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
53755
53755
|
readonly type: "function";
|
|
53756
53756
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53757
53757
|
readonly inputs: readonly [{
|
|
@@ -54372,7 +54372,7 @@ declare const useLens: () => {
|
|
|
54372
54372
|
}];
|
|
54373
54373
|
readonly stateMutability: "pure";
|
|
54374
54374
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54375
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
54375
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
54376
54376
|
readonly type: "function";
|
|
54377
54377
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54378
54378
|
readonly inputs: readonly [{
|
|
@@ -54993,7 +54993,7 @@ declare const useLens: () => {
|
|
|
54993
54993
|
}];
|
|
54994
54994
|
readonly stateMutability: "pure";
|
|
54995
54995
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54996
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
54996
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
54997
54997
|
readonly type: "function";
|
|
54998
54998
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54999
54999
|
readonly inputs: readonly [{
|
|
@@ -55614,7 +55614,7 @@ declare const useLens: () => {
|
|
|
55614
55614
|
}];
|
|
55615
55615
|
readonly stateMutability: "pure";
|
|
55616
55616
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55617
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
55617
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
55618
55618
|
readonly type: "function";
|
|
55619
55619
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55620
55620
|
readonly inputs: readonly [{
|
|
@@ -56235,7 +56235,7 @@ declare const useLens: () => {
|
|
|
56235
56235
|
}];
|
|
56236
56236
|
readonly stateMutability: "pure";
|
|
56237
56237
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
56238
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
56238
|
+
getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
56239
56239
|
readonly type: "function";
|
|
56240
56240
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56241
56241
|
readonly inputs: readonly [{
|
|
@@ -57482,7 +57482,7 @@ declare const useLens: () => {
|
|
|
57482
57482
|
} | undefined;
|
|
57483
57483
|
timelockLens: {
|
|
57484
57484
|
read: {
|
|
57485
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
57485
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
57486
57486
|
readonly type: "function";
|
|
57487
57487
|
readonly name: "batchGetRefTick";
|
|
57488
57488
|
readonly inputs: readonly [{
|
|
@@ -58184,7 +58184,7 @@ declare const useLens: () => {
|
|
|
58184
58184
|
}];
|
|
58185
58185
|
readonly stateMutability: "view";
|
|
58186
58186
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
58187
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
58187
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
58188
58188
|
readonly type: "function";
|
|
58189
58189
|
readonly name: "batchGetRefTick";
|
|
58190
58190
|
readonly inputs: readonly [{
|
|
@@ -58896,7 +58896,7 @@ declare const useLens: () => {
|
|
|
58896
58896
|
borrowedAmount0: bigint;
|
|
58897
58897
|
borrowedAmount1: bigint;
|
|
58898
58898
|
}[]>;
|
|
58899
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
58899
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
58900
58900
|
readonly type: "function";
|
|
58901
58901
|
readonly name: "batchGetRefTick";
|
|
58902
58902
|
readonly inputs: readonly [{
|
|
@@ -59617,7 +59617,7 @@ declare const useLens: () => {
|
|
|
59617
59617
|
createdAt: bigint;
|
|
59618
59618
|
liquidities: readonly bigint[];
|
|
59619
59619
|
}[], bigint, boolean]>;
|
|
59620
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
59620
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
59621
59621
|
readonly type: "function";
|
|
59622
59622
|
readonly name: "batchGetRefTick";
|
|
59623
59623
|
readonly inputs: readonly [{
|
|
@@ -60319,7 +60319,7 @@ declare const useLens: () => {
|
|
|
60319
60319
|
}];
|
|
60320
60320
|
readonly stateMutability: "view";
|
|
60321
60321
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
60322
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
60322
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
60323
60323
|
readonly type: "function";
|
|
60324
60324
|
readonly name: "batchGetRefTick";
|
|
60325
60325
|
readonly inputs: readonly [{
|
|
@@ -61034,7 +61034,7 @@ declare const useLens: () => {
|
|
|
61034
61034
|
payoutAssetName: string;
|
|
61035
61035
|
optionsCount: bigint;
|
|
61036
61036
|
}>;
|
|
61037
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
61037
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
61038
61038
|
readonly type: "function";
|
|
61039
61039
|
readonly name: "batchGetRefTick";
|
|
61040
61040
|
readonly inputs: readonly [{
|
|
@@ -61736,7 +61736,7 @@ declare const useLens: () => {
|
|
|
61736
61736
|
}];
|
|
61737
61737
|
readonly stateMutability: "view";
|
|
61738
61738
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
61739
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
61739
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
61740
61740
|
readonly type: "function";
|
|
61741
61741
|
readonly name: "batchGetRefTick";
|
|
61742
61742
|
readonly inputs: readonly [{
|
|
@@ -62438,7 +62438,7 @@ declare const useLens: () => {
|
|
|
62438
62438
|
}];
|
|
62439
62439
|
readonly stateMutability: "view";
|
|
62440
62440
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
62441
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
62441
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
62442
62442
|
readonly type: "function";
|
|
62443
62443
|
readonly name: "batchGetRefTick";
|
|
62444
62444
|
readonly inputs: readonly [{
|
|
@@ -63159,7 +63159,7 @@ declare const useLens: () => {
|
|
|
63159
63159
|
createdAt: bigint;
|
|
63160
63160
|
liquidities: readonly bigint[];
|
|
63161
63161
|
}>;
|
|
63162
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
63162
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
63163
63163
|
readonly type: "function";
|
|
63164
63164
|
readonly name: "batchGetRefTick";
|
|
63165
63165
|
readonly inputs: readonly [{
|
|
@@ -63880,7 +63880,7 @@ declare const useLens: () => {
|
|
|
63880
63880
|
createdAt: bigint;
|
|
63881
63881
|
liquidities: readonly bigint[];
|
|
63882
63882
|
}[]>;
|
|
63883
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
63883
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
63884
63884
|
readonly type: "function";
|
|
63885
63885
|
readonly name: "batchGetRefTick";
|
|
63886
63886
|
readonly inputs: readonly [{
|
|
@@ -64593,7 +64593,7 @@ declare const useLens: () => {
|
|
|
64593
64593
|
tickSpacing: number;
|
|
64594
64594
|
fee: number;
|
|
64595
64595
|
}>;
|
|
64596
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
64596
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
64597
64597
|
readonly type: "function";
|
|
64598
64598
|
readonly name: "batchGetRefTick";
|
|
64599
64599
|
readonly inputs: readonly [{
|
|
@@ -65295,7 +65295,7 @@ declare const useLens: () => {
|
|
|
65295
65295
|
}];
|
|
65296
65296
|
readonly stateMutability: "view";
|
|
65297
65297
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
65298
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
65298
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
65299
65299
|
readonly type: "function";
|
|
65300
65300
|
readonly name: "batchGetRefTick";
|
|
65301
65301
|
readonly inputs: readonly [{
|
|
@@ -66016,7 +66016,7 @@ declare const useLens: () => {
|
|
|
66016
66016
|
createdAt: bigint;
|
|
66017
66017
|
liquidities: readonly bigint[];
|
|
66018
66018
|
}[], bigint, boolean]>;
|
|
66019
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
66019
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
66020
66020
|
readonly type: "function";
|
|
66021
66021
|
readonly name: "batchGetRefTick";
|
|
66022
66022
|
readonly inputs: readonly [{
|