timelock-sdk 0.0.19 → 0.0.21
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/abis.cjs +9 -1
- package/dist/abis.d.cts +3 -2
- package/dist/abis.d.ts +3 -2
- package/dist/abis.js +4 -1
- package/dist/client.cjs +695 -4
- package/dist/client.cjs.map +1 -0
- package/dist/client.d.cts +431 -53
- package/dist/client.d.ts +391 -13
- package/dist/client.js +667 -4
- package/dist/client.js.map +1 -0
- package/dist/{index-DyZhOGnP.d.ts → index-B7b3c8cu.d.cts} +151 -94
- package/dist/{index-CnaCnYLR.d.cts → index-CRhFaRiq.d.ts} +60 -3
- package/dist/numberUtils-CAMznXR5.js +220 -0
- package/dist/numberUtils-CAMznXR5.js.map +1 -0
- package/dist/numberUtils-DOUvJfQD.cjs +427 -0
- package/dist/numberUtils-DOUvJfQD.cjs.map +1 -0
- package/dist/optionsMarket-Br-bjuSA.cjs +2407 -0
- package/dist/optionsMarket-Br-bjuSA.cjs.map +1 -0
- package/dist/optionsMarket-DyBxHplR.js +2383 -0
- package/dist/optionsMarket-DyBxHplR.js.map +1 -0
- package/dist/package.cjs +32 -1
- package/dist/package.d.cts +2 -2
- package/dist/package.d.ts +2 -2
- package/dist/package.js +4 -1
- package/dist/{uniswapMathLens-SWLgAikn.d.ts → uniswapMathLens-B1MIL2yT.d.cts} +6 -1
- package/dist/{uniswapMathLens-CsZDhwII.d.cts → uniswapMathLens-MrB_VfJB.d.ts} +6 -1
- package/dist/uniswapV3Pool-Copswrde.js +1119 -1
- package/dist/uniswapV3Pool-Copswrde.js.map +1 -0
- package/dist/uniswapV3Pool-D9Vqrkmz.cjs +1131 -1
- package/dist/uniswapV3Pool-D9Vqrkmz.cjs.map +1 -0
- package/package.json +1 -1
- package/dist/numberUtils-B7BwWYfb.cjs +0 -1
- package/dist/numberUtils-DP-pDRRs.js +0 -1
- package/dist/optionsMarket-BsJTpwtl.js +0 -1
- package/dist/optionsMarket-BsK9z8z4.cjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { lensAbi, optionsMarketAbi, uniswapMathLensAbi } from "./uniswapMathLens-
|
|
2
|
-
import * as
|
|
1
|
+
import { lensAbi, optionsMarketAbi, uniswapMathLensAbi } from "./uniswapMathLens-B1MIL2yT.cjs";
|
|
2
|
+
import * as viem131 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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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: viem131.Prettify<viem131.UnionOmit<viem131.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], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
1270
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.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], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
1449
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.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], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
1628
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.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], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
1807
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.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], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
1986
1986
|
} & {
|
|
1987
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
1987
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.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], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
2166
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.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], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
2345
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.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], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
2524
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.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], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
2703
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.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], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
2882
2882
|
};
|
|
2883
2883
|
simulate: {
|
|
2884
|
-
approve: <chainOverride extends
|
|
2884
|
+
approve: <chainOverride extends viem131.Chain | undefined = undefined, accountOverride extends viem131.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem131.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], viem131.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem131.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], viem131.Chain | undefined, viem131.Account | undefined, chainOverride, accountOverride>>;
|
|
3241
|
+
decreaseAllowance: <chainOverride extends viem131.Chain | undefined = undefined, accountOverride extends viem131.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem131.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], viem131.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem131.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], viem131.Chain | undefined, viem131.Account | undefined, chainOverride, accountOverride>>;
|
|
3598
|
+
increaseAllowance: <chainOverride extends viem131.Chain | undefined = undefined, accountOverride extends viem131.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem131.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], viem131.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem131.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], viem131.Chain | undefined, viem131.Account | undefined, chainOverride, accountOverride>>;
|
|
3955
|
+
transfer: <chainOverride extends viem131.Chain | undefined = undefined, accountOverride extends viem131.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem131.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], viem131.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem131.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], viem131.Chain | undefined, viem131.Account | undefined, chainOverride, accountOverride>>;
|
|
4312
|
+
transferFrom: <chainOverride extends viem131.Chain | undefined = undefined, accountOverride extends viem131.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem131.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], viem131.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem131.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], viem131.Chain | undefined, viem131.Account | undefined, chainOverride, accountOverride>>;
|
|
4669
4669
|
};
|
|
4670
4670
|
write: {
|
|
4671
|
-
approve: <chainOverride extends
|
|
4671
|
+
approve: <chainOverride extends viem131.Chain | undefined, options extends (viem131.UnionOmit<viem131.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], viem131.Chain | undefined, viem131.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<viem131.WriteContractReturnType>;
|
|
4850
|
+
decreaseAllowance: <chainOverride extends viem131.Chain | undefined, options extends (viem131.UnionOmit<viem131.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], viem131.Chain | undefined, viem131.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<viem131.WriteContractReturnType>;
|
|
5029
|
+
increaseAllowance: <chainOverride extends viem131.Chain | undefined, options extends (viem131.UnionOmit<viem131.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], viem131.Chain | undefined, viem131.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<viem131.WriteContractReturnType>;
|
|
5208
|
+
transfer: <chainOverride extends viem131.Chain | undefined, options extends (viem131.UnionOmit<viem131.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], viem131.Chain | undefined, viem131.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<viem131.WriteContractReturnType>;
|
|
5387
|
+
transferFrom: <chainOverride extends viem131.Chain | undefined, options extends (viem131.UnionOmit<viem131.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], viem131.Chain | undefined, viem131.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<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.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?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
22524
22524
|
readonly type: "function";
|
|
22525
22525
|
readonly name: "batchGetRefTick";
|
|
22526
22526
|
readonly inputs: readonly [{
|
|
@@ -23219,10 +23219,14 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23219
23219
|
readonly name: "tvl1";
|
|
23220
23220
|
readonly type: "uint256";
|
|
23221
23221
|
readonly internalType: "uint256";
|
|
23222
|
+
}, {
|
|
23223
|
+
readonly name: "blocksCount";
|
|
23224
|
+
readonly type: "uint256";
|
|
23225
|
+
readonly internalType: "uint256";
|
|
23222
23226
|
}];
|
|
23223
23227
|
readonly stateMutability: "view";
|
|
23224
23228
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
23225
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
23229
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
23226
23230
|
readonly type: "function";
|
|
23227
23231
|
readonly name: "batchGetRefTick";
|
|
23228
23232
|
readonly inputs: readonly [{
|
|
@@ -23921,6 +23925,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23921
23925
|
readonly name: "tvl1";
|
|
23922
23926
|
readonly type: "uint256";
|
|
23923
23927
|
readonly internalType: "uint256";
|
|
23928
|
+
}, {
|
|
23929
|
+
readonly name: "blocksCount";
|
|
23930
|
+
readonly type: "uint256";
|
|
23931
|
+
readonly internalType: "uint256";
|
|
23924
23932
|
}];
|
|
23925
23933
|
readonly stateMutability: "view";
|
|
23926
23934
|
}], "getAllBlocks", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly {
|
|
@@ -23934,7 +23942,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23934
23942
|
borrowedAmount0: bigint;
|
|
23935
23943
|
borrowedAmount1: bigint;
|
|
23936
23944
|
}[]>;
|
|
23937
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
23945
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
23938
23946
|
readonly type: "function";
|
|
23939
23947
|
readonly name: "batchGetRefTick";
|
|
23940
23948
|
readonly inputs: readonly [{
|
|
@@ -24633,6 +24641,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24633
24641
|
readonly name: "tvl1";
|
|
24634
24642
|
readonly type: "uint256";
|
|
24635
24643
|
readonly internalType: "uint256";
|
|
24644
|
+
}, {
|
|
24645
|
+
readonly name: "blocksCount";
|
|
24646
|
+
readonly type: "uint256";
|
|
24647
|
+
readonly internalType: "uint256";
|
|
24636
24648
|
}];
|
|
24637
24649
|
readonly stateMutability: "view";
|
|
24638
24650
|
}], "getExpiredOptions", readonly [`0x${string}`, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly {
|
|
@@ -24655,7 +24667,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24655
24667
|
createdAt: bigint;
|
|
24656
24668
|
liquidities: readonly bigint[];
|
|
24657
24669
|
}[], bigint, boolean]>;
|
|
24658
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
24670
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
24659
24671
|
readonly type: "function";
|
|
24660
24672
|
readonly name: "batchGetRefTick";
|
|
24661
24673
|
readonly inputs: readonly [{
|
|
@@ -25354,10 +25366,14 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25354
25366
|
readonly name: "tvl1";
|
|
25355
25367
|
readonly type: "uint256";
|
|
25356
25368
|
readonly internalType: "uint256";
|
|
25369
|
+
}, {
|
|
25370
|
+
readonly name: "blocksCount";
|
|
25371
|
+
readonly type: "uint256";
|
|
25372
|
+
readonly internalType: "uint256";
|
|
25357
25373
|
}];
|
|
25358
25374
|
readonly stateMutability: "view";
|
|
25359
25375
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25360
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
25376
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
25361
25377
|
readonly type: "function";
|
|
25362
25378
|
readonly name: "batchGetRefTick";
|
|
25363
25379
|
readonly inputs: readonly [{
|
|
@@ -26056,6 +26072,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26056
26072
|
readonly name: "tvl1";
|
|
26057
26073
|
readonly type: "uint256";
|
|
26058
26074
|
readonly internalType: "uint256";
|
|
26075
|
+
}, {
|
|
26076
|
+
readonly name: "blocksCount";
|
|
26077
|
+
readonly type: "uint256";
|
|
26078
|
+
readonly internalType: "uint256";
|
|
26059
26079
|
}];
|
|
26060
26080
|
readonly stateMutability: "view";
|
|
26061
26081
|
}], "getMarketData", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<{
|
|
@@ -26072,7 +26092,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26072
26092
|
payoutAssetName: string;
|
|
26073
26093
|
optionsCount: bigint;
|
|
26074
26094
|
}>;
|
|
26075
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
26095
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
26076
26096
|
readonly type: "function";
|
|
26077
26097
|
readonly name: "batchGetRefTick";
|
|
26078
26098
|
readonly inputs: readonly [{
|
|
@@ -26771,10 +26791,14 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26771
26791
|
readonly name: "tvl1";
|
|
26772
26792
|
readonly type: "uint256";
|
|
26773
26793
|
readonly internalType: "uint256";
|
|
26794
|
+
}, {
|
|
26795
|
+
readonly name: "blocksCount";
|
|
26796
|
+
readonly type: "uint256";
|
|
26797
|
+
readonly internalType: "uint256";
|
|
26774
26798
|
}];
|
|
26775
26799
|
readonly stateMutability: "view";
|
|
26776
26800
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
26777
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
26801
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
26778
26802
|
readonly type: "function";
|
|
26779
26803
|
readonly name: "batchGetRefTick";
|
|
26780
26804
|
readonly inputs: readonly [{
|
|
@@ -27473,10 +27497,14 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27473
27497
|
readonly name: "tvl1";
|
|
27474
27498
|
readonly type: "uint256";
|
|
27475
27499
|
readonly internalType: "uint256";
|
|
27500
|
+
}, {
|
|
27501
|
+
readonly name: "blocksCount";
|
|
27502
|
+
readonly type: "uint256";
|
|
27503
|
+
readonly internalType: "uint256";
|
|
27476
27504
|
}];
|
|
27477
27505
|
readonly stateMutability: "view";
|
|
27478
27506
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
27479
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
27507
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
27480
27508
|
readonly type: "function";
|
|
27481
27509
|
readonly name: "batchGetRefTick";
|
|
27482
27510
|
readonly inputs: readonly [{
|
|
@@ -28175,6 +28203,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28175
28203
|
readonly name: "tvl1";
|
|
28176
28204
|
readonly type: "uint256";
|
|
28177
28205
|
readonly internalType: "uint256";
|
|
28206
|
+
}, {
|
|
28207
|
+
readonly name: "blocksCount";
|
|
28208
|
+
readonly type: "uint256";
|
|
28209
|
+
readonly internalType: "uint256";
|
|
28178
28210
|
}];
|
|
28179
28211
|
readonly stateMutability: "view";
|
|
28180
28212
|
}], "getOptionData", readonly [`0x${string}`, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<{
|
|
@@ -28197,7 +28229,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28197
28229
|
createdAt: bigint;
|
|
28198
28230
|
liquidities: readonly bigint[];
|
|
28199
28231
|
}>;
|
|
28200
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
28232
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
28201
28233
|
readonly type: "function";
|
|
28202
28234
|
readonly name: "batchGetRefTick";
|
|
28203
28235
|
readonly inputs: readonly [{
|
|
@@ -28896,6 +28928,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28896
28928
|
readonly name: "tvl1";
|
|
28897
28929
|
readonly type: "uint256";
|
|
28898
28930
|
readonly internalType: "uint256";
|
|
28931
|
+
}, {
|
|
28932
|
+
readonly name: "blocksCount";
|
|
28933
|
+
readonly type: "uint256";
|
|
28934
|
+
readonly internalType: "uint256";
|
|
28899
28935
|
}];
|
|
28900
28936
|
readonly stateMutability: "view";
|
|
28901
28937
|
}], "getOptionsData", readonly [`0x${string}`, readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly {
|
|
@@ -28918,7 +28954,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28918
28954
|
createdAt: bigint;
|
|
28919
28955
|
liquidities: readonly bigint[];
|
|
28920
28956
|
}[]>;
|
|
28921
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
28957
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
28922
28958
|
readonly type: "function";
|
|
28923
28959
|
readonly name: "batchGetRefTick";
|
|
28924
28960
|
readonly inputs: readonly [{
|
|
@@ -29617,6 +29653,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29617
29653
|
readonly name: "tvl1";
|
|
29618
29654
|
readonly type: "uint256";
|
|
29619
29655
|
readonly internalType: "uint256";
|
|
29656
|
+
}, {
|
|
29657
|
+
readonly name: "blocksCount";
|
|
29658
|
+
readonly type: "uint256";
|
|
29659
|
+
readonly internalType: "uint256";
|
|
29620
29660
|
}];
|
|
29621
29661
|
readonly stateMutability: "view";
|
|
29622
29662
|
}], "getPoolData", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<{
|
|
@@ -29631,7 +29671,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29631
29671
|
tickSpacing: number;
|
|
29632
29672
|
fee: number;
|
|
29633
29673
|
}>;
|
|
29634
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
29674
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
29635
29675
|
readonly type: "function";
|
|
29636
29676
|
readonly name: "batchGetRefTick";
|
|
29637
29677
|
readonly inputs: readonly [{
|
|
@@ -30330,10 +30370,14 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30330
30370
|
readonly name: "tvl1";
|
|
30331
30371
|
readonly type: "uint256";
|
|
30332
30372
|
readonly internalType: "uint256";
|
|
30373
|
+
}, {
|
|
30374
|
+
readonly name: "blocksCount";
|
|
30375
|
+
readonly type: "uint256";
|
|
30376
|
+
readonly internalType: "uint256";
|
|
30333
30377
|
}];
|
|
30334
30378
|
readonly stateMutability: "view";
|
|
30335
30379
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
30336
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
30380
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
30337
30381
|
readonly type: "function";
|
|
30338
30382
|
readonly name: "batchGetRefTick";
|
|
30339
30383
|
readonly inputs: readonly [{
|
|
@@ -31032,6 +31076,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
31032
31076
|
readonly name: "tvl1";
|
|
31033
31077
|
readonly type: "uint256";
|
|
31034
31078
|
readonly internalType: "uint256";
|
|
31079
|
+
}, {
|
|
31080
|
+
readonly name: "blocksCount";
|
|
31081
|
+
readonly type: "uint256";
|
|
31082
|
+
readonly internalType: "uint256";
|
|
31035
31083
|
}];
|
|
31036
31084
|
readonly stateMutability: "view";
|
|
31037
31085
|
}], "getUserOptions", readonly [`0x${string}`, `0x${string}`, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly {
|
|
@@ -31054,7 +31102,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
31054
31102
|
createdAt: bigint;
|
|
31055
31103
|
liquidities: readonly bigint[];
|
|
31056
31104
|
}[], bigint, boolean]>;
|
|
31057
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
31105
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
31058
31106
|
readonly type: "function";
|
|
31059
31107
|
readonly name: "batchGetRefTick";
|
|
31060
31108
|
readonly inputs: readonly [{
|
|
@@ -31753,9 +31801,13 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
31753
31801
|
readonly name: "tvl1";
|
|
31754
31802
|
readonly type: "uint256";
|
|
31755
31803
|
readonly internalType: "uint256";
|
|
31804
|
+
}, {
|
|
31805
|
+
readonly name: "blocksCount";
|
|
31806
|
+
readonly type: "uint256";
|
|
31807
|
+
readonly internalType: "uint256";
|
|
31756
31808
|
}];
|
|
31757
31809
|
readonly stateMutability: "view";
|
|
31758
|
-
}], "getVaultTVL", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint, bigint, bigint, bigint, bigint]>;
|
|
31810
|
+
}], "getVaultTVL", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint]>;
|
|
31759
31811
|
};
|
|
31760
31812
|
address: `0x${string}`;
|
|
31761
31813
|
abi: readonly [{
|
|
@@ -32457,6 +32509,10 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
32457
32509
|
readonly name: "tvl1";
|
|
32458
32510
|
readonly type: "uint256";
|
|
32459
32511
|
readonly internalType: "uint256";
|
|
32512
|
+
}, {
|
|
32513
|
+
readonly name: "blocksCount";
|
|
32514
|
+
readonly type: "uint256";
|
|
32515
|
+
readonly internalType: "uint256";
|
|
32460
32516
|
}];
|
|
32461
32517
|
readonly stateMutability: "view";
|
|
32462
32518
|
}];
|
|
@@ -32497,4 +32553,5 @@ declare const liquiditiesToAmount0: (liquidities: bigint[], startTick: number, t
|
|
|
32497
32553
|
declare const liquiditiesToAmount1: (liquidities: bigint[], startTick: number, tickSpacing: number) => bigint;
|
|
32498
32554
|
declare const liquiditiesToAmounts: (liquidities: bigint[], startTick: number, currentTick: number, tickSpacing: number) => bigint[];
|
|
32499
32555
|
//#endregion
|
|
32500
|
-
export { Amount, PRICE_PRECISION, TimelockLens, TimelockMarket, TimelockMarketData, UniswapMathLens, formatAmount, formatCondensed, formatUSD, formatVagueAmount, getErc20, getPriceAtTick, getTickAtPrice, getTimelockLens, getTimelockMarket, getUniswapMathLens, liquiditiesToAmount0, liquiditiesToAmount1, liquiditiesToAmounts, roundTickDown, roundTickUp, scaleAmount, scalePrice, timelockLenses, token0ToToken1, token1ToToken0, uniswapMathLenses, unscaleAmount, unscalePrice, wrapAmount, wrapAmountUnscaled, wrapPrice, wrapPriceUnscaled, zero };
|
|
32556
|
+
export { Amount, PRICE_PRECISION, TimelockLens, TimelockMarket, TimelockMarketData, UniswapMathLens, formatAmount, formatCondensed, formatUSD, formatVagueAmount, getErc20, getPriceAtTick, getTickAtPrice, getTimelockLens, getTimelockMarket, getUniswapMathLens, liquiditiesToAmount0, liquiditiesToAmount1, liquiditiesToAmounts, roundTickDown, roundTickUp, scaleAmount, scalePrice, timelockLenses, token0ToToken1, token1ToToken0, uniswapMathLenses, unscaleAmount, unscalePrice, wrapAmount, wrapAmountUnscaled, wrapPrice, wrapPriceUnscaled, zero };
|
|
32557
|
+
//# sourceMappingURL=index-B7b3c8cu.d.cts.map
|