timelock-sdk 0.0.110 → 0.0.112
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-61tvmrlq.d.cts → client-191_W3kB.d.cts} +91 -84
- package/dist/{client--yJ0Oalw.d.ts → client-Bcn8F-k3.d.ts} +250 -243
- package/dist/client.cjs +125 -105
- 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 +126 -106
- package/dist/client.js.map +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-ChJFZ6hc.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as viem0 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
4
|
import Big from "big.js";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
@@ -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
|
-
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
410
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
411
411
|
readonly type: "constructor";
|
|
412
412
|
readonly inputs: readonly [{
|
|
413
413
|
readonly name: "name_";
|
|
@@ -586,7 +586,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
586
586
|
}];
|
|
587
587
|
readonly stateMutability: "nonpayable";
|
|
588
588
|
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
589
|
-
balanceOf: (args: readonly [`0x${string}`], options?:
|
|
589
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
590
590
|
readonly type: "constructor";
|
|
591
591
|
readonly inputs: readonly [{
|
|
592
592
|
readonly name: "name_";
|
|
@@ -765,7 +765,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
765
765
|
}];
|
|
766
766
|
readonly stateMutability: "nonpayable";
|
|
767
767
|
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
768
|
-
decimals: (options?:
|
|
768
|
+
decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
769
769
|
readonly type: "constructor";
|
|
770
770
|
readonly inputs: readonly [{
|
|
771
771
|
readonly name: "name_";
|
|
@@ -944,7 +944,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
944
944
|
}];
|
|
945
945
|
readonly stateMutability: "nonpayable";
|
|
946
946
|
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
947
|
-
name: (options?:
|
|
947
|
+
name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
948
948
|
readonly type: "constructor";
|
|
949
949
|
readonly inputs: readonly [{
|
|
950
950
|
readonly name: "name_";
|
|
@@ -1123,7 +1123,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1123
1123
|
}];
|
|
1124
1124
|
readonly stateMutability: "nonpayable";
|
|
1125
1125
|
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
1126
|
-
totalSupply: (options?:
|
|
1126
|
+
totalSupply: (options?: 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 [{
|
|
@@ -23378,7 +23378,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23378
23378
|
}];
|
|
23379
23379
|
readonly stateMutability: "view";
|
|
23380
23380
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
23381
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
23381
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23382
23382
|
readonly type: "function";
|
|
23383
23383
|
readonly name: "batchGetRefTick";
|
|
23384
23384
|
readonly inputs: readonly [{
|
|
@@ -24030,7 +24030,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24030
24030
|
borrowedAmount0: bigint;
|
|
24031
24031
|
borrowedAmount1: bigint;
|
|
24032
24032
|
}[]>;
|
|
24033
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
24033
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
24034
24034
|
readonly type: "function";
|
|
24035
24035
|
readonly name: "batchGetRefTick";
|
|
24036
24036
|
readonly inputs: readonly [{
|
|
@@ -24687,7 +24687,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24687
24687
|
expiresAt: number;
|
|
24688
24688
|
liquidities: readonly bigint[];
|
|
24689
24689
|
}[], bigint, boolean]>;
|
|
24690
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
24690
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
24691
24691
|
readonly type: "function";
|
|
24692
24692
|
readonly name: "batchGetRefTick";
|
|
24693
24693
|
readonly inputs: readonly [{
|
|
@@ -25329,7 +25329,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25329
25329
|
}];
|
|
25330
25330
|
readonly stateMutability: "view";
|
|
25331
25331
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25332
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
25332
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25333
25333
|
readonly type: "function";
|
|
25334
25334
|
readonly name: "batchGetRefTick";
|
|
25335
25335
|
readonly inputs: readonly [{
|
|
@@ -25984,7 +25984,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25984
25984
|
payoutAssetName: string;
|
|
25985
25985
|
optionsCount: bigint;
|
|
25986
25986
|
}>;
|
|
25987
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
25987
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25988
25988
|
readonly type: "function";
|
|
25989
25989
|
readonly name: "batchGetRefTick";
|
|
25990
25990
|
readonly inputs: readonly [{
|
|
@@ -26626,7 +26626,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26626
26626
|
}];
|
|
26627
26627
|
readonly stateMutability: "view";
|
|
26628
26628
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
26629
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
26629
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26630
26630
|
readonly type: "function";
|
|
26631
26631
|
readonly name: "batchGetRefTick";
|
|
26632
26632
|
readonly inputs: readonly [{
|
|
@@ -27268,7 +27268,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27268
27268
|
}];
|
|
27269
27269
|
readonly stateMutability: "view";
|
|
27270
27270
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
27271
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
27271
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
27272
27272
|
readonly type: "function";
|
|
27273
27273
|
readonly name: "batchGetRefTick";
|
|
27274
27274
|
readonly inputs: readonly [{
|
|
@@ -27925,7 +27925,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27925
27925
|
expiresAt: number;
|
|
27926
27926
|
liquidities: readonly bigint[];
|
|
27927
27927
|
}>;
|
|
27928
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
27928
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
27929
27929
|
readonly type: "function";
|
|
27930
27930
|
readonly name: "batchGetRefTick";
|
|
27931
27931
|
readonly inputs: readonly [{
|
|
@@ -28582,7 +28582,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28582
28582
|
expiresAt: number;
|
|
28583
28583
|
liquidities: readonly bigint[];
|
|
28584
28584
|
}[]>;
|
|
28585
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
28585
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
28586
28586
|
readonly type: "function";
|
|
28587
28587
|
readonly name: "batchGetRefTick";
|
|
28588
28588
|
readonly inputs: readonly [{
|
|
@@ -29235,7 +29235,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29235
29235
|
tickSpacing: number;
|
|
29236
29236
|
fee: number;
|
|
29237
29237
|
}>;
|
|
29238
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
29238
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
29239
29239
|
readonly type: "function";
|
|
29240
29240
|
readonly name: "batchGetRefTick";
|
|
29241
29241
|
readonly inputs: readonly [{
|
|
@@ -29877,7 +29877,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29877
29877
|
}];
|
|
29878
29878
|
readonly stateMutability: "view";
|
|
29879
29879
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
29880
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
29880
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
29881
29881
|
readonly type: "function";
|
|
29882
29882
|
readonly name: "batchGetRefTick";
|
|
29883
29883
|
readonly inputs: readonly [{
|
|
@@ -30534,7 +30534,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30534
30534
|
expiresAt: number;
|
|
30535
30535
|
liquidities: readonly bigint[];
|
|
30536
30536
|
}[], bigint, boolean]>;
|
|
30537
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
30537
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
30538
30538
|
readonly type: "function";
|
|
30539
30539
|
readonly name: "batchGetRefTick";
|
|
30540
30540
|
readonly inputs: readonly [{
|
|
@@ -31824,6 +31824,53 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
31824
31824
|
declare const timelockLenses: Record<number, Address>;
|
|
31825
31825
|
declare const uniswapMathLenses: Record<number, Address>;
|
|
31826
31826
|
//#endregion
|
|
31827
|
+
//#region src/lib/perpsOperator.d.ts
|
|
31828
|
+
type MintPerpBody = {
|
|
31829
|
+
marketAddr: Address;
|
|
31830
|
+
optionType: 'CALL' | 'PUT';
|
|
31831
|
+
amount: bigint;
|
|
31832
|
+
duration: number;
|
|
31833
|
+
strikeTick: number;
|
|
31834
|
+
};
|
|
31835
|
+
type ExercisePerpBody = {
|
|
31836
|
+
marketAddr: Address;
|
|
31837
|
+
optionId: bigint;
|
|
31838
|
+
liquidities: bigint[];
|
|
31839
|
+
};
|
|
31840
|
+
declare class PerpsOperator {
|
|
31841
|
+
#private;
|
|
31842
|
+
auth?: {
|
|
31843
|
+
message: string;
|
|
31844
|
+
signature: Hex;
|
|
31845
|
+
};
|
|
31846
|
+
constructor(baseUrl: string);
|
|
31847
|
+
getOperatorAddr: () => Promise<Address>;
|
|
31848
|
+
genAuthMessage: (userAddr: Address) => Promise<string>;
|
|
31849
|
+
validateAuthMessage: (message: string, signature: Hex) => Promise<{
|
|
31850
|
+
address: `0x${string}`;
|
|
31851
|
+
createdAt: number;
|
|
31852
|
+
validUntil: number;
|
|
31853
|
+
}>;
|
|
31854
|
+
setAuth: (message: string, signature: Hex) => void;
|
|
31855
|
+
getUserPerps: (userAddr: Address, marketAddr?: Address, type?: "active" | "closed", offset?: number, limit?: number) => Promise<{
|
|
31856
|
+
optionId: bigint;
|
|
31857
|
+
id: string;
|
|
31858
|
+
ownerAddr: Address;
|
|
31859
|
+
marketAddr: Address;
|
|
31860
|
+
perpDuration: number;
|
|
31861
|
+
expiresAt: number;
|
|
31862
|
+
closed: boolean;
|
|
31863
|
+
}[]>;
|
|
31864
|
+
mintPerp: (body: MintPerpBody) => Promise<{
|
|
31865
|
+
txHash: string;
|
|
31866
|
+
optionId: bigint;
|
|
31867
|
+
}>;
|
|
31868
|
+
exercisePerp: (body: ExercisePerpBody) => Promise<{
|
|
31869
|
+
txHash: string;
|
|
31870
|
+
optionId: bigint;
|
|
31871
|
+
}>;
|
|
31872
|
+
}
|
|
31873
|
+
//#endregion
|
|
31827
31874
|
//#region src/providers/TimelockProvider.d.ts
|
|
31828
31875
|
type TimelockContextValue = {
|
|
31829
31876
|
marketData: Partial<TimelockMarketData>;
|
|
@@ -31831,6 +31878,7 @@ type TimelockContextValue = {
|
|
|
31831
31878
|
uniswapMathLensAddr?: Address;
|
|
31832
31879
|
envioGraphqlUrl?: string;
|
|
31833
31880
|
graphqlClient?: ReturnType<typeof getSdk>;
|
|
31881
|
+
perpsOperator?: PerpsOperator;
|
|
31834
31882
|
perpsOperatorUrl?: string;
|
|
31835
31883
|
};
|
|
31836
31884
|
declare const TimelockProvider: ({
|
|
@@ -34904,53 +34952,6 @@ declare const useMintPerp: (marketAddr?: Address) => _tanstack_react_query0.UseM
|
|
|
34904
34952
|
strikeTick?: number;
|
|
34905
34953
|
}, unknown>;
|
|
34906
34954
|
//#endregion
|
|
34907
|
-
//#region src/lib/perpsOperator.d.ts
|
|
34908
|
-
type MintPerpBody = {
|
|
34909
|
-
marketAddr: Address;
|
|
34910
|
-
optionType: 'CALL' | 'PUT';
|
|
34911
|
-
amount: bigint;
|
|
34912
|
-
duration: number;
|
|
34913
|
-
strikeTick: number;
|
|
34914
|
-
};
|
|
34915
|
-
type ExercisePerpBody = {
|
|
34916
|
-
marketAddr: Address;
|
|
34917
|
-
optionId: bigint;
|
|
34918
|
-
liquidities: bigint[];
|
|
34919
|
-
};
|
|
34920
|
-
declare class PerpsOperator {
|
|
34921
|
-
#private;
|
|
34922
|
-
auth?: {
|
|
34923
|
-
message: string;
|
|
34924
|
-
signature: Hex;
|
|
34925
|
-
};
|
|
34926
|
-
constructor(baseUrl: string);
|
|
34927
|
-
getOperatorAddr: () => Promise<Address>;
|
|
34928
|
-
genAuthMessage: (userAddr: Address) => Promise<string>;
|
|
34929
|
-
validateAuthMessage: (message: string, signature: Hex) => Promise<{
|
|
34930
|
-
address: `0x${string}`;
|
|
34931
|
-
createdAt: number;
|
|
34932
|
-
validUntil: number;
|
|
34933
|
-
}>;
|
|
34934
|
-
setAuth: (message: string, signature: Hex) => void;
|
|
34935
|
-
getUserPerps: (userAddr: Address, marketAddr?: Address, type?: "active" | "closed", offset?: number, limit?: number) => Promise<{
|
|
34936
|
-
optionId: bigint;
|
|
34937
|
-
id: string;
|
|
34938
|
-
ownerAddr: Address;
|
|
34939
|
-
marketAddr: Address;
|
|
34940
|
-
perpDuration: number;
|
|
34941
|
-
expiresAt: number;
|
|
34942
|
-
closed: boolean;
|
|
34943
|
-
}[]>;
|
|
34944
|
-
mintPerp: (body: MintPerpBody) => Promise<{
|
|
34945
|
-
txHash: string;
|
|
34946
|
-
optionId: bigint;
|
|
34947
|
-
}>;
|
|
34948
|
-
exercisePerp: (body: ExercisePerpBody) => Promise<{
|
|
34949
|
-
txHash: string;
|
|
34950
|
-
optionId: bigint;
|
|
34951
|
-
}>;
|
|
34952
|
-
}
|
|
34953
|
-
//#endregion
|
|
34954
34955
|
//#region src/hooks/perps/useClosePerp.d.ts
|
|
34955
34956
|
declare const useClosePerp: () => _tanstack_react_query0.UseMutationResult<void, Error, ExercisePerpBody, unknown>;
|
|
34956
34957
|
//#endregion
|
|
@@ -35886,7 +35887,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35886
35887
|
//#endregion
|
|
35887
35888
|
//#region src/hooks/operators/useOperatorPerms.d.ts
|
|
35888
35889
|
declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, operatorAddr?: Address) => {
|
|
35889
|
-
error:
|
|
35890
|
+
error: viem0.ReadContractErrorType;
|
|
35890
35891
|
isError: true;
|
|
35891
35892
|
isPending: false;
|
|
35892
35893
|
isLoading: false;
|
|
@@ -35898,7 +35899,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35898
35899
|
dataUpdatedAt: number;
|
|
35899
35900
|
errorUpdatedAt: number;
|
|
35900
35901
|
failureCount: number;
|
|
35901
|
-
failureReason:
|
|
35902
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35902
35903
|
errorUpdateCount: number;
|
|
35903
35904
|
isFetched: boolean;
|
|
35904
35905
|
isFetchedAfterMount: boolean;
|
|
@@ -35908,17 +35909,18 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35908
35909
|
isRefetching: boolean;
|
|
35909
35910
|
isStale: boolean;
|
|
35910
35911
|
isEnabled: boolean;
|
|
35911
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
35912
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35912
35913
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35913
35914
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35914
35915
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
35915
35916
|
data: {
|
|
35916
|
-
canExtend: boolean;
|
|
35917
|
-
canExercise: boolean;
|
|
35918
|
-
canTransfer: boolean;
|
|
35919
|
-
canMint: boolean;
|
|
35920
|
-
spendingApproval: bigint;
|
|
35921
|
-
|
|
35917
|
+
canExtend: boolean | undefined;
|
|
35918
|
+
canExercise: boolean | undefined;
|
|
35919
|
+
canTransfer: boolean | undefined;
|
|
35920
|
+
canMint: boolean | undefined;
|
|
35921
|
+
spendingApproval: bigint | undefined;
|
|
35922
|
+
effectiveApproval: bigint;
|
|
35923
|
+
};
|
|
35922
35924
|
} | {
|
|
35923
35925
|
error: null;
|
|
35924
35926
|
isError: false;
|
|
@@ -35932,7 +35934,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35932
35934
|
dataUpdatedAt: number;
|
|
35933
35935
|
errorUpdatedAt: number;
|
|
35934
35936
|
failureCount: number;
|
|
35935
|
-
failureReason:
|
|
35937
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35936
35938
|
errorUpdateCount: number;
|
|
35937
35939
|
isFetched: boolean;
|
|
35938
35940
|
isFetchedAfterMount: boolean;
|
|
@@ -35942,19 +35944,20 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35942
35944
|
isRefetching: boolean;
|
|
35943
35945
|
isStale: boolean;
|
|
35944
35946
|
isEnabled: boolean;
|
|
35945
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
35947
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35946
35948
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35947
35949
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35948
35950
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
35949
35951
|
data: {
|
|
35950
|
-
canExtend: boolean;
|
|
35951
|
-
canExercise: boolean;
|
|
35952
|
-
canTransfer: boolean;
|
|
35953
|
-
canMint: boolean;
|
|
35954
|
-
spendingApproval: bigint;
|
|
35955
|
-
|
|
35952
|
+
canExtend: boolean | undefined;
|
|
35953
|
+
canExercise: boolean | undefined;
|
|
35954
|
+
canTransfer: boolean | undefined;
|
|
35955
|
+
canMint: boolean | undefined;
|
|
35956
|
+
spendingApproval: bigint | undefined;
|
|
35957
|
+
effectiveApproval: bigint;
|
|
35958
|
+
};
|
|
35956
35959
|
} | {
|
|
35957
|
-
error:
|
|
35960
|
+
error: viem0.ReadContractErrorType;
|
|
35958
35961
|
isError: true;
|
|
35959
35962
|
isPending: false;
|
|
35960
35963
|
isLoading: false;
|
|
@@ -35966,7 +35969,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35966
35969
|
dataUpdatedAt: number;
|
|
35967
35970
|
errorUpdatedAt: number;
|
|
35968
35971
|
failureCount: number;
|
|
35969
|
-
failureReason:
|
|
35972
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35970
35973
|
errorUpdateCount: number;
|
|
35971
35974
|
isFetched: boolean;
|
|
35972
35975
|
isFetchedAfterMount: boolean;
|
|
@@ -35976,17 +35979,18 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35976
35979
|
isRefetching: boolean;
|
|
35977
35980
|
isStale: boolean;
|
|
35978
35981
|
isEnabled: boolean;
|
|
35979
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
35982
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35980
35983
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35981
35984
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35982
35985
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
35983
35986
|
data: {
|
|
35984
|
-
canExtend: boolean;
|
|
35985
|
-
canExercise: boolean;
|
|
35986
|
-
canTransfer: boolean;
|
|
35987
|
-
canMint: boolean;
|
|
35988
|
-
spendingApproval: bigint;
|
|
35989
|
-
|
|
35987
|
+
canExtend: boolean | undefined;
|
|
35988
|
+
canExercise: boolean | undefined;
|
|
35989
|
+
canTransfer: boolean | undefined;
|
|
35990
|
+
canMint: boolean | undefined;
|
|
35991
|
+
spendingApproval: bigint | undefined;
|
|
35992
|
+
effectiveApproval: bigint;
|
|
35993
|
+
};
|
|
35990
35994
|
} | {
|
|
35991
35995
|
error: null;
|
|
35992
35996
|
isError: false;
|
|
@@ -36000,7 +36004,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36000
36004
|
dataUpdatedAt: number;
|
|
36001
36005
|
errorUpdatedAt: number;
|
|
36002
36006
|
failureCount: number;
|
|
36003
|
-
failureReason:
|
|
36007
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36004
36008
|
errorUpdateCount: number;
|
|
36005
36009
|
isFetched: boolean;
|
|
36006
36010
|
isFetchedAfterMount: boolean;
|
|
@@ -36010,17 +36014,18 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36010
36014
|
isRefetching: boolean;
|
|
36011
36015
|
isStale: boolean;
|
|
36012
36016
|
isEnabled: boolean;
|
|
36013
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
36017
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
36014
36018
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36015
36019
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36016
36020
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
36017
36021
|
data: {
|
|
36018
|
-
canExtend: boolean;
|
|
36019
|
-
canExercise: boolean;
|
|
36020
|
-
canTransfer: boolean;
|
|
36021
|
-
canMint: boolean;
|
|
36022
|
-
spendingApproval: bigint;
|
|
36023
|
-
|
|
36022
|
+
canExtend: boolean | undefined;
|
|
36023
|
+
canExercise: boolean | undefined;
|
|
36024
|
+
canTransfer: boolean | undefined;
|
|
36025
|
+
canMint: boolean | undefined;
|
|
36026
|
+
spendingApproval: bigint | undefined;
|
|
36027
|
+
effectiveApproval: bigint;
|
|
36028
|
+
};
|
|
36024
36029
|
} | {
|
|
36025
36030
|
error: null;
|
|
36026
36031
|
isError: false;
|
|
@@ -36033,7 +36038,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36033
36038
|
dataUpdatedAt: number;
|
|
36034
36039
|
errorUpdatedAt: number;
|
|
36035
36040
|
failureCount: number;
|
|
36036
|
-
failureReason:
|
|
36041
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36037
36042
|
errorUpdateCount: number;
|
|
36038
36043
|
isFetched: boolean;
|
|
36039
36044
|
isFetchedAfterMount: boolean;
|
|
@@ -36044,17 +36049,18 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36044
36049
|
isRefetching: boolean;
|
|
36045
36050
|
isStale: boolean;
|
|
36046
36051
|
isEnabled: boolean;
|
|
36047
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
36052
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
36048
36053
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36049
36054
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36050
36055
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
36051
36056
|
data: {
|
|
36052
|
-
canExtend: boolean;
|
|
36053
|
-
canExercise: boolean;
|
|
36054
|
-
canTransfer: boolean;
|
|
36055
|
-
canMint: boolean;
|
|
36056
|
-
spendingApproval: bigint;
|
|
36057
|
-
|
|
36057
|
+
canExtend: boolean | undefined;
|
|
36058
|
+
canExercise: boolean | undefined;
|
|
36059
|
+
canTransfer: boolean | undefined;
|
|
36060
|
+
canMint: boolean | undefined;
|
|
36061
|
+
spendingApproval: bigint | undefined;
|
|
36062
|
+
effectiveApproval: bigint;
|
|
36063
|
+
};
|
|
36058
36064
|
} | {
|
|
36059
36065
|
isError: false;
|
|
36060
36066
|
error: null;
|
|
@@ -36068,7 +36074,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36068
36074
|
dataUpdatedAt: number;
|
|
36069
36075
|
errorUpdatedAt: number;
|
|
36070
36076
|
failureCount: number;
|
|
36071
|
-
failureReason:
|
|
36077
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36072
36078
|
errorUpdateCount: number;
|
|
36073
36079
|
isFetched: boolean;
|
|
36074
36080
|
isFetchedAfterMount: boolean;
|
|
@@ -36078,17 +36084,18 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36078
36084
|
isRefetching: boolean;
|
|
36079
36085
|
isStale: boolean;
|
|
36080
36086
|
isEnabled: boolean;
|
|
36081
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
36087
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
36082
36088
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36083
36089
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36084
36090
|
queryKey: _tanstack_query_core0.QueryKey;
|
|
36085
36091
|
data: {
|
|
36086
|
-
canExtend: boolean;
|
|
36087
|
-
canExercise: boolean;
|
|
36088
|
-
canTransfer: boolean;
|
|
36089
|
-
canMint: boolean;
|
|
36090
|
-
spendingApproval: bigint;
|
|
36091
|
-
|
|
36092
|
+
canExtend: boolean | undefined;
|
|
36093
|
+
canExercise: boolean | undefined;
|
|
36094
|
+
canTransfer: boolean | undefined;
|
|
36095
|
+
canMint: boolean | undefined;
|
|
36096
|
+
spendingApproval: bigint | undefined;
|
|
36097
|
+
effectiveApproval: bigint;
|
|
36098
|
+
};
|
|
36092
36099
|
};
|
|
36093
36100
|
//#endregion
|
|
36094
36101
|
//#region src/hooks/operators/useUserOperators.d.ts
|
|
@@ -36589,7 +36596,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
36589
36596
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
36590
36597
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
36591
36598
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
36592
|
-
error:
|
|
36599
|
+
error: viem0.ReadContractErrorType;
|
|
36593
36600
|
isError: true;
|
|
36594
36601
|
isPending: false;
|
|
36595
36602
|
isLoading: false;
|
|
@@ -36601,7 +36608,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36601
36608
|
dataUpdatedAt: number;
|
|
36602
36609
|
errorUpdatedAt: number;
|
|
36603
36610
|
failureCount: number;
|
|
36604
|
-
failureReason:
|
|
36611
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36605
36612
|
errorUpdateCount: number;
|
|
36606
36613
|
isFetched: boolean;
|
|
36607
36614
|
isFetchedAfterMount: boolean;
|
|
@@ -36621,7 +36628,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36621
36628
|
totalAmount1: bigint;
|
|
36622
36629
|
borrowedAmount0: bigint;
|
|
36623
36630
|
borrowedAmount1: bigint;
|
|
36624
|
-
}[],
|
|
36631
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36625
36632
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36626
36633
|
promise: Promise<readonly {
|
|
36627
36634
|
tickLower: number;
|
|
@@ -36659,7 +36666,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36659
36666
|
dataUpdatedAt: number;
|
|
36660
36667
|
errorUpdatedAt: number;
|
|
36661
36668
|
failureCount: number;
|
|
36662
|
-
failureReason:
|
|
36669
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36663
36670
|
errorUpdateCount: number;
|
|
36664
36671
|
isFetched: boolean;
|
|
36665
36672
|
isFetchedAfterMount: boolean;
|
|
@@ -36679,7 +36686,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36679
36686
|
totalAmount1: bigint;
|
|
36680
36687
|
borrowedAmount0: bigint;
|
|
36681
36688
|
borrowedAmount1: bigint;
|
|
36682
|
-
}[],
|
|
36689
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36683
36690
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36684
36691
|
promise: Promise<readonly {
|
|
36685
36692
|
tickLower: number;
|
|
@@ -36705,7 +36712,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36705
36712
|
borrowedAmount1: bigint;
|
|
36706
36713
|
}[];
|
|
36707
36714
|
} | {
|
|
36708
|
-
error:
|
|
36715
|
+
error: viem0.ReadContractErrorType;
|
|
36709
36716
|
isError: true;
|
|
36710
36717
|
isPending: false;
|
|
36711
36718
|
isLoading: false;
|
|
@@ -36717,7 +36724,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36717
36724
|
dataUpdatedAt: number;
|
|
36718
36725
|
errorUpdatedAt: number;
|
|
36719
36726
|
failureCount: number;
|
|
36720
|
-
failureReason:
|
|
36727
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36721
36728
|
errorUpdateCount: number;
|
|
36722
36729
|
isFetched: boolean;
|
|
36723
36730
|
isFetchedAfterMount: boolean;
|
|
@@ -36737,7 +36744,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36737
36744
|
totalAmount1: bigint;
|
|
36738
36745
|
borrowedAmount0: bigint;
|
|
36739
36746
|
borrowedAmount1: bigint;
|
|
36740
|
-
}[],
|
|
36747
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36741
36748
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36742
36749
|
promise: Promise<readonly {
|
|
36743
36750
|
tickLower: number;
|
|
@@ -36775,7 +36782,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36775
36782
|
dataUpdatedAt: number;
|
|
36776
36783
|
errorUpdatedAt: number;
|
|
36777
36784
|
failureCount: number;
|
|
36778
|
-
failureReason:
|
|
36785
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36779
36786
|
errorUpdateCount: number;
|
|
36780
36787
|
isFetched: boolean;
|
|
36781
36788
|
isFetchedAfterMount: boolean;
|
|
@@ -36795,7 +36802,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36795
36802
|
totalAmount1: bigint;
|
|
36796
36803
|
borrowedAmount0: bigint;
|
|
36797
36804
|
borrowedAmount1: bigint;
|
|
36798
|
-
}[],
|
|
36805
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36799
36806
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36800
36807
|
promise: Promise<readonly {
|
|
36801
36808
|
tickLower: number;
|
|
@@ -36832,7 +36839,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36832
36839
|
dataUpdatedAt: number;
|
|
36833
36840
|
errorUpdatedAt: number;
|
|
36834
36841
|
failureCount: number;
|
|
36835
|
-
failureReason:
|
|
36842
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36836
36843
|
errorUpdateCount: number;
|
|
36837
36844
|
isFetched: boolean;
|
|
36838
36845
|
isFetchedAfterMount: boolean;
|
|
@@ -36853,7 +36860,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36853
36860
|
totalAmount1: bigint;
|
|
36854
36861
|
borrowedAmount0: bigint;
|
|
36855
36862
|
borrowedAmount1: bigint;
|
|
36856
|
-
}[],
|
|
36863
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36857
36864
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36858
36865
|
promise: Promise<readonly {
|
|
36859
36866
|
tickLower: number;
|
|
@@ -36891,7 +36898,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36891
36898
|
dataUpdatedAt: number;
|
|
36892
36899
|
errorUpdatedAt: number;
|
|
36893
36900
|
failureCount: number;
|
|
36894
|
-
failureReason:
|
|
36901
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36895
36902
|
errorUpdateCount: number;
|
|
36896
36903
|
isFetched: boolean;
|
|
36897
36904
|
isFetchedAfterMount: boolean;
|
|
@@ -36911,7 +36918,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36911
36918
|
totalAmount1: bigint;
|
|
36912
36919
|
borrowedAmount0: bigint;
|
|
36913
36920
|
borrowedAmount1: bigint;
|
|
36914
|
-
}[],
|
|
36921
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36915
36922
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36916
36923
|
promise: Promise<readonly {
|
|
36917
36924
|
tickLower: number;
|
|
@@ -36975,14 +36982,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
36975
36982
|
borrowedAmount0: Amount;
|
|
36976
36983
|
borrowedAmount1: Amount;
|
|
36977
36984
|
blocksCount: bigint;
|
|
36978
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
36985
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
|
|
36979
36986
|
};
|
|
36980
36987
|
//#endregion
|
|
36981
36988
|
//#region src/hooks/useLens.d.ts
|
|
36982
36989
|
declare const useLens: () => {
|
|
36983
36990
|
timelockLens: {
|
|
36984
36991
|
read: {
|
|
36985
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
36992
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
36986
36993
|
readonly type: "function";
|
|
36987
36994
|
readonly name: "batchGetRefTick";
|
|
36988
36995
|
readonly inputs: readonly [{
|
|
@@ -37624,7 +37631,7 @@ declare const useLens: () => {
|
|
|
37624
37631
|
}];
|
|
37625
37632
|
readonly stateMutability: "view";
|
|
37626
37633
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
37627
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
37634
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
37628
37635
|
readonly type: "function";
|
|
37629
37636
|
readonly name: "batchGetRefTick";
|
|
37630
37637
|
readonly inputs: readonly [{
|
|
@@ -38276,7 +38283,7 @@ declare const useLens: () => {
|
|
|
38276
38283
|
borrowedAmount0: bigint;
|
|
38277
38284
|
borrowedAmount1: bigint;
|
|
38278
38285
|
}[]>;
|
|
38279
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
38286
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
38280
38287
|
readonly type: "function";
|
|
38281
38288
|
readonly name: "batchGetRefTick";
|
|
38282
38289
|
readonly inputs: readonly [{
|
|
@@ -38933,7 +38940,7 @@ declare const useLens: () => {
|
|
|
38933
38940
|
expiresAt: number;
|
|
38934
38941
|
liquidities: readonly bigint[];
|
|
38935
38942
|
}[], bigint, boolean]>;
|
|
38936
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
38943
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
38937
38944
|
readonly type: "function";
|
|
38938
38945
|
readonly name: "batchGetRefTick";
|
|
38939
38946
|
readonly inputs: readonly [{
|
|
@@ -39575,7 +39582,7 @@ declare const useLens: () => {
|
|
|
39575
39582
|
}];
|
|
39576
39583
|
readonly stateMutability: "view";
|
|
39577
39584
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
39578
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
39585
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
39579
39586
|
readonly type: "function";
|
|
39580
39587
|
readonly name: "batchGetRefTick";
|
|
39581
39588
|
readonly inputs: readonly [{
|
|
@@ -40230,7 +40237,7 @@ declare const useLens: () => {
|
|
|
40230
40237
|
payoutAssetName: string;
|
|
40231
40238
|
optionsCount: bigint;
|
|
40232
40239
|
}>;
|
|
40233
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
40240
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
40234
40241
|
readonly type: "function";
|
|
40235
40242
|
readonly name: "batchGetRefTick";
|
|
40236
40243
|
readonly inputs: readonly [{
|
|
@@ -40872,7 +40879,7 @@ declare const useLens: () => {
|
|
|
40872
40879
|
}];
|
|
40873
40880
|
readonly stateMutability: "view";
|
|
40874
40881
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
40875
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
40882
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
40876
40883
|
readonly type: "function";
|
|
40877
40884
|
readonly name: "batchGetRefTick";
|
|
40878
40885
|
readonly inputs: readonly [{
|
|
@@ -41514,7 +41521,7 @@ declare const useLens: () => {
|
|
|
41514
41521
|
}];
|
|
41515
41522
|
readonly stateMutability: "view";
|
|
41516
41523
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
41517
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
41524
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
41518
41525
|
readonly type: "function";
|
|
41519
41526
|
readonly name: "batchGetRefTick";
|
|
41520
41527
|
readonly inputs: readonly [{
|
|
@@ -42171,7 +42178,7 @@ declare const useLens: () => {
|
|
|
42171
42178
|
expiresAt: number;
|
|
42172
42179
|
liquidities: readonly bigint[];
|
|
42173
42180
|
}>;
|
|
42174
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
42181
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
42175
42182
|
readonly type: "function";
|
|
42176
42183
|
readonly name: "batchGetRefTick";
|
|
42177
42184
|
readonly inputs: readonly [{
|
|
@@ -42828,7 +42835,7 @@ declare const useLens: () => {
|
|
|
42828
42835
|
expiresAt: number;
|
|
42829
42836
|
liquidities: readonly bigint[];
|
|
42830
42837
|
}[]>;
|
|
42831
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
42838
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
42832
42839
|
readonly type: "function";
|
|
42833
42840
|
readonly name: "batchGetRefTick";
|
|
42834
42841
|
readonly inputs: readonly [{
|
|
@@ -43481,7 +43488,7 @@ declare const useLens: () => {
|
|
|
43481
43488
|
tickSpacing: number;
|
|
43482
43489
|
fee: number;
|
|
43483
43490
|
}>;
|
|
43484
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
43491
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
43485
43492
|
readonly type: "function";
|
|
43486
43493
|
readonly name: "batchGetRefTick";
|
|
43487
43494
|
readonly inputs: readonly [{
|
|
@@ -44123,7 +44130,7 @@ declare const useLens: () => {
|
|
|
44123
44130
|
}];
|
|
44124
44131
|
readonly stateMutability: "view";
|
|
44125
44132
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
44126
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
44133
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
44127
44134
|
readonly type: "function";
|
|
44128
44135
|
readonly name: "batchGetRefTick";
|
|
44129
44136
|
readonly inputs: readonly [{
|
|
@@ -44780,7 +44787,7 @@ declare const useLens: () => {
|
|
|
44780
44787
|
expiresAt: number;
|
|
44781
44788
|
liquidities: readonly bigint[];
|
|
44782
44789
|
}[], bigint, boolean]>;
|
|
44783
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
44790
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
44784
44791
|
readonly type: "function";
|
|
44785
44792
|
readonly name: "batchGetRefTick";
|
|
44786
44793
|
readonly inputs: readonly [{
|
|
@@ -46069,7 +46076,7 @@ declare const useLens: () => {
|
|
|
46069
46076
|
} | undefined;
|
|
46070
46077
|
uniswapLens: {
|
|
46071
46078
|
read: {
|
|
46072
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
46079
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
46073
46080
|
readonly type: "function";
|
|
46074
46081
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46075
46082
|
readonly inputs: readonly [{
|
|
@@ -46690,7 +46697,7 @@ declare const useLens: () => {
|
|
|
46690
46697
|
}];
|
|
46691
46698
|
readonly stateMutability: "pure";
|
|
46692
46699
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46693
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
46700
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
46694
46701
|
readonly type: "function";
|
|
46695
46702
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46696
46703
|
readonly inputs: readonly [{
|
|
@@ -47311,7 +47318,7 @@ declare const useLens: () => {
|
|
|
47311
47318
|
}];
|
|
47312
47319
|
readonly stateMutability: "pure";
|
|
47313
47320
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47314
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
47321
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
47315
47322
|
readonly type: "function";
|
|
47316
47323
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47317
47324
|
readonly inputs: readonly [{
|
|
@@ -47932,7 +47939,7 @@ declare const useLens: () => {
|
|
|
47932
47939
|
}];
|
|
47933
47940
|
readonly stateMutability: "pure";
|
|
47934
47941
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47935
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
47942
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
47936
47943
|
readonly type: "function";
|
|
47937
47944
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47938
47945
|
readonly inputs: readonly [{
|
|
@@ -48553,7 +48560,7 @@ declare const useLens: () => {
|
|
|
48553
48560
|
}];
|
|
48554
48561
|
readonly stateMutability: "pure";
|
|
48555
48562
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
48556
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
48563
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
48557
48564
|
readonly type: "function";
|
|
48558
48565
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48559
48566
|
readonly inputs: readonly [{
|
|
@@ -49174,7 +49181,7 @@ declare const useLens: () => {
|
|
|
49174
49181
|
}];
|
|
49175
49182
|
readonly stateMutability: "pure";
|
|
49176
49183
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
49177
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
49184
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
49178
49185
|
readonly type: "function";
|
|
49179
49186
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49180
49187
|
readonly inputs: readonly [{
|
|
@@ -49795,7 +49802,7 @@ declare const useLens: () => {
|
|
|
49795
49802
|
}];
|
|
49796
49803
|
readonly stateMutability: "pure";
|
|
49797
49804
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
49798
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
49805
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
49799
49806
|
readonly type: "function";
|
|
49800
49807
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49801
49808
|
readonly inputs: readonly [{
|
|
@@ -50416,7 +50423,7 @@ declare const useLens: () => {
|
|
|
50416
50423
|
}];
|
|
50417
50424
|
readonly stateMutability: "pure";
|
|
50418
50425
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50419
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
50426
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
50420
50427
|
readonly type: "function";
|
|
50421
50428
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50422
50429
|
readonly inputs: readonly [{
|
|
@@ -51037,7 +51044,7 @@ declare const useLens: () => {
|
|
|
51037
51044
|
}];
|
|
51038
51045
|
readonly stateMutability: "pure";
|
|
51039
51046
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51040
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
51047
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
51041
51048
|
readonly type: "function";
|
|
51042
51049
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51043
51050
|
readonly inputs: readonly [{
|
|
@@ -51658,7 +51665,7 @@ declare const useLens: () => {
|
|
|
51658
51665
|
}];
|
|
51659
51666
|
readonly stateMutability: "pure";
|
|
51660
51667
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51661
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
51668
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
51662
51669
|
readonly type: "function";
|
|
51663
51670
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51664
51671
|
readonly inputs: readonly [{
|
|
@@ -52279,7 +52286,7 @@ declare const useLens: () => {
|
|
|
52279
52286
|
}];
|
|
52280
52287
|
readonly stateMutability: "pure";
|
|
52281
52288
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52282
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
52289
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
52283
52290
|
readonly type: "function";
|
|
52284
52291
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52285
52292
|
readonly inputs: readonly [{
|
|
@@ -52900,7 +52907,7 @@ declare const useLens: () => {
|
|
|
52900
52907
|
}];
|
|
52901
52908
|
readonly stateMutability: "pure";
|
|
52902
52909
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52903
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
52910
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
52904
52911
|
readonly type: "function";
|
|
52905
52912
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52906
52913
|
readonly inputs: readonly [{
|
|
@@ -53521,7 +53528,7 @@ declare const useLens: () => {
|
|
|
53521
53528
|
}];
|
|
53522
53529
|
readonly stateMutability: "pure";
|
|
53523
53530
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53524
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
53531
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
53525
53532
|
readonly type: "function";
|
|
53526
53533
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53527
53534
|
readonly inputs: readonly [{
|
|
@@ -54142,7 +54149,7 @@ declare const useLens: () => {
|
|
|
54142
54149
|
}];
|
|
54143
54150
|
readonly stateMutability: "pure";
|
|
54144
54151
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
54145
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
54152
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
54146
54153
|
readonly type: "function";
|
|
54147
54154
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54148
54155
|
readonly inputs: readonly [{
|
|
@@ -54763,7 +54770,7 @@ declare const useLens: () => {
|
|
|
54763
54770
|
}];
|
|
54764
54771
|
readonly stateMutability: "pure";
|
|
54765
54772
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54766
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
54773
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
54767
54774
|
readonly type: "function";
|
|
54768
54775
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54769
54776
|
readonly inputs: readonly [{
|
|
@@ -55384,7 +55391,7 @@ declare const useLens: () => {
|
|
|
55384
55391
|
}];
|
|
55385
55392
|
readonly stateMutability: "pure";
|
|
55386
55393
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55387
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
55394
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
55388
55395
|
readonly type: "function";
|
|
55389
55396
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55390
55397
|
readonly inputs: readonly [{
|
|
@@ -56005,7 +56012,7 @@ declare const useLens: () => {
|
|
|
56005
56012
|
}];
|
|
56006
56013
|
readonly stateMutability: "pure";
|
|
56007
56014
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
56008
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
56015
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
56009
56016
|
readonly type: "function";
|
|
56010
56017
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56011
56018
|
readonly inputs: readonly [{
|
|
@@ -56626,7 +56633,7 @@ declare const useLens: () => {
|
|
|
56626
56633
|
}];
|
|
56627
56634
|
readonly stateMutability: "pure";
|
|
56628
56635
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
56629
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
56636
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
56630
56637
|
readonly type: "function";
|
|
56631
56638
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56632
56639
|
readonly inputs: readonly [{
|
|
@@ -57247,7 +57254,7 @@ declare const useLens: () => {
|
|
|
57247
57254
|
}];
|
|
57248
57255
|
readonly stateMutability: "pure";
|
|
57249
57256
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
57250
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
57257
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
57251
57258
|
readonly type: "function";
|
|
57252
57259
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57253
57260
|
readonly inputs: readonly [{
|
|
@@ -57868,7 +57875,7 @@ declare const useLens: () => {
|
|
|
57868
57875
|
}];
|
|
57869
57876
|
readonly stateMutability: "pure";
|
|
57870
57877
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
57871
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
57878
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
57872
57879
|
readonly type: "function";
|
|
57873
57880
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57874
57881
|
readonly inputs: readonly [{
|
|
@@ -58489,7 +58496,7 @@ declare const useLens: () => {
|
|
|
58489
58496
|
}];
|
|
58490
58497
|
readonly stateMutability: "pure";
|
|
58491
58498
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58492
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
58499
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
58493
58500
|
readonly type: "function";
|
|
58494
58501
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58495
58502
|
readonly inputs: readonly [{
|
|
@@ -59110,7 +59117,7 @@ declare const useLens: () => {
|
|
|
59110
59117
|
}];
|
|
59111
59118
|
readonly stateMutability: "pure";
|
|
59112
59119
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59113
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
59120
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
59114
59121
|
readonly type: "function";
|
|
59115
59122
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59116
59123
|
readonly inputs: readonly [{
|
|
@@ -59731,7 +59738,7 @@ declare const useLens: () => {
|
|
|
59731
59738
|
}];
|
|
59732
59739
|
readonly stateMutability: "pure";
|
|
59733
59740
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59734
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
59741
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
59735
59742
|
readonly type: "function";
|
|
59736
59743
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59737
59744
|
readonly inputs: readonly [{
|
|
@@ -60352,7 +60359,7 @@ declare const useLens: () => {
|
|
|
60352
60359
|
}];
|
|
60353
60360
|
readonly stateMutability: "pure";
|
|
60354
60361
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60355
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
60362
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
60356
60363
|
readonly type: "function";
|
|
60357
60364
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60358
60365
|
readonly inputs: readonly [{
|
|
@@ -60973,7 +60980,7 @@ declare const useLens: () => {
|
|
|
60973
60980
|
}];
|
|
60974
60981
|
readonly stateMutability: "pure";
|
|
60975
60982
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60976
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
60983
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
60977
60984
|
readonly type: "function";
|
|
60978
60985
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60979
60986
|
readonly inputs: readonly [{
|
|
@@ -61594,7 +61601,7 @@ declare const useLens: () => {
|
|
|
61594
61601
|
}];
|
|
61595
61602
|
readonly stateMutability: "pure";
|
|
61596
61603
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
61597
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
61604
|
+
getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
61598
61605
|
readonly type: "function";
|
|
61599
61606
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
61600
61607
|
readonly inputs: readonly [{
|
|
@@ -62851,4 +62858,4 @@ declare const useApproval: () => {
|
|
|
62851
62858
|
};
|
|
62852
62859
|
//#endregion
|
|
62853
62860
|
export { formatCondensed as $, PriceDataPoint as A, usePerpsOperator as B, liquiditiesToAmount1 as C, getErc20 as Ct, token0ToToken1 as D, timelockLenses as Dt, roundTickUp as E, getUniswapMathLens as Et, useUserOperators as F, useExtendOption as G, useMintPerp as H, useOperatorPerms as I, useMintOption as J, useOptionPremium as K, useActiveUserPerps as L, getCurrentPrice as M, getPriceHistory as N, token1ToToken0 as O, uniswapMathLenses as Ot, useSetOperatorPerms as P, formatAmount as Q, useClosedUserPerps as R, liquiditiesToAmount0 as S, UniswapMathLens as St, roundTickDown as T, getTimelockMarket as Tt, OptionTimelineData as U, useClosePerp as V, useOptionTimeline as W, Amount as X, useMaxPositionSize as Y, EMPTY_ARRAY as Z, PRICE_PRECISION as _, useCurrentMarket as _t, batchGetAmountsFromLiquidity as a, unscalePrice as at, getPriceAtTick as b, TimelockMarket as bt, useLiquidityBlocks as c, wrapPrice as ct, usePriceAtTick as d, useMarketData as dt, formatUSD as et, UniswapPoolData as f, useExerciseOption as ft, getPayoutAtTick as g, TimelockProvider as gt, useCurrentPrice as h, useClosedUserOptions as ht, useVaultData as i, unscaleAmount as it, PriceResolution as j, PriceData as k, useBurnLiquidity as l, wrapPriceUnscaled as lt, useCurrentTick as m, useActiveUserOptions as mt, useLens as n, scaleAmount as nt, useMintLiquidity as o, wrapAmount as ot, usePoolData as p, OptionData as pt, useOptionPnl as q, useVaultTVL as r, scalePrice as rt, LiquidityBlockData as s, wrapAmountUnscaled as st, useApproval as t, formatVagueAmount as tt, usePriceHistory as u, zero as ut, getAmountsFromLiquidity as v, useTimelockConfig as vt, liquiditiesToAmounts as w, getTimelockLens as wt, getTickAtPrice as x, TimelockMarketData as xt, getNearestValidStrikeTick as y, TimelockLens as yt, useUserPerps as z };
|
|
62854
|
-
//# sourceMappingURL=client
|
|
62861
|
+
//# sourceMappingURL=client-Bcn8F-k3.d.ts.map
|