timelock-sdk 0.0.90 → 0.0.92
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-C5RLDuP0.d.ts → client-CGZEauft.d.ts} +865 -2
- package/dist/{client-CGWZcidn.d.cts → client-DJzkUajw.d.cts} +1019 -156
- package/dist/client.cjs +13 -1
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +13 -2
- 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,13 +1,14 @@
|
|
|
1
1
|
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-B_cHjOOB.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as viem131 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, PublicClient } from "viem";
|
|
4
4
|
import React, { ReactNode } from "react";
|
|
5
5
|
import "graphql";
|
|
6
6
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
7
|
-
import * as
|
|
7
|
+
import * as _tanstack_react_query3 from "@tanstack/react-query";
|
|
8
8
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
9
9
|
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
10
10
|
import Big from "big.js";
|
|
11
|
+
import * as wagmi0 from "wagmi";
|
|
11
12
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
12
13
|
|
|
13
14
|
//#region src/generated/graphql.d.ts
|
|
@@ -228,7 +229,7 @@ type TimelockMarketData = Awaited<ReturnType<TimelockLens['read']['getMarketData
|
|
|
228
229
|
};
|
|
229
230
|
declare const getErc20: (address: Address, client: Client) => {
|
|
230
231
|
read: {
|
|
231
|
-
symbol: (options?:
|
|
232
|
+
symbol: (options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
232
233
|
readonly type: "constructor";
|
|
233
234
|
readonly inputs: readonly [{
|
|
234
235
|
readonly name: "name_";
|
|
@@ -407,7 +408,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
407
408
|
}];
|
|
408
409
|
readonly stateMutability: "nonpayable";
|
|
409
410
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
410
|
-
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
411
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
411
412
|
readonly type: "constructor";
|
|
412
413
|
readonly inputs: readonly [{
|
|
413
414
|
readonly name: "name_";
|
|
@@ -586,7 +587,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
586
587
|
}];
|
|
587
588
|
readonly stateMutability: "nonpayable";
|
|
588
589
|
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
589
|
-
balanceOf: (args: readonly [`0x${string}`], options?:
|
|
590
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
590
591
|
readonly type: "constructor";
|
|
591
592
|
readonly inputs: readonly [{
|
|
592
593
|
readonly name: "name_";
|
|
@@ -765,7 +766,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
765
766
|
}];
|
|
766
767
|
readonly stateMutability: "nonpayable";
|
|
767
768
|
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
768
|
-
decimals: (options?:
|
|
769
|
+
decimals: (options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
769
770
|
readonly type: "constructor";
|
|
770
771
|
readonly inputs: readonly [{
|
|
771
772
|
readonly name: "name_";
|
|
@@ -944,7 +945,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
944
945
|
}];
|
|
945
946
|
readonly stateMutability: "nonpayable";
|
|
946
947
|
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
947
|
-
name: (options?:
|
|
948
|
+
name: (options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
948
949
|
readonly type: "constructor";
|
|
949
950
|
readonly inputs: readonly [{
|
|
950
951
|
readonly name: "name_";
|
|
@@ -1123,7 +1124,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1123
1124
|
}];
|
|
1124
1125
|
readonly stateMutability: "nonpayable";
|
|
1125
1126
|
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
1126
|
-
totalSupply: (options?:
|
|
1127
|
+
totalSupply: (options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
1127
1128
|
readonly type: "constructor";
|
|
1128
1129
|
readonly inputs: readonly [{
|
|
1129
1130
|
readonly name: "name_";
|
|
@@ -1304,7 +1305,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1304
1305
|
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1305
1306
|
};
|
|
1306
1307
|
estimateGas: {
|
|
1307
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
1308
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.EstimateContractGasParameters<readonly [{
|
|
1308
1309
|
readonly type: "constructor";
|
|
1309
1310
|
readonly inputs: readonly [{
|
|
1310
1311
|
readonly name: "name_";
|
|
@@ -1482,8 +1483,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1482
1483
|
readonly internalType: "bool";
|
|
1483
1484
|
}];
|
|
1484
1485
|
readonly stateMutability: "nonpayable";
|
|
1485
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
1486
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1486
|
+
}], "approve", readonly [`0x${string}`, bigint], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
1487
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.EstimateContractGasParameters<readonly [{
|
|
1487
1488
|
readonly type: "constructor";
|
|
1488
1489
|
readonly inputs: readonly [{
|
|
1489
1490
|
readonly name: "name_";
|
|
@@ -1661,8 +1662,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1661
1662
|
readonly internalType: "bool";
|
|
1662
1663
|
}];
|
|
1663
1664
|
readonly stateMutability: "nonpayable";
|
|
1664
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
1665
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1665
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
1666
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.EstimateContractGasParameters<readonly [{
|
|
1666
1667
|
readonly type: "constructor";
|
|
1667
1668
|
readonly inputs: readonly [{
|
|
1668
1669
|
readonly name: "name_";
|
|
@@ -1840,8 +1841,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1840
1841
|
readonly internalType: "bool";
|
|
1841
1842
|
}];
|
|
1842
1843
|
readonly stateMutability: "nonpayable";
|
|
1843
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
1844
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
1844
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
1845
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.EstimateContractGasParameters<readonly [{
|
|
1845
1846
|
readonly type: "constructor";
|
|
1846
1847
|
readonly inputs: readonly [{
|
|
1847
1848
|
readonly name: "name_";
|
|
@@ -2019,8 +2020,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2019
2020
|
readonly internalType: "bool";
|
|
2020
2021
|
}];
|
|
2021
2022
|
readonly stateMutability: "nonpayable";
|
|
2022
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2023
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2023
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
2024
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.EstimateContractGasParameters<readonly [{
|
|
2024
2025
|
readonly type: "constructor";
|
|
2025
2026
|
readonly inputs: readonly [{
|
|
2026
2027
|
readonly name: "name_";
|
|
@@ -2198,9 +2199,9 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2198
2199
|
readonly internalType: "bool";
|
|
2199
2200
|
}];
|
|
2200
2201
|
readonly stateMutability: "nonpayable";
|
|
2201
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
2202
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
2202
2203
|
} & {
|
|
2203
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
2204
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.EstimateContractGasParameters<readonly [{
|
|
2204
2205
|
readonly type: "constructor";
|
|
2205
2206
|
readonly inputs: readonly [{
|
|
2206
2207
|
readonly name: "name_";
|
|
@@ -2378,8 +2379,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2378
2379
|
readonly internalType: "bool";
|
|
2379
2380
|
}];
|
|
2380
2381
|
readonly stateMutability: "nonpayable";
|
|
2381
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
2382
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2382
|
+
}], "approve", readonly [`0x${string}`, bigint], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
2383
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.EstimateContractGasParameters<readonly [{
|
|
2383
2384
|
readonly type: "constructor";
|
|
2384
2385
|
readonly inputs: readonly [{
|
|
2385
2386
|
readonly name: "name_";
|
|
@@ -2557,8 +2558,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2557
2558
|
readonly internalType: "bool";
|
|
2558
2559
|
}];
|
|
2559
2560
|
readonly stateMutability: "nonpayable";
|
|
2560
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
2561
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2561
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
2562
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.EstimateContractGasParameters<readonly [{
|
|
2562
2563
|
readonly type: "constructor";
|
|
2563
2564
|
readonly inputs: readonly [{
|
|
2564
2565
|
readonly name: "name_";
|
|
@@ -2736,8 +2737,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2736
2737
|
readonly internalType: "bool";
|
|
2737
2738
|
}];
|
|
2738
2739
|
readonly stateMutability: "nonpayable";
|
|
2739
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
2740
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
2740
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
2741
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.EstimateContractGasParameters<readonly [{
|
|
2741
2742
|
readonly type: "constructor";
|
|
2742
2743
|
readonly inputs: readonly [{
|
|
2743
2744
|
readonly name: "name_";
|
|
@@ -2915,8 +2916,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2915
2916
|
readonly internalType: "bool";
|
|
2916
2917
|
}];
|
|
2917
2918
|
readonly stateMutability: "nonpayable";
|
|
2918
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2919
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2919
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
2920
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem131.Prettify<viem131.UnionOmit<viem131.EstimateContractGasParameters<readonly [{
|
|
2920
2921
|
readonly type: "constructor";
|
|
2921
2922
|
readonly inputs: readonly [{
|
|
2922
2923
|
readonly name: "name_";
|
|
@@ -3094,10 +3095,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3094
3095
|
readonly internalType: "bool";
|
|
3095
3096
|
}];
|
|
3096
3097
|
readonly stateMutability: "nonpayable";
|
|
3097
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
3098
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem131.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem131.EstimateContractGasReturnType>;
|
|
3098
3099
|
};
|
|
3099
3100
|
simulate: {
|
|
3100
|
-
approve: <chainOverride extends
|
|
3101
|
+
approve: <chainOverride extends viem131.Chain | undefined = undefined, accountOverride extends viem131.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem131.SimulateContractParameters<readonly [{
|
|
3101
3102
|
readonly type: "constructor";
|
|
3102
3103
|
readonly inputs: readonly [{
|
|
3103
3104
|
readonly name: "name_";
|
|
@@ -3275,7 +3276,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3275
3276
|
readonly internalType: "bool";
|
|
3276
3277
|
}];
|
|
3277
3278
|
readonly stateMutability: "nonpayable";
|
|
3278
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3279
|
+
}], "approve", readonly [`0x${string}`, bigint], viem131.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem131.SimulateContractReturnType<readonly [{
|
|
3279
3280
|
readonly type: "constructor";
|
|
3280
3281
|
readonly inputs: readonly [{
|
|
3281
3282
|
readonly name: "name_";
|
|
@@ -3453,8 +3454,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3453
3454
|
readonly internalType: "bool";
|
|
3454
3455
|
}];
|
|
3455
3456
|
readonly stateMutability: "nonpayable";
|
|
3456
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3457
|
-
decreaseAllowance: <chainOverride extends
|
|
3457
|
+
}], "approve", readonly [`0x${string}`, bigint], viem131.Chain | undefined, viem131.Account | undefined, chainOverride, accountOverride>>;
|
|
3458
|
+
decreaseAllowance: <chainOverride extends viem131.Chain | undefined = undefined, accountOverride extends viem131.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem131.SimulateContractParameters<readonly [{
|
|
3458
3459
|
readonly type: "constructor";
|
|
3459
3460
|
readonly inputs: readonly [{
|
|
3460
3461
|
readonly name: "name_";
|
|
@@ -3632,7 +3633,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3632
3633
|
readonly internalType: "bool";
|
|
3633
3634
|
}];
|
|
3634
3635
|
readonly stateMutability: "nonpayable";
|
|
3635
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3636
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem131.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem131.SimulateContractReturnType<readonly [{
|
|
3636
3637
|
readonly type: "constructor";
|
|
3637
3638
|
readonly inputs: readonly [{
|
|
3638
3639
|
readonly name: "name_";
|
|
@@ -3810,8 +3811,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3810
3811
|
readonly internalType: "bool";
|
|
3811
3812
|
}];
|
|
3812
3813
|
readonly stateMutability: "nonpayable";
|
|
3813
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3814
|
-
increaseAllowance: <chainOverride extends
|
|
3814
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem131.Chain | undefined, viem131.Account | undefined, chainOverride, accountOverride>>;
|
|
3815
|
+
increaseAllowance: <chainOverride extends viem131.Chain | undefined = undefined, accountOverride extends viem131.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem131.SimulateContractParameters<readonly [{
|
|
3815
3816
|
readonly type: "constructor";
|
|
3816
3817
|
readonly inputs: readonly [{
|
|
3817
3818
|
readonly name: "name_";
|
|
@@ -3989,7 +3990,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3989
3990
|
readonly internalType: "bool";
|
|
3990
3991
|
}];
|
|
3991
3992
|
readonly stateMutability: "nonpayable";
|
|
3992
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
3993
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem131.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem131.SimulateContractReturnType<readonly [{
|
|
3993
3994
|
readonly type: "constructor";
|
|
3994
3995
|
readonly inputs: readonly [{
|
|
3995
3996
|
readonly name: "name_";
|
|
@@ -4167,8 +4168,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4167
4168
|
readonly internalType: "bool";
|
|
4168
4169
|
}];
|
|
4169
4170
|
readonly stateMutability: "nonpayable";
|
|
4170
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
4171
|
-
transfer: <chainOverride extends
|
|
4171
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem131.Chain | undefined, viem131.Account | undefined, chainOverride, accountOverride>>;
|
|
4172
|
+
transfer: <chainOverride extends viem131.Chain | undefined = undefined, accountOverride extends viem131.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem131.SimulateContractParameters<readonly [{
|
|
4172
4173
|
readonly type: "constructor";
|
|
4173
4174
|
readonly inputs: readonly [{
|
|
4174
4175
|
readonly name: "name_";
|
|
@@ -4346,7 +4347,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4346
4347
|
readonly internalType: "bool";
|
|
4347
4348
|
}];
|
|
4348
4349
|
readonly stateMutability: "nonpayable";
|
|
4349
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4350
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem131.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem131.SimulateContractReturnType<readonly [{
|
|
4350
4351
|
readonly type: "constructor";
|
|
4351
4352
|
readonly inputs: readonly [{
|
|
4352
4353
|
readonly name: "name_";
|
|
@@ -4524,8 +4525,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4524
4525
|
readonly internalType: "bool";
|
|
4525
4526
|
}];
|
|
4526
4527
|
readonly stateMutability: "nonpayable";
|
|
4527
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4528
|
-
transferFrom: <chainOverride extends
|
|
4528
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem131.Chain | undefined, viem131.Account | undefined, chainOverride, accountOverride>>;
|
|
4529
|
+
transferFrom: <chainOverride extends viem131.Chain | undefined = undefined, accountOverride extends viem131.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem131.SimulateContractParameters<readonly [{
|
|
4529
4530
|
readonly type: "constructor";
|
|
4530
4531
|
readonly inputs: readonly [{
|
|
4531
4532
|
readonly name: "name_";
|
|
@@ -4703,7 +4704,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4703
4704
|
readonly internalType: "bool";
|
|
4704
4705
|
}];
|
|
4705
4706
|
readonly stateMutability: "nonpayable";
|
|
4706
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4707
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem131.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem131.SimulateContractReturnType<readonly [{
|
|
4707
4708
|
readonly type: "constructor";
|
|
4708
4709
|
readonly inputs: readonly [{
|
|
4709
4710
|
readonly name: "name_";
|
|
@@ -4881,10 +4882,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4881
4882
|
readonly internalType: "bool";
|
|
4882
4883
|
}];
|
|
4883
4884
|
readonly stateMutability: "nonpayable";
|
|
4884
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4885
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem131.Chain | undefined, viem131.Account | undefined, chainOverride, accountOverride>>;
|
|
4885
4886
|
};
|
|
4886
4887
|
write: {
|
|
4887
|
-
approve: <chainOverride extends
|
|
4888
|
+
approve: <chainOverride extends viem131.Chain | undefined, options extends (viem131.UnionOmit<viem131.WriteContractParameters<readonly [{
|
|
4888
4889
|
readonly type: "constructor";
|
|
4889
4890
|
readonly inputs: readonly [{
|
|
4890
4891
|
readonly name: "name_";
|
|
@@ -5062,8 +5063,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5062
5063
|
readonly internalType: "bool";
|
|
5063
5064
|
}];
|
|
5064
5065
|
readonly stateMutability: "nonpayable";
|
|
5065
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
5066
|
-
decreaseAllowance: <chainOverride extends
|
|
5066
|
+
}], "approve", readonly [`0x${string}`, bigint], viem131.Chain | undefined, viem131.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem131.WriteContractReturnType>;
|
|
5067
|
+
decreaseAllowance: <chainOverride extends viem131.Chain | undefined, options extends (viem131.UnionOmit<viem131.WriteContractParameters<readonly [{
|
|
5067
5068
|
readonly type: "constructor";
|
|
5068
5069
|
readonly inputs: readonly [{
|
|
5069
5070
|
readonly name: "name_";
|
|
@@ -5241,8 +5242,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5241
5242
|
readonly internalType: "bool";
|
|
5242
5243
|
}];
|
|
5243
5244
|
readonly stateMutability: "nonpayable";
|
|
5244
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
5245
|
-
increaseAllowance: <chainOverride extends
|
|
5245
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem131.Chain | undefined, viem131.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem131.WriteContractReturnType>;
|
|
5246
|
+
increaseAllowance: <chainOverride extends viem131.Chain | undefined, options extends (viem131.UnionOmit<viem131.WriteContractParameters<readonly [{
|
|
5246
5247
|
readonly type: "constructor";
|
|
5247
5248
|
readonly inputs: readonly [{
|
|
5248
5249
|
readonly name: "name_";
|
|
@@ -5420,8 +5421,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5420
5421
|
readonly internalType: "bool";
|
|
5421
5422
|
}];
|
|
5422
5423
|
readonly stateMutability: "nonpayable";
|
|
5423
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
5424
|
-
transfer: <chainOverride extends
|
|
5424
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem131.Chain | undefined, viem131.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem131.WriteContractReturnType>;
|
|
5425
|
+
transfer: <chainOverride extends viem131.Chain | undefined, options extends (viem131.UnionOmit<viem131.WriteContractParameters<readonly [{
|
|
5425
5426
|
readonly type: "constructor";
|
|
5426
5427
|
readonly inputs: readonly [{
|
|
5427
5428
|
readonly name: "name_";
|
|
@@ -5599,8 +5600,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5599
5600
|
readonly internalType: "bool";
|
|
5600
5601
|
}];
|
|
5601
5602
|
readonly stateMutability: "nonpayable";
|
|
5602
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
5603
|
-
transferFrom: <chainOverride extends
|
|
5603
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem131.Chain | undefined, viem131.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem131.WriteContractReturnType>;
|
|
5604
|
+
transferFrom: <chainOverride extends viem131.Chain | undefined, options extends (viem131.UnionOmit<viem131.WriteContractParameters<readonly [{
|
|
5604
5605
|
readonly type: "constructor";
|
|
5605
5606
|
readonly inputs: readonly [{
|
|
5606
5607
|
readonly name: "name_";
|
|
@@ -5778,7 +5779,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5778
5779
|
readonly internalType: "bool";
|
|
5779
5780
|
}];
|
|
5780
5781
|
readonly stateMutability: "nonpayable";
|
|
5781
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
5782
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem131.Chain | undefined, viem131.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, `0x${string}`, bigint], options: options) => Promise<viem131.WriteContractReturnType>;
|
|
5782
5783
|
};
|
|
5783
5784
|
address: `0x${string}`;
|
|
5784
5785
|
abi: readonly [{
|
|
@@ -5964,7 +5965,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5964
5965
|
declare const getTimelockMarket: (address: Address, client: Client) => TimelockMarket;
|
|
5965
5966
|
declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
5966
5967
|
read: {
|
|
5967
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
5968
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
5968
5969
|
readonly type: "function";
|
|
5969
5970
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
5970
5971
|
readonly inputs: readonly [{
|
|
@@ -6585,7 +6586,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
6585
6586
|
}];
|
|
6586
6587
|
readonly stateMutability: "pure";
|
|
6587
6588
|
}], "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?:
|
|
6589
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
6589
6590
|
readonly type: "function";
|
|
6590
6591
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6591
6592
|
readonly inputs: readonly [{
|
|
@@ -7206,7 +7207,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
7206
7207
|
}];
|
|
7207
7208
|
readonly stateMutability: "pure";
|
|
7208
7209
|
}], "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?:
|
|
7210
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
7210
7211
|
readonly type: "function";
|
|
7211
7212
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7212
7213
|
readonly inputs: readonly [{
|
|
@@ -7827,7 +7828,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
7827
7828
|
}];
|
|
7828
7829
|
readonly stateMutability: "pure";
|
|
7829
7830
|
}], "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?:
|
|
7831
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
7831
7832
|
readonly type: "function";
|
|
7832
7833
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7833
7834
|
readonly inputs: readonly [{
|
|
@@ -8448,7 +8449,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
8448
8449
|
}];
|
|
8449
8450
|
readonly stateMutability: "pure";
|
|
8450
8451
|
}], "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?:
|
|
8452
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
8452
8453
|
readonly type: "function";
|
|
8453
8454
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8454
8455
|
readonly inputs: readonly [{
|
|
@@ -9069,7 +9070,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
9069
9070
|
}];
|
|
9070
9071
|
readonly stateMutability: "pure";
|
|
9071
9072
|
}], "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?:
|
|
9073
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
9073
9074
|
readonly type: "function";
|
|
9074
9075
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9075
9076
|
readonly inputs: readonly [{
|
|
@@ -9690,7 +9691,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
9690
9691
|
}];
|
|
9691
9692
|
readonly stateMutability: "pure";
|
|
9692
9693
|
}], "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?:
|
|
9694
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
9694
9695
|
readonly type: "function";
|
|
9695
9696
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9696
9697
|
readonly inputs: readonly [{
|
|
@@ -10311,7 +10312,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10311
10312
|
}];
|
|
10312
10313
|
readonly stateMutability: "pure";
|
|
10313
10314
|
}], "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?:
|
|
10315
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
10315
10316
|
readonly type: "function";
|
|
10316
10317
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10317
10318
|
readonly inputs: readonly [{
|
|
@@ -10932,7 +10933,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10932
10933
|
}];
|
|
10933
10934
|
readonly stateMutability: "pure";
|
|
10934
10935
|
}], "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?:
|
|
10936
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
10936
10937
|
readonly type: "function";
|
|
10937
10938
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10938
10939
|
readonly inputs: readonly [{
|
|
@@ -11553,7 +11554,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
11553
11554
|
}];
|
|
11554
11555
|
readonly stateMutability: "pure";
|
|
11555
11556
|
}], "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?:
|
|
11557
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
11557
11558
|
readonly type: "function";
|
|
11558
11559
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11559
11560
|
readonly inputs: readonly [{
|
|
@@ -12174,7 +12175,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12174
12175
|
}];
|
|
12175
12176
|
readonly stateMutability: "pure";
|
|
12176
12177
|
}], "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?:
|
|
12178
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
12178
12179
|
readonly type: "function";
|
|
12179
12180
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12180
12181
|
readonly inputs: readonly [{
|
|
@@ -12795,7 +12796,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12795
12796
|
}];
|
|
12796
12797
|
readonly stateMutability: "pure";
|
|
12797
12798
|
}], "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?:
|
|
12799
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
12799
12800
|
readonly type: "function";
|
|
12800
12801
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12801
12802
|
readonly inputs: readonly [{
|
|
@@ -13416,7 +13417,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
13416
13417
|
}];
|
|
13417
13418
|
readonly stateMutability: "pure";
|
|
13418
13419
|
}], "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?:
|
|
13420
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
13420
13421
|
readonly type: "function";
|
|
13421
13422
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13422
13423
|
readonly inputs: readonly [{
|
|
@@ -14037,7 +14038,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14037
14038
|
}];
|
|
14038
14039
|
readonly stateMutability: "pure";
|
|
14039
14040
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14040
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
14041
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
14041
14042
|
readonly type: "function";
|
|
14042
14043
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14043
14044
|
readonly inputs: readonly [{
|
|
@@ -14658,7 +14659,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14658
14659
|
}];
|
|
14659
14660
|
readonly stateMutability: "pure";
|
|
14660
14661
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
14661
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
14662
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
14662
14663
|
readonly type: "function";
|
|
14663
14664
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14664
14665
|
readonly inputs: readonly [{
|
|
@@ -15279,7 +15280,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15279
15280
|
}];
|
|
15280
15281
|
readonly stateMutability: "pure";
|
|
15281
15282
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15282
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
15283
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
15283
15284
|
readonly type: "function";
|
|
15284
15285
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15285
15286
|
readonly inputs: readonly [{
|
|
@@ -15900,7 +15901,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15900
15901
|
}];
|
|
15901
15902
|
readonly stateMutability: "pure";
|
|
15902
15903
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15903
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
15904
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
15904
15905
|
readonly type: "function";
|
|
15905
15906
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15906
15907
|
readonly inputs: readonly [{
|
|
@@ -16521,7 +16522,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
16521
16522
|
}];
|
|
16522
16523
|
readonly stateMutability: "pure";
|
|
16523
16524
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
16524
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
16525
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
16525
16526
|
readonly type: "function";
|
|
16526
16527
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16527
16528
|
readonly inputs: readonly [{
|
|
@@ -17142,7 +17143,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17142
17143
|
}];
|
|
17143
17144
|
readonly stateMutability: "pure";
|
|
17144
17145
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
17145
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
17146
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
17146
17147
|
readonly type: "function";
|
|
17147
17148
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17148
17149
|
readonly inputs: readonly [{
|
|
@@ -17763,7 +17764,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17763
17764
|
}];
|
|
17764
17765
|
readonly stateMutability: "pure";
|
|
17765
17766
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
17766
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
17767
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
17767
17768
|
readonly type: "function";
|
|
17768
17769
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17769
17770
|
readonly inputs: readonly [{
|
|
@@ -18384,7 +18385,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
18384
18385
|
}];
|
|
18385
18386
|
readonly stateMutability: "pure";
|
|
18386
18387
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
18387
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
18388
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
18388
18389
|
readonly type: "function";
|
|
18389
18390
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18390
18391
|
readonly inputs: readonly [{
|
|
@@ -19005,7 +19006,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19005
19006
|
}];
|
|
19006
19007
|
readonly stateMutability: "pure";
|
|
19007
19008
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
19008
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
19009
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
19009
19010
|
readonly type: "function";
|
|
19010
19011
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19011
19012
|
readonly inputs: readonly [{
|
|
@@ -19626,7 +19627,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19626
19627
|
}];
|
|
19627
19628
|
readonly stateMutability: "pure";
|
|
19628
19629
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
19629
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
19630
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
19630
19631
|
readonly type: "function";
|
|
19631
19632
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19632
19633
|
readonly inputs: readonly [{
|
|
@@ -20247,7 +20248,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20247
20248
|
}];
|
|
20248
20249
|
readonly stateMutability: "pure";
|
|
20249
20250
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20250
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
20251
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
20251
20252
|
readonly type: "function";
|
|
20252
20253
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20253
20254
|
readonly inputs: readonly [{
|
|
@@ -20868,7 +20869,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20868
20869
|
}];
|
|
20869
20870
|
readonly stateMutability: "pure";
|
|
20870
20871
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20871
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
20872
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
20872
20873
|
readonly type: "function";
|
|
20873
20874
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20874
20875
|
readonly inputs: readonly [{
|
|
@@ -21489,7 +21490,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
21489
21490
|
}];
|
|
21490
21491
|
readonly stateMutability: "pure";
|
|
21491
21492
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21492
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
21493
|
+
getPriceAtTick: (args: readonly [number], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
21493
21494
|
readonly type: "function";
|
|
21494
21495
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21495
21496
|
readonly inputs: readonly [{
|
|
@@ -22736,7 +22737,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
22736
22737
|
};
|
|
22737
22738
|
declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
22738
22739
|
read: {
|
|
22739
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
22740
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
22740
22741
|
readonly type: "function";
|
|
22741
22742
|
readonly name: "batchGetRefTick";
|
|
22742
22743
|
readonly inputs: readonly [{
|
|
@@ -23378,7 +23379,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23378
23379
|
}];
|
|
23379
23380
|
readonly stateMutability: "view";
|
|
23380
23381
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
23381
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
23382
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
23382
23383
|
readonly type: "function";
|
|
23383
23384
|
readonly name: "batchGetRefTick";
|
|
23384
23385
|
readonly inputs: readonly [{
|
|
@@ -24030,7 +24031,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24030
24031
|
borrowedAmount0: bigint;
|
|
24031
24032
|
borrowedAmount1: bigint;
|
|
24032
24033
|
}[]>;
|
|
24033
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
24034
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
24034
24035
|
readonly type: "function";
|
|
24035
24036
|
readonly name: "batchGetRefTick";
|
|
24036
24037
|
readonly inputs: readonly [{
|
|
@@ -24687,7 +24688,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24687
24688
|
expiresAt: number;
|
|
24688
24689
|
liquidities: readonly bigint[];
|
|
24689
24690
|
}[], bigint, boolean]>;
|
|
24690
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
24691
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
24691
24692
|
readonly type: "function";
|
|
24692
24693
|
readonly name: "batchGetRefTick";
|
|
24693
24694
|
readonly inputs: readonly [{
|
|
@@ -25329,7 +25330,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25329
25330
|
}];
|
|
25330
25331
|
readonly stateMutability: "view";
|
|
25331
25332
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25332
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
25333
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
25333
25334
|
readonly type: "function";
|
|
25334
25335
|
readonly name: "batchGetRefTick";
|
|
25335
25336
|
readonly inputs: readonly [{
|
|
@@ -25984,7 +25985,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25984
25985
|
payoutAssetName: string;
|
|
25985
25986
|
optionsCount: bigint;
|
|
25986
25987
|
}>;
|
|
25987
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
25988
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
25988
25989
|
readonly type: "function";
|
|
25989
25990
|
readonly name: "batchGetRefTick";
|
|
25990
25991
|
readonly inputs: readonly [{
|
|
@@ -26626,7 +26627,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26626
26627
|
}];
|
|
26627
26628
|
readonly stateMutability: "view";
|
|
26628
26629
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
26629
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
26630
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
26630
26631
|
readonly type: "function";
|
|
26631
26632
|
readonly name: "batchGetRefTick";
|
|
26632
26633
|
readonly inputs: readonly [{
|
|
@@ -27268,7 +27269,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27268
27269
|
}];
|
|
27269
27270
|
readonly stateMutability: "view";
|
|
27270
27271
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
27271
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
27272
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
27272
27273
|
readonly type: "function";
|
|
27273
27274
|
readonly name: "batchGetRefTick";
|
|
27274
27275
|
readonly inputs: readonly [{
|
|
@@ -27925,7 +27926,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27925
27926
|
expiresAt: number;
|
|
27926
27927
|
liquidities: readonly bigint[];
|
|
27927
27928
|
}>;
|
|
27928
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
27929
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
27929
27930
|
readonly type: "function";
|
|
27930
27931
|
readonly name: "batchGetRefTick";
|
|
27931
27932
|
readonly inputs: readonly [{
|
|
@@ -28582,7 +28583,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28582
28583
|
expiresAt: number;
|
|
28583
28584
|
liquidities: readonly bigint[];
|
|
28584
28585
|
}[]>;
|
|
28585
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
28586
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
28586
28587
|
readonly type: "function";
|
|
28587
28588
|
readonly name: "batchGetRefTick";
|
|
28588
28589
|
readonly inputs: readonly [{
|
|
@@ -29235,7 +29236,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29235
29236
|
tickSpacing: number;
|
|
29236
29237
|
fee: number;
|
|
29237
29238
|
}>;
|
|
29238
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
29239
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
29239
29240
|
readonly type: "function";
|
|
29240
29241
|
readonly name: "batchGetRefTick";
|
|
29241
29242
|
readonly inputs: readonly [{
|
|
@@ -29877,7 +29878,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29877
29878
|
}];
|
|
29878
29879
|
readonly stateMutability: "view";
|
|
29879
29880
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
29880
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
29881
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
29881
29882
|
readonly type: "function";
|
|
29882
29883
|
readonly name: "batchGetRefTick";
|
|
29883
29884
|
readonly inputs: readonly [{
|
|
@@ -30534,7 +30535,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30534
30535
|
expiresAt: number;
|
|
30535
30536
|
liquidities: readonly bigint[];
|
|
30536
30537
|
}[], bigint, boolean]>;
|
|
30537
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
30538
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
30538
30539
|
readonly type: "function";
|
|
30539
30540
|
readonly name: "batchGetRefTick";
|
|
30540
30541
|
readonly inputs: readonly [{
|
|
@@ -33960,7 +33961,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33960
33961
|
};
|
|
33961
33962
|
//#endregion
|
|
33962
33963
|
//#region src/hooks/options/useExerciseOption.d.ts
|
|
33963
|
-
declare const useExerciseOption: (marketAddr?: Address) =>
|
|
33964
|
+
declare const useExerciseOption: (marketAddr?: Address) => _tanstack_react_query3.UseMutationResult<`0x${string}`, Error, {
|
|
33964
33965
|
option: OptionData;
|
|
33965
33966
|
liquidities: readonly bigint[];
|
|
33966
33967
|
}, unknown>;
|
|
@@ -34016,7 +34017,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
34016
34017
|
};
|
|
34017
34018
|
//#endregion
|
|
34018
34019
|
//#region src/hooks/options/useMintOption.d.ts
|
|
34019
|
-
declare const useMintOption: (marketAddr?: Address) =>
|
|
34020
|
+
declare const useMintOption: (marketAddr?: Address) => _tanstack_react_query3.UseMutationResult<`0x${string}`, Error, {
|
|
34020
34021
|
optionType: "CALL" | "PUT";
|
|
34021
34022
|
amount: bigint;
|
|
34022
34023
|
duration: number;
|
|
@@ -34041,7 +34042,7 @@ declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "C
|
|
|
34041
34042
|
};
|
|
34042
34043
|
//#endregion
|
|
34043
34044
|
//#region src/hooks/options/useExtendOption.d.ts
|
|
34044
|
-
declare const useExtendOption: (marketAddr?: Address) =>
|
|
34045
|
+
declare const useExtendOption: (marketAddr?: Address) => _tanstack_react_query3.UseMutationResult<`0x${string}`, Error, {
|
|
34045
34046
|
option: OptionData;
|
|
34046
34047
|
duration: number;
|
|
34047
34048
|
}, unknown>;
|
|
@@ -34897,7 +34898,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34897
34898
|
};
|
|
34898
34899
|
//#endregion
|
|
34899
34900
|
//#region src/hooks/perps/useMintPerp.d.ts
|
|
34900
|
-
declare const useMintPerp: (marketAddr?: Address) =>
|
|
34901
|
+
declare const useMintPerp: (marketAddr?: Address) => _tanstack_react_query3.UseMutationResult<void, Error, {
|
|
34901
34902
|
optionType: "CALL" | "PUT";
|
|
34902
34903
|
amount: bigint;
|
|
34903
34904
|
duration: number;
|
|
@@ -34944,7 +34945,7 @@ declare class PerpsOperator {
|
|
|
34944
34945
|
}
|
|
34945
34946
|
//#endregion
|
|
34946
34947
|
//#region src/hooks/perps/useClosePerp.d.ts
|
|
34947
|
-
declare const useClosePerp: () =>
|
|
34948
|
+
declare const useClosePerp: () => _tanstack_react_query3.UseMutationResult<{
|
|
34948
34949
|
txHash: string;
|
|
34949
34950
|
optionId: bigint;
|
|
34950
34951
|
}, Error, ExercisePerpBody, unknown>;
|
|
@@ -34955,6 +34956,868 @@ declare const usePerpsOperator: () => {
|
|
|
34955
34956
|
address: `0x${string}` | undefined;
|
|
34956
34957
|
};
|
|
34957
34958
|
//#endregion
|
|
34959
|
+
//#region src/hooks/operators/useOperatorPerps.d.ts
|
|
34960
|
+
declare const useOperatorPerms: (operatorAddr?: Address, userAddr?: Address) => wagmi0.UseReadContractReturnType<readonly [{
|
|
34961
|
+
readonly type: "constructor";
|
|
34962
|
+
readonly inputs: readonly [{
|
|
34963
|
+
readonly name: "_vault";
|
|
34964
|
+
readonly type: "address";
|
|
34965
|
+
readonly internalType: "contract ITimelockVault";
|
|
34966
|
+
}, {
|
|
34967
|
+
readonly name: "_optionPricing";
|
|
34968
|
+
readonly type: "address";
|
|
34969
|
+
readonly internalType: "contract IOptionPricing";
|
|
34970
|
+
}, {
|
|
34971
|
+
readonly name: "_feeStrategy";
|
|
34972
|
+
readonly type: "address";
|
|
34973
|
+
readonly internalType: "contract IFeeStrategy";
|
|
34974
|
+
}, {
|
|
34975
|
+
readonly name: "_feeRecipient";
|
|
34976
|
+
readonly type: "address";
|
|
34977
|
+
readonly internalType: "address";
|
|
34978
|
+
}, {
|
|
34979
|
+
readonly name: "_guardian";
|
|
34980
|
+
readonly type: "address";
|
|
34981
|
+
readonly internalType: "contract TimelockGuardian";
|
|
34982
|
+
}, {
|
|
34983
|
+
readonly name: "_optionAssetIsToken0";
|
|
34984
|
+
readonly type: "bool";
|
|
34985
|
+
readonly internalType: "bool";
|
|
34986
|
+
}];
|
|
34987
|
+
readonly stateMutability: "nonpayable";
|
|
34988
|
+
}, {
|
|
34989
|
+
readonly type: "function";
|
|
34990
|
+
readonly name: "DUST_THRESHOLD";
|
|
34991
|
+
readonly inputs: readonly [];
|
|
34992
|
+
readonly outputs: readonly [{
|
|
34993
|
+
readonly name: "";
|
|
34994
|
+
readonly type: "uint256";
|
|
34995
|
+
readonly internalType: "uint256";
|
|
34996
|
+
}];
|
|
34997
|
+
readonly stateMutability: "view";
|
|
34998
|
+
}, {
|
|
34999
|
+
readonly type: "function";
|
|
35000
|
+
readonly name: "MAX_STEPS";
|
|
35001
|
+
readonly inputs: readonly [];
|
|
35002
|
+
readonly outputs: readonly [{
|
|
35003
|
+
readonly name: "";
|
|
35004
|
+
readonly type: "uint256";
|
|
35005
|
+
readonly internalType: "uint256";
|
|
35006
|
+
}];
|
|
35007
|
+
readonly stateMutability: "view";
|
|
35008
|
+
}, {
|
|
35009
|
+
readonly type: "function";
|
|
35010
|
+
readonly name: "calculatePremium";
|
|
35011
|
+
readonly inputs: readonly [{
|
|
35012
|
+
readonly name: "optionType";
|
|
35013
|
+
readonly type: "uint8";
|
|
35014
|
+
readonly internalType: "uint8";
|
|
35015
|
+
}, {
|
|
35016
|
+
readonly name: "optionAmount";
|
|
35017
|
+
readonly type: "uint256";
|
|
35018
|
+
readonly internalType: "uint256";
|
|
35019
|
+
}, {
|
|
35020
|
+
readonly name: "strikeTick";
|
|
35021
|
+
readonly type: "int24";
|
|
35022
|
+
readonly internalType: "int24";
|
|
35023
|
+
}, {
|
|
35024
|
+
readonly name: "addedDuration";
|
|
35025
|
+
readonly type: "uint32";
|
|
35026
|
+
readonly internalType: "uint32";
|
|
35027
|
+
}, {
|
|
35028
|
+
readonly name: "remainingDuration";
|
|
35029
|
+
readonly type: "uint32";
|
|
35030
|
+
readonly internalType: "uint32";
|
|
35031
|
+
}];
|
|
35032
|
+
readonly outputs: readonly [{
|
|
35033
|
+
readonly name: "premium";
|
|
35034
|
+
readonly type: "uint256";
|
|
35035
|
+
readonly internalType: "uint256";
|
|
35036
|
+
}, {
|
|
35037
|
+
readonly name: "protocolFee";
|
|
35038
|
+
readonly type: "uint256";
|
|
35039
|
+
readonly internalType: "uint256";
|
|
35040
|
+
}];
|
|
35041
|
+
readonly stateMutability: "view";
|
|
35042
|
+
}, {
|
|
35043
|
+
readonly type: "function";
|
|
35044
|
+
readonly name: "emergencyWithdraw";
|
|
35045
|
+
readonly inputs: readonly [{
|
|
35046
|
+
readonly name: "tokens";
|
|
35047
|
+
readonly type: "address[]";
|
|
35048
|
+
readonly internalType: "contract IERC20[]";
|
|
35049
|
+
}];
|
|
35050
|
+
readonly outputs: readonly [];
|
|
35051
|
+
readonly stateMutability: "nonpayable";
|
|
35052
|
+
}, {
|
|
35053
|
+
readonly type: "function";
|
|
35054
|
+
readonly name: "exerciseOption";
|
|
35055
|
+
readonly inputs: readonly [{
|
|
35056
|
+
readonly name: "optionId";
|
|
35057
|
+
readonly type: "uint256";
|
|
35058
|
+
readonly internalType: "uint256";
|
|
35059
|
+
}, {
|
|
35060
|
+
readonly name: "liquidities";
|
|
35061
|
+
readonly type: "uint128[]";
|
|
35062
|
+
readonly internalType: "uint128[]";
|
|
35063
|
+
}, {
|
|
35064
|
+
readonly name: "minPayout";
|
|
35065
|
+
readonly type: "uint256";
|
|
35066
|
+
readonly internalType: "uint256";
|
|
35067
|
+
}, {
|
|
35068
|
+
readonly name: "swapper";
|
|
35069
|
+
readonly type: "address";
|
|
35070
|
+
readonly internalType: "contract ISwapper";
|
|
35071
|
+
}, {
|
|
35072
|
+
readonly name: "swapperData";
|
|
35073
|
+
readonly type: "bytes";
|
|
35074
|
+
readonly internalType: "bytes";
|
|
35075
|
+
}, {
|
|
35076
|
+
readonly name: "refTick";
|
|
35077
|
+
readonly type: "int24";
|
|
35078
|
+
readonly internalType: "int24";
|
|
35079
|
+
}];
|
|
35080
|
+
readonly outputs: readonly [{
|
|
35081
|
+
readonly name: "payout";
|
|
35082
|
+
readonly type: "uint256";
|
|
35083
|
+
readonly internalType: "uint256";
|
|
35084
|
+
}];
|
|
35085
|
+
readonly stateMutability: "nonpayable";
|
|
35086
|
+
}, {
|
|
35087
|
+
readonly type: "function";
|
|
35088
|
+
readonly name: "extendOption";
|
|
35089
|
+
readonly inputs: readonly [{
|
|
35090
|
+
readonly name: "optionId";
|
|
35091
|
+
readonly type: "uint256";
|
|
35092
|
+
readonly internalType: "uint256";
|
|
35093
|
+
}, {
|
|
35094
|
+
readonly name: "addedDuration";
|
|
35095
|
+
readonly type: "uint32";
|
|
35096
|
+
readonly internalType: "uint32";
|
|
35097
|
+
}, {
|
|
35098
|
+
readonly name: "maxPremium";
|
|
35099
|
+
readonly type: "uint256";
|
|
35100
|
+
readonly internalType: "uint256";
|
|
35101
|
+
}];
|
|
35102
|
+
readonly outputs: readonly [{
|
|
35103
|
+
readonly name: "premium";
|
|
35104
|
+
readonly type: "uint256";
|
|
35105
|
+
readonly internalType: "uint256";
|
|
35106
|
+
}, {
|
|
35107
|
+
readonly name: "protocolFee";
|
|
35108
|
+
readonly type: "uint256";
|
|
35109
|
+
readonly internalType: "uint256";
|
|
35110
|
+
}];
|
|
35111
|
+
readonly stateMutability: "nonpayable";
|
|
35112
|
+
}, {
|
|
35113
|
+
readonly type: "function";
|
|
35114
|
+
readonly name: "feeRecipient";
|
|
35115
|
+
readonly inputs: readonly [];
|
|
35116
|
+
readonly outputs: readonly [{
|
|
35117
|
+
readonly name: "";
|
|
35118
|
+
readonly type: "address";
|
|
35119
|
+
readonly internalType: "address";
|
|
35120
|
+
}];
|
|
35121
|
+
readonly stateMutability: "view";
|
|
35122
|
+
}, {
|
|
35123
|
+
readonly type: "function";
|
|
35124
|
+
readonly name: "feeStrategy";
|
|
35125
|
+
readonly inputs: readonly [];
|
|
35126
|
+
readonly outputs: readonly [{
|
|
35127
|
+
readonly name: "";
|
|
35128
|
+
readonly type: "address";
|
|
35129
|
+
readonly internalType: "contract IFeeStrategy";
|
|
35130
|
+
}];
|
|
35131
|
+
readonly stateMutability: "view";
|
|
35132
|
+
}, {
|
|
35133
|
+
readonly type: "function";
|
|
35134
|
+
readonly name: "getOption";
|
|
35135
|
+
readonly inputs: readonly [{
|
|
35136
|
+
readonly name: "optionId";
|
|
35137
|
+
readonly type: "uint256";
|
|
35138
|
+
readonly internalType: "uint256";
|
|
35139
|
+
}];
|
|
35140
|
+
readonly outputs: readonly [{
|
|
35141
|
+
readonly name: "";
|
|
35142
|
+
readonly type: "tuple";
|
|
35143
|
+
readonly internalType: "struct TimelockOptionsMarket.OptionData";
|
|
35144
|
+
readonly components: readonly [{
|
|
35145
|
+
readonly name: "owner";
|
|
35146
|
+
readonly type: "address";
|
|
35147
|
+
readonly internalType: "address";
|
|
35148
|
+
}, {
|
|
35149
|
+
readonly name: "optionType";
|
|
35150
|
+
readonly type: "uint8";
|
|
35151
|
+
readonly internalType: "uint8";
|
|
35152
|
+
}, {
|
|
35153
|
+
readonly name: "strikeTick";
|
|
35154
|
+
readonly type: "int24";
|
|
35155
|
+
readonly internalType: "int24";
|
|
35156
|
+
}, {
|
|
35157
|
+
readonly name: "expiresAt";
|
|
35158
|
+
readonly type: "uint32";
|
|
35159
|
+
readonly internalType: "uint32";
|
|
35160
|
+
}];
|
|
35161
|
+
}, {
|
|
35162
|
+
readonly name: "";
|
|
35163
|
+
readonly type: "uint128[]";
|
|
35164
|
+
readonly internalType: "uint128[]";
|
|
35165
|
+
}];
|
|
35166
|
+
readonly stateMutability: "view";
|
|
35167
|
+
}, {
|
|
35168
|
+
readonly type: "function";
|
|
35169
|
+
readonly name: "guardian";
|
|
35170
|
+
readonly inputs: readonly [];
|
|
35171
|
+
readonly outputs: readonly [{
|
|
35172
|
+
readonly name: "";
|
|
35173
|
+
readonly type: "address";
|
|
35174
|
+
readonly internalType: "contract TimelockGuardian";
|
|
35175
|
+
}];
|
|
35176
|
+
readonly stateMutability: "view";
|
|
35177
|
+
}, {
|
|
35178
|
+
readonly type: "function";
|
|
35179
|
+
readonly name: "liquiditiesToAmounts";
|
|
35180
|
+
readonly inputs: readonly [{
|
|
35181
|
+
readonly name: "startTick";
|
|
35182
|
+
readonly type: "int24";
|
|
35183
|
+
readonly internalType: "int24";
|
|
35184
|
+
}, {
|
|
35185
|
+
readonly name: "liquiditys";
|
|
35186
|
+
readonly type: "uint128[]";
|
|
35187
|
+
readonly internalType: "uint128[]";
|
|
35188
|
+
}, {
|
|
35189
|
+
readonly name: "optionType";
|
|
35190
|
+
readonly type: "uint8";
|
|
35191
|
+
readonly internalType: "uint8";
|
|
35192
|
+
}];
|
|
35193
|
+
readonly outputs: readonly [{
|
|
35194
|
+
readonly name: "optionAssetToRepay";
|
|
35195
|
+
readonly type: "uint256";
|
|
35196
|
+
readonly internalType: "uint256";
|
|
35197
|
+
}, {
|
|
35198
|
+
readonly name: "payoutAssetToRepay";
|
|
35199
|
+
readonly type: "uint256";
|
|
35200
|
+
readonly internalType: "uint256";
|
|
35201
|
+
}, {
|
|
35202
|
+
readonly name: "optionAssetBorrowed";
|
|
35203
|
+
readonly type: "uint256";
|
|
35204
|
+
readonly internalType: "uint256";
|
|
35205
|
+
}, {
|
|
35206
|
+
readonly name: "payoutAssetBorrowed";
|
|
35207
|
+
readonly type: "uint256";
|
|
35208
|
+
readonly internalType: "uint256";
|
|
35209
|
+
}, {
|
|
35210
|
+
readonly name: "currentTick";
|
|
35211
|
+
readonly type: "int24";
|
|
35212
|
+
readonly internalType: "int24";
|
|
35213
|
+
}];
|
|
35214
|
+
readonly stateMutability: "view";
|
|
35215
|
+
}, {
|
|
35216
|
+
readonly type: "function";
|
|
35217
|
+
readonly name: "mintOption";
|
|
35218
|
+
readonly inputs: readonly [{
|
|
35219
|
+
readonly name: "owner";
|
|
35220
|
+
readonly type: "address";
|
|
35221
|
+
readonly internalType: "address";
|
|
35222
|
+
}, {
|
|
35223
|
+
readonly name: "optionType";
|
|
35224
|
+
readonly type: "uint8";
|
|
35225
|
+
readonly internalType: "uint8";
|
|
35226
|
+
}, {
|
|
35227
|
+
readonly name: "amount";
|
|
35228
|
+
readonly type: "uint256";
|
|
35229
|
+
readonly internalType: "uint256";
|
|
35230
|
+
}, {
|
|
35231
|
+
readonly name: "strikeTick";
|
|
35232
|
+
readonly type: "int24";
|
|
35233
|
+
readonly internalType: "int24";
|
|
35234
|
+
}, {
|
|
35235
|
+
readonly name: "duration";
|
|
35236
|
+
readonly type: "uint32";
|
|
35237
|
+
readonly internalType: "uint32";
|
|
35238
|
+
}, {
|
|
35239
|
+
readonly name: "maxPremium";
|
|
35240
|
+
readonly type: "uint256";
|
|
35241
|
+
readonly internalType: "uint256";
|
|
35242
|
+
}, {
|
|
35243
|
+
readonly name: "refTick";
|
|
35244
|
+
readonly type: "int24";
|
|
35245
|
+
readonly internalType: "int24";
|
|
35246
|
+
}];
|
|
35247
|
+
readonly outputs: readonly [{
|
|
35248
|
+
readonly name: "optionId";
|
|
35249
|
+
readonly type: "uint256";
|
|
35250
|
+
readonly internalType: "uint256";
|
|
35251
|
+
}, {
|
|
35252
|
+
readonly name: "finalAmount";
|
|
35253
|
+
readonly type: "uint256";
|
|
35254
|
+
readonly internalType: "uint256";
|
|
35255
|
+
}, {
|
|
35256
|
+
readonly name: "premium";
|
|
35257
|
+
readonly type: "uint256";
|
|
35258
|
+
readonly internalType: "uint256";
|
|
35259
|
+
}, {
|
|
35260
|
+
readonly name: "protocolFee";
|
|
35261
|
+
readonly type: "uint256";
|
|
35262
|
+
readonly internalType: "uint256";
|
|
35263
|
+
}];
|
|
35264
|
+
readonly stateMutability: "nonpayable";
|
|
35265
|
+
}, {
|
|
35266
|
+
readonly type: "function";
|
|
35267
|
+
readonly name: "multicall";
|
|
35268
|
+
readonly inputs: readonly [{
|
|
35269
|
+
readonly name: "data";
|
|
35270
|
+
readonly type: "bytes[]";
|
|
35271
|
+
readonly internalType: "bytes[]";
|
|
35272
|
+
}];
|
|
35273
|
+
readonly outputs: readonly [{
|
|
35274
|
+
readonly name: "results";
|
|
35275
|
+
readonly type: "bytes[]";
|
|
35276
|
+
readonly internalType: "bytes[]";
|
|
35277
|
+
}];
|
|
35278
|
+
readonly stateMutability: "nonpayable";
|
|
35279
|
+
}, {
|
|
35280
|
+
readonly type: "function";
|
|
35281
|
+
readonly name: "nextOptionId";
|
|
35282
|
+
readonly inputs: readonly [];
|
|
35283
|
+
readonly outputs: readonly [{
|
|
35284
|
+
readonly name: "";
|
|
35285
|
+
readonly type: "uint256";
|
|
35286
|
+
readonly internalType: "uint256";
|
|
35287
|
+
}];
|
|
35288
|
+
readonly stateMutability: "view";
|
|
35289
|
+
}, {
|
|
35290
|
+
readonly type: "function";
|
|
35291
|
+
readonly name: "operatorPerms";
|
|
35292
|
+
readonly inputs: readonly [{
|
|
35293
|
+
readonly name: "";
|
|
35294
|
+
readonly type: "address";
|
|
35295
|
+
readonly internalType: "address";
|
|
35296
|
+
}, {
|
|
35297
|
+
readonly name: "";
|
|
35298
|
+
readonly type: "address";
|
|
35299
|
+
readonly internalType: "address";
|
|
35300
|
+
}];
|
|
35301
|
+
readonly outputs: readonly [{
|
|
35302
|
+
readonly name: "canExtend";
|
|
35303
|
+
readonly type: "bool";
|
|
35304
|
+
readonly internalType: "bool";
|
|
35305
|
+
}, {
|
|
35306
|
+
readonly name: "canExercise";
|
|
35307
|
+
readonly type: "bool";
|
|
35308
|
+
readonly internalType: "bool";
|
|
35309
|
+
}, {
|
|
35310
|
+
readonly name: "canTransfer";
|
|
35311
|
+
readonly type: "bool";
|
|
35312
|
+
readonly internalType: "bool";
|
|
35313
|
+
}, {
|
|
35314
|
+
readonly name: "canMint";
|
|
35315
|
+
readonly type: "bool";
|
|
35316
|
+
readonly internalType: "bool";
|
|
35317
|
+
}, {
|
|
35318
|
+
readonly name: "spendingApproval";
|
|
35319
|
+
readonly type: "uint256";
|
|
35320
|
+
readonly internalType: "uint256";
|
|
35321
|
+
}];
|
|
35322
|
+
readonly stateMutability: "view";
|
|
35323
|
+
}, {
|
|
35324
|
+
readonly type: "function";
|
|
35325
|
+
readonly name: "optionAsset";
|
|
35326
|
+
readonly inputs: readonly [];
|
|
35327
|
+
readonly outputs: readonly [{
|
|
35328
|
+
readonly name: "";
|
|
35329
|
+
readonly type: "address";
|
|
35330
|
+
readonly internalType: "contract IERC20";
|
|
35331
|
+
}];
|
|
35332
|
+
readonly stateMutability: "view";
|
|
35333
|
+
}, {
|
|
35334
|
+
readonly type: "function";
|
|
35335
|
+
readonly name: "optionAssetIsToken0";
|
|
35336
|
+
readonly inputs: readonly [];
|
|
35337
|
+
readonly outputs: readonly [{
|
|
35338
|
+
readonly name: "";
|
|
35339
|
+
readonly type: "bool";
|
|
35340
|
+
readonly internalType: "bool";
|
|
35341
|
+
}];
|
|
35342
|
+
readonly stateMutability: "view";
|
|
35343
|
+
}, {
|
|
35344
|
+
readonly type: "function";
|
|
35345
|
+
readonly name: "optionPricing";
|
|
35346
|
+
readonly inputs: readonly [];
|
|
35347
|
+
readonly outputs: readonly [{
|
|
35348
|
+
readonly name: "";
|
|
35349
|
+
readonly type: "address";
|
|
35350
|
+
readonly internalType: "contract IOptionPricing";
|
|
35351
|
+
}];
|
|
35352
|
+
readonly stateMutability: "view";
|
|
35353
|
+
}, {
|
|
35354
|
+
readonly type: "function";
|
|
35355
|
+
readonly name: "owner";
|
|
35356
|
+
readonly inputs: readonly [];
|
|
35357
|
+
readonly outputs: readonly [{
|
|
35358
|
+
readonly name: "";
|
|
35359
|
+
readonly type: "address";
|
|
35360
|
+
readonly internalType: "address";
|
|
35361
|
+
}];
|
|
35362
|
+
readonly stateMutability: "view";
|
|
35363
|
+
}, {
|
|
35364
|
+
readonly type: "function";
|
|
35365
|
+
readonly name: "payoutAsset";
|
|
35366
|
+
readonly inputs: readonly [];
|
|
35367
|
+
readonly outputs: readonly [{
|
|
35368
|
+
readonly name: "";
|
|
35369
|
+
readonly type: "address";
|
|
35370
|
+
readonly internalType: "contract IERC20";
|
|
35371
|
+
}];
|
|
35372
|
+
readonly stateMutability: "view";
|
|
35373
|
+
}, {
|
|
35374
|
+
readonly type: "function";
|
|
35375
|
+
readonly name: "pool";
|
|
35376
|
+
readonly inputs: readonly [];
|
|
35377
|
+
readonly outputs: readonly [{
|
|
35378
|
+
readonly name: "";
|
|
35379
|
+
readonly type: "address";
|
|
35380
|
+
readonly internalType: "contract IUniswapV3Pool";
|
|
35381
|
+
}];
|
|
35382
|
+
readonly stateMutability: "view";
|
|
35383
|
+
}, {
|
|
35384
|
+
readonly type: "function";
|
|
35385
|
+
readonly name: "renounceOwnership";
|
|
35386
|
+
readonly inputs: readonly [];
|
|
35387
|
+
readonly outputs: readonly [];
|
|
35388
|
+
readonly stateMutability: "nonpayable";
|
|
35389
|
+
}, {
|
|
35390
|
+
readonly type: "function";
|
|
35391
|
+
readonly name: "setOperatorPerms";
|
|
35392
|
+
readonly inputs: readonly [{
|
|
35393
|
+
readonly name: "operator";
|
|
35394
|
+
readonly type: "address";
|
|
35395
|
+
readonly internalType: "address";
|
|
35396
|
+
}, {
|
|
35397
|
+
readonly name: "canExtend";
|
|
35398
|
+
readonly type: "bool";
|
|
35399
|
+
readonly internalType: "bool";
|
|
35400
|
+
}, {
|
|
35401
|
+
readonly name: "canExercise";
|
|
35402
|
+
readonly type: "bool";
|
|
35403
|
+
readonly internalType: "bool";
|
|
35404
|
+
}, {
|
|
35405
|
+
readonly name: "canTransfer";
|
|
35406
|
+
readonly type: "bool";
|
|
35407
|
+
readonly internalType: "bool";
|
|
35408
|
+
}, {
|
|
35409
|
+
readonly name: "canMint";
|
|
35410
|
+
readonly type: "bool";
|
|
35411
|
+
readonly internalType: "bool";
|
|
35412
|
+
}, {
|
|
35413
|
+
readonly name: "spendingApproval";
|
|
35414
|
+
readonly type: "uint256";
|
|
35415
|
+
readonly internalType: "uint256";
|
|
35416
|
+
}];
|
|
35417
|
+
readonly outputs: readonly [];
|
|
35418
|
+
readonly stateMutability: "nonpayable";
|
|
35419
|
+
}, {
|
|
35420
|
+
readonly type: "function";
|
|
35421
|
+
readonly name: "tickSpacing";
|
|
35422
|
+
readonly inputs: readonly [];
|
|
35423
|
+
readonly outputs: readonly [{
|
|
35424
|
+
readonly name: "";
|
|
35425
|
+
readonly type: "int24";
|
|
35426
|
+
readonly internalType: "int24";
|
|
35427
|
+
}];
|
|
35428
|
+
readonly stateMutability: "view";
|
|
35429
|
+
}, {
|
|
35430
|
+
readonly type: "function";
|
|
35431
|
+
readonly name: "token0";
|
|
35432
|
+
readonly inputs: readonly [];
|
|
35433
|
+
readonly outputs: readonly [{
|
|
35434
|
+
readonly name: "";
|
|
35435
|
+
readonly type: "address";
|
|
35436
|
+
readonly internalType: "contract IERC20";
|
|
35437
|
+
}];
|
|
35438
|
+
readonly stateMutability: "view";
|
|
35439
|
+
}, {
|
|
35440
|
+
readonly type: "function";
|
|
35441
|
+
readonly name: "token1";
|
|
35442
|
+
readonly inputs: readonly [];
|
|
35443
|
+
readonly outputs: readonly [{
|
|
35444
|
+
readonly name: "";
|
|
35445
|
+
readonly type: "address";
|
|
35446
|
+
readonly internalType: "contract IERC20";
|
|
35447
|
+
}];
|
|
35448
|
+
readonly stateMutability: "view";
|
|
35449
|
+
}, {
|
|
35450
|
+
readonly type: "function";
|
|
35451
|
+
readonly name: "transferOption";
|
|
35452
|
+
readonly inputs: readonly [{
|
|
35453
|
+
readonly name: "optionId";
|
|
35454
|
+
readonly type: "uint256";
|
|
35455
|
+
readonly internalType: "uint256";
|
|
35456
|
+
}, {
|
|
35457
|
+
readonly name: "to";
|
|
35458
|
+
readonly type: "address";
|
|
35459
|
+
readonly internalType: "address";
|
|
35460
|
+
}];
|
|
35461
|
+
readonly outputs: readonly [];
|
|
35462
|
+
readonly stateMutability: "nonpayable";
|
|
35463
|
+
}, {
|
|
35464
|
+
readonly type: "function";
|
|
35465
|
+
readonly name: "transferOwnership";
|
|
35466
|
+
readonly inputs: readonly [{
|
|
35467
|
+
readonly name: "newOwner";
|
|
35468
|
+
readonly type: "address";
|
|
35469
|
+
readonly internalType: "address";
|
|
35470
|
+
}];
|
|
35471
|
+
readonly outputs: readonly [];
|
|
35472
|
+
readonly stateMutability: "nonpayable";
|
|
35473
|
+
}, {
|
|
35474
|
+
readonly type: "function";
|
|
35475
|
+
readonly name: "updateAddresses";
|
|
35476
|
+
readonly inputs: readonly [{
|
|
35477
|
+
readonly name: "_optionPricing";
|
|
35478
|
+
readonly type: "address";
|
|
35479
|
+
readonly internalType: "contract IOptionPricing";
|
|
35480
|
+
}, {
|
|
35481
|
+
readonly name: "_feeStrategy";
|
|
35482
|
+
readonly type: "address";
|
|
35483
|
+
readonly internalType: "contract IFeeStrategy";
|
|
35484
|
+
}, {
|
|
35485
|
+
readonly name: "_feeRecipient";
|
|
35486
|
+
readonly type: "address";
|
|
35487
|
+
readonly internalType: "address";
|
|
35488
|
+
}];
|
|
35489
|
+
readonly outputs: readonly [];
|
|
35490
|
+
readonly stateMutability: "nonpayable";
|
|
35491
|
+
}, {
|
|
35492
|
+
readonly type: "function";
|
|
35493
|
+
readonly name: "vault";
|
|
35494
|
+
readonly inputs: readonly [];
|
|
35495
|
+
readonly outputs: readonly [{
|
|
35496
|
+
readonly name: "";
|
|
35497
|
+
readonly type: "address";
|
|
35498
|
+
readonly internalType: "contract ITimelockVault";
|
|
35499
|
+
}];
|
|
35500
|
+
readonly stateMutability: "view";
|
|
35501
|
+
}, {
|
|
35502
|
+
readonly type: "event";
|
|
35503
|
+
readonly name: "AddressesUpdated";
|
|
35504
|
+
readonly inputs: readonly [{
|
|
35505
|
+
readonly name: "optionPricing";
|
|
35506
|
+
readonly type: "address";
|
|
35507
|
+
readonly indexed: false;
|
|
35508
|
+
readonly internalType: "contract IOptionPricing";
|
|
35509
|
+
}, {
|
|
35510
|
+
readonly name: "feeStrategy";
|
|
35511
|
+
readonly type: "address";
|
|
35512
|
+
readonly indexed: false;
|
|
35513
|
+
readonly internalType: "contract IFeeStrategy";
|
|
35514
|
+
}, {
|
|
35515
|
+
readonly name: "feeRecipient";
|
|
35516
|
+
readonly type: "address";
|
|
35517
|
+
readonly indexed: false;
|
|
35518
|
+
readonly internalType: "address";
|
|
35519
|
+
}];
|
|
35520
|
+
readonly anonymous: false;
|
|
35521
|
+
}, {
|
|
35522
|
+
readonly type: "event";
|
|
35523
|
+
readonly name: "EmergencyWithdraw";
|
|
35524
|
+
readonly inputs: readonly [{
|
|
35525
|
+
readonly name: "tokens";
|
|
35526
|
+
readonly type: "address[]";
|
|
35527
|
+
readonly indexed: false;
|
|
35528
|
+
readonly internalType: "contract IERC20[]";
|
|
35529
|
+
}, {
|
|
35530
|
+
readonly name: "balances";
|
|
35531
|
+
readonly type: "uint256[]";
|
|
35532
|
+
readonly indexed: false;
|
|
35533
|
+
readonly internalType: "uint256[]";
|
|
35534
|
+
}];
|
|
35535
|
+
readonly anonymous: false;
|
|
35536
|
+
}, {
|
|
35537
|
+
readonly type: "event";
|
|
35538
|
+
readonly name: "ExerciseOption";
|
|
35539
|
+
readonly inputs: readonly [{
|
|
35540
|
+
readonly name: "optionId";
|
|
35541
|
+
readonly type: "uint256";
|
|
35542
|
+
readonly indexed: true;
|
|
35543
|
+
readonly internalType: "uint256";
|
|
35544
|
+
}, {
|
|
35545
|
+
readonly name: "liquidities";
|
|
35546
|
+
readonly type: "uint128[]";
|
|
35547
|
+
readonly indexed: false;
|
|
35548
|
+
readonly internalType: "uint128[]";
|
|
35549
|
+
}, {
|
|
35550
|
+
readonly name: "currentTick";
|
|
35551
|
+
readonly type: "int24";
|
|
35552
|
+
readonly indexed: false;
|
|
35553
|
+
readonly internalType: "int24";
|
|
35554
|
+
}, {
|
|
35555
|
+
readonly name: "payout";
|
|
35556
|
+
readonly type: "uint256";
|
|
35557
|
+
readonly indexed: false;
|
|
35558
|
+
readonly internalType: "uint256";
|
|
35559
|
+
}];
|
|
35560
|
+
readonly anonymous: false;
|
|
35561
|
+
}, {
|
|
35562
|
+
readonly type: "event";
|
|
35563
|
+
readonly name: "ExtendOption";
|
|
35564
|
+
readonly inputs: readonly [{
|
|
35565
|
+
readonly name: "optionId";
|
|
35566
|
+
readonly type: "uint256";
|
|
35567
|
+
readonly indexed: true;
|
|
35568
|
+
readonly internalType: "uint256";
|
|
35569
|
+
}, {
|
|
35570
|
+
readonly name: "premium";
|
|
35571
|
+
readonly type: "uint256";
|
|
35572
|
+
readonly indexed: false;
|
|
35573
|
+
readonly internalType: "uint256";
|
|
35574
|
+
}, {
|
|
35575
|
+
readonly name: "protocolFee";
|
|
35576
|
+
readonly type: "uint256";
|
|
35577
|
+
readonly indexed: false;
|
|
35578
|
+
readonly internalType: "uint256";
|
|
35579
|
+
}, {
|
|
35580
|
+
readonly name: "currentTick";
|
|
35581
|
+
readonly type: "int24";
|
|
35582
|
+
readonly indexed: false;
|
|
35583
|
+
readonly internalType: "int24";
|
|
35584
|
+
}, {
|
|
35585
|
+
readonly name: "addedDuration";
|
|
35586
|
+
readonly type: "uint32";
|
|
35587
|
+
readonly indexed: false;
|
|
35588
|
+
readonly internalType: "uint32";
|
|
35589
|
+
}];
|
|
35590
|
+
readonly anonymous: false;
|
|
35591
|
+
}, {
|
|
35592
|
+
readonly type: "event";
|
|
35593
|
+
readonly name: "MintOption";
|
|
35594
|
+
readonly inputs: readonly [{
|
|
35595
|
+
readonly name: "optionId";
|
|
35596
|
+
readonly type: "uint256";
|
|
35597
|
+
readonly indexed: true;
|
|
35598
|
+
readonly internalType: "uint256";
|
|
35599
|
+
}, {
|
|
35600
|
+
readonly name: "owner";
|
|
35601
|
+
readonly type: "address";
|
|
35602
|
+
readonly indexed: true;
|
|
35603
|
+
readonly internalType: "address";
|
|
35604
|
+
}, {
|
|
35605
|
+
readonly name: "optionType";
|
|
35606
|
+
readonly type: "uint8";
|
|
35607
|
+
readonly indexed: false;
|
|
35608
|
+
readonly internalType: "uint8";
|
|
35609
|
+
}, {
|
|
35610
|
+
readonly name: "strikeTick";
|
|
35611
|
+
readonly type: "int24";
|
|
35612
|
+
readonly indexed: false;
|
|
35613
|
+
readonly internalType: "int24";
|
|
35614
|
+
}, {
|
|
35615
|
+
readonly name: "currentTick";
|
|
35616
|
+
readonly type: "int24";
|
|
35617
|
+
readonly indexed: false;
|
|
35618
|
+
readonly internalType: "int24";
|
|
35619
|
+
}, {
|
|
35620
|
+
readonly name: "expiresAt";
|
|
35621
|
+
readonly type: "uint32";
|
|
35622
|
+
readonly indexed: false;
|
|
35623
|
+
readonly internalType: "uint32";
|
|
35624
|
+
}, {
|
|
35625
|
+
readonly name: "premium";
|
|
35626
|
+
readonly type: "uint256";
|
|
35627
|
+
readonly indexed: false;
|
|
35628
|
+
readonly internalType: "uint256";
|
|
35629
|
+
}, {
|
|
35630
|
+
readonly name: "protocolFee";
|
|
35631
|
+
readonly type: "uint256";
|
|
35632
|
+
readonly indexed: false;
|
|
35633
|
+
readonly internalType: "uint256";
|
|
35634
|
+
}, {
|
|
35635
|
+
readonly name: "liquidities";
|
|
35636
|
+
readonly type: "uint128[]";
|
|
35637
|
+
readonly indexed: false;
|
|
35638
|
+
readonly internalType: "uint128[]";
|
|
35639
|
+
}];
|
|
35640
|
+
readonly anonymous: false;
|
|
35641
|
+
}, {
|
|
35642
|
+
readonly type: "event";
|
|
35643
|
+
readonly name: "OwnershipTransferred";
|
|
35644
|
+
readonly inputs: readonly [{
|
|
35645
|
+
readonly name: "previousOwner";
|
|
35646
|
+
readonly type: "address";
|
|
35647
|
+
readonly indexed: true;
|
|
35648
|
+
readonly internalType: "address";
|
|
35649
|
+
}, {
|
|
35650
|
+
readonly name: "newOwner";
|
|
35651
|
+
readonly type: "address";
|
|
35652
|
+
readonly indexed: true;
|
|
35653
|
+
readonly internalType: "address";
|
|
35654
|
+
}];
|
|
35655
|
+
readonly anonymous: false;
|
|
35656
|
+
}, {
|
|
35657
|
+
readonly type: "event";
|
|
35658
|
+
readonly name: "TransferOption";
|
|
35659
|
+
readonly inputs: readonly [{
|
|
35660
|
+
readonly name: "optionId";
|
|
35661
|
+
readonly type: "uint256";
|
|
35662
|
+
readonly indexed: true;
|
|
35663
|
+
readonly internalType: "uint256";
|
|
35664
|
+
}, {
|
|
35665
|
+
readonly name: "to";
|
|
35666
|
+
readonly type: "address";
|
|
35667
|
+
readonly indexed: true;
|
|
35668
|
+
readonly internalType: "address";
|
|
35669
|
+
}];
|
|
35670
|
+
readonly anonymous: false;
|
|
35671
|
+
}, {
|
|
35672
|
+
readonly type: "event";
|
|
35673
|
+
readonly name: "UpdateOperatorPerms";
|
|
35674
|
+
readonly inputs: readonly [{
|
|
35675
|
+
readonly name: "owner";
|
|
35676
|
+
readonly type: "address";
|
|
35677
|
+
readonly indexed: true;
|
|
35678
|
+
readonly internalType: "address";
|
|
35679
|
+
}, {
|
|
35680
|
+
readonly name: "operator";
|
|
35681
|
+
readonly type: "address";
|
|
35682
|
+
readonly indexed: true;
|
|
35683
|
+
readonly internalType: "address";
|
|
35684
|
+
}, {
|
|
35685
|
+
readonly name: "canExtend";
|
|
35686
|
+
readonly type: "bool";
|
|
35687
|
+
readonly indexed: false;
|
|
35688
|
+
readonly internalType: "bool";
|
|
35689
|
+
}, {
|
|
35690
|
+
readonly name: "canExercise";
|
|
35691
|
+
readonly type: "bool";
|
|
35692
|
+
readonly indexed: false;
|
|
35693
|
+
readonly internalType: "bool";
|
|
35694
|
+
}, {
|
|
35695
|
+
readonly name: "canTransfer";
|
|
35696
|
+
readonly type: "bool";
|
|
35697
|
+
readonly indexed: false;
|
|
35698
|
+
readonly internalType: "bool";
|
|
35699
|
+
}, {
|
|
35700
|
+
readonly name: "canMint";
|
|
35701
|
+
readonly type: "bool";
|
|
35702
|
+
readonly indexed: false;
|
|
35703
|
+
readonly internalType: "bool";
|
|
35704
|
+
}, {
|
|
35705
|
+
readonly name: "spendingApproval";
|
|
35706
|
+
readonly type: "uint256";
|
|
35707
|
+
readonly indexed: false;
|
|
35708
|
+
readonly internalType: "uint256";
|
|
35709
|
+
}];
|
|
35710
|
+
readonly anonymous: false;
|
|
35711
|
+
}, {
|
|
35712
|
+
readonly type: "error";
|
|
35713
|
+
readonly name: "AddressEmptyCode";
|
|
35714
|
+
readonly inputs: readonly [{
|
|
35715
|
+
readonly name: "target";
|
|
35716
|
+
readonly type: "address";
|
|
35717
|
+
readonly internalType: "address";
|
|
35718
|
+
}];
|
|
35719
|
+
}, {
|
|
35720
|
+
readonly type: "error";
|
|
35721
|
+
readonly name: "FailedCall";
|
|
35722
|
+
readonly inputs: readonly [];
|
|
35723
|
+
}, {
|
|
35724
|
+
readonly type: "error";
|
|
35725
|
+
readonly name: "InsufficientLiquidity";
|
|
35726
|
+
readonly inputs: readonly [];
|
|
35727
|
+
}, {
|
|
35728
|
+
readonly type: "error";
|
|
35729
|
+
readonly name: "InvalidAmount";
|
|
35730
|
+
readonly inputs: readonly [];
|
|
35731
|
+
}, {
|
|
35732
|
+
readonly type: "error";
|
|
35733
|
+
readonly name: "InvalidArrayLength";
|
|
35734
|
+
readonly inputs: readonly [];
|
|
35735
|
+
}, {
|
|
35736
|
+
readonly type: "error";
|
|
35737
|
+
readonly name: "InvalidDuration";
|
|
35738
|
+
readonly inputs: readonly [];
|
|
35739
|
+
}, {
|
|
35740
|
+
readonly type: "error";
|
|
35741
|
+
readonly name: "InvalidOptionType";
|
|
35742
|
+
readonly inputs: readonly [];
|
|
35743
|
+
}, {
|
|
35744
|
+
readonly type: "error";
|
|
35745
|
+
readonly name: "InvalidTickRange";
|
|
35746
|
+
readonly inputs: readonly [{
|
|
35747
|
+
readonly name: "tickLower";
|
|
35748
|
+
readonly type: "int24";
|
|
35749
|
+
readonly internalType: "int24";
|
|
35750
|
+
}, {
|
|
35751
|
+
readonly name: "tickUpper";
|
|
35752
|
+
readonly type: "int24";
|
|
35753
|
+
readonly internalType: "int24";
|
|
35754
|
+
}];
|
|
35755
|
+
}, {
|
|
35756
|
+
readonly type: "error";
|
|
35757
|
+
readonly name: "NotAuthorized";
|
|
35758
|
+
readonly inputs: readonly [];
|
|
35759
|
+
}, {
|
|
35760
|
+
readonly type: "error";
|
|
35761
|
+
readonly name: "NotEnoughPayout";
|
|
35762
|
+
readonly inputs: readonly [];
|
|
35763
|
+
}, {
|
|
35764
|
+
readonly type: "error";
|
|
35765
|
+
readonly name: "OptionExpired";
|
|
35766
|
+
readonly inputs: readonly [];
|
|
35767
|
+
}, {
|
|
35768
|
+
readonly type: "error";
|
|
35769
|
+
readonly name: "OptionNotFound";
|
|
35770
|
+
readonly inputs: readonly [];
|
|
35771
|
+
}, {
|
|
35772
|
+
readonly type: "error";
|
|
35773
|
+
readonly name: "OwnableInvalidOwner";
|
|
35774
|
+
readonly inputs: readonly [{
|
|
35775
|
+
readonly name: "owner";
|
|
35776
|
+
readonly type: "address";
|
|
35777
|
+
readonly internalType: "address";
|
|
35778
|
+
}];
|
|
35779
|
+
}, {
|
|
35780
|
+
readonly type: "error";
|
|
35781
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
35782
|
+
readonly inputs: readonly [{
|
|
35783
|
+
readonly name: "account";
|
|
35784
|
+
readonly type: "address";
|
|
35785
|
+
readonly internalType: "address";
|
|
35786
|
+
}];
|
|
35787
|
+
}, {
|
|
35788
|
+
readonly type: "error";
|
|
35789
|
+
readonly name: "PremiumTooHigh";
|
|
35790
|
+
readonly inputs: readonly [];
|
|
35791
|
+
}, {
|
|
35792
|
+
readonly type: "error";
|
|
35793
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
35794
|
+
readonly inputs: readonly [];
|
|
35795
|
+
}, {
|
|
35796
|
+
readonly type: "error";
|
|
35797
|
+
readonly name: "SafeERC20FailedOperation";
|
|
35798
|
+
readonly inputs: readonly [{
|
|
35799
|
+
readonly name: "token";
|
|
35800
|
+
readonly type: "address";
|
|
35801
|
+
readonly internalType: "address";
|
|
35802
|
+
}];
|
|
35803
|
+
}, {
|
|
35804
|
+
readonly type: "error";
|
|
35805
|
+
readonly name: "SwapFailed";
|
|
35806
|
+
readonly inputs: readonly [];
|
|
35807
|
+
}, {
|
|
35808
|
+
readonly type: "error";
|
|
35809
|
+
readonly name: "TradingPaused";
|
|
35810
|
+
readonly inputs: readonly [];
|
|
35811
|
+
}, {
|
|
35812
|
+
readonly type: "error";
|
|
35813
|
+
readonly name: "WithdrawNotAllowed";
|
|
35814
|
+
readonly inputs: readonly [];
|
|
35815
|
+
}, {
|
|
35816
|
+
readonly type: "error";
|
|
35817
|
+
readonly name: "ZeroAddress";
|
|
35818
|
+
readonly inputs: readonly [];
|
|
35819
|
+
}], "operatorPerms", [`0x${string}`, `0x${string}`], readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35820
|
+
//#endregion
|
|
34958
35821
|
//#region src/hooks/operators/useUserOperators.d.ts
|
|
34959
35822
|
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
34960
35823
|
data: {
|
|
@@ -35355,7 +36218,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35355
36218
|
};
|
|
35356
36219
|
//#endregion
|
|
35357
36220
|
//#region src/hooks/operators/useSetOperatorPerms.d.ts
|
|
35358
|
-
declare const useSetOperatorPerms: (marketAddr?: Address) =>
|
|
36221
|
+
declare const useSetOperatorPerms: (marketAddr?: Address) => _tanstack_react_query3.UseMutationResult<`0x${string}`, Error, {
|
|
35359
36222
|
operator: Address;
|
|
35360
36223
|
canExtend: boolean;
|
|
35361
36224
|
canExercise: boolean;
|
|
@@ -35431,7 +36294,7 @@ declare const usePoolData: (poolAddr?: Address) => Partial<NonUndefined<{
|
|
|
35431
36294
|
declare const usePriceAtTick: (tick?: number, poolAddr?: Address) => Amount | undefined;
|
|
35432
36295
|
//#endregion
|
|
35433
36296
|
//#region src/hooks/pool/usePriceHistory.d.ts
|
|
35434
|
-
declare const usePriceHistory: (pool: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) =>
|
|
36297
|
+
declare const usePriceHistory: (pool: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query3.UseQueryResult<PriceDataPoint[], Error>;
|
|
35435
36298
|
//#endregion
|
|
35436
36299
|
//#region src/hooks/vault/useBurnLiquidity.d.ts
|
|
35437
36300
|
interface BurnPosition {
|
|
@@ -35453,7 +36316,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
35453
36316
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
35454
36317
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
35455
36318
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
35456
|
-
error:
|
|
36319
|
+
error: viem131.ReadContractErrorType;
|
|
35457
36320
|
isError: true;
|
|
35458
36321
|
isPending: false;
|
|
35459
36322
|
isLoading: false;
|
|
@@ -35465,7 +36328,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35465
36328
|
dataUpdatedAt: number;
|
|
35466
36329
|
errorUpdatedAt: number;
|
|
35467
36330
|
failureCount: number;
|
|
35468
|
-
failureReason:
|
|
36331
|
+
failureReason: viem131.ReadContractErrorType | null;
|
|
35469
36332
|
errorUpdateCount: number;
|
|
35470
36333
|
isFetched: boolean;
|
|
35471
36334
|
isFetchedAfterMount: boolean;
|
|
@@ -35485,7 +36348,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35485
36348
|
totalAmount1: bigint;
|
|
35486
36349
|
borrowedAmount0: bigint;
|
|
35487
36350
|
borrowedAmount1: bigint;
|
|
35488
|
-
}[],
|
|
36351
|
+
}[], viem131.ReadContractErrorType>>;
|
|
35489
36352
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35490
36353
|
promise: Promise<readonly {
|
|
35491
36354
|
tickLower: number;
|
|
@@ -35523,7 +36386,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35523
36386
|
dataUpdatedAt: number;
|
|
35524
36387
|
errorUpdatedAt: number;
|
|
35525
36388
|
failureCount: number;
|
|
35526
|
-
failureReason:
|
|
36389
|
+
failureReason: viem131.ReadContractErrorType | null;
|
|
35527
36390
|
errorUpdateCount: number;
|
|
35528
36391
|
isFetched: boolean;
|
|
35529
36392
|
isFetchedAfterMount: boolean;
|
|
@@ -35543,7 +36406,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35543
36406
|
totalAmount1: bigint;
|
|
35544
36407
|
borrowedAmount0: bigint;
|
|
35545
36408
|
borrowedAmount1: bigint;
|
|
35546
|
-
}[],
|
|
36409
|
+
}[], viem131.ReadContractErrorType>>;
|
|
35547
36410
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35548
36411
|
promise: Promise<readonly {
|
|
35549
36412
|
tickLower: number;
|
|
@@ -35569,7 +36432,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35569
36432
|
borrowedAmount1: bigint;
|
|
35570
36433
|
}[];
|
|
35571
36434
|
} | {
|
|
35572
|
-
error:
|
|
36435
|
+
error: viem131.ReadContractErrorType;
|
|
35573
36436
|
isError: true;
|
|
35574
36437
|
isPending: false;
|
|
35575
36438
|
isLoading: false;
|
|
@@ -35581,7 +36444,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35581
36444
|
dataUpdatedAt: number;
|
|
35582
36445
|
errorUpdatedAt: number;
|
|
35583
36446
|
failureCount: number;
|
|
35584
|
-
failureReason:
|
|
36447
|
+
failureReason: viem131.ReadContractErrorType | null;
|
|
35585
36448
|
errorUpdateCount: number;
|
|
35586
36449
|
isFetched: boolean;
|
|
35587
36450
|
isFetchedAfterMount: boolean;
|
|
@@ -35601,7 +36464,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35601
36464
|
totalAmount1: bigint;
|
|
35602
36465
|
borrowedAmount0: bigint;
|
|
35603
36466
|
borrowedAmount1: bigint;
|
|
35604
|
-
}[],
|
|
36467
|
+
}[], viem131.ReadContractErrorType>>;
|
|
35605
36468
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35606
36469
|
promise: Promise<readonly {
|
|
35607
36470
|
tickLower: number;
|
|
@@ -35639,7 +36502,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35639
36502
|
dataUpdatedAt: number;
|
|
35640
36503
|
errorUpdatedAt: number;
|
|
35641
36504
|
failureCount: number;
|
|
35642
|
-
failureReason:
|
|
36505
|
+
failureReason: viem131.ReadContractErrorType | null;
|
|
35643
36506
|
errorUpdateCount: number;
|
|
35644
36507
|
isFetched: boolean;
|
|
35645
36508
|
isFetchedAfterMount: boolean;
|
|
@@ -35659,7 +36522,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35659
36522
|
totalAmount1: bigint;
|
|
35660
36523
|
borrowedAmount0: bigint;
|
|
35661
36524
|
borrowedAmount1: bigint;
|
|
35662
|
-
}[],
|
|
36525
|
+
}[], viem131.ReadContractErrorType>>;
|
|
35663
36526
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35664
36527
|
promise: Promise<readonly {
|
|
35665
36528
|
tickLower: number;
|
|
@@ -35696,7 +36559,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35696
36559
|
dataUpdatedAt: number;
|
|
35697
36560
|
errorUpdatedAt: number;
|
|
35698
36561
|
failureCount: number;
|
|
35699
|
-
failureReason:
|
|
36562
|
+
failureReason: viem131.ReadContractErrorType | null;
|
|
35700
36563
|
errorUpdateCount: number;
|
|
35701
36564
|
isFetched: boolean;
|
|
35702
36565
|
isFetchedAfterMount: boolean;
|
|
@@ -35717,7 +36580,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35717
36580
|
totalAmount1: bigint;
|
|
35718
36581
|
borrowedAmount0: bigint;
|
|
35719
36582
|
borrowedAmount1: bigint;
|
|
35720
|
-
}[],
|
|
36583
|
+
}[], viem131.ReadContractErrorType>>;
|
|
35721
36584
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35722
36585
|
promise: Promise<readonly {
|
|
35723
36586
|
tickLower: number;
|
|
@@ -35755,7 +36618,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35755
36618
|
dataUpdatedAt: number;
|
|
35756
36619
|
errorUpdatedAt: number;
|
|
35757
36620
|
failureCount: number;
|
|
35758
|
-
failureReason:
|
|
36621
|
+
failureReason: viem131.ReadContractErrorType | null;
|
|
35759
36622
|
errorUpdateCount: number;
|
|
35760
36623
|
isFetched: boolean;
|
|
35761
36624
|
isFetchedAfterMount: boolean;
|
|
@@ -35775,7 +36638,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35775
36638
|
totalAmount1: bigint;
|
|
35776
36639
|
borrowedAmount0: bigint;
|
|
35777
36640
|
borrowedAmount1: bigint;
|
|
35778
|
-
}[],
|
|
36641
|
+
}[], viem131.ReadContractErrorType>>;
|
|
35779
36642
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35780
36643
|
promise: Promise<readonly {
|
|
35781
36644
|
tickLower: number;
|
|
@@ -35814,7 +36677,7 @@ interface MintPositionParams {
|
|
|
35814
36677
|
tickUpper: number;
|
|
35815
36678
|
liquidity: bigint;
|
|
35816
36679
|
}
|
|
35817
|
-
declare const useMintLiquidity: (vaultAddr?: Address) =>
|
|
36680
|
+
declare const useMintLiquidity: (vaultAddr?: Address) => _tanstack_react_query3.UseMutationResult<void, Error, MintPositionParams | MintPositionParams[], unknown>;
|
|
35818
36681
|
//#endregion
|
|
35819
36682
|
//#region src/hooks/vault/useVaultData.d.ts
|
|
35820
36683
|
declare const useVaultData: (vaultAddr?: Address) => {
|
|
@@ -35839,14 +36702,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
35839
36702
|
borrowedAmount0: Amount;
|
|
35840
36703
|
borrowedAmount1: Amount;
|
|
35841
36704
|
blocksCount: bigint;
|
|
35842
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
36705
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem131.ReadContractErrorType>>;
|
|
35843
36706
|
};
|
|
35844
36707
|
//#endregion
|
|
35845
36708
|
//#region src/hooks/useLens.d.ts
|
|
35846
36709
|
declare const useLens: () => {
|
|
35847
36710
|
timelockLens: {
|
|
35848
36711
|
read: {
|
|
35849
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
36712
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
35850
36713
|
readonly type: "function";
|
|
35851
36714
|
readonly name: "batchGetRefTick";
|
|
35852
36715
|
readonly inputs: readonly [{
|
|
@@ -36488,7 +37351,7 @@ declare const useLens: () => {
|
|
|
36488
37351
|
}];
|
|
36489
37352
|
readonly stateMutability: "view";
|
|
36490
37353
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
36491
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
37354
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
36492
37355
|
readonly type: "function";
|
|
36493
37356
|
readonly name: "batchGetRefTick";
|
|
36494
37357
|
readonly inputs: readonly [{
|
|
@@ -37140,7 +38003,7 @@ declare const useLens: () => {
|
|
|
37140
38003
|
borrowedAmount0: bigint;
|
|
37141
38004
|
borrowedAmount1: bigint;
|
|
37142
38005
|
}[]>;
|
|
37143
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
38006
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
37144
38007
|
readonly type: "function";
|
|
37145
38008
|
readonly name: "batchGetRefTick";
|
|
37146
38009
|
readonly inputs: readonly [{
|
|
@@ -37797,7 +38660,7 @@ declare const useLens: () => {
|
|
|
37797
38660
|
expiresAt: number;
|
|
37798
38661
|
liquidities: readonly bigint[];
|
|
37799
38662
|
}[], bigint, boolean]>;
|
|
37800
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
38663
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
37801
38664
|
readonly type: "function";
|
|
37802
38665
|
readonly name: "batchGetRefTick";
|
|
37803
38666
|
readonly inputs: readonly [{
|
|
@@ -38439,7 +39302,7 @@ declare const useLens: () => {
|
|
|
38439
39302
|
}];
|
|
38440
39303
|
readonly stateMutability: "view";
|
|
38441
39304
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
38442
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
39305
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
38443
39306
|
readonly type: "function";
|
|
38444
39307
|
readonly name: "batchGetRefTick";
|
|
38445
39308
|
readonly inputs: readonly [{
|
|
@@ -39094,7 +39957,7 @@ declare const useLens: () => {
|
|
|
39094
39957
|
payoutAssetName: string;
|
|
39095
39958
|
optionsCount: bigint;
|
|
39096
39959
|
}>;
|
|
39097
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
39960
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
39098
39961
|
readonly type: "function";
|
|
39099
39962
|
readonly name: "batchGetRefTick";
|
|
39100
39963
|
readonly inputs: readonly [{
|
|
@@ -39736,7 +40599,7 @@ declare const useLens: () => {
|
|
|
39736
40599
|
}];
|
|
39737
40600
|
readonly stateMutability: "view";
|
|
39738
40601
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
39739
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
40602
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
39740
40603
|
readonly type: "function";
|
|
39741
40604
|
readonly name: "batchGetRefTick";
|
|
39742
40605
|
readonly inputs: readonly [{
|
|
@@ -40378,7 +41241,7 @@ declare const useLens: () => {
|
|
|
40378
41241
|
}];
|
|
40379
41242
|
readonly stateMutability: "view";
|
|
40380
41243
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
40381
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
41244
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
40382
41245
|
readonly type: "function";
|
|
40383
41246
|
readonly name: "batchGetRefTick";
|
|
40384
41247
|
readonly inputs: readonly [{
|
|
@@ -41035,7 +41898,7 @@ declare const useLens: () => {
|
|
|
41035
41898
|
expiresAt: number;
|
|
41036
41899
|
liquidities: readonly bigint[];
|
|
41037
41900
|
}>;
|
|
41038
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
41901
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
41039
41902
|
readonly type: "function";
|
|
41040
41903
|
readonly name: "batchGetRefTick";
|
|
41041
41904
|
readonly inputs: readonly [{
|
|
@@ -41692,7 +42555,7 @@ declare const useLens: () => {
|
|
|
41692
42555
|
expiresAt: number;
|
|
41693
42556
|
liquidities: readonly bigint[];
|
|
41694
42557
|
}[]>;
|
|
41695
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
42558
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
41696
42559
|
readonly type: "function";
|
|
41697
42560
|
readonly name: "batchGetRefTick";
|
|
41698
42561
|
readonly inputs: readonly [{
|
|
@@ -42345,7 +43208,7 @@ declare const useLens: () => {
|
|
|
42345
43208
|
tickSpacing: number;
|
|
42346
43209
|
fee: number;
|
|
42347
43210
|
}>;
|
|
42348
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
43211
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
42349
43212
|
readonly type: "function";
|
|
42350
43213
|
readonly name: "batchGetRefTick";
|
|
42351
43214
|
readonly inputs: readonly [{
|
|
@@ -42987,7 +43850,7 @@ declare const useLens: () => {
|
|
|
42987
43850
|
}];
|
|
42988
43851
|
readonly stateMutability: "view";
|
|
42989
43852
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
42990
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
43853
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
42991
43854
|
readonly type: "function";
|
|
42992
43855
|
readonly name: "batchGetRefTick";
|
|
42993
43856
|
readonly inputs: readonly [{
|
|
@@ -43644,7 +44507,7 @@ declare const useLens: () => {
|
|
|
43644
44507
|
expiresAt: number;
|
|
43645
44508
|
liquidities: readonly bigint[];
|
|
43646
44509
|
}[], bigint, boolean]>;
|
|
43647
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
44510
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
43648
44511
|
readonly type: "function";
|
|
43649
44512
|
readonly name: "batchGetRefTick";
|
|
43650
44513
|
readonly inputs: readonly [{
|
|
@@ -44933,7 +45796,7 @@ declare const useLens: () => {
|
|
|
44933
45796
|
} | undefined;
|
|
44934
45797
|
uniswapLens: {
|
|
44935
45798
|
read: {
|
|
44936
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
45799
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
44937
45800
|
readonly type: "function";
|
|
44938
45801
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
44939
45802
|
readonly inputs: readonly [{
|
|
@@ -45554,7 +46417,7 @@ declare const useLens: () => {
|
|
|
45554
46417
|
}];
|
|
45555
46418
|
readonly stateMutability: "pure";
|
|
45556
46419
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
45557
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
46420
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
45558
46421
|
readonly type: "function";
|
|
45559
46422
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
45560
46423
|
readonly inputs: readonly [{
|
|
@@ -46175,7 +47038,7 @@ declare const useLens: () => {
|
|
|
46175
47038
|
}];
|
|
46176
47039
|
readonly stateMutability: "pure";
|
|
46177
47040
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46178
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
47041
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
46179
47042
|
readonly type: "function";
|
|
46180
47043
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46181
47044
|
readonly inputs: readonly [{
|
|
@@ -46796,7 +47659,7 @@ declare const useLens: () => {
|
|
|
46796
47659
|
}];
|
|
46797
47660
|
readonly stateMutability: "pure";
|
|
46798
47661
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46799
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
47662
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
46800
47663
|
readonly type: "function";
|
|
46801
47664
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46802
47665
|
readonly inputs: readonly [{
|
|
@@ -47417,7 +48280,7 @@ declare const useLens: () => {
|
|
|
47417
48280
|
}];
|
|
47418
48281
|
readonly stateMutability: "pure";
|
|
47419
48282
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47420
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
48283
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
47421
48284
|
readonly type: "function";
|
|
47422
48285
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47423
48286
|
readonly inputs: readonly [{
|
|
@@ -48038,7 +48901,7 @@ declare const useLens: () => {
|
|
|
48038
48901
|
}];
|
|
48039
48902
|
readonly stateMutability: "pure";
|
|
48040
48903
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
48041
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
48904
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
48042
48905
|
readonly type: "function";
|
|
48043
48906
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48044
48907
|
readonly inputs: readonly [{
|
|
@@ -48659,7 +49522,7 @@ declare const useLens: () => {
|
|
|
48659
49522
|
}];
|
|
48660
49523
|
readonly stateMutability: "pure";
|
|
48661
49524
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
48662
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
49525
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
48663
49526
|
readonly type: "function";
|
|
48664
49527
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48665
49528
|
readonly inputs: readonly [{
|
|
@@ -49280,7 +50143,7 @@ declare const useLens: () => {
|
|
|
49280
50143
|
}];
|
|
49281
50144
|
readonly stateMutability: "pure";
|
|
49282
50145
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
49283
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
50146
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
49284
50147
|
readonly type: "function";
|
|
49285
50148
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49286
50149
|
readonly inputs: readonly [{
|
|
@@ -49901,7 +50764,7 @@ declare const useLens: () => {
|
|
|
49901
50764
|
}];
|
|
49902
50765
|
readonly stateMutability: "pure";
|
|
49903
50766
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
49904
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
50767
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
49905
50768
|
readonly type: "function";
|
|
49906
50769
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49907
50770
|
readonly inputs: readonly [{
|
|
@@ -50522,7 +51385,7 @@ declare const useLens: () => {
|
|
|
50522
51385
|
}];
|
|
50523
51386
|
readonly stateMutability: "pure";
|
|
50524
51387
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50525
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
51388
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
50526
51389
|
readonly type: "function";
|
|
50527
51390
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50528
51391
|
readonly inputs: readonly [{
|
|
@@ -51143,7 +52006,7 @@ declare const useLens: () => {
|
|
|
51143
52006
|
}];
|
|
51144
52007
|
readonly stateMutability: "pure";
|
|
51145
52008
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51146
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
52009
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
51147
52010
|
readonly type: "function";
|
|
51148
52011
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51149
52012
|
readonly inputs: readonly [{
|
|
@@ -51764,7 +52627,7 @@ declare const useLens: () => {
|
|
|
51764
52627
|
}];
|
|
51765
52628
|
readonly stateMutability: "pure";
|
|
51766
52629
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51767
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
52630
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
51768
52631
|
readonly type: "function";
|
|
51769
52632
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51770
52633
|
readonly inputs: readonly [{
|
|
@@ -52385,7 +53248,7 @@ declare const useLens: () => {
|
|
|
52385
53248
|
}];
|
|
52386
53249
|
readonly stateMutability: "pure";
|
|
52387
53250
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52388
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
53251
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
52389
53252
|
readonly type: "function";
|
|
52390
53253
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52391
53254
|
readonly inputs: readonly [{
|
|
@@ -53006,7 +53869,7 @@ declare const useLens: () => {
|
|
|
53006
53869
|
}];
|
|
53007
53870
|
readonly stateMutability: "pure";
|
|
53008
53871
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53009
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
53872
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
53010
53873
|
readonly type: "function";
|
|
53011
53874
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53012
53875
|
readonly inputs: readonly [{
|
|
@@ -53627,7 +54490,7 @@ declare const useLens: () => {
|
|
|
53627
54490
|
}];
|
|
53628
54491
|
readonly stateMutability: "pure";
|
|
53629
54492
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
53630
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
54493
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
53631
54494
|
readonly type: "function";
|
|
53632
54495
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53633
54496
|
readonly inputs: readonly [{
|
|
@@ -54248,7 +55111,7 @@ declare const useLens: () => {
|
|
|
54248
55111
|
}];
|
|
54249
55112
|
readonly stateMutability: "pure";
|
|
54250
55113
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54251
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
55114
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
54252
55115
|
readonly type: "function";
|
|
54253
55116
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54254
55117
|
readonly inputs: readonly [{
|
|
@@ -54869,7 +55732,7 @@ declare const useLens: () => {
|
|
|
54869
55732
|
}];
|
|
54870
55733
|
readonly stateMutability: "pure";
|
|
54871
55734
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54872
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
55735
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
54873
55736
|
readonly type: "function";
|
|
54874
55737
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54875
55738
|
readonly inputs: readonly [{
|
|
@@ -55490,7 +56353,7 @@ declare const useLens: () => {
|
|
|
55490
56353
|
}];
|
|
55491
56354
|
readonly stateMutability: "pure";
|
|
55492
56355
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55493
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
56356
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
55494
56357
|
readonly type: "function";
|
|
55495
56358
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55496
56359
|
readonly inputs: readonly [{
|
|
@@ -56111,7 +56974,7 @@ declare const useLens: () => {
|
|
|
56111
56974
|
}];
|
|
56112
56975
|
readonly stateMutability: "pure";
|
|
56113
56976
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
56114
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
56977
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
56115
56978
|
readonly type: "function";
|
|
56116
56979
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56117
56980
|
readonly inputs: readonly [{
|
|
@@ -56732,7 +57595,7 @@ declare const useLens: () => {
|
|
|
56732
57595
|
}];
|
|
56733
57596
|
readonly stateMutability: "pure";
|
|
56734
57597
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
56735
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
57598
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
56736
57599
|
readonly type: "function";
|
|
56737
57600
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56738
57601
|
readonly inputs: readonly [{
|
|
@@ -57353,7 +58216,7 @@ declare const useLens: () => {
|
|
|
57353
58216
|
}];
|
|
57354
58217
|
readonly stateMutability: "pure";
|
|
57355
58218
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
57356
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
58219
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
57357
58220
|
readonly type: "function";
|
|
57358
58221
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57359
58222
|
readonly inputs: readonly [{
|
|
@@ -57974,7 +58837,7 @@ declare const useLens: () => {
|
|
|
57974
58837
|
}];
|
|
57975
58838
|
readonly stateMutability: "pure";
|
|
57976
58839
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
57977
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
58840
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
57978
58841
|
readonly type: "function";
|
|
57979
58842
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57980
58843
|
readonly inputs: readonly [{
|
|
@@ -58595,7 +59458,7 @@ declare const useLens: () => {
|
|
|
58595
59458
|
}];
|
|
58596
59459
|
readonly stateMutability: "pure";
|
|
58597
59460
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58598
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
59461
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
58599
59462
|
readonly type: "function";
|
|
58600
59463
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58601
59464
|
readonly inputs: readonly [{
|
|
@@ -59216,7 +60079,7 @@ declare const useLens: () => {
|
|
|
59216
60079
|
}];
|
|
59217
60080
|
readonly stateMutability: "pure";
|
|
59218
60081
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59219
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
60082
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
59220
60083
|
readonly type: "function";
|
|
59221
60084
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59222
60085
|
readonly inputs: readonly [{
|
|
@@ -59837,7 +60700,7 @@ declare const useLens: () => {
|
|
|
59837
60700
|
}];
|
|
59838
60701
|
readonly stateMutability: "pure";
|
|
59839
60702
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59840
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
60703
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
59841
60704
|
readonly type: "function";
|
|
59842
60705
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59843
60706
|
readonly inputs: readonly [{
|
|
@@ -60458,7 +61321,7 @@ declare const useLens: () => {
|
|
|
60458
61321
|
}];
|
|
60459
61322
|
readonly stateMutability: "pure";
|
|
60460
61323
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60461
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
61324
|
+
getPriceAtTick: (args: readonly [number], options?: viem131.Prettify<viem131.UnionOmit<viem131.ReadContractParameters<readonly [{
|
|
60462
61325
|
readonly type: "function";
|
|
60463
61326
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60464
61327
|
readonly inputs: readonly [{
|
|
@@ -61714,5 +62577,5 @@ declare const useApproval: () => {
|
|
|
61714
62577
|
reset: () => void;
|
|
61715
62578
|
};
|
|
61716
62579
|
//#endregion
|
|
61717
|
-
export {
|
|
61718
|
-
//# sourceMappingURL=client-
|
|
62580
|
+
export { scaleAmount as $, PriceDataPoint as A, OptionTimelineData as B, liquiditiesToAmount1 as C, getUniswapMathLens as Ct, token0ToToken1 as D, roundTickUp as E, useUserOperators as F, useMintOption as G, useExtendOption as H, useOperatorPerms as I, EMPTY_ARRAY as J, useMaxPositionSize as K, usePerpsOperator as L, getCurrentPrice as M, getPriceHistory as N, token1ToToken0 as O, useSetOperatorPerms as P, formatVagueAmount as Q, useClosePerp as R, liquiditiesToAmount0 as S, getTimelockMarket as St, roundTickDown as T, uniswapMathLenses as Tt, useOptionPremium as U, useOptionTimeline as V, useOptionPnl as W, formatCondensed as X, formatAmount as Y, formatUSD as Z, PRICE_PRECISION as _, TimelockMarket as _t, batchGetAmountsFromLiquidity as a, wrapPrice as at, getPriceAtTick as b, getErc20 as bt, useLiquidityBlocks as c, useMarketData as ct, usePriceAtTick as d, useActiveUserOptions as dt, scalePrice as et, UniswapPoolData as f, useClosedUserOptions as ft, getPayoutAtTick as g, TimelockLens as gt, useCurrentPrice as h, useTimelockConfig as ht, useVaultData as i, wrapAmountUnscaled as it, PriceResolution as j, PriceData as k, useBurnLiquidity as l, useExerciseOption as lt, useCurrentTick as m, useCurrentMarket as mt, useLens as n, unscalePrice as nt, useMintLiquidity as o, wrapPriceUnscaled as ot, usePoolData as p, TimelockProvider as pt, Amount as q, useVaultTVL as r, wrapAmount as rt, LiquidityBlockData as s, zero as st, useApproval as t, unscaleAmount as tt, usePriceHistory as u, OptionData as ut, getAmountsFromLiquidity as v, TimelockMarketData as vt, liquiditiesToAmounts as w, timelockLenses as wt, getTickAtPrice as x, getTimelockLens as xt, getNearestValidStrikeTick as y, UniswapMathLens as yt, useMintPerp as z };
|
|
62581
|
+
//# sourceMappingURL=client-DJzkUajw.d.cts.map
|