timelock-sdk 0.0.56 → 0.0.57
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.cjs +88 -18
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +83 -62
- package/dist/client.d.ts +79 -58
- package/dist/client.js +88 -19
- package/dist/client.js.map +1 -1
- package/dist/{index-DegGZn5F.d.cts → index-3V8OBVyj.d.cts} +92 -92
- package/dist/{index-DGAwlJuA.d.ts → index-BCwVk3dz.d.ts} +92 -92
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-CGKa7m43.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as viem161 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, PublicClient } from "viem";
|
|
4
4
|
import Big from "big.js";
|
|
5
5
|
|
|
@@ -12,7 +12,7 @@ type TimelockMarketData = Awaited<ReturnType<TimelockLens['read']['getMarketData
|
|
|
12
12
|
};
|
|
13
13
|
declare const getErc20: (address: Address, client: Client) => {
|
|
14
14
|
read: {
|
|
15
|
-
symbol: (options?:
|
|
15
|
+
symbol: (options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
16
16
|
readonly type: "constructor";
|
|
17
17
|
readonly inputs: readonly [{
|
|
18
18
|
readonly name: "name_";
|
|
@@ -191,7 +191,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
191
191
|
}];
|
|
192
192
|
readonly stateMutability: "nonpayable";
|
|
193
193
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
194
|
-
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
194
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
195
195
|
readonly type: "constructor";
|
|
196
196
|
readonly inputs: readonly [{
|
|
197
197
|
readonly name: "name_";
|
|
@@ -370,7 +370,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
370
370
|
}];
|
|
371
371
|
readonly stateMutability: "nonpayable";
|
|
372
372
|
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
373
|
-
balanceOf: (args: readonly [`0x${string}`], options?:
|
|
373
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
374
374
|
readonly type: "constructor";
|
|
375
375
|
readonly inputs: readonly [{
|
|
376
376
|
readonly name: "name_";
|
|
@@ -549,7 +549,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
549
549
|
}];
|
|
550
550
|
readonly stateMutability: "nonpayable";
|
|
551
551
|
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
552
|
-
decimals: (options?:
|
|
552
|
+
decimals: (options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
553
553
|
readonly type: "constructor";
|
|
554
554
|
readonly inputs: readonly [{
|
|
555
555
|
readonly name: "name_";
|
|
@@ -728,7 +728,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
728
728
|
}];
|
|
729
729
|
readonly stateMutability: "nonpayable";
|
|
730
730
|
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
731
|
-
name: (options?:
|
|
731
|
+
name: (options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
732
732
|
readonly type: "constructor";
|
|
733
733
|
readonly inputs: readonly [{
|
|
734
734
|
readonly name: "name_";
|
|
@@ -907,7 +907,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
907
907
|
}];
|
|
908
908
|
readonly stateMutability: "nonpayable";
|
|
909
909
|
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
910
|
-
totalSupply: (options?:
|
|
910
|
+
totalSupply: (options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
911
911
|
readonly type: "constructor";
|
|
912
912
|
readonly inputs: readonly [{
|
|
913
913
|
readonly name: "name_";
|
|
@@ -1088,7 +1088,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1088
1088
|
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1089
1089
|
};
|
|
1090
1090
|
estimateGas: {
|
|
1091
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
1091
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem161.Prettify<viem161.UnionOmit<viem161.EstimateContractGasParameters<readonly [{
|
|
1092
1092
|
readonly type: "constructor";
|
|
1093
1093
|
readonly inputs: readonly [{
|
|
1094
1094
|
readonly name: "name_";
|
|
@@ -1266,8 +1266,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1266
1266
|
readonly internalType: "bool";
|
|
1267
1267
|
}];
|
|
1268
1268
|
readonly stateMutability: "nonpayable";
|
|
1269
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
1270
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1269
|
+
}], "approve", readonly [`0x${string}`, bigint], viem161.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem161.EstimateContractGasReturnType>;
|
|
1270
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem161.Prettify<viem161.UnionOmit<viem161.EstimateContractGasParameters<readonly [{
|
|
1271
1271
|
readonly type: "constructor";
|
|
1272
1272
|
readonly inputs: readonly [{
|
|
1273
1273
|
readonly name: "name_";
|
|
@@ -1445,8 +1445,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1445
1445
|
readonly internalType: "bool";
|
|
1446
1446
|
}];
|
|
1447
1447
|
readonly stateMutability: "nonpayable";
|
|
1448
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
1449
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1448
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem161.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem161.EstimateContractGasReturnType>;
|
|
1449
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem161.Prettify<viem161.UnionOmit<viem161.EstimateContractGasParameters<readonly [{
|
|
1450
1450
|
readonly type: "constructor";
|
|
1451
1451
|
readonly inputs: readonly [{
|
|
1452
1452
|
readonly name: "name_";
|
|
@@ -1624,8 +1624,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1624
1624
|
readonly internalType: "bool";
|
|
1625
1625
|
}];
|
|
1626
1626
|
readonly stateMutability: "nonpayable";
|
|
1627
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
1628
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
1627
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem161.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem161.EstimateContractGasReturnType>;
|
|
1628
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem161.Prettify<viem161.UnionOmit<viem161.EstimateContractGasParameters<readonly [{
|
|
1629
1629
|
readonly type: "constructor";
|
|
1630
1630
|
readonly inputs: readonly [{
|
|
1631
1631
|
readonly name: "name_";
|
|
@@ -1803,8 +1803,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1803
1803
|
readonly internalType: "bool";
|
|
1804
1804
|
}];
|
|
1805
1805
|
readonly stateMutability: "nonpayable";
|
|
1806
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
1807
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
1806
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem161.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem161.EstimateContractGasReturnType>;
|
|
1807
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem161.Prettify<viem161.UnionOmit<viem161.EstimateContractGasParameters<readonly [{
|
|
1808
1808
|
readonly type: "constructor";
|
|
1809
1809
|
readonly inputs: readonly [{
|
|
1810
1810
|
readonly name: "name_";
|
|
@@ -1982,9 +1982,9 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1982
1982
|
readonly internalType: "bool";
|
|
1983
1983
|
}];
|
|
1984
1984
|
readonly stateMutability: "nonpayable";
|
|
1985
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
1985
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem161.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem161.EstimateContractGasReturnType>;
|
|
1986
1986
|
} & {
|
|
1987
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
1987
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem161.Prettify<viem161.UnionOmit<viem161.EstimateContractGasParameters<readonly [{
|
|
1988
1988
|
readonly type: "constructor";
|
|
1989
1989
|
readonly inputs: readonly [{
|
|
1990
1990
|
readonly name: "name_";
|
|
@@ -2162,8 +2162,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2162
2162
|
readonly internalType: "bool";
|
|
2163
2163
|
}];
|
|
2164
2164
|
readonly stateMutability: "nonpayable";
|
|
2165
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
2166
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2165
|
+
}], "approve", readonly [`0x${string}`, bigint], viem161.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem161.EstimateContractGasReturnType>;
|
|
2166
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem161.Prettify<viem161.UnionOmit<viem161.EstimateContractGasParameters<readonly [{
|
|
2167
2167
|
readonly type: "constructor";
|
|
2168
2168
|
readonly inputs: readonly [{
|
|
2169
2169
|
readonly name: "name_";
|
|
@@ -2341,8 +2341,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2341
2341
|
readonly internalType: "bool";
|
|
2342
2342
|
}];
|
|
2343
2343
|
readonly stateMutability: "nonpayable";
|
|
2344
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
2345
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2344
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem161.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem161.EstimateContractGasReturnType>;
|
|
2345
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem161.Prettify<viem161.UnionOmit<viem161.EstimateContractGasParameters<readonly [{
|
|
2346
2346
|
readonly type: "constructor";
|
|
2347
2347
|
readonly inputs: readonly [{
|
|
2348
2348
|
readonly name: "name_";
|
|
@@ -2520,8 +2520,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2520
2520
|
readonly internalType: "bool";
|
|
2521
2521
|
}];
|
|
2522
2522
|
readonly stateMutability: "nonpayable";
|
|
2523
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
2524
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
2523
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem161.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem161.EstimateContractGasReturnType>;
|
|
2524
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem161.Prettify<viem161.UnionOmit<viem161.EstimateContractGasParameters<readonly [{
|
|
2525
2525
|
readonly type: "constructor";
|
|
2526
2526
|
readonly inputs: readonly [{
|
|
2527
2527
|
readonly name: "name_";
|
|
@@ -2699,8 +2699,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2699
2699
|
readonly internalType: "bool";
|
|
2700
2700
|
}];
|
|
2701
2701
|
readonly stateMutability: "nonpayable";
|
|
2702
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2703
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2702
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem161.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem161.EstimateContractGasReturnType>;
|
|
2703
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem161.Prettify<viem161.UnionOmit<viem161.EstimateContractGasParameters<readonly [{
|
|
2704
2704
|
readonly type: "constructor";
|
|
2705
2705
|
readonly inputs: readonly [{
|
|
2706
2706
|
readonly name: "name_";
|
|
@@ -2878,10 +2878,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2878
2878
|
readonly internalType: "bool";
|
|
2879
2879
|
}];
|
|
2880
2880
|
readonly stateMutability: "nonpayable";
|
|
2881
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
2881
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem161.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem161.EstimateContractGasReturnType>;
|
|
2882
2882
|
};
|
|
2883
2883
|
simulate: {
|
|
2884
|
-
approve: <chainOverride extends
|
|
2884
|
+
approve: <chainOverride extends viem161.Chain | undefined = undefined, accountOverride extends viem161.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem161.SimulateContractParameters<readonly [{
|
|
2885
2885
|
readonly type: "constructor";
|
|
2886
2886
|
readonly inputs: readonly [{
|
|
2887
2887
|
readonly name: "name_";
|
|
@@ -3059,7 +3059,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3059
3059
|
readonly internalType: "bool";
|
|
3060
3060
|
}];
|
|
3061
3061
|
readonly stateMutability: "nonpayable";
|
|
3062
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3062
|
+
}], "approve", readonly [`0x${string}`, bigint], viem161.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem161.SimulateContractReturnType<readonly [{
|
|
3063
3063
|
readonly type: "constructor";
|
|
3064
3064
|
readonly inputs: readonly [{
|
|
3065
3065
|
readonly name: "name_";
|
|
@@ -3237,8 +3237,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3237
3237
|
readonly internalType: "bool";
|
|
3238
3238
|
}];
|
|
3239
3239
|
readonly stateMutability: "nonpayable";
|
|
3240
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3241
|
-
decreaseAllowance: <chainOverride extends
|
|
3240
|
+
}], "approve", readonly [`0x${string}`, bigint], viem161.Chain | undefined, viem161.Account | undefined, chainOverride, accountOverride>>;
|
|
3241
|
+
decreaseAllowance: <chainOverride extends viem161.Chain | undefined = undefined, accountOverride extends viem161.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem161.SimulateContractParameters<readonly [{
|
|
3242
3242
|
readonly type: "constructor";
|
|
3243
3243
|
readonly inputs: readonly [{
|
|
3244
3244
|
readonly name: "name_";
|
|
@@ -3416,7 +3416,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3416
3416
|
readonly internalType: "bool";
|
|
3417
3417
|
}];
|
|
3418
3418
|
readonly stateMutability: "nonpayable";
|
|
3419
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3419
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem161.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem161.SimulateContractReturnType<readonly [{
|
|
3420
3420
|
readonly type: "constructor";
|
|
3421
3421
|
readonly inputs: readonly [{
|
|
3422
3422
|
readonly name: "name_";
|
|
@@ -3594,8 +3594,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3594
3594
|
readonly internalType: "bool";
|
|
3595
3595
|
}];
|
|
3596
3596
|
readonly stateMutability: "nonpayable";
|
|
3597
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3598
|
-
increaseAllowance: <chainOverride extends
|
|
3597
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem161.Chain | undefined, viem161.Account | undefined, chainOverride, accountOverride>>;
|
|
3598
|
+
increaseAllowance: <chainOverride extends viem161.Chain | undefined = undefined, accountOverride extends viem161.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem161.SimulateContractParameters<readonly [{
|
|
3599
3599
|
readonly type: "constructor";
|
|
3600
3600
|
readonly inputs: readonly [{
|
|
3601
3601
|
readonly name: "name_";
|
|
@@ -3773,7 +3773,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3773
3773
|
readonly internalType: "bool";
|
|
3774
3774
|
}];
|
|
3775
3775
|
readonly stateMutability: "nonpayable";
|
|
3776
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
3776
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem161.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem161.SimulateContractReturnType<readonly [{
|
|
3777
3777
|
readonly type: "constructor";
|
|
3778
3778
|
readonly inputs: readonly [{
|
|
3779
3779
|
readonly name: "name_";
|
|
@@ -3951,8 +3951,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3951
3951
|
readonly internalType: "bool";
|
|
3952
3952
|
}];
|
|
3953
3953
|
readonly stateMutability: "nonpayable";
|
|
3954
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
3955
|
-
transfer: <chainOverride extends
|
|
3954
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem161.Chain | undefined, viem161.Account | undefined, chainOverride, accountOverride>>;
|
|
3955
|
+
transfer: <chainOverride extends viem161.Chain | undefined = undefined, accountOverride extends viem161.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem161.SimulateContractParameters<readonly [{
|
|
3956
3956
|
readonly type: "constructor";
|
|
3957
3957
|
readonly inputs: readonly [{
|
|
3958
3958
|
readonly name: "name_";
|
|
@@ -4130,7 +4130,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4130
4130
|
readonly internalType: "bool";
|
|
4131
4131
|
}];
|
|
4132
4132
|
readonly stateMutability: "nonpayable";
|
|
4133
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4133
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem161.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem161.SimulateContractReturnType<readonly [{
|
|
4134
4134
|
readonly type: "constructor";
|
|
4135
4135
|
readonly inputs: readonly [{
|
|
4136
4136
|
readonly name: "name_";
|
|
@@ -4308,8 +4308,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4308
4308
|
readonly internalType: "bool";
|
|
4309
4309
|
}];
|
|
4310
4310
|
readonly stateMutability: "nonpayable";
|
|
4311
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4312
|
-
transferFrom: <chainOverride extends
|
|
4311
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem161.Chain | undefined, viem161.Account | undefined, chainOverride, accountOverride>>;
|
|
4312
|
+
transferFrom: <chainOverride extends viem161.Chain | undefined = undefined, accountOverride extends viem161.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem161.SimulateContractParameters<readonly [{
|
|
4313
4313
|
readonly type: "constructor";
|
|
4314
4314
|
readonly inputs: readonly [{
|
|
4315
4315
|
readonly name: "name_";
|
|
@@ -4487,7 +4487,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4487
4487
|
readonly internalType: "bool";
|
|
4488
4488
|
}];
|
|
4489
4489
|
readonly stateMutability: "nonpayable";
|
|
4490
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4490
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem161.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem161.SimulateContractReturnType<readonly [{
|
|
4491
4491
|
readonly type: "constructor";
|
|
4492
4492
|
readonly inputs: readonly [{
|
|
4493
4493
|
readonly name: "name_";
|
|
@@ -4665,10 +4665,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4665
4665
|
readonly internalType: "bool";
|
|
4666
4666
|
}];
|
|
4667
4667
|
readonly stateMutability: "nonpayable";
|
|
4668
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4668
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem161.Chain | undefined, viem161.Account | undefined, chainOverride, accountOverride>>;
|
|
4669
4669
|
};
|
|
4670
4670
|
write: {
|
|
4671
|
-
approve: <chainOverride extends
|
|
4671
|
+
approve: <chainOverride extends viem161.Chain | undefined, options extends (viem161.UnionOmit<viem161.WriteContractParameters<readonly [{
|
|
4672
4672
|
readonly type: "constructor";
|
|
4673
4673
|
readonly inputs: readonly [{
|
|
4674
4674
|
readonly name: "name_";
|
|
@@ -4846,8 +4846,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4846
4846
|
readonly internalType: "bool";
|
|
4847
4847
|
}];
|
|
4848
4848
|
readonly stateMutability: "nonpayable";
|
|
4849
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
4850
|
-
decreaseAllowance: <chainOverride extends
|
|
4849
|
+
}], "approve", readonly [`0x${string}`, bigint], viem161.Chain | undefined, viem161.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<viem161.WriteContractReturnType>;
|
|
4850
|
+
decreaseAllowance: <chainOverride extends viem161.Chain | undefined, options extends (viem161.UnionOmit<viem161.WriteContractParameters<readonly [{
|
|
4851
4851
|
readonly type: "constructor";
|
|
4852
4852
|
readonly inputs: readonly [{
|
|
4853
4853
|
readonly name: "name_";
|
|
@@ -5025,8 +5025,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5025
5025
|
readonly internalType: "bool";
|
|
5026
5026
|
}];
|
|
5027
5027
|
readonly stateMutability: "nonpayable";
|
|
5028
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
5029
|
-
increaseAllowance: <chainOverride extends
|
|
5028
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem161.Chain | undefined, viem161.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<viem161.WriteContractReturnType>;
|
|
5029
|
+
increaseAllowance: <chainOverride extends viem161.Chain | undefined, options extends (viem161.UnionOmit<viem161.WriteContractParameters<readonly [{
|
|
5030
5030
|
readonly type: "constructor";
|
|
5031
5031
|
readonly inputs: readonly [{
|
|
5032
5032
|
readonly name: "name_";
|
|
@@ -5204,8 +5204,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5204
5204
|
readonly internalType: "bool";
|
|
5205
5205
|
}];
|
|
5206
5206
|
readonly stateMutability: "nonpayable";
|
|
5207
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
5208
|
-
transfer: <chainOverride extends
|
|
5207
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem161.Chain | undefined, viem161.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<viem161.WriteContractReturnType>;
|
|
5208
|
+
transfer: <chainOverride extends viem161.Chain | undefined, options extends (viem161.UnionOmit<viem161.WriteContractParameters<readonly [{
|
|
5209
5209
|
readonly type: "constructor";
|
|
5210
5210
|
readonly inputs: readonly [{
|
|
5211
5211
|
readonly name: "name_";
|
|
@@ -5383,8 +5383,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5383
5383
|
readonly internalType: "bool";
|
|
5384
5384
|
}];
|
|
5385
5385
|
readonly stateMutability: "nonpayable";
|
|
5386
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
5387
|
-
transferFrom: <chainOverride extends
|
|
5386
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem161.Chain | undefined, viem161.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<viem161.WriteContractReturnType>;
|
|
5387
|
+
transferFrom: <chainOverride extends viem161.Chain | undefined, options extends (viem161.UnionOmit<viem161.WriteContractParameters<readonly [{
|
|
5388
5388
|
readonly type: "constructor";
|
|
5389
5389
|
readonly inputs: readonly [{
|
|
5390
5390
|
readonly name: "name_";
|
|
@@ -5562,7 +5562,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5562
5562
|
readonly internalType: "bool";
|
|
5563
5563
|
}];
|
|
5564
5564
|
readonly stateMutability: "nonpayable";
|
|
5565
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
5565
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem161.Chain | undefined, viem161.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<viem161.WriteContractReturnType>;
|
|
5566
5566
|
};
|
|
5567
5567
|
address: `0x${string}`;
|
|
5568
5568
|
abi: readonly [{
|
|
@@ -5748,7 +5748,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5748
5748
|
declare const getTimelockMarket: (address: Address, client: Client) => TimelockMarket;
|
|
5749
5749
|
declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
5750
5750
|
read: {
|
|
5751
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
5751
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
5752
5752
|
readonly type: "function";
|
|
5753
5753
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
5754
5754
|
readonly inputs: readonly [{
|
|
@@ -6369,7 +6369,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
6369
6369
|
}];
|
|
6370
6370
|
readonly stateMutability: "pure";
|
|
6371
6371
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
6372
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
6372
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
6373
6373
|
readonly type: "function";
|
|
6374
6374
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6375
6375
|
readonly inputs: readonly [{
|
|
@@ -6990,7 +6990,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
6990
6990
|
}];
|
|
6991
6991
|
readonly stateMutability: "pure";
|
|
6992
6992
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
6993
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
6993
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
6994
6994
|
readonly type: "function";
|
|
6995
6995
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6996
6996
|
readonly inputs: readonly [{
|
|
@@ -7611,7 +7611,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
7611
7611
|
}];
|
|
7612
7612
|
readonly stateMutability: "pure";
|
|
7613
7613
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7614
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
7614
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
7615
7615
|
readonly type: "function";
|
|
7616
7616
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7617
7617
|
readonly inputs: readonly [{
|
|
@@ -8232,7 +8232,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
8232
8232
|
}];
|
|
8233
8233
|
readonly stateMutability: "pure";
|
|
8234
8234
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
8235
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
8235
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
8236
8236
|
readonly type: "function";
|
|
8237
8237
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8238
8238
|
readonly inputs: readonly [{
|
|
@@ -8853,7 +8853,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
8853
8853
|
}];
|
|
8854
8854
|
readonly stateMutability: "pure";
|
|
8855
8855
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
8856
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
8856
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
8857
8857
|
readonly type: "function";
|
|
8858
8858
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8859
8859
|
readonly inputs: readonly [{
|
|
@@ -9474,7 +9474,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
9474
9474
|
}];
|
|
9475
9475
|
readonly stateMutability: "pure";
|
|
9476
9476
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
9477
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
9477
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
9478
9478
|
readonly type: "function";
|
|
9479
9479
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9480
9480
|
readonly inputs: readonly [{
|
|
@@ -10095,7 +10095,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10095
10095
|
}];
|
|
10096
10096
|
readonly stateMutability: "pure";
|
|
10097
10097
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10098
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
10098
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
10099
10099
|
readonly type: "function";
|
|
10100
10100
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10101
10101
|
readonly inputs: readonly [{
|
|
@@ -10716,7 +10716,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10716
10716
|
}];
|
|
10717
10717
|
readonly stateMutability: "pure";
|
|
10718
10718
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10719
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
10719
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
10720
10720
|
readonly type: "function";
|
|
10721
10721
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10722
10722
|
readonly inputs: readonly [{
|
|
@@ -11337,7 +11337,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
11337
11337
|
}];
|
|
11338
11338
|
readonly stateMutability: "pure";
|
|
11339
11339
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
11340
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
11340
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
11341
11341
|
readonly type: "function";
|
|
11342
11342
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11343
11343
|
readonly inputs: readonly [{
|
|
@@ -11958,7 +11958,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
11958
11958
|
}];
|
|
11959
11959
|
readonly stateMutability: "pure";
|
|
11960
11960
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
11961
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
11961
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
11962
11962
|
readonly type: "function";
|
|
11963
11963
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11964
11964
|
readonly inputs: readonly [{
|
|
@@ -12579,7 +12579,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12579
12579
|
}];
|
|
12580
12580
|
readonly stateMutability: "pure";
|
|
12581
12581
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12582
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
12582
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
12583
12583
|
readonly type: "function";
|
|
12584
12584
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12585
12585
|
readonly inputs: readonly [{
|
|
@@ -13200,7 +13200,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
13200
13200
|
}];
|
|
13201
13201
|
readonly stateMutability: "pure";
|
|
13202
13202
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13203
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
13203
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
13204
13204
|
readonly type: "function";
|
|
13205
13205
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13206
13206
|
readonly inputs: readonly [{
|
|
@@ -13821,7 +13821,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
13821
13821
|
}];
|
|
13822
13822
|
readonly stateMutability: "pure";
|
|
13823
13823
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13824
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
13824
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
13825
13825
|
readonly type: "function";
|
|
13826
13826
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13827
13827
|
readonly inputs: readonly [{
|
|
@@ -14442,7 +14442,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14442
14442
|
}];
|
|
14443
14443
|
readonly stateMutability: "pure";
|
|
14444
14444
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
14445
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
14445
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
14446
14446
|
readonly type: "function";
|
|
14447
14447
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14448
14448
|
readonly inputs: readonly [{
|
|
@@ -15063,7 +15063,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15063
15063
|
}];
|
|
15064
15064
|
readonly stateMutability: "pure";
|
|
15065
15065
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15066
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
15066
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
15067
15067
|
readonly type: "function";
|
|
15068
15068
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15069
15069
|
readonly inputs: readonly [{
|
|
@@ -15684,7 +15684,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15684
15684
|
}];
|
|
15685
15685
|
readonly stateMutability: "pure";
|
|
15686
15686
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15687
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
15687
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
15688
15688
|
readonly type: "function";
|
|
15689
15689
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15690
15690
|
readonly inputs: readonly [{
|
|
@@ -16305,7 +16305,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
16305
16305
|
}];
|
|
16306
16306
|
readonly stateMutability: "pure";
|
|
16307
16307
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
16308
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
16308
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
16309
16309
|
readonly type: "function";
|
|
16310
16310
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16311
16311
|
readonly inputs: readonly [{
|
|
@@ -16926,7 +16926,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
16926
16926
|
}];
|
|
16927
16927
|
readonly stateMutability: "pure";
|
|
16928
16928
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
16929
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
16929
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
16930
16930
|
readonly type: "function";
|
|
16931
16931
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16932
16932
|
readonly inputs: readonly [{
|
|
@@ -17547,7 +17547,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17547
17547
|
}];
|
|
17548
17548
|
readonly stateMutability: "pure";
|
|
17549
17549
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
17550
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
17550
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
17551
17551
|
readonly type: "function";
|
|
17552
17552
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17553
17553
|
readonly inputs: readonly [{
|
|
@@ -18168,7 +18168,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
18168
18168
|
}];
|
|
18169
18169
|
readonly stateMutability: "pure";
|
|
18170
18170
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
18171
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
18171
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
18172
18172
|
readonly type: "function";
|
|
18173
18173
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18174
18174
|
readonly inputs: readonly [{
|
|
@@ -18789,7 +18789,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
18789
18789
|
}];
|
|
18790
18790
|
readonly stateMutability: "pure";
|
|
18791
18791
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
18792
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
18792
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
18793
18793
|
readonly type: "function";
|
|
18794
18794
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18795
18795
|
readonly inputs: readonly [{
|
|
@@ -19410,7 +19410,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19410
19410
|
}];
|
|
19411
19411
|
readonly stateMutability: "pure";
|
|
19412
19412
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
19413
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
19413
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
19414
19414
|
readonly type: "function";
|
|
19415
19415
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19416
19416
|
readonly inputs: readonly [{
|
|
@@ -20031,7 +20031,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20031
20031
|
}];
|
|
20032
20032
|
readonly stateMutability: "pure";
|
|
20033
20033
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20034
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
20034
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
20035
20035
|
readonly type: "function";
|
|
20036
20036
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20037
20037
|
readonly inputs: readonly [{
|
|
@@ -20652,7 +20652,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20652
20652
|
}];
|
|
20653
20653
|
readonly stateMutability: "pure";
|
|
20654
20654
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20655
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
20655
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
20656
20656
|
readonly type: "function";
|
|
20657
20657
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20658
20658
|
readonly inputs: readonly [{
|
|
@@ -21273,7 +21273,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
21273
21273
|
}];
|
|
21274
21274
|
readonly stateMutability: "pure";
|
|
21275
21275
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21276
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
21276
|
+
getPriceAtTick: (args: readonly [number], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
21277
21277
|
readonly type: "function";
|
|
21278
21278
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21279
21279
|
readonly inputs: readonly [{
|
|
@@ -22520,7 +22520,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
22520
22520
|
};
|
|
22521
22521
|
declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
22522
22522
|
read: {
|
|
22523
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
22523
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
22524
22524
|
readonly type: "function";
|
|
22525
22525
|
readonly name: "batchGetRefTick";
|
|
22526
22526
|
readonly inputs: readonly [{
|
|
@@ -23194,7 +23194,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23194
23194
|
}];
|
|
23195
23195
|
readonly stateMutability: "view";
|
|
23196
23196
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
23197
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
23197
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
23198
23198
|
readonly type: "function";
|
|
23199
23199
|
readonly name: "batchGetRefTick";
|
|
23200
23200
|
readonly inputs: readonly [{
|
|
@@ -23878,7 +23878,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23878
23878
|
borrowedAmount0: bigint;
|
|
23879
23879
|
borrowedAmount1: bigint;
|
|
23880
23880
|
}[]>;
|
|
23881
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
23881
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
23882
23882
|
readonly type: "function";
|
|
23883
23883
|
readonly name: "batchGetRefTick";
|
|
23884
23884
|
readonly inputs: readonly [{
|
|
@@ -24569,7 +24569,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24569
24569
|
expiresAt: bigint;
|
|
24570
24570
|
liquidities: readonly bigint[];
|
|
24571
24571
|
}[], bigint, boolean]>;
|
|
24572
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
24572
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
24573
24573
|
readonly type: "function";
|
|
24574
24574
|
readonly name: "batchGetRefTick";
|
|
24575
24575
|
readonly inputs: readonly [{
|
|
@@ -25243,7 +25243,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25243
25243
|
}];
|
|
25244
25244
|
readonly stateMutability: "view";
|
|
25245
25245
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25246
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
25246
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
25247
25247
|
readonly type: "function";
|
|
25248
25248
|
readonly name: "batchGetRefTick";
|
|
25249
25249
|
readonly inputs: readonly [{
|
|
@@ -25930,7 +25930,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25930
25930
|
payoutAssetName: string;
|
|
25931
25931
|
optionsCount: bigint;
|
|
25932
25932
|
}>;
|
|
25933
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
25933
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
25934
25934
|
readonly type: "function";
|
|
25935
25935
|
readonly name: "batchGetRefTick";
|
|
25936
25936
|
readonly inputs: readonly [{
|
|
@@ -26604,7 +26604,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26604
26604
|
}];
|
|
26605
26605
|
readonly stateMutability: "view";
|
|
26606
26606
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
26607
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
26607
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
26608
26608
|
readonly type: "function";
|
|
26609
26609
|
readonly name: "batchGetRefTick";
|
|
26610
26610
|
readonly inputs: readonly [{
|
|
@@ -27278,7 +27278,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27278
27278
|
}];
|
|
27279
27279
|
readonly stateMutability: "view";
|
|
27280
27280
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
27281
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
27281
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
27282
27282
|
readonly type: "function";
|
|
27283
27283
|
readonly name: "batchGetRefTick";
|
|
27284
27284
|
readonly inputs: readonly [{
|
|
@@ -27969,7 +27969,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27969
27969
|
expiresAt: bigint;
|
|
27970
27970
|
liquidities: readonly bigint[];
|
|
27971
27971
|
}>;
|
|
27972
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
27972
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
27973
27973
|
readonly type: "function";
|
|
27974
27974
|
readonly name: "batchGetRefTick";
|
|
27975
27975
|
readonly inputs: readonly [{
|
|
@@ -28660,7 +28660,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28660
28660
|
expiresAt: bigint;
|
|
28661
28661
|
liquidities: readonly bigint[];
|
|
28662
28662
|
}[]>;
|
|
28663
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
28663
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
28664
28664
|
readonly type: "function";
|
|
28665
28665
|
readonly name: "batchGetRefTick";
|
|
28666
28666
|
readonly inputs: readonly [{
|
|
@@ -29345,7 +29345,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29345
29345
|
tickSpacing: number;
|
|
29346
29346
|
fee: number;
|
|
29347
29347
|
}>;
|
|
29348
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
29348
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
29349
29349
|
readonly type: "function";
|
|
29350
29350
|
readonly name: "batchGetRefTick";
|
|
29351
29351
|
readonly inputs: readonly [{
|
|
@@ -30019,7 +30019,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30019
30019
|
}];
|
|
30020
30020
|
readonly stateMutability: "view";
|
|
30021
30021
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
30022
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
30022
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
30023
30023
|
readonly type: "function";
|
|
30024
30024
|
readonly name: "batchGetRefTick";
|
|
30025
30025
|
readonly inputs: readonly [{
|
|
@@ -30710,7 +30710,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30710
30710
|
expiresAt: bigint;
|
|
30711
30711
|
liquidities: readonly bigint[];
|
|
30712
30712
|
}[], bigint, boolean]>;
|
|
30713
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
30713
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem161.Prettify<viem161.UnionOmit<viem161.ReadContractParameters<readonly [{
|
|
30714
30714
|
readonly type: "function";
|
|
30715
30715
|
readonly name: "batchGetRefTick";
|
|
30716
30716
|
readonly inputs: readonly [{
|
|
@@ -32098,4 +32098,4 @@ declare const liquiditiesToAmount1: (liquidities: bigint[], startTick: number, t
|
|
|
32098
32098
|
declare const liquiditiesToAmounts: (liquidities: bigint[], startTick: number, currentTick: number, tickSpacing: number) => bigint[];
|
|
32099
32099
|
//#endregion
|
|
32100
32100
|
export { getTimelockLens as A, wrapPriceUnscaled as C, TimelockMarketData as D, TimelockMarket as E, getUniswapMathLens as M, timelockLenses as N, UniswapMathLens as O, uniswapMathLenses as P, wrapPrice as S, TimelockLens as T, scalePrice as _, liquiditiesToAmount1 as a, wrapAmount as b, roundTickUp as c, Amount as d, formatAmount as f, scaleAmount as g, formatVagueAmount as h, liquiditiesToAmount0 as i, getTimelockMarket as j, getErc20 as k, token0ToToken1 as l, formatUSD as m, getPriceAtTick as n, liquiditiesToAmounts as o, formatCondensed as p, getTickAtPrice as r, roundTickDown as s, PRICE_PRECISION as t, token1ToToken0 as u, unscaleAmount as v, zero as w, wrapAmountUnscaled as x, unscalePrice as y };
|
|
32101
|
-
//# sourceMappingURL=index-
|
|
32101
|
+
//# sourceMappingURL=index-3V8OBVyj.d.cts.map
|