timelock-sdk 0.0.127 → 0.0.129
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-BdaBHdSg.d.ts → client-DrMMUpE7.d.ts} +403 -179
- package/dist/{client-D3wwvSaT.d.cts → client-Dxww1phu.d.cts} +392 -168
- package/dist/client.cjs +29 -16
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +29 -16
- package/dist/client.js.map +1 -1
- package/dist/{optionUtils-uEYbxQWj.cjs → optionUtils-BQIg6hnc.cjs} +14 -7
- package/dist/optionUtils-BQIg6hnc.cjs.map +1 -0
- package/dist/{optionUtils-eM02tks6.js → optionUtils-CUg_L5bP.js} +14 -7
- package/dist/optionUtils-CUg_L5bP.js.map +1 -0
- package/dist/package.cjs +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/dist/package.js +1 -1
- package/package.json +1 -1
- package/dist/optionUtils-eM02tks6.js.map +0 -1
- package/dist/optionUtils-uEYbxQWj.cjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-DtacRMPz.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as viem0 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
4
|
import React, { ReactNode } from "react";
|
|
5
5
|
import "graphql";
|
|
@@ -228,7 +228,7 @@ type TimelockMarketData = Awaited<ReturnType<TimelockLens['read']['getMarketData
|
|
|
228
228
|
};
|
|
229
229
|
declare const getErc20: (address: Address, client: Client) => {
|
|
230
230
|
read: {
|
|
231
|
-
symbol: (options?:
|
|
231
|
+
symbol: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
232
232
|
readonly type: "constructor";
|
|
233
233
|
readonly inputs: readonly [{
|
|
234
234
|
readonly name: "name_";
|
|
@@ -407,7 +407,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
407
407
|
}];
|
|
408
408
|
readonly stateMutability: "nonpayable";
|
|
409
409
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
410
|
-
|
|
410
|
+
decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
411
411
|
readonly type: "constructor";
|
|
412
412
|
readonly inputs: readonly [{
|
|
413
413
|
readonly name: "name_";
|
|
@@ -585,8 +585,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
585
585
|
readonly internalType: "bool";
|
|
586
586
|
}];
|
|
587
587
|
readonly stateMutability: "nonpayable";
|
|
588
|
-
}], "
|
|
589
|
-
|
|
588
|
+
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
589
|
+
name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
590
590
|
readonly type: "constructor";
|
|
591
591
|
readonly inputs: readonly [{
|
|
592
592
|
readonly name: "name_";
|
|
@@ -764,8 +764,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
764
764
|
readonly internalType: "bool";
|
|
765
765
|
}];
|
|
766
766
|
readonly stateMutability: "nonpayable";
|
|
767
|
-
}], "
|
|
768
|
-
|
|
767
|
+
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
768
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
769
769
|
readonly type: "constructor";
|
|
770
770
|
readonly inputs: readonly [{
|
|
771
771
|
readonly name: "name_";
|
|
@@ -943,8 +943,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
943
943
|
readonly internalType: "bool";
|
|
944
944
|
}];
|
|
945
945
|
readonly stateMutability: "nonpayable";
|
|
946
|
-
}], "
|
|
947
|
-
|
|
946
|
+
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
947
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
948
948
|
readonly type: "constructor";
|
|
949
949
|
readonly inputs: readonly [{
|
|
950
950
|
readonly name: "name_";
|
|
@@ -1122,8 +1122,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1122
1122
|
readonly internalType: "bool";
|
|
1123
1123
|
}];
|
|
1124
1124
|
readonly stateMutability: "nonpayable";
|
|
1125
|
-
}], "
|
|
1126
|
-
totalSupply: (options?:
|
|
1125
|
+
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1126
|
+
totalSupply: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
1127
1127
|
readonly type: "constructor";
|
|
1128
1128
|
readonly inputs: readonly [{
|
|
1129
1129
|
readonly name: "name_";
|
|
@@ -1304,7 +1304,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1304
1304
|
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1305
1305
|
};
|
|
1306
1306
|
estimateGas: {
|
|
1307
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
1307
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1308
1308
|
readonly type: "constructor";
|
|
1309
1309
|
readonly inputs: readonly [{
|
|
1310
1310
|
readonly name: "name_";
|
|
@@ -1482,8 +1482,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1482
1482
|
readonly internalType: "bool";
|
|
1483
1483
|
}];
|
|
1484
1484
|
readonly stateMutability: "nonpayable";
|
|
1485
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
1486
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1485
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
1486
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1487
1487
|
readonly type: "constructor";
|
|
1488
1488
|
readonly inputs: readonly [{
|
|
1489
1489
|
readonly name: "name_";
|
|
@@ -1661,8 +1661,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1661
1661
|
readonly internalType: "bool";
|
|
1662
1662
|
}];
|
|
1663
1663
|
readonly stateMutability: "nonpayable";
|
|
1664
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
1665
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1664
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
1665
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1666
1666
|
readonly type: "constructor";
|
|
1667
1667
|
readonly inputs: readonly [{
|
|
1668
1668
|
readonly name: "name_";
|
|
@@ -1840,8 +1840,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1840
1840
|
readonly internalType: "bool";
|
|
1841
1841
|
}];
|
|
1842
1842
|
readonly stateMutability: "nonpayable";
|
|
1843
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
1844
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
1843
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
1844
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1845
1845
|
readonly type: "constructor";
|
|
1846
1846
|
readonly inputs: readonly [{
|
|
1847
1847
|
readonly name: "name_";
|
|
@@ -2019,8 +2019,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2019
2019
|
readonly internalType: "bool";
|
|
2020
2020
|
}];
|
|
2021
2021
|
readonly stateMutability: "nonpayable";
|
|
2022
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2023
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2022
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2023
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2024
2024
|
readonly type: "constructor";
|
|
2025
2025
|
readonly inputs: readonly [{
|
|
2026
2026
|
readonly name: "name_";
|
|
@@ -2198,9 +2198,9 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2198
2198
|
readonly internalType: "bool";
|
|
2199
2199
|
}];
|
|
2200
2200
|
readonly stateMutability: "nonpayable";
|
|
2201
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
2201
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2202
2202
|
} & {
|
|
2203
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
2203
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2204
2204
|
readonly type: "constructor";
|
|
2205
2205
|
readonly inputs: readonly [{
|
|
2206
2206
|
readonly name: "name_";
|
|
@@ -2378,8 +2378,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2378
2378
|
readonly internalType: "bool";
|
|
2379
2379
|
}];
|
|
2380
2380
|
readonly stateMutability: "nonpayable";
|
|
2381
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
2382
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2381
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2382
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2383
2383
|
readonly type: "constructor";
|
|
2384
2384
|
readonly inputs: readonly [{
|
|
2385
2385
|
readonly name: "name_";
|
|
@@ -2557,8 +2557,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2557
2557
|
readonly internalType: "bool";
|
|
2558
2558
|
}];
|
|
2559
2559
|
readonly stateMutability: "nonpayable";
|
|
2560
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
2561
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2560
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2561
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2562
2562
|
readonly type: "constructor";
|
|
2563
2563
|
readonly inputs: readonly [{
|
|
2564
2564
|
readonly name: "name_";
|
|
@@ -2736,8 +2736,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2736
2736
|
readonly internalType: "bool";
|
|
2737
2737
|
}];
|
|
2738
2738
|
readonly stateMutability: "nonpayable";
|
|
2739
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
2740
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
2739
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2740
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2741
2741
|
readonly type: "constructor";
|
|
2742
2742
|
readonly inputs: readonly [{
|
|
2743
2743
|
readonly name: "name_";
|
|
@@ -2915,8 +2915,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2915
2915
|
readonly internalType: "bool";
|
|
2916
2916
|
}];
|
|
2917
2917
|
readonly stateMutability: "nonpayable";
|
|
2918
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2919
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2918
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2919
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2920
2920
|
readonly type: "constructor";
|
|
2921
2921
|
readonly inputs: readonly [{
|
|
2922
2922
|
readonly name: "name_";
|
|
@@ -3094,10 +3094,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3094
3094
|
readonly internalType: "bool";
|
|
3095
3095
|
}];
|
|
3096
3096
|
readonly stateMutability: "nonpayable";
|
|
3097
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
3097
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
3098
3098
|
};
|
|
3099
3099
|
simulate: {
|
|
3100
|
-
approve: <chainOverride extends
|
|
3100
|
+
approve: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
3101
3101
|
readonly type: "constructor";
|
|
3102
3102
|
readonly inputs: readonly [{
|
|
3103
3103
|
readonly name: "name_";
|
|
@@ -3275,7 +3275,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3275
3275
|
readonly internalType: "bool";
|
|
3276
3276
|
}];
|
|
3277
3277
|
readonly stateMutability: "nonpayable";
|
|
3278
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3278
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
3279
3279
|
readonly type: "constructor";
|
|
3280
3280
|
readonly inputs: readonly [{
|
|
3281
3281
|
readonly name: "name_";
|
|
@@ -3453,8 +3453,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3453
3453
|
readonly internalType: "bool";
|
|
3454
3454
|
}];
|
|
3455
3455
|
readonly stateMutability: "nonpayable";
|
|
3456
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3457
|
-
decreaseAllowance: <chainOverride extends
|
|
3456
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
3457
|
+
decreaseAllowance: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
3458
3458
|
readonly type: "constructor";
|
|
3459
3459
|
readonly inputs: readonly [{
|
|
3460
3460
|
readonly name: "name_";
|
|
@@ -3632,7 +3632,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3632
3632
|
readonly internalType: "bool";
|
|
3633
3633
|
}];
|
|
3634
3634
|
readonly stateMutability: "nonpayable";
|
|
3635
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3635
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
3636
3636
|
readonly type: "constructor";
|
|
3637
3637
|
readonly inputs: readonly [{
|
|
3638
3638
|
readonly name: "name_";
|
|
@@ -3810,8 +3810,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3810
3810
|
readonly internalType: "bool";
|
|
3811
3811
|
}];
|
|
3812
3812
|
readonly stateMutability: "nonpayable";
|
|
3813
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3814
|
-
increaseAllowance: <chainOverride extends
|
|
3813
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
3814
|
+
increaseAllowance: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
3815
3815
|
readonly type: "constructor";
|
|
3816
3816
|
readonly inputs: readonly [{
|
|
3817
3817
|
readonly name: "name_";
|
|
@@ -3989,7 +3989,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3989
3989
|
readonly internalType: "bool";
|
|
3990
3990
|
}];
|
|
3991
3991
|
readonly stateMutability: "nonpayable";
|
|
3992
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
3992
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
3993
3993
|
readonly type: "constructor";
|
|
3994
3994
|
readonly inputs: readonly [{
|
|
3995
3995
|
readonly name: "name_";
|
|
@@ -4167,8 +4167,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4167
4167
|
readonly internalType: "bool";
|
|
4168
4168
|
}];
|
|
4169
4169
|
readonly stateMutability: "nonpayable";
|
|
4170
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
4171
|
-
transfer: <chainOverride extends
|
|
4170
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
4171
|
+
transfer: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
4172
4172
|
readonly type: "constructor";
|
|
4173
4173
|
readonly inputs: readonly [{
|
|
4174
4174
|
readonly name: "name_";
|
|
@@ -4346,7 +4346,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4346
4346
|
readonly internalType: "bool";
|
|
4347
4347
|
}];
|
|
4348
4348
|
readonly stateMutability: "nonpayable";
|
|
4349
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4349
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
4350
4350
|
readonly type: "constructor";
|
|
4351
4351
|
readonly inputs: readonly [{
|
|
4352
4352
|
readonly name: "name_";
|
|
@@ -4524,8 +4524,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4524
4524
|
readonly internalType: "bool";
|
|
4525
4525
|
}];
|
|
4526
4526
|
readonly stateMutability: "nonpayable";
|
|
4527
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4528
|
-
transferFrom: <chainOverride extends
|
|
4527
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
4528
|
+
transferFrom: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
4529
4529
|
readonly type: "constructor";
|
|
4530
4530
|
readonly inputs: readonly [{
|
|
4531
4531
|
readonly name: "name_";
|
|
@@ -4703,7 +4703,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4703
4703
|
readonly internalType: "bool";
|
|
4704
4704
|
}];
|
|
4705
4705
|
readonly stateMutability: "nonpayable";
|
|
4706
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4706
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
4707
4707
|
readonly type: "constructor";
|
|
4708
4708
|
readonly inputs: readonly [{
|
|
4709
4709
|
readonly name: "name_";
|
|
@@ -4881,10 +4881,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4881
4881
|
readonly internalType: "bool";
|
|
4882
4882
|
}];
|
|
4883
4883
|
readonly stateMutability: "nonpayable";
|
|
4884
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4884
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
4885
4885
|
};
|
|
4886
4886
|
write: {
|
|
4887
|
-
approve: <chainOverride extends
|
|
4887
|
+
approve: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
4888
4888
|
readonly type: "constructor";
|
|
4889
4889
|
readonly inputs: readonly [{
|
|
4890
4890
|
readonly name: "name_";
|
|
@@ -5062,8 +5062,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5062
5062
|
readonly internalType: "bool";
|
|
5063
5063
|
}];
|
|
5064
5064
|
readonly stateMutability: "nonpayable";
|
|
5065
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
5066
|
-
decreaseAllowance: <chainOverride extends
|
|
5065
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5066
|
+
decreaseAllowance: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
5067
5067
|
readonly type: "constructor";
|
|
5068
5068
|
readonly inputs: readonly [{
|
|
5069
5069
|
readonly name: "name_";
|
|
@@ -5241,8 +5241,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5241
5241
|
readonly internalType: "bool";
|
|
5242
5242
|
}];
|
|
5243
5243
|
readonly stateMutability: "nonpayable";
|
|
5244
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
5245
|
-
increaseAllowance: <chainOverride extends
|
|
5244
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5245
|
+
increaseAllowance: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
5246
5246
|
readonly type: "constructor";
|
|
5247
5247
|
readonly inputs: readonly [{
|
|
5248
5248
|
readonly name: "name_";
|
|
@@ -5420,8 +5420,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5420
5420
|
readonly internalType: "bool";
|
|
5421
5421
|
}];
|
|
5422
5422
|
readonly stateMutability: "nonpayable";
|
|
5423
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
5424
|
-
transfer: <chainOverride extends
|
|
5423
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5424
|
+
transfer: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
5425
5425
|
readonly type: "constructor";
|
|
5426
5426
|
readonly inputs: readonly [{
|
|
5427
5427
|
readonly name: "name_";
|
|
@@ -5599,8 +5599,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5599
5599
|
readonly internalType: "bool";
|
|
5600
5600
|
}];
|
|
5601
5601
|
readonly stateMutability: "nonpayable";
|
|
5602
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
5603
|
-
transferFrom: <chainOverride extends
|
|
5602
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5603
|
+
transferFrom: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
5604
5604
|
readonly type: "constructor";
|
|
5605
5605
|
readonly inputs: readonly [{
|
|
5606
5606
|
readonly name: "name_";
|
|
@@ -5778,7 +5778,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5778
5778
|
readonly internalType: "bool";
|
|
5779
5779
|
}];
|
|
5780
5780
|
readonly stateMutability: "nonpayable";
|
|
5781
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
5781
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, `0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5782
5782
|
};
|
|
5783
5783
|
address: `0x${string}`;
|
|
5784
5784
|
abi: readonly [{
|
|
@@ -5964,7 +5964,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5964
5964
|
declare const getTimelockMarket: (address: Address, client: Client) => TimelockMarket;
|
|
5965
5965
|
declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
5966
5966
|
read: {
|
|
5967
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
5967
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
5968
5968
|
readonly type: "function";
|
|
5969
5969
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
5970
5970
|
readonly inputs: readonly [{
|
|
@@ -6585,7 +6585,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
6585
6585
|
}];
|
|
6586
6586
|
readonly stateMutability: "pure";
|
|
6587
6587
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
6588
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
6588
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
6589
6589
|
readonly type: "function";
|
|
6590
6590
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6591
6591
|
readonly inputs: readonly [{
|
|
@@ -7206,7 +7206,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
7206
7206
|
}];
|
|
7207
7207
|
readonly stateMutability: "pure";
|
|
7208
7208
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7209
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
7209
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
7210
7210
|
readonly type: "function";
|
|
7211
7211
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7212
7212
|
readonly inputs: readonly [{
|
|
@@ -7827,7 +7827,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
7827
7827
|
}];
|
|
7828
7828
|
readonly stateMutability: "pure";
|
|
7829
7829
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7830
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
7830
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
7831
7831
|
readonly type: "function";
|
|
7832
7832
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7833
7833
|
readonly inputs: readonly [{
|
|
@@ -8448,7 +8448,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
8448
8448
|
}];
|
|
8449
8449
|
readonly stateMutability: "pure";
|
|
8450
8450
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
8451
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
8451
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
8452
8452
|
readonly type: "function";
|
|
8453
8453
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8454
8454
|
readonly inputs: readonly [{
|
|
@@ -9069,7 +9069,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
9069
9069
|
}];
|
|
9070
9070
|
readonly stateMutability: "pure";
|
|
9071
9071
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
9072
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
9072
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
9073
9073
|
readonly type: "function";
|
|
9074
9074
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9075
9075
|
readonly inputs: readonly [{
|
|
@@ -9690,7 +9690,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
9690
9690
|
}];
|
|
9691
9691
|
readonly stateMutability: "pure";
|
|
9692
9692
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
9693
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
9693
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
9694
9694
|
readonly type: "function";
|
|
9695
9695
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9696
9696
|
readonly inputs: readonly [{
|
|
@@ -10311,7 +10311,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10311
10311
|
}];
|
|
10312
10312
|
readonly stateMutability: "pure";
|
|
10313
10313
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10314
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
10314
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
10315
10315
|
readonly type: "function";
|
|
10316
10316
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10317
10317
|
readonly inputs: readonly [{
|
|
@@ -10932,7 +10932,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10932
10932
|
}];
|
|
10933
10933
|
readonly stateMutability: "pure";
|
|
10934
10934
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10935
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
10935
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
10936
10936
|
readonly type: "function";
|
|
10937
10937
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10938
10938
|
readonly inputs: readonly [{
|
|
@@ -11553,7 +11553,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
11553
11553
|
}];
|
|
11554
11554
|
readonly stateMutability: "pure";
|
|
11555
11555
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
11556
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
11556
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
11557
11557
|
readonly type: "function";
|
|
11558
11558
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11559
11559
|
readonly inputs: readonly [{
|
|
@@ -12174,7 +12174,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12174
12174
|
}];
|
|
12175
12175
|
readonly stateMutability: "pure";
|
|
12176
12176
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12177
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
12177
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
12178
12178
|
readonly type: "function";
|
|
12179
12179
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12180
12180
|
readonly inputs: readonly [{
|
|
@@ -12795,7 +12795,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12795
12795
|
}];
|
|
12796
12796
|
readonly stateMutability: "pure";
|
|
12797
12797
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12798
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
12798
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
12799
12799
|
readonly type: "function";
|
|
12800
12800
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12801
12801
|
readonly inputs: readonly [{
|
|
@@ -13416,7 +13416,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
13416
13416
|
}];
|
|
13417
13417
|
readonly stateMutability: "pure";
|
|
13418
13418
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13419
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
13419
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
13420
13420
|
readonly type: "function";
|
|
13421
13421
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13422
13422
|
readonly inputs: readonly [{
|
|
@@ -14037,7 +14037,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14037
14037
|
}];
|
|
14038
14038
|
readonly stateMutability: "pure";
|
|
14039
14039
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14040
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
14040
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
14041
14041
|
readonly type: "function";
|
|
14042
14042
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14043
14043
|
readonly inputs: readonly [{
|
|
@@ -14658,7 +14658,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14658
14658
|
}];
|
|
14659
14659
|
readonly stateMutability: "pure";
|
|
14660
14660
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
14661
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
14661
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
14662
14662
|
readonly type: "function";
|
|
14663
14663
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14664
14664
|
readonly inputs: readonly [{
|
|
@@ -15279,7 +15279,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15279
15279
|
}];
|
|
15280
15280
|
readonly stateMutability: "pure";
|
|
15281
15281
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15282
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
15282
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15283
15283
|
readonly type: "function";
|
|
15284
15284
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15285
15285
|
readonly inputs: readonly [{
|
|
@@ -15900,7 +15900,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15900
15900
|
}];
|
|
15901
15901
|
readonly stateMutability: "pure";
|
|
15902
15902
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15903
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
15903
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15904
15904
|
readonly type: "function";
|
|
15905
15905
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15906
15906
|
readonly inputs: readonly [{
|
|
@@ -16521,7 +16521,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
16521
16521
|
}];
|
|
16522
16522
|
readonly stateMutability: "pure";
|
|
16523
16523
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
16524
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
16524
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
16525
16525
|
readonly type: "function";
|
|
16526
16526
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16527
16527
|
readonly inputs: readonly [{
|
|
@@ -17142,7 +17142,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17142
17142
|
}];
|
|
17143
17143
|
readonly stateMutability: "pure";
|
|
17144
17144
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
17145
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
17145
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
17146
17146
|
readonly type: "function";
|
|
17147
17147
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17148
17148
|
readonly inputs: readonly [{
|
|
@@ -17763,7 +17763,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17763
17763
|
}];
|
|
17764
17764
|
readonly stateMutability: "pure";
|
|
17765
17765
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
17766
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
17766
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
17767
17767
|
readonly type: "function";
|
|
17768
17768
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17769
17769
|
readonly inputs: readonly [{
|
|
@@ -18384,7 +18384,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
18384
18384
|
}];
|
|
18385
18385
|
readonly stateMutability: "pure";
|
|
18386
18386
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
18387
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
18387
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
18388
18388
|
readonly type: "function";
|
|
18389
18389
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18390
18390
|
readonly inputs: readonly [{
|
|
@@ -19005,7 +19005,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19005
19005
|
}];
|
|
19006
19006
|
readonly stateMutability: "pure";
|
|
19007
19007
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
19008
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
19008
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
19009
19009
|
readonly type: "function";
|
|
19010
19010
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19011
19011
|
readonly inputs: readonly [{
|
|
@@ -19626,7 +19626,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19626
19626
|
}];
|
|
19627
19627
|
readonly stateMutability: "pure";
|
|
19628
19628
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
19629
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
19629
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
19630
19630
|
readonly type: "function";
|
|
19631
19631
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19632
19632
|
readonly inputs: readonly [{
|
|
@@ -20247,7 +20247,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20247
20247
|
}];
|
|
20248
20248
|
readonly stateMutability: "pure";
|
|
20249
20249
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20250
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
20250
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
20251
20251
|
readonly type: "function";
|
|
20252
20252
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20253
20253
|
readonly inputs: readonly [{
|
|
@@ -20868,7 +20868,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20868
20868
|
}];
|
|
20869
20869
|
readonly stateMutability: "pure";
|
|
20870
20870
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20871
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
20871
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
20872
20872
|
readonly type: "function";
|
|
20873
20873
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20874
20874
|
readonly inputs: readonly [{
|
|
@@ -21489,7 +21489,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
21489
21489
|
}];
|
|
21490
21490
|
readonly stateMutability: "pure";
|
|
21491
21491
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21492
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
21492
|
+
getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
21493
21493
|
readonly type: "function";
|
|
21494
21494
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21495
21495
|
readonly inputs: readonly [{
|
|
@@ -22736,7 +22736,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
22736
22736
|
};
|
|
22737
22737
|
declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
22738
22738
|
read: {
|
|
22739
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
22739
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
22740
22740
|
readonly type: "function";
|
|
22741
22741
|
readonly name: "batchGetRefTick";
|
|
22742
22742
|
readonly inputs: readonly [{
|
|
@@ -23325,7 +23325,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23325
23325
|
}];
|
|
23326
23326
|
readonly stateMutability: "view";
|
|
23327
23327
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
23328
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
23328
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23329
23329
|
readonly type: "function";
|
|
23330
23330
|
readonly name: "batchGetRefTick";
|
|
23331
23331
|
readonly inputs: readonly [{
|
|
@@ -23924,7 +23924,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23924
23924
|
borrowedAmount0: bigint;
|
|
23925
23925
|
borrowedAmount1: bigint;
|
|
23926
23926
|
}[]>;
|
|
23927
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
23927
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23928
23928
|
readonly type: "function";
|
|
23929
23929
|
readonly name: "batchGetRefTick";
|
|
23930
23930
|
readonly inputs: readonly [{
|
|
@@ -24523,7 +24523,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24523
24523
|
expiresAt: number;
|
|
24524
24524
|
liquidities: readonly bigint[];
|
|
24525
24525
|
}[], bigint, boolean]>;
|
|
24526
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
24526
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
24527
24527
|
readonly type: "function";
|
|
24528
24528
|
readonly name: "batchGetRefTick";
|
|
24529
24529
|
readonly inputs: readonly [{
|
|
@@ -25112,7 +25112,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25112
25112
|
}];
|
|
25113
25113
|
readonly stateMutability: "view";
|
|
25114
25114
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25115
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
25115
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25116
25116
|
readonly type: "function";
|
|
25117
25117
|
readonly name: "batchGetRefTick";
|
|
25118
25118
|
readonly inputs: readonly [{
|
|
@@ -25714,7 +25714,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25714
25714
|
payoutAssetName: string;
|
|
25715
25715
|
optionsCount: bigint;
|
|
25716
25716
|
}>;
|
|
25717
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
25717
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25718
25718
|
readonly type: "function";
|
|
25719
25719
|
readonly name: "batchGetRefTick";
|
|
25720
25720
|
readonly inputs: readonly [{
|
|
@@ -26303,7 +26303,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26303
26303
|
}];
|
|
26304
26304
|
readonly stateMutability: "view";
|
|
26305
26305
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
26306
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
26306
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26307
26307
|
readonly type: "function";
|
|
26308
26308
|
readonly name: "batchGetRefTick";
|
|
26309
26309
|
readonly inputs: readonly [{
|
|
@@ -26892,7 +26892,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26892
26892
|
}];
|
|
26893
26893
|
readonly stateMutability: "view";
|
|
26894
26894
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
26895
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
26895
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26896
26896
|
readonly type: "function";
|
|
26897
26897
|
readonly name: "batchGetRefTick";
|
|
26898
26898
|
readonly inputs: readonly [{
|
|
@@ -27491,7 +27491,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27491
27491
|
expiresAt: number;
|
|
27492
27492
|
liquidities: readonly bigint[];
|
|
27493
27493
|
}>;
|
|
27494
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
27494
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
27495
27495
|
readonly type: "function";
|
|
27496
27496
|
readonly name: "batchGetRefTick";
|
|
27497
27497
|
readonly inputs: readonly [{
|
|
@@ -28090,7 +28090,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28090
28090
|
expiresAt: number;
|
|
28091
28091
|
liquidities: readonly bigint[];
|
|
28092
28092
|
}[]>;
|
|
28093
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
28093
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
28094
28094
|
readonly type: "function";
|
|
28095
28095
|
readonly name: "batchGetRefTick";
|
|
28096
28096
|
readonly inputs: readonly [{
|
|
@@ -28690,7 +28690,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28690
28690
|
tickSpacing: number;
|
|
28691
28691
|
fee: number;
|
|
28692
28692
|
}>;
|
|
28693
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
28693
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
28694
28694
|
readonly type: "function";
|
|
28695
28695
|
readonly name: "batchGetRefTick";
|
|
28696
28696
|
readonly inputs: readonly [{
|
|
@@ -29279,7 +29279,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29279
29279
|
}];
|
|
29280
29280
|
readonly stateMutability: "view";
|
|
29281
29281
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
29282
|
-
getTokenData: (args: readonly [`0x${string}`], options?:
|
|
29282
|
+
getTokenData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
29283
29283
|
readonly type: "function";
|
|
29284
29284
|
readonly name: "batchGetRefTick";
|
|
29285
29285
|
readonly inputs: readonly [{
|
|
@@ -29872,7 +29872,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29872
29872
|
symbol: string;
|
|
29873
29873
|
name: string;
|
|
29874
29874
|
}>;
|
|
29875
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
29875
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
29876
29876
|
readonly type: "function";
|
|
29877
29877
|
readonly name: "batchGetRefTick";
|
|
29878
29878
|
readonly inputs: readonly [{
|
|
@@ -30471,7 +30471,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30471
30471
|
expiresAt: number;
|
|
30472
30472
|
liquidities: readonly bigint[];
|
|
30473
30473
|
}[], bigint, boolean]>;
|
|
30474
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
30474
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
30475
30475
|
readonly type: "function";
|
|
30476
30476
|
readonly name: "batchGetRefTick";
|
|
30477
30477
|
readonly inputs: readonly [{
|
|
@@ -35674,7 +35674,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35674
35674
|
//#endregion
|
|
35675
35675
|
//#region src/hooks/operators/useOperatorPerms.d.ts
|
|
35676
35676
|
declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, operatorAddr?: Address) => {
|
|
35677
|
-
error:
|
|
35677
|
+
error: viem0.ReadContractErrorType;
|
|
35678
35678
|
isError: true;
|
|
35679
35679
|
isPending: false;
|
|
35680
35680
|
isLoading: false;
|
|
@@ -35686,7 +35686,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35686
35686
|
dataUpdatedAt: number;
|
|
35687
35687
|
errorUpdatedAt: number;
|
|
35688
35688
|
failureCount: number;
|
|
35689
|
-
failureReason:
|
|
35689
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35690
35690
|
errorUpdateCount: number;
|
|
35691
35691
|
isFetched: boolean;
|
|
35692
35692
|
isFetchedAfterMount: boolean;
|
|
@@ -35696,7 +35696,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35696
35696
|
isRefetching: boolean;
|
|
35697
35697
|
isStale: boolean;
|
|
35698
35698
|
isEnabled: boolean;
|
|
35699
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
35699
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35700
35700
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35701
35701
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35702
35702
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -35721,7 +35721,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35721
35721
|
dataUpdatedAt: number;
|
|
35722
35722
|
errorUpdatedAt: number;
|
|
35723
35723
|
failureCount: number;
|
|
35724
|
-
failureReason:
|
|
35724
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35725
35725
|
errorUpdateCount: number;
|
|
35726
35726
|
isFetched: boolean;
|
|
35727
35727
|
isFetchedAfterMount: boolean;
|
|
@@ -35731,7 +35731,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35731
35731
|
isRefetching: boolean;
|
|
35732
35732
|
isStale: boolean;
|
|
35733
35733
|
isEnabled: boolean;
|
|
35734
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
35734
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35735
35735
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35736
35736
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35737
35737
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -35744,7 +35744,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35744
35744
|
effectiveApproval: bigint;
|
|
35745
35745
|
};
|
|
35746
35746
|
} | {
|
|
35747
|
-
error:
|
|
35747
|
+
error: viem0.ReadContractErrorType;
|
|
35748
35748
|
isError: true;
|
|
35749
35749
|
isPending: false;
|
|
35750
35750
|
isLoading: false;
|
|
@@ -35756,7 +35756,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35756
35756
|
dataUpdatedAt: number;
|
|
35757
35757
|
errorUpdatedAt: number;
|
|
35758
35758
|
failureCount: number;
|
|
35759
|
-
failureReason:
|
|
35759
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35760
35760
|
errorUpdateCount: number;
|
|
35761
35761
|
isFetched: boolean;
|
|
35762
35762
|
isFetchedAfterMount: boolean;
|
|
@@ -35766,7 +35766,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35766
35766
|
isRefetching: boolean;
|
|
35767
35767
|
isStale: boolean;
|
|
35768
35768
|
isEnabled: boolean;
|
|
35769
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
35769
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35770
35770
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35771
35771
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35772
35772
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -35791,7 +35791,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35791
35791
|
dataUpdatedAt: number;
|
|
35792
35792
|
errorUpdatedAt: number;
|
|
35793
35793
|
failureCount: number;
|
|
35794
|
-
failureReason:
|
|
35794
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35795
35795
|
errorUpdateCount: number;
|
|
35796
35796
|
isFetched: boolean;
|
|
35797
35797
|
isFetchedAfterMount: boolean;
|
|
@@ -35801,7 +35801,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35801
35801
|
isRefetching: boolean;
|
|
35802
35802
|
isStale: boolean;
|
|
35803
35803
|
isEnabled: boolean;
|
|
35804
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
35804
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35805
35805
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35806
35806
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35807
35807
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -35825,7 +35825,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35825
35825
|
dataUpdatedAt: number;
|
|
35826
35826
|
errorUpdatedAt: number;
|
|
35827
35827
|
failureCount: number;
|
|
35828
|
-
failureReason:
|
|
35828
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35829
35829
|
errorUpdateCount: number;
|
|
35830
35830
|
isFetched: boolean;
|
|
35831
35831
|
isFetchedAfterMount: boolean;
|
|
@@ -35836,7 +35836,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35836
35836
|
isRefetching: boolean;
|
|
35837
35837
|
isStale: boolean;
|
|
35838
35838
|
isEnabled: boolean;
|
|
35839
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
35839
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35840
35840
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35841
35841
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35842
35842
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -35861,7 +35861,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35861
35861
|
dataUpdatedAt: number;
|
|
35862
35862
|
errorUpdatedAt: number;
|
|
35863
35863
|
failureCount: number;
|
|
35864
|
-
failureReason:
|
|
35864
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35865
35865
|
errorUpdateCount: number;
|
|
35866
35866
|
isFetched: boolean;
|
|
35867
35867
|
isFetchedAfterMount: boolean;
|
|
@@ -35871,7 +35871,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35871
35871
|
isRefetching: boolean;
|
|
35872
35872
|
isStale: boolean;
|
|
35873
35873
|
isEnabled: boolean;
|
|
35874
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
35874
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35875
35875
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35876
35876
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35877
35877
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
@@ -36298,7 +36298,7 @@ declare const useSetOperatorPerms: (marketAddr?: Address) => _tanstack_react_que
|
|
|
36298
36298
|
interface PriceData {
|
|
36299
36299
|
currentPrice: number;
|
|
36300
36300
|
percentChange: number;
|
|
36301
|
-
|
|
36301
|
+
poolAddr: string;
|
|
36302
36302
|
timestamp: number;
|
|
36303
36303
|
}
|
|
36304
36304
|
interface PriceDataPoint {
|
|
@@ -36307,7 +36307,7 @@ interface PriceDataPoint {
|
|
|
36307
36307
|
}
|
|
36308
36308
|
type PriceResolution = '1m' | '5m' | '15m' | '1h' | '4h' | '1d';
|
|
36309
36309
|
declare const getPriceHistory: (pool: Address, token: 0 | 1, resolution: PriceResolution, start: Date, end: Date) => Promise<PriceDataPoint[]>;
|
|
36310
|
-
declare const getCurrentPrice: (
|
|
36310
|
+
declare const getCurrentPrice: (poolAddr: Address, tokenAddr: Address) => Promise<PriceData>;
|
|
36311
36311
|
//#endregion
|
|
36312
36312
|
//#region src/lib/liquidityUtils.d.ts
|
|
36313
36313
|
declare const PRICE_PRECISION: bigint;
|
|
@@ -36343,6 +36343,230 @@ declare const useCurrentPrice: (poolAddr?: Address) => {
|
|
|
36343
36343
|
//#endregion
|
|
36344
36344
|
//#region src/hooks/pool/useCurrentTick.d.ts
|
|
36345
36345
|
declare const useCurrentTick: (poolAddr?: Address) => {
|
|
36346
|
+
error: viem0.ReadContractErrorType;
|
|
36347
|
+
isError: true;
|
|
36348
|
+
isPending: false;
|
|
36349
|
+
isLoading: false;
|
|
36350
|
+
isLoadingError: false;
|
|
36351
|
+
isRefetchError: true;
|
|
36352
|
+
isSuccess: false;
|
|
36353
|
+
isPlaceholderData: false;
|
|
36354
|
+
status: "error";
|
|
36355
|
+
dataUpdatedAt: number;
|
|
36356
|
+
errorUpdatedAt: number;
|
|
36357
|
+
failureCount: number;
|
|
36358
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36359
|
+
errorUpdateCount: number;
|
|
36360
|
+
isFetched: boolean;
|
|
36361
|
+
isFetchedAfterMount: boolean;
|
|
36362
|
+
isFetching: boolean;
|
|
36363
|
+
isInitialLoading: boolean;
|
|
36364
|
+
isPaused: boolean;
|
|
36365
|
+
isRefetching: boolean;
|
|
36366
|
+
isStale: boolean;
|
|
36367
|
+
isEnabled: boolean;
|
|
36368
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36369
|
+
exact: number;
|
|
36370
|
+
rounded: number | undefined;
|
|
36371
|
+
sqrtPriceX96: bigint;
|
|
36372
|
+
}, viem0.ReadContractErrorType>>;
|
|
36373
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36374
|
+
promise: Promise<{
|
|
36375
|
+
exact: number;
|
|
36376
|
+
rounded: number | undefined;
|
|
36377
|
+
sqrtPriceX96: bigint;
|
|
36378
|
+
}>;
|
|
36379
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36380
|
+
exact: number | undefined;
|
|
36381
|
+
rounded: number | undefined;
|
|
36382
|
+
sqrtPriceX96: bigint | undefined;
|
|
36383
|
+
} | {
|
|
36384
|
+
error: null;
|
|
36385
|
+
isError: false;
|
|
36386
|
+
isPending: false;
|
|
36387
|
+
isLoading: false;
|
|
36388
|
+
isLoadingError: false;
|
|
36389
|
+
isRefetchError: false;
|
|
36390
|
+
isSuccess: true;
|
|
36391
|
+
isPlaceholderData: false;
|
|
36392
|
+
status: "success";
|
|
36393
|
+
dataUpdatedAt: number;
|
|
36394
|
+
errorUpdatedAt: number;
|
|
36395
|
+
failureCount: number;
|
|
36396
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36397
|
+
errorUpdateCount: number;
|
|
36398
|
+
isFetched: boolean;
|
|
36399
|
+
isFetchedAfterMount: boolean;
|
|
36400
|
+
isFetching: boolean;
|
|
36401
|
+
isInitialLoading: boolean;
|
|
36402
|
+
isPaused: boolean;
|
|
36403
|
+
isRefetching: boolean;
|
|
36404
|
+
isStale: boolean;
|
|
36405
|
+
isEnabled: boolean;
|
|
36406
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36407
|
+
exact: number;
|
|
36408
|
+
rounded: number | undefined;
|
|
36409
|
+
sqrtPriceX96: bigint;
|
|
36410
|
+
}, viem0.ReadContractErrorType>>;
|
|
36411
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36412
|
+
promise: Promise<{
|
|
36413
|
+
exact: number;
|
|
36414
|
+
rounded: number | undefined;
|
|
36415
|
+
sqrtPriceX96: bigint;
|
|
36416
|
+
}>;
|
|
36417
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36418
|
+
exact: number | undefined;
|
|
36419
|
+
rounded: number | undefined;
|
|
36420
|
+
sqrtPriceX96: bigint | undefined;
|
|
36421
|
+
} | {
|
|
36422
|
+
error: viem0.ReadContractErrorType;
|
|
36423
|
+
isError: true;
|
|
36424
|
+
isPending: false;
|
|
36425
|
+
isLoading: false;
|
|
36426
|
+
isLoadingError: true;
|
|
36427
|
+
isRefetchError: false;
|
|
36428
|
+
isSuccess: false;
|
|
36429
|
+
isPlaceholderData: false;
|
|
36430
|
+
status: "error";
|
|
36431
|
+
dataUpdatedAt: number;
|
|
36432
|
+
errorUpdatedAt: number;
|
|
36433
|
+
failureCount: number;
|
|
36434
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36435
|
+
errorUpdateCount: number;
|
|
36436
|
+
isFetched: boolean;
|
|
36437
|
+
isFetchedAfterMount: boolean;
|
|
36438
|
+
isFetching: boolean;
|
|
36439
|
+
isInitialLoading: boolean;
|
|
36440
|
+
isPaused: boolean;
|
|
36441
|
+
isRefetching: boolean;
|
|
36442
|
+
isStale: boolean;
|
|
36443
|
+
isEnabled: boolean;
|
|
36444
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36445
|
+
exact: number;
|
|
36446
|
+
rounded: number | undefined;
|
|
36447
|
+
sqrtPriceX96: bigint;
|
|
36448
|
+
}, viem0.ReadContractErrorType>>;
|
|
36449
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36450
|
+
promise: Promise<{
|
|
36451
|
+
exact: number;
|
|
36452
|
+
rounded: number | undefined;
|
|
36453
|
+
sqrtPriceX96: bigint;
|
|
36454
|
+
}>;
|
|
36455
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36456
|
+
exact: number | undefined;
|
|
36457
|
+
rounded: number | undefined;
|
|
36458
|
+
sqrtPriceX96: bigint | undefined;
|
|
36459
|
+
} | {
|
|
36460
|
+
error: null;
|
|
36461
|
+
isError: false;
|
|
36462
|
+
isPending: true;
|
|
36463
|
+
isLoading: true;
|
|
36464
|
+
isLoadingError: false;
|
|
36465
|
+
isRefetchError: false;
|
|
36466
|
+
isSuccess: false;
|
|
36467
|
+
isPlaceholderData: false;
|
|
36468
|
+
status: "pending";
|
|
36469
|
+
dataUpdatedAt: number;
|
|
36470
|
+
errorUpdatedAt: number;
|
|
36471
|
+
failureCount: number;
|
|
36472
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36473
|
+
errorUpdateCount: number;
|
|
36474
|
+
isFetched: boolean;
|
|
36475
|
+
isFetchedAfterMount: boolean;
|
|
36476
|
+
isFetching: boolean;
|
|
36477
|
+
isInitialLoading: boolean;
|
|
36478
|
+
isPaused: boolean;
|
|
36479
|
+
isRefetching: boolean;
|
|
36480
|
+
isStale: boolean;
|
|
36481
|
+
isEnabled: boolean;
|
|
36482
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36483
|
+
exact: number;
|
|
36484
|
+
rounded: number | undefined;
|
|
36485
|
+
sqrtPriceX96: bigint;
|
|
36486
|
+
}, viem0.ReadContractErrorType>>;
|
|
36487
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36488
|
+
promise: Promise<{
|
|
36489
|
+
exact: number;
|
|
36490
|
+
rounded: number | undefined;
|
|
36491
|
+
sqrtPriceX96: bigint;
|
|
36492
|
+
}>;
|
|
36493
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36494
|
+
exact: number | undefined;
|
|
36495
|
+
rounded: number | undefined;
|
|
36496
|
+
sqrtPriceX96: bigint | undefined;
|
|
36497
|
+
} | {
|
|
36498
|
+
error: null;
|
|
36499
|
+
isError: false;
|
|
36500
|
+
isPending: true;
|
|
36501
|
+
isLoadingError: false;
|
|
36502
|
+
isRefetchError: false;
|
|
36503
|
+
isSuccess: false;
|
|
36504
|
+
isPlaceholderData: false;
|
|
36505
|
+
status: "pending";
|
|
36506
|
+
dataUpdatedAt: number;
|
|
36507
|
+
errorUpdatedAt: number;
|
|
36508
|
+
failureCount: number;
|
|
36509
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36510
|
+
errorUpdateCount: number;
|
|
36511
|
+
isFetched: boolean;
|
|
36512
|
+
isFetchedAfterMount: boolean;
|
|
36513
|
+
isFetching: boolean;
|
|
36514
|
+
isLoading: boolean;
|
|
36515
|
+
isInitialLoading: boolean;
|
|
36516
|
+
isPaused: boolean;
|
|
36517
|
+
isRefetching: boolean;
|
|
36518
|
+
isStale: boolean;
|
|
36519
|
+
isEnabled: boolean;
|
|
36520
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36521
|
+
exact: number;
|
|
36522
|
+
rounded: number | undefined;
|
|
36523
|
+
sqrtPriceX96: bigint;
|
|
36524
|
+
}, viem0.ReadContractErrorType>>;
|
|
36525
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36526
|
+
promise: Promise<{
|
|
36527
|
+
exact: number;
|
|
36528
|
+
rounded: number | undefined;
|
|
36529
|
+
sqrtPriceX96: bigint;
|
|
36530
|
+
}>;
|
|
36531
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36532
|
+
exact: number | undefined;
|
|
36533
|
+
rounded: number | undefined;
|
|
36534
|
+
sqrtPriceX96: bigint | undefined;
|
|
36535
|
+
} | {
|
|
36536
|
+
isError: false;
|
|
36537
|
+
error: null;
|
|
36538
|
+
isPending: false;
|
|
36539
|
+
isLoading: false;
|
|
36540
|
+
isLoadingError: false;
|
|
36541
|
+
isRefetchError: false;
|
|
36542
|
+
isSuccess: true;
|
|
36543
|
+
isPlaceholderData: true;
|
|
36544
|
+
status: "success";
|
|
36545
|
+
dataUpdatedAt: number;
|
|
36546
|
+
errorUpdatedAt: number;
|
|
36547
|
+
failureCount: number;
|
|
36548
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36549
|
+
errorUpdateCount: number;
|
|
36550
|
+
isFetched: boolean;
|
|
36551
|
+
isFetchedAfterMount: boolean;
|
|
36552
|
+
isFetching: boolean;
|
|
36553
|
+
isInitialLoading: boolean;
|
|
36554
|
+
isPaused: boolean;
|
|
36555
|
+
isRefetching: boolean;
|
|
36556
|
+
isStale: boolean;
|
|
36557
|
+
isEnabled: boolean;
|
|
36558
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36559
|
+
exact: number;
|
|
36560
|
+
rounded: number | undefined;
|
|
36561
|
+
sqrtPriceX96: bigint;
|
|
36562
|
+
}, viem0.ReadContractErrorType>>;
|
|
36563
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36564
|
+
promise: Promise<{
|
|
36565
|
+
exact: number;
|
|
36566
|
+
rounded: number | undefined;
|
|
36567
|
+
sqrtPriceX96: bigint;
|
|
36568
|
+
}>;
|
|
36569
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36346
36570
|
exact: number | undefined;
|
|
36347
36571
|
rounded: number | undefined;
|
|
36348
36572
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -36392,7 +36616,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
36392
36616
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
36393
36617
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
36394
36618
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
36395
|
-
error:
|
|
36619
|
+
error: viem0.ReadContractErrorType;
|
|
36396
36620
|
isError: true;
|
|
36397
36621
|
isPending: false;
|
|
36398
36622
|
isLoading: false;
|
|
@@ -36404,7 +36628,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36404
36628
|
dataUpdatedAt: number;
|
|
36405
36629
|
errorUpdatedAt: number;
|
|
36406
36630
|
failureCount: number;
|
|
36407
|
-
failureReason:
|
|
36631
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36408
36632
|
errorUpdateCount: number;
|
|
36409
36633
|
isFetched: boolean;
|
|
36410
36634
|
isFetchedAfterMount: boolean;
|
|
@@ -36424,7 +36648,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36424
36648
|
totalAmount1: bigint;
|
|
36425
36649
|
borrowedAmount0: bigint;
|
|
36426
36650
|
borrowedAmount1: bigint;
|
|
36427
|
-
}[],
|
|
36651
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36428
36652
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36429
36653
|
promise: Promise<readonly {
|
|
36430
36654
|
tickLower: number;
|
|
@@ -36462,7 +36686,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36462
36686
|
dataUpdatedAt: number;
|
|
36463
36687
|
errorUpdatedAt: number;
|
|
36464
36688
|
failureCount: number;
|
|
36465
|
-
failureReason:
|
|
36689
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36466
36690
|
errorUpdateCount: number;
|
|
36467
36691
|
isFetched: boolean;
|
|
36468
36692
|
isFetchedAfterMount: boolean;
|
|
@@ -36482,7 +36706,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36482
36706
|
totalAmount1: bigint;
|
|
36483
36707
|
borrowedAmount0: bigint;
|
|
36484
36708
|
borrowedAmount1: bigint;
|
|
36485
|
-
}[],
|
|
36709
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36486
36710
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36487
36711
|
promise: Promise<readonly {
|
|
36488
36712
|
tickLower: number;
|
|
@@ -36508,7 +36732,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36508
36732
|
borrowedAmount1: bigint;
|
|
36509
36733
|
}[];
|
|
36510
36734
|
} | {
|
|
36511
|
-
error:
|
|
36735
|
+
error: viem0.ReadContractErrorType;
|
|
36512
36736
|
isError: true;
|
|
36513
36737
|
isPending: false;
|
|
36514
36738
|
isLoading: false;
|
|
@@ -36520,7 +36744,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36520
36744
|
dataUpdatedAt: number;
|
|
36521
36745
|
errorUpdatedAt: number;
|
|
36522
36746
|
failureCount: number;
|
|
36523
|
-
failureReason:
|
|
36747
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36524
36748
|
errorUpdateCount: number;
|
|
36525
36749
|
isFetched: boolean;
|
|
36526
36750
|
isFetchedAfterMount: boolean;
|
|
@@ -36540,7 +36764,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36540
36764
|
totalAmount1: bigint;
|
|
36541
36765
|
borrowedAmount0: bigint;
|
|
36542
36766
|
borrowedAmount1: bigint;
|
|
36543
|
-
}[],
|
|
36767
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36544
36768
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36545
36769
|
promise: Promise<readonly {
|
|
36546
36770
|
tickLower: number;
|
|
@@ -36578,7 +36802,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36578
36802
|
dataUpdatedAt: number;
|
|
36579
36803
|
errorUpdatedAt: number;
|
|
36580
36804
|
failureCount: number;
|
|
36581
|
-
failureReason:
|
|
36805
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36582
36806
|
errorUpdateCount: number;
|
|
36583
36807
|
isFetched: boolean;
|
|
36584
36808
|
isFetchedAfterMount: boolean;
|
|
@@ -36598,7 +36822,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36598
36822
|
totalAmount1: bigint;
|
|
36599
36823
|
borrowedAmount0: bigint;
|
|
36600
36824
|
borrowedAmount1: bigint;
|
|
36601
|
-
}[],
|
|
36825
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36602
36826
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36603
36827
|
promise: Promise<readonly {
|
|
36604
36828
|
tickLower: number;
|
|
@@ -36635,7 +36859,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36635
36859
|
dataUpdatedAt: number;
|
|
36636
36860
|
errorUpdatedAt: number;
|
|
36637
36861
|
failureCount: number;
|
|
36638
|
-
failureReason:
|
|
36862
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36639
36863
|
errorUpdateCount: number;
|
|
36640
36864
|
isFetched: boolean;
|
|
36641
36865
|
isFetchedAfterMount: boolean;
|
|
@@ -36656,7 +36880,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36656
36880
|
totalAmount1: bigint;
|
|
36657
36881
|
borrowedAmount0: bigint;
|
|
36658
36882
|
borrowedAmount1: bigint;
|
|
36659
|
-
}[],
|
|
36883
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36660
36884
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36661
36885
|
promise: Promise<readonly {
|
|
36662
36886
|
tickLower: number;
|
|
@@ -36694,7 +36918,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36694
36918
|
dataUpdatedAt: number;
|
|
36695
36919
|
errorUpdatedAt: number;
|
|
36696
36920
|
failureCount: number;
|
|
36697
|
-
failureReason:
|
|
36921
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36698
36922
|
errorUpdateCount: number;
|
|
36699
36923
|
isFetched: boolean;
|
|
36700
36924
|
isFetchedAfterMount: boolean;
|
|
@@ -36714,7 +36938,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36714
36938
|
totalAmount1: bigint;
|
|
36715
36939
|
borrowedAmount0: bigint;
|
|
36716
36940
|
borrowedAmount1: bigint;
|
|
36717
|
-
}[],
|
|
36941
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36718
36942
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36719
36943
|
promise: Promise<readonly {
|
|
36720
36944
|
tickLower: number;
|
|
@@ -36778,14 +37002,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
36778
37002
|
borrowedAmount0: Amount;
|
|
36779
37003
|
borrowedAmount1: Amount;
|
|
36780
37004
|
blocksCount: bigint;
|
|
36781
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
37005
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
|
|
36782
37006
|
};
|
|
36783
37007
|
//#endregion
|
|
36784
37008
|
//#region src/hooks/useLens.d.ts
|
|
36785
37009
|
declare const useLens: () => {
|
|
36786
37010
|
timelockLens: {
|
|
36787
37011
|
read: {
|
|
36788
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
37012
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
36789
37013
|
readonly type: "function";
|
|
36790
37014
|
readonly name: "batchGetRefTick";
|
|
36791
37015
|
readonly inputs: readonly [{
|
|
@@ -37374,7 +37598,7 @@ declare const useLens: () => {
|
|
|
37374
37598
|
}];
|
|
37375
37599
|
readonly stateMutability: "view";
|
|
37376
37600
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
37377
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
37601
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
37378
37602
|
readonly type: "function";
|
|
37379
37603
|
readonly name: "batchGetRefTick";
|
|
37380
37604
|
readonly inputs: readonly [{
|
|
@@ -37973,7 +38197,7 @@ declare const useLens: () => {
|
|
|
37973
38197
|
borrowedAmount0: bigint;
|
|
37974
38198
|
borrowedAmount1: bigint;
|
|
37975
38199
|
}[]>;
|
|
37976
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
38200
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
37977
38201
|
readonly type: "function";
|
|
37978
38202
|
readonly name: "batchGetRefTick";
|
|
37979
38203
|
readonly inputs: readonly [{
|
|
@@ -38572,7 +38796,7 @@ declare const useLens: () => {
|
|
|
38572
38796
|
expiresAt: number;
|
|
38573
38797
|
liquidities: readonly bigint[];
|
|
38574
38798
|
}[], bigint, boolean]>;
|
|
38575
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
38799
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
38576
38800
|
readonly type: "function";
|
|
38577
38801
|
readonly name: "batchGetRefTick";
|
|
38578
38802
|
readonly inputs: readonly [{
|
|
@@ -39161,7 +39385,7 @@ declare const useLens: () => {
|
|
|
39161
39385
|
}];
|
|
39162
39386
|
readonly stateMutability: "view";
|
|
39163
39387
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
39164
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
39388
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
39165
39389
|
readonly type: "function";
|
|
39166
39390
|
readonly name: "batchGetRefTick";
|
|
39167
39391
|
readonly inputs: readonly [{
|
|
@@ -39763,7 +39987,7 @@ declare const useLens: () => {
|
|
|
39763
39987
|
payoutAssetName: string;
|
|
39764
39988
|
optionsCount: bigint;
|
|
39765
39989
|
}>;
|
|
39766
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
39990
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
39767
39991
|
readonly type: "function";
|
|
39768
39992
|
readonly name: "batchGetRefTick";
|
|
39769
39993
|
readonly inputs: readonly [{
|
|
@@ -40352,7 +40576,7 @@ declare const useLens: () => {
|
|
|
40352
40576
|
}];
|
|
40353
40577
|
readonly stateMutability: "view";
|
|
40354
40578
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
40355
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
40579
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
40356
40580
|
readonly type: "function";
|
|
40357
40581
|
readonly name: "batchGetRefTick";
|
|
40358
40582
|
readonly inputs: readonly [{
|
|
@@ -40941,7 +41165,7 @@ declare const useLens: () => {
|
|
|
40941
41165
|
}];
|
|
40942
41166
|
readonly stateMutability: "view";
|
|
40943
41167
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
40944
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
41168
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
40945
41169
|
readonly type: "function";
|
|
40946
41170
|
readonly name: "batchGetRefTick";
|
|
40947
41171
|
readonly inputs: readonly [{
|
|
@@ -41540,7 +41764,7 @@ declare const useLens: () => {
|
|
|
41540
41764
|
expiresAt: number;
|
|
41541
41765
|
liquidities: readonly bigint[];
|
|
41542
41766
|
}>;
|
|
41543
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
41767
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
41544
41768
|
readonly type: "function";
|
|
41545
41769
|
readonly name: "batchGetRefTick";
|
|
41546
41770
|
readonly inputs: readonly [{
|
|
@@ -42139,7 +42363,7 @@ declare const useLens: () => {
|
|
|
42139
42363
|
expiresAt: number;
|
|
42140
42364
|
liquidities: readonly bigint[];
|
|
42141
42365
|
}[]>;
|
|
42142
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
42366
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
42143
42367
|
readonly type: "function";
|
|
42144
42368
|
readonly name: "batchGetRefTick";
|
|
42145
42369
|
readonly inputs: readonly [{
|
|
@@ -42739,7 +42963,7 @@ declare const useLens: () => {
|
|
|
42739
42963
|
tickSpacing: number;
|
|
42740
42964
|
fee: number;
|
|
42741
42965
|
}>;
|
|
42742
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
42966
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
42743
42967
|
readonly type: "function";
|
|
42744
42968
|
readonly name: "batchGetRefTick";
|
|
42745
42969
|
readonly inputs: readonly [{
|
|
@@ -43328,7 +43552,7 @@ declare const useLens: () => {
|
|
|
43328
43552
|
}];
|
|
43329
43553
|
readonly stateMutability: "view";
|
|
43330
43554
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
43331
|
-
getTokenData: (args: readonly [`0x${string}`], options?:
|
|
43555
|
+
getTokenData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
43332
43556
|
readonly type: "function";
|
|
43333
43557
|
readonly name: "batchGetRefTick";
|
|
43334
43558
|
readonly inputs: readonly [{
|
|
@@ -43921,7 +44145,7 @@ declare const useLens: () => {
|
|
|
43921
44145
|
symbol: string;
|
|
43922
44146
|
name: string;
|
|
43923
44147
|
}>;
|
|
43924
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
44148
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
43925
44149
|
readonly type: "function";
|
|
43926
44150
|
readonly name: "batchGetRefTick";
|
|
43927
44151
|
readonly inputs: readonly [{
|
|
@@ -44520,7 +44744,7 @@ declare const useLens: () => {
|
|
|
44520
44744
|
expiresAt: number;
|
|
44521
44745
|
liquidities: readonly bigint[];
|
|
44522
44746
|
}[], bigint, boolean]>;
|
|
44523
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
44747
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
44524
44748
|
readonly type: "function";
|
|
44525
44749
|
readonly name: "batchGetRefTick";
|
|
44526
44750
|
readonly inputs: readonly [{
|
|
@@ -45703,7 +45927,7 @@ declare const useLens: () => {
|
|
|
45703
45927
|
} | undefined;
|
|
45704
45928
|
uniswapLens: {
|
|
45705
45929
|
read: {
|
|
45706
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
45930
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
45707
45931
|
readonly type: "function";
|
|
45708
45932
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
45709
45933
|
readonly inputs: readonly [{
|
|
@@ -46324,7 +46548,7 @@ declare const useLens: () => {
|
|
|
46324
46548
|
}];
|
|
46325
46549
|
readonly stateMutability: "pure";
|
|
46326
46550
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46327
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
46551
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
46328
46552
|
readonly type: "function";
|
|
46329
46553
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46330
46554
|
readonly inputs: readonly [{
|
|
@@ -46945,7 +47169,7 @@ declare const useLens: () => {
|
|
|
46945
47169
|
}];
|
|
46946
47170
|
readonly stateMutability: "pure";
|
|
46947
47171
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46948
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
47172
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
46949
47173
|
readonly type: "function";
|
|
46950
47174
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46951
47175
|
readonly inputs: readonly [{
|
|
@@ -47566,7 +47790,7 @@ declare const useLens: () => {
|
|
|
47566
47790
|
}];
|
|
47567
47791
|
readonly stateMutability: "pure";
|
|
47568
47792
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47569
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
47793
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
47570
47794
|
readonly type: "function";
|
|
47571
47795
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47572
47796
|
readonly inputs: readonly [{
|
|
@@ -48187,7 +48411,7 @@ declare const useLens: () => {
|
|
|
48187
48411
|
}];
|
|
48188
48412
|
readonly stateMutability: "pure";
|
|
48189
48413
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
48190
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
48414
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
48191
48415
|
readonly type: "function";
|
|
48192
48416
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48193
48417
|
readonly inputs: readonly [{
|
|
@@ -48808,7 +49032,7 @@ declare const useLens: () => {
|
|
|
48808
49032
|
}];
|
|
48809
49033
|
readonly stateMutability: "pure";
|
|
48810
49034
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
48811
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
49035
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
48812
49036
|
readonly type: "function";
|
|
48813
49037
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48814
49038
|
readonly inputs: readonly [{
|
|
@@ -49429,7 +49653,7 @@ declare const useLens: () => {
|
|
|
49429
49653
|
}];
|
|
49430
49654
|
readonly stateMutability: "pure";
|
|
49431
49655
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
49432
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
49656
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
49433
49657
|
readonly type: "function";
|
|
49434
49658
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49435
49659
|
readonly inputs: readonly [{
|
|
@@ -50050,7 +50274,7 @@ declare const useLens: () => {
|
|
|
50050
50274
|
}];
|
|
50051
50275
|
readonly stateMutability: "pure";
|
|
50052
50276
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50053
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
50277
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
50054
50278
|
readonly type: "function";
|
|
50055
50279
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50056
50280
|
readonly inputs: readonly [{
|
|
@@ -50671,7 +50895,7 @@ declare const useLens: () => {
|
|
|
50671
50895
|
}];
|
|
50672
50896
|
readonly stateMutability: "pure";
|
|
50673
50897
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50674
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
50898
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
50675
50899
|
readonly type: "function";
|
|
50676
50900
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50677
50901
|
readonly inputs: readonly [{
|
|
@@ -51292,7 +51516,7 @@ declare const useLens: () => {
|
|
|
51292
51516
|
}];
|
|
51293
51517
|
readonly stateMutability: "pure";
|
|
51294
51518
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51295
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
51519
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
51296
51520
|
readonly type: "function";
|
|
51297
51521
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51298
51522
|
readonly inputs: readonly [{
|
|
@@ -51913,7 +52137,7 @@ declare const useLens: () => {
|
|
|
51913
52137
|
}];
|
|
51914
52138
|
readonly stateMutability: "pure";
|
|
51915
52139
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51916
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
52140
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
51917
52141
|
readonly type: "function";
|
|
51918
52142
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51919
52143
|
readonly inputs: readonly [{
|
|
@@ -52534,7 +52758,7 @@ declare const useLens: () => {
|
|
|
52534
52758
|
}];
|
|
52535
52759
|
readonly stateMutability: "pure";
|
|
52536
52760
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52537
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
52761
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
52538
52762
|
readonly type: "function";
|
|
52539
52763
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52540
52764
|
readonly inputs: readonly [{
|
|
@@ -53155,7 +53379,7 @@ declare const useLens: () => {
|
|
|
53155
53379
|
}];
|
|
53156
53380
|
readonly stateMutability: "pure";
|
|
53157
53381
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53158
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
53382
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
53159
53383
|
readonly type: "function";
|
|
53160
53384
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53161
53385
|
readonly inputs: readonly [{
|
|
@@ -53776,7 +54000,7 @@ declare const useLens: () => {
|
|
|
53776
54000
|
}];
|
|
53777
54001
|
readonly stateMutability: "pure";
|
|
53778
54002
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53779
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
54003
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
53780
54004
|
readonly type: "function";
|
|
53781
54005
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53782
54006
|
readonly inputs: readonly [{
|
|
@@ -54397,7 +54621,7 @@ declare const useLens: () => {
|
|
|
54397
54621
|
}];
|
|
54398
54622
|
readonly stateMutability: "pure";
|
|
54399
54623
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54400
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
54624
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
54401
54625
|
readonly type: "function";
|
|
54402
54626
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54403
54627
|
readonly inputs: readonly [{
|
|
@@ -55018,7 +55242,7 @@ declare const useLens: () => {
|
|
|
55018
55242
|
}];
|
|
55019
55243
|
readonly stateMutability: "pure";
|
|
55020
55244
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55021
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
55245
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
55022
55246
|
readonly type: "function";
|
|
55023
55247
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55024
55248
|
readonly inputs: readonly [{
|
|
@@ -55639,7 +55863,7 @@ declare const useLens: () => {
|
|
|
55639
55863
|
}];
|
|
55640
55864
|
readonly stateMutability: "pure";
|
|
55641
55865
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55642
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
55866
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
55643
55867
|
readonly type: "function";
|
|
55644
55868
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55645
55869
|
readonly inputs: readonly [{
|
|
@@ -56260,7 +56484,7 @@ declare const useLens: () => {
|
|
|
56260
56484
|
}];
|
|
56261
56485
|
readonly stateMutability: "pure";
|
|
56262
56486
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
56263
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
56487
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
56264
56488
|
readonly type: "function";
|
|
56265
56489
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56266
56490
|
readonly inputs: readonly [{
|
|
@@ -56881,7 +57105,7 @@ declare const useLens: () => {
|
|
|
56881
57105
|
}];
|
|
56882
57106
|
readonly stateMutability: "pure";
|
|
56883
57107
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
56884
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
57108
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
56885
57109
|
readonly type: "function";
|
|
56886
57110
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56887
57111
|
readonly inputs: readonly [{
|
|
@@ -57502,7 +57726,7 @@ declare const useLens: () => {
|
|
|
57502
57726
|
}];
|
|
57503
57727
|
readonly stateMutability: "pure";
|
|
57504
57728
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
57505
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
57729
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
57506
57730
|
readonly type: "function";
|
|
57507
57731
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57508
57732
|
readonly inputs: readonly [{
|
|
@@ -58123,7 +58347,7 @@ declare const useLens: () => {
|
|
|
58123
58347
|
}];
|
|
58124
58348
|
readonly stateMutability: "pure";
|
|
58125
58349
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58126
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
58350
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
58127
58351
|
readonly type: "function";
|
|
58128
58352
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58129
58353
|
readonly inputs: readonly [{
|
|
@@ -58744,7 +58968,7 @@ declare const useLens: () => {
|
|
|
58744
58968
|
}];
|
|
58745
58969
|
readonly stateMutability: "pure";
|
|
58746
58970
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58747
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
58971
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
58748
58972
|
readonly type: "function";
|
|
58749
58973
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58750
58974
|
readonly inputs: readonly [{
|
|
@@ -59365,7 +59589,7 @@ declare const useLens: () => {
|
|
|
59365
59589
|
}];
|
|
59366
59590
|
readonly stateMutability: "pure";
|
|
59367
59591
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59368
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
59592
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
59369
59593
|
readonly type: "function";
|
|
59370
59594
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59371
59595
|
readonly inputs: readonly [{
|
|
@@ -59986,7 +60210,7 @@ declare const useLens: () => {
|
|
|
59986
60210
|
}];
|
|
59987
60211
|
readonly stateMutability: "pure";
|
|
59988
60212
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59989
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
60213
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
59990
60214
|
readonly type: "function";
|
|
59991
60215
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59992
60216
|
readonly inputs: readonly [{
|
|
@@ -60607,7 +60831,7 @@ declare const useLens: () => {
|
|
|
60607
60831
|
}];
|
|
60608
60832
|
readonly stateMutability: "pure";
|
|
60609
60833
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60610
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
60834
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
60611
60835
|
readonly type: "function";
|
|
60612
60836
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60613
60837
|
readonly inputs: readonly [{
|
|
@@ -61228,7 +61452,7 @@ declare const useLens: () => {
|
|
|
61228
61452
|
}];
|
|
61229
61453
|
readonly stateMutability: "pure";
|
|
61230
61454
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
61231
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
61455
|
+
getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
61232
61456
|
readonly type: "function";
|
|
61233
61457
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
61234
61458
|
readonly inputs: readonly [{
|
|
@@ -62485,4 +62709,4 @@ declare const useApproval: () => {
|
|
|
62485
62709
|
};
|
|
62486
62710
|
//#endregion
|
|
62487
62711
|
export { OptionEvent as $, roundTickDown as A, TimelockMarket as At, getPriceHistory as B, getPriceAtSqrtPriceX96 as C, OptionData as Ct, liquiditiesToAmount0 as D, useCurrentMarket as Dt, getTickAtPrice as E, TimelockProvider as Et, token1ToToken0AtTick as F, getTimelockMarket as Ft, useClosedUserPerps as G, useUserOperators as H, PriceData as I, getUniswapMathLens as It, useClosePerp as J, useUserPerps as K, PriceDataPoint as L, swappers as Lt, token0ToToken1 as M, UniswapMathLens as Mt, token0ToToken1AtTick as N, getErc20 as Nt, liquiditiesToAmount1 as O, useTimelockConfig as Ot, token1ToToken0 as P, getTimelockLens as Pt, MintOptionEvent as Q, PriceResolution as R, timelockLenses as Rt, getNearestValidStrikeTick as S, useExerciseOption as St, getSqrtPriceX96AtPrice as T, useClosedUserOptions as Tt, useOperatorPerms as U, useSetOperatorPerms as V, useActiveUserPerps as W, ExerciseOptionEvent as X, useMintPerp as Y, ExtendEvent as Z, useCurrentPrice as _, wrapAmountUnscaled as _t, batchGetAmountsFromLiquidity as a, useMaxPositionSize as at, PRICE_PRECISION as b, zero as bt, useLiquidityBlocks as c, formatAmount as ct, usePriceHistory as d, formatVagueAmount as dt, useOptionTimeline as et, usePriceAtTick as f, scaleAmount as ft, useCurrentTick as g, wrapAmount as gt, usePoolData as h, unscalePrice as ht, useVaultData as i, useMintOption as it, roundTickUp as j, TimelockMarketData as jt, liquiditiesToAmounts as k, TimelockLens as kt, useBurnLiquidity as l, formatCondensed as lt, UniswapPoolData as m, unscaleAmount as mt, useLens as n, useOptionPremium as nt, useMintLiquidity as o, Amount as ot, usePriceSqrtPriceX96 as p, scalePrice as pt, usePerpsOperator as q, useVaultTVL as r, useOptionPnl as rt, LiquidityBlockData as s, EMPTY_ARRAY as st, useApproval as t, useExtendOption as tt, useMarketPriceHistory as u, formatUSD as ut, getPayoutAtPrice as v, wrapPrice as vt, getPriceAtTick as w, useActiveUserOptions as wt, getAmountsFromLiquidity as x, useMarketData as xt, getPayoutAtTick as y, wrapPriceUnscaled as yt, getCurrentPrice as z, uniswapMathLenses as zt };
|
|
62488
|
-
//# sourceMappingURL=client-
|
|
62712
|
+
//# sourceMappingURL=client-Dxww1phu.d.cts.map
|