timelock-sdk 0.0.92 → 0.0.94
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-CGZEauft.d.ts → client-BanYHaNs.d.cts} +209 -865
- package/dist/{client-DJzkUajw.d.cts → client-S6cJb7ZQ.d.ts} +442 -1098
- package/dist/client.cjs +13 -2
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +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,14 +1,13 @@
|
|
|
1
|
-
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-
|
|
2
|
-
import * as
|
|
1
|
+
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-ChJFZ6hc.js";
|
|
2
|
+
import * as viem145 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, PublicClient } from "viem";
|
|
4
|
+
import Big from "big.js";
|
|
4
5
|
import React, { ReactNode } from "react";
|
|
5
|
-
import "graphql";
|
|
6
6
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
7
|
-
import * as
|
|
7
|
+
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
8
8
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import * as wagmi0 from "wagmi";
|
|
9
|
+
import "graphql";
|
|
10
|
+
import * as _tanstack_query_core17 from "@tanstack/query-core";
|
|
12
11
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
13
12
|
|
|
14
13
|
//#region src/generated/graphql.d.ts
|
|
@@ -229,7 +228,7 @@ type TimelockMarketData = Awaited<ReturnType<TimelockLens['read']['getMarketData
|
|
|
229
228
|
};
|
|
230
229
|
declare const getErc20: (address: Address, client: Client) => {
|
|
231
230
|
read: {
|
|
232
|
-
symbol: (options?:
|
|
231
|
+
symbol: (options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
233
232
|
readonly type: "constructor";
|
|
234
233
|
readonly inputs: readonly [{
|
|
235
234
|
readonly name: "name_";
|
|
@@ -408,7 +407,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
408
407
|
}];
|
|
409
408
|
readonly stateMutability: "nonpayable";
|
|
410
409
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
411
|
-
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
410
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
412
411
|
readonly type: "constructor";
|
|
413
412
|
readonly inputs: readonly [{
|
|
414
413
|
readonly name: "name_";
|
|
@@ -587,7 +586,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
587
586
|
}];
|
|
588
587
|
readonly stateMutability: "nonpayable";
|
|
589
588
|
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
590
|
-
balanceOf: (args: readonly [`0x${string}`], options?:
|
|
589
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
591
590
|
readonly type: "constructor";
|
|
592
591
|
readonly inputs: readonly [{
|
|
593
592
|
readonly name: "name_";
|
|
@@ -766,7 +765,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
766
765
|
}];
|
|
767
766
|
readonly stateMutability: "nonpayable";
|
|
768
767
|
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
769
|
-
decimals: (options?:
|
|
768
|
+
decimals: (options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
770
769
|
readonly type: "constructor";
|
|
771
770
|
readonly inputs: readonly [{
|
|
772
771
|
readonly name: "name_";
|
|
@@ -945,7 +944,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
945
944
|
}];
|
|
946
945
|
readonly stateMutability: "nonpayable";
|
|
947
946
|
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
948
|
-
name: (options?:
|
|
947
|
+
name: (options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
949
948
|
readonly type: "constructor";
|
|
950
949
|
readonly inputs: readonly [{
|
|
951
950
|
readonly name: "name_";
|
|
@@ -1124,7 +1123,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1124
1123
|
}];
|
|
1125
1124
|
readonly stateMutability: "nonpayable";
|
|
1126
1125
|
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
1127
|
-
totalSupply: (options?:
|
|
1126
|
+
totalSupply: (options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
1128
1127
|
readonly type: "constructor";
|
|
1129
1128
|
readonly inputs: readonly [{
|
|
1130
1129
|
readonly name: "name_";
|
|
@@ -1305,7 +1304,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1305
1304
|
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1306
1305
|
};
|
|
1307
1306
|
estimateGas: {
|
|
1308
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
1307
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.EstimateContractGasParameters<readonly [{
|
|
1309
1308
|
readonly type: "constructor";
|
|
1310
1309
|
readonly inputs: readonly [{
|
|
1311
1310
|
readonly name: "name_";
|
|
@@ -1483,8 +1482,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1483
1482
|
readonly internalType: "bool";
|
|
1484
1483
|
}];
|
|
1485
1484
|
readonly stateMutability: "nonpayable";
|
|
1486
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
1487
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1485
|
+
}], "approve", readonly [`0x${string}`, bigint], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
1486
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.EstimateContractGasParameters<readonly [{
|
|
1488
1487
|
readonly type: "constructor";
|
|
1489
1488
|
readonly inputs: readonly [{
|
|
1490
1489
|
readonly name: "name_";
|
|
@@ -1662,8 +1661,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1662
1661
|
readonly internalType: "bool";
|
|
1663
1662
|
}];
|
|
1664
1663
|
readonly stateMutability: "nonpayable";
|
|
1665
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
1666
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1664
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
1665
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.EstimateContractGasParameters<readonly [{
|
|
1667
1666
|
readonly type: "constructor";
|
|
1668
1667
|
readonly inputs: readonly [{
|
|
1669
1668
|
readonly name: "name_";
|
|
@@ -1841,8 +1840,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1841
1840
|
readonly internalType: "bool";
|
|
1842
1841
|
}];
|
|
1843
1842
|
readonly stateMutability: "nonpayable";
|
|
1844
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
1845
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
1843
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
1844
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.EstimateContractGasParameters<readonly [{
|
|
1846
1845
|
readonly type: "constructor";
|
|
1847
1846
|
readonly inputs: readonly [{
|
|
1848
1847
|
readonly name: "name_";
|
|
@@ -2020,8 +2019,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2020
2019
|
readonly internalType: "bool";
|
|
2021
2020
|
}];
|
|
2022
2021
|
readonly stateMutability: "nonpayable";
|
|
2023
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2024
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2022
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
2023
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.EstimateContractGasParameters<readonly [{
|
|
2025
2024
|
readonly type: "constructor";
|
|
2026
2025
|
readonly inputs: readonly [{
|
|
2027
2026
|
readonly name: "name_";
|
|
@@ -2199,9 +2198,9 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2199
2198
|
readonly internalType: "bool";
|
|
2200
2199
|
}];
|
|
2201
2200
|
readonly stateMutability: "nonpayable";
|
|
2202
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
2201
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
2203
2202
|
} & {
|
|
2204
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
2203
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.EstimateContractGasParameters<readonly [{
|
|
2205
2204
|
readonly type: "constructor";
|
|
2206
2205
|
readonly inputs: readonly [{
|
|
2207
2206
|
readonly name: "name_";
|
|
@@ -2379,8 +2378,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2379
2378
|
readonly internalType: "bool";
|
|
2380
2379
|
}];
|
|
2381
2380
|
readonly stateMutability: "nonpayable";
|
|
2382
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
2383
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2381
|
+
}], "approve", readonly [`0x${string}`, bigint], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
2382
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.EstimateContractGasParameters<readonly [{
|
|
2384
2383
|
readonly type: "constructor";
|
|
2385
2384
|
readonly inputs: readonly [{
|
|
2386
2385
|
readonly name: "name_";
|
|
@@ -2558,8 +2557,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2558
2557
|
readonly internalType: "bool";
|
|
2559
2558
|
}];
|
|
2560
2559
|
readonly stateMutability: "nonpayable";
|
|
2561
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
2562
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2560
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
2561
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.EstimateContractGasParameters<readonly [{
|
|
2563
2562
|
readonly type: "constructor";
|
|
2564
2563
|
readonly inputs: readonly [{
|
|
2565
2564
|
readonly name: "name_";
|
|
@@ -2737,8 +2736,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2737
2736
|
readonly internalType: "bool";
|
|
2738
2737
|
}];
|
|
2739
2738
|
readonly stateMutability: "nonpayable";
|
|
2740
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
2741
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
2739
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
2740
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.EstimateContractGasParameters<readonly [{
|
|
2742
2741
|
readonly type: "constructor";
|
|
2743
2742
|
readonly inputs: readonly [{
|
|
2744
2743
|
readonly name: "name_";
|
|
@@ -2916,8 +2915,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2916
2915
|
readonly internalType: "bool";
|
|
2917
2916
|
}];
|
|
2918
2917
|
readonly stateMutability: "nonpayable";
|
|
2919
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2920
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2918
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
2919
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem145.Prettify<viem145.UnionOmit<viem145.EstimateContractGasParameters<readonly [{
|
|
2921
2920
|
readonly type: "constructor";
|
|
2922
2921
|
readonly inputs: readonly [{
|
|
2923
2922
|
readonly name: "name_";
|
|
@@ -3095,10 +3094,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3095
3094
|
readonly internalType: "bool";
|
|
3096
3095
|
}];
|
|
3097
3096
|
readonly stateMutability: "nonpayable";
|
|
3098
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
3097
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem145.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem145.EstimateContractGasReturnType>;
|
|
3099
3098
|
};
|
|
3100
3099
|
simulate: {
|
|
3101
|
-
approve: <chainOverride extends
|
|
3100
|
+
approve: <chainOverride extends viem145.Chain | undefined = undefined, accountOverride extends viem145.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem145.SimulateContractParameters<readonly [{
|
|
3102
3101
|
readonly type: "constructor";
|
|
3103
3102
|
readonly inputs: readonly [{
|
|
3104
3103
|
readonly name: "name_";
|
|
@@ -3276,7 +3275,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3276
3275
|
readonly internalType: "bool";
|
|
3277
3276
|
}];
|
|
3278
3277
|
readonly stateMutability: "nonpayable";
|
|
3279
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3278
|
+
}], "approve", readonly [`0x${string}`, bigint], viem145.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem145.SimulateContractReturnType<readonly [{
|
|
3280
3279
|
readonly type: "constructor";
|
|
3281
3280
|
readonly inputs: readonly [{
|
|
3282
3281
|
readonly name: "name_";
|
|
@@ -3454,8 +3453,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3454
3453
|
readonly internalType: "bool";
|
|
3455
3454
|
}];
|
|
3456
3455
|
readonly stateMutability: "nonpayable";
|
|
3457
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3458
|
-
decreaseAllowance: <chainOverride extends
|
|
3456
|
+
}], "approve", readonly [`0x${string}`, bigint], viem145.Chain | undefined, viem145.Account | undefined, chainOverride, accountOverride>>;
|
|
3457
|
+
decreaseAllowance: <chainOverride extends viem145.Chain | undefined = undefined, accountOverride extends viem145.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem145.SimulateContractParameters<readonly [{
|
|
3459
3458
|
readonly type: "constructor";
|
|
3460
3459
|
readonly inputs: readonly [{
|
|
3461
3460
|
readonly name: "name_";
|
|
@@ -3633,7 +3632,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3633
3632
|
readonly internalType: "bool";
|
|
3634
3633
|
}];
|
|
3635
3634
|
readonly stateMutability: "nonpayable";
|
|
3636
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3635
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem145.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem145.SimulateContractReturnType<readonly [{
|
|
3637
3636
|
readonly type: "constructor";
|
|
3638
3637
|
readonly inputs: readonly [{
|
|
3639
3638
|
readonly name: "name_";
|
|
@@ -3811,8 +3810,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3811
3810
|
readonly internalType: "bool";
|
|
3812
3811
|
}];
|
|
3813
3812
|
readonly stateMutability: "nonpayable";
|
|
3814
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3815
|
-
increaseAllowance: <chainOverride extends
|
|
3813
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem145.Chain | undefined, viem145.Account | undefined, chainOverride, accountOverride>>;
|
|
3814
|
+
increaseAllowance: <chainOverride extends viem145.Chain | undefined = undefined, accountOverride extends viem145.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem145.SimulateContractParameters<readonly [{
|
|
3816
3815
|
readonly type: "constructor";
|
|
3817
3816
|
readonly inputs: readonly [{
|
|
3818
3817
|
readonly name: "name_";
|
|
@@ -3990,7 +3989,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3990
3989
|
readonly internalType: "bool";
|
|
3991
3990
|
}];
|
|
3992
3991
|
readonly stateMutability: "nonpayable";
|
|
3993
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
3992
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem145.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem145.SimulateContractReturnType<readonly [{
|
|
3994
3993
|
readonly type: "constructor";
|
|
3995
3994
|
readonly inputs: readonly [{
|
|
3996
3995
|
readonly name: "name_";
|
|
@@ -4168,8 +4167,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4168
4167
|
readonly internalType: "bool";
|
|
4169
4168
|
}];
|
|
4170
4169
|
readonly stateMutability: "nonpayable";
|
|
4171
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
4172
|
-
transfer: <chainOverride extends
|
|
4170
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem145.Chain | undefined, viem145.Account | undefined, chainOverride, accountOverride>>;
|
|
4171
|
+
transfer: <chainOverride extends viem145.Chain | undefined = undefined, accountOverride extends viem145.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem145.SimulateContractParameters<readonly [{
|
|
4173
4172
|
readonly type: "constructor";
|
|
4174
4173
|
readonly inputs: readonly [{
|
|
4175
4174
|
readonly name: "name_";
|
|
@@ -4347,7 +4346,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4347
4346
|
readonly internalType: "bool";
|
|
4348
4347
|
}];
|
|
4349
4348
|
readonly stateMutability: "nonpayable";
|
|
4350
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4349
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem145.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem145.SimulateContractReturnType<readonly [{
|
|
4351
4350
|
readonly type: "constructor";
|
|
4352
4351
|
readonly inputs: readonly [{
|
|
4353
4352
|
readonly name: "name_";
|
|
@@ -4525,8 +4524,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4525
4524
|
readonly internalType: "bool";
|
|
4526
4525
|
}];
|
|
4527
4526
|
readonly stateMutability: "nonpayable";
|
|
4528
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4529
|
-
transferFrom: <chainOverride extends
|
|
4527
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem145.Chain | undefined, viem145.Account | undefined, chainOverride, accountOverride>>;
|
|
4528
|
+
transferFrom: <chainOverride extends viem145.Chain | undefined = undefined, accountOverride extends viem145.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem145.SimulateContractParameters<readonly [{
|
|
4530
4529
|
readonly type: "constructor";
|
|
4531
4530
|
readonly inputs: readonly [{
|
|
4532
4531
|
readonly name: "name_";
|
|
@@ -4704,7 +4703,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4704
4703
|
readonly internalType: "bool";
|
|
4705
4704
|
}];
|
|
4706
4705
|
readonly stateMutability: "nonpayable";
|
|
4707
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4706
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem145.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem145.SimulateContractReturnType<readonly [{
|
|
4708
4707
|
readonly type: "constructor";
|
|
4709
4708
|
readonly inputs: readonly [{
|
|
4710
4709
|
readonly name: "name_";
|
|
@@ -4882,10 +4881,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4882
4881
|
readonly internalType: "bool";
|
|
4883
4882
|
}];
|
|
4884
4883
|
readonly stateMutability: "nonpayable";
|
|
4885
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4884
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem145.Chain | undefined, viem145.Account | undefined, chainOverride, accountOverride>>;
|
|
4886
4885
|
};
|
|
4887
4886
|
write: {
|
|
4888
|
-
approve: <chainOverride extends
|
|
4887
|
+
approve: <chainOverride extends viem145.Chain | undefined, options extends (viem145.UnionOmit<viem145.WriteContractParameters<readonly [{
|
|
4889
4888
|
readonly type: "constructor";
|
|
4890
4889
|
readonly inputs: readonly [{
|
|
4891
4890
|
readonly name: "name_";
|
|
@@ -5063,8 +5062,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5063
5062
|
readonly internalType: "bool";
|
|
5064
5063
|
}];
|
|
5065
5064
|
readonly stateMutability: "nonpayable";
|
|
5066
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
5067
|
-
decreaseAllowance: <chainOverride extends
|
|
5065
|
+
}], "approve", readonly [`0x${string}`, bigint], viem145.Chain | undefined, viem145.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<viem145.WriteContractReturnType>;
|
|
5066
|
+
decreaseAllowance: <chainOverride extends viem145.Chain | undefined, options extends (viem145.UnionOmit<viem145.WriteContractParameters<readonly [{
|
|
5068
5067
|
readonly type: "constructor";
|
|
5069
5068
|
readonly inputs: readonly [{
|
|
5070
5069
|
readonly name: "name_";
|
|
@@ -5242,8 +5241,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5242
5241
|
readonly internalType: "bool";
|
|
5243
5242
|
}];
|
|
5244
5243
|
readonly stateMutability: "nonpayable";
|
|
5245
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
5246
|
-
increaseAllowance: <chainOverride extends
|
|
5244
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem145.Chain | undefined, viem145.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<viem145.WriteContractReturnType>;
|
|
5245
|
+
increaseAllowance: <chainOverride extends viem145.Chain | undefined, options extends (viem145.UnionOmit<viem145.WriteContractParameters<readonly [{
|
|
5247
5246
|
readonly type: "constructor";
|
|
5248
5247
|
readonly inputs: readonly [{
|
|
5249
5248
|
readonly name: "name_";
|
|
@@ -5421,8 +5420,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5421
5420
|
readonly internalType: "bool";
|
|
5422
5421
|
}];
|
|
5423
5422
|
readonly stateMutability: "nonpayable";
|
|
5424
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
5425
|
-
transfer: <chainOverride extends
|
|
5423
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem145.Chain | undefined, viem145.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<viem145.WriteContractReturnType>;
|
|
5424
|
+
transfer: <chainOverride extends viem145.Chain | undefined, options extends (viem145.UnionOmit<viem145.WriteContractParameters<readonly [{
|
|
5426
5425
|
readonly type: "constructor";
|
|
5427
5426
|
readonly inputs: readonly [{
|
|
5428
5427
|
readonly name: "name_";
|
|
@@ -5600,8 +5599,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5600
5599
|
readonly internalType: "bool";
|
|
5601
5600
|
}];
|
|
5602
5601
|
readonly stateMutability: "nonpayable";
|
|
5603
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
5604
|
-
transferFrom: <chainOverride extends
|
|
5602
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem145.Chain | undefined, viem145.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<viem145.WriteContractReturnType>;
|
|
5603
|
+
transferFrom: <chainOverride extends viem145.Chain | undefined, options extends (viem145.UnionOmit<viem145.WriteContractParameters<readonly [{
|
|
5605
5604
|
readonly type: "constructor";
|
|
5606
5605
|
readonly inputs: readonly [{
|
|
5607
5606
|
readonly name: "name_";
|
|
@@ -5779,7 +5778,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5779
5778
|
readonly internalType: "bool";
|
|
5780
5779
|
}];
|
|
5781
5780
|
readonly stateMutability: "nonpayable";
|
|
5782
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
5781
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem145.Chain | undefined, viem145.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<viem145.WriteContractReturnType>;
|
|
5783
5782
|
};
|
|
5784
5783
|
address: `0x${string}`;
|
|
5785
5784
|
abi: readonly [{
|
|
@@ -5965,7 +5964,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5965
5964
|
declare const getTimelockMarket: (address: Address, client: Client) => TimelockMarket;
|
|
5966
5965
|
declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
5967
5966
|
read: {
|
|
5968
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
5967
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
5969
5968
|
readonly type: "function";
|
|
5970
5969
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
5971
5970
|
readonly inputs: readonly [{
|
|
@@ -6586,7 +6585,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
6586
6585
|
}];
|
|
6587
6586
|
readonly stateMutability: "pure";
|
|
6588
6587
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
6589
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
6588
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
6590
6589
|
readonly type: "function";
|
|
6591
6590
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6592
6591
|
readonly inputs: readonly [{
|
|
@@ -7207,7 +7206,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
7207
7206
|
}];
|
|
7208
7207
|
readonly stateMutability: "pure";
|
|
7209
7208
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7210
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
7209
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
7211
7210
|
readonly type: "function";
|
|
7212
7211
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7213
7212
|
readonly inputs: readonly [{
|
|
@@ -7828,7 +7827,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
7828
7827
|
}];
|
|
7829
7828
|
readonly stateMutability: "pure";
|
|
7830
7829
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7831
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
7830
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
7832
7831
|
readonly type: "function";
|
|
7833
7832
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7834
7833
|
readonly inputs: readonly [{
|
|
@@ -8449,7 +8448,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
8449
8448
|
}];
|
|
8450
8449
|
readonly stateMutability: "pure";
|
|
8451
8450
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
8452
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
8451
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
8453
8452
|
readonly type: "function";
|
|
8454
8453
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8455
8454
|
readonly inputs: readonly [{
|
|
@@ -9070,7 +9069,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
9070
9069
|
}];
|
|
9071
9070
|
readonly stateMutability: "pure";
|
|
9072
9071
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
9073
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
9072
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
9074
9073
|
readonly type: "function";
|
|
9075
9074
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9076
9075
|
readonly inputs: readonly [{
|
|
@@ -9691,7 +9690,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
9691
9690
|
}];
|
|
9692
9691
|
readonly stateMutability: "pure";
|
|
9693
9692
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
9694
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
9693
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
9695
9694
|
readonly type: "function";
|
|
9696
9695
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9697
9696
|
readonly inputs: readonly [{
|
|
@@ -10312,7 +10311,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10312
10311
|
}];
|
|
10313
10312
|
readonly stateMutability: "pure";
|
|
10314
10313
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10315
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
10314
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
10316
10315
|
readonly type: "function";
|
|
10317
10316
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10318
10317
|
readonly inputs: readonly [{
|
|
@@ -10933,7 +10932,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10933
10932
|
}];
|
|
10934
10933
|
readonly stateMutability: "pure";
|
|
10935
10934
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10936
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
10935
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
10937
10936
|
readonly type: "function";
|
|
10938
10937
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10939
10938
|
readonly inputs: readonly [{
|
|
@@ -11554,7 +11553,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
11554
11553
|
}];
|
|
11555
11554
|
readonly stateMutability: "pure";
|
|
11556
11555
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
11557
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
11556
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
11558
11557
|
readonly type: "function";
|
|
11559
11558
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11560
11559
|
readonly inputs: readonly [{
|
|
@@ -12175,7 +12174,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12175
12174
|
}];
|
|
12176
12175
|
readonly stateMutability: "pure";
|
|
12177
12176
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12178
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
12177
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
12179
12178
|
readonly type: "function";
|
|
12180
12179
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12181
12180
|
readonly inputs: readonly [{
|
|
@@ -12796,7 +12795,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12796
12795
|
}];
|
|
12797
12796
|
readonly stateMutability: "pure";
|
|
12798
12797
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12799
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
12798
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
12800
12799
|
readonly type: "function";
|
|
12801
12800
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12802
12801
|
readonly inputs: readonly [{
|
|
@@ -13417,7 +13416,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
13417
13416
|
}];
|
|
13418
13417
|
readonly stateMutability: "pure";
|
|
13419
13418
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13420
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
13419
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
13421
13420
|
readonly type: "function";
|
|
13422
13421
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13423
13422
|
readonly inputs: readonly [{
|
|
@@ -14038,7 +14037,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14038
14037
|
}];
|
|
14039
14038
|
readonly stateMutability: "pure";
|
|
14040
14039
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14041
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
14040
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
14042
14041
|
readonly type: "function";
|
|
14043
14042
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14044
14043
|
readonly inputs: readonly [{
|
|
@@ -14659,7 +14658,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14659
14658
|
}];
|
|
14660
14659
|
readonly stateMutability: "pure";
|
|
14661
14660
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
14662
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
14661
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
14663
14662
|
readonly type: "function";
|
|
14664
14663
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14665
14664
|
readonly inputs: readonly [{
|
|
@@ -15280,7 +15279,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15280
15279
|
}];
|
|
15281
15280
|
readonly stateMutability: "pure";
|
|
15282
15281
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15283
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
15282
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
15284
15283
|
readonly type: "function";
|
|
15285
15284
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15286
15285
|
readonly inputs: readonly [{
|
|
@@ -15901,7 +15900,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15901
15900
|
}];
|
|
15902
15901
|
readonly stateMutability: "pure";
|
|
15903
15902
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15904
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
15903
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
15905
15904
|
readonly type: "function";
|
|
15906
15905
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15907
15906
|
readonly inputs: readonly [{
|
|
@@ -16522,7 +16521,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
16522
16521
|
}];
|
|
16523
16522
|
readonly stateMutability: "pure";
|
|
16524
16523
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
16525
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
16524
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
16526
16525
|
readonly type: "function";
|
|
16527
16526
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16528
16527
|
readonly inputs: readonly [{
|
|
@@ -17143,7 +17142,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17143
17142
|
}];
|
|
17144
17143
|
readonly stateMutability: "pure";
|
|
17145
17144
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
17146
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
17145
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
17147
17146
|
readonly type: "function";
|
|
17148
17147
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17149
17148
|
readonly inputs: readonly [{
|
|
@@ -17764,7 +17763,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17764
17763
|
}];
|
|
17765
17764
|
readonly stateMutability: "pure";
|
|
17766
17765
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
17767
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
17766
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
17768
17767
|
readonly type: "function";
|
|
17769
17768
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17770
17769
|
readonly inputs: readonly [{
|
|
@@ -18385,7 +18384,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
18385
18384
|
}];
|
|
18386
18385
|
readonly stateMutability: "pure";
|
|
18387
18386
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
18388
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
18387
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
18389
18388
|
readonly type: "function";
|
|
18390
18389
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18391
18390
|
readonly inputs: readonly [{
|
|
@@ -19006,7 +19005,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19006
19005
|
}];
|
|
19007
19006
|
readonly stateMutability: "pure";
|
|
19008
19007
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
19009
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
19008
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
19010
19009
|
readonly type: "function";
|
|
19011
19010
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19012
19011
|
readonly inputs: readonly [{
|
|
@@ -19627,7 +19626,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19627
19626
|
}];
|
|
19628
19627
|
readonly stateMutability: "pure";
|
|
19629
19628
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
19630
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
19629
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
19631
19630
|
readonly type: "function";
|
|
19632
19631
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19633
19632
|
readonly inputs: readonly [{
|
|
@@ -20248,7 +20247,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20248
20247
|
}];
|
|
20249
20248
|
readonly stateMutability: "pure";
|
|
20250
20249
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20251
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
20250
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
20252
20251
|
readonly type: "function";
|
|
20253
20252
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20254
20253
|
readonly inputs: readonly [{
|
|
@@ -20869,7 +20868,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20869
20868
|
}];
|
|
20870
20869
|
readonly stateMutability: "pure";
|
|
20871
20870
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20872
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
20871
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
20873
20872
|
readonly type: "function";
|
|
20874
20873
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20875
20874
|
readonly inputs: readonly [{
|
|
@@ -21490,7 +21489,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
21490
21489
|
}];
|
|
21491
21490
|
readonly stateMutability: "pure";
|
|
21492
21491
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21493
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
21492
|
+
getPriceAtTick: (args: readonly [number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
21494
21493
|
readonly type: "function";
|
|
21495
21494
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21496
21495
|
readonly inputs: readonly [{
|
|
@@ -22737,7 +22736,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
22737
22736
|
};
|
|
22738
22737
|
declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
22739
22738
|
read: {
|
|
22740
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
22739
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
22741
22740
|
readonly type: "function";
|
|
22742
22741
|
readonly name: "batchGetRefTick";
|
|
22743
22742
|
readonly inputs: readonly [{
|
|
@@ -23379,7 +23378,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23379
23378
|
}];
|
|
23380
23379
|
readonly stateMutability: "view";
|
|
23381
23380
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
23382
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
23381
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
23383
23382
|
readonly type: "function";
|
|
23384
23383
|
readonly name: "batchGetRefTick";
|
|
23385
23384
|
readonly inputs: readonly [{
|
|
@@ -24031,7 +24030,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24031
24030
|
borrowedAmount0: bigint;
|
|
24032
24031
|
borrowedAmount1: bigint;
|
|
24033
24032
|
}[]>;
|
|
24034
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
24033
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
24035
24034
|
readonly type: "function";
|
|
24036
24035
|
readonly name: "batchGetRefTick";
|
|
24037
24036
|
readonly inputs: readonly [{
|
|
@@ -24688,7 +24687,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24688
24687
|
expiresAt: number;
|
|
24689
24688
|
liquidities: readonly bigint[];
|
|
24690
24689
|
}[], bigint, boolean]>;
|
|
24691
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
24690
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
24692
24691
|
readonly type: "function";
|
|
24693
24692
|
readonly name: "batchGetRefTick";
|
|
24694
24693
|
readonly inputs: readonly [{
|
|
@@ -25330,7 +25329,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25330
25329
|
}];
|
|
25331
25330
|
readonly stateMutability: "view";
|
|
25332
25331
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25333
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
25332
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
25334
25333
|
readonly type: "function";
|
|
25335
25334
|
readonly name: "batchGetRefTick";
|
|
25336
25335
|
readonly inputs: readonly [{
|
|
@@ -25985,7 +25984,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25985
25984
|
payoutAssetName: string;
|
|
25986
25985
|
optionsCount: bigint;
|
|
25987
25986
|
}>;
|
|
25988
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
25987
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
25989
25988
|
readonly type: "function";
|
|
25990
25989
|
readonly name: "batchGetRefTick";
|
|
25991
25990
|
readonly inputs: readonly [{
|
|
@@ -26627,7 +26626,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26627
26626
|
}];
|
|
26628
26627
|
readonly stateMutability: "view";
|
|
26629
26628
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
26630
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
26629
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
26631
26630
|
readonly type: "function";
|
|
26632
26631
|
readonly name: "batchGetRefTick";
|
|
26633
26632
|
readonly inputs: readonly [{
|
|
@@ -27269,7 +27268,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27269
27268
|
}];
|
|
27270
27269
|
readonly stateMutability: "view";
|
|
27271
27270
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
27272
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
27271
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
27273
27272
|
readonly type: "function";
|
|
27274
27273
|
readonly name: "batchGetRefTick";
|
|
27275
27274
|
readonly inputs: readonly [{
|
|
@@ -27926,7 +27925,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27926
27925
|
expiresAt: number;
|
|
27927
27926
|
liquidities: readonly bigint[];
|
|
27928
27927
|
}>;
|
|
27929
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
27928
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
27930
27929
|
readonly type: "function";
|
|
27931
27930
|
readonly name: "batchGetRefTick";
|
|
27932
27931
|
readonly inputs: readonly [{
|
|
@@ -28583,7 +28582,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28583
28582
|
expiresAt: number;
|
|
28584
28583
|
liquidities: readonly bigint[];
|
|
28585
28584
|
}[]>;
|
|
28586
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
28585
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
28587
28586
|
readonly type: "function";
|
|
28588
28587
|
readonly name: "batchGetRefTick";
|
|
28589
28588
|
readonly inputs: readonly [{
|
|
@@ -29236,7 +29235,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29236
29235
|
tickSpacing: number;
|
|
29237
29236
|
fee: number;
|
|
29238
29237
|
}>;
|
|
29239
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
29238
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
29240
29239
|
readonly type: "function";
|
|
29241
29240
|
readonly name: "batchGetRefTick";
|
|
29242
29241
|
readonly inputs: readonly [{
|
|
@@ -29878,7 +29877,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29878
29877
|
}];
|
|
29879
29878
|
readonly stateMutability: "view";
|
|
29880
29879
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
29881
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
29880
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
29882
29881
|
readonly type: "function";
|
|
29883
29882
|
readonly name: "batchGetRefTick";
|
|
29884
29883
|
readonly inputs: readonly [{
|
|
@@ -30535,7 +30534,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30535
30534
|
expiresAt: number;
|
|
30536
30535
|
liquidities: readonly bigint[];
|
|
30537
30536
|
}[], bigint, boolean]>;
|
|
30538
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
30537
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
30539
30538
|
readonly type: "function";
|
|
30540
30539
|
readonly name: "batchGetRefTick";
|
|
30541
30540
|
readonly inputs: readonly [{
|
|
@@ -31873,7 +31872,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31873
31872
|
isRefetching: boolean;
|
|
31874
31873
|
isStale: boolean;
|
|
31875
31874
|
isEnabled: boolean;
|
|
31876
|
-
refetch: (options?:
|
|
31875
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
31877
31876
|
optionId: bigint;
|
|
31878
31877
|
marketAddr: Address;
|
|
31879
31878
|
ownerAddr: Address;
|
|
@@ -31904,7 +31903,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31904
31903
|
address: string;
|
|
31905
31904
|
} | null;
|
|
31906
31905
|
}[], Error>>;
|
|
31907
|
-
fetchStatus:
|
|
31906
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
31908
31907
|
promise: Promise<{
|
|
31909
31908
|
optionId: bigint;
|
|
31910
31909
|
marketAddr: Address;
|
|
@@ -31990,7 +31989,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31990
31989
|
isRefetching: boolean;
|
|
31991
31990
|
isStale: boolean;
|
|
31992
31991
|
isEnabled: boolean;
|
|
31993
|
-
refetch: (options?:
|
|
31992
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
31994
31993
|
optionId: bigint;
|
|
31995
31994
|
marketAddr: Address;
|
|
31996
31995
|
ownerAddr: Address;
|
|
@@ -32021,7 +32020,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32021
32020
|
address: string;
|
|
32022
32021
|
} | null;
|
|
32023
32022
|
}[], Error>>;
|
|
32024
|
-
fetchStatus:
|
|
32023
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32025
32024
|
promise: Promise<{
|
|
32026
32025
|
optionId: bigint;
|
|
32027
32026
|
marketAddr: Address;
|
|
@@ -32107,7 +32106,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32107
32106
|
isRefetching: boolean;
|
|
32108
32107
|
isStale: boolean;
|
|
32109
32108
|
isEnabled: boolean;
|
|
32110
|
-
refetch: (options?:
|
|
32109
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32111
32110
|
optionId: bigint;
|
|
32112
32111
|
marketAddr: Address;
|
|
32113
32112
|
ownerAddr: Address;
|
|
@@ -32138,7 +32137,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32138
32137
|
address: string;
|
|
32139
32138
|
} | null;
|
|
32140
32139
|
}[], Error>>;
|
|
32141
|
-
fetchStatus:
|
|
32140
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32142
32141
|
promise: Promise<{
|
|
32143
32142
|
optionId: bigint;
|
|
32144
32143
|
marketAddr: Address;
|
|
@@ -32224,7 +32223,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32224
32223
|
isRefetching: boolean;
|
|
32225
32224
|
isStale: boolean;
|
|
32226
32225
|
isEnabled: boolean;
|
|
32227
|
-
refetch: (options?:
|
|
32226
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32228
32227
|
optionId: bigint;
|
|
32229
32228
|
marketAddr: Address;
|
|
32230
32229
|
ownerAddr: Address;
|
|
@@ -32255,7 +32254,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32255
32254
|
address: string;
|
|
32256
32255
|
} | null;
|
|
32257
32256
|
}[], Error>>;
|
|
32258
|
-
fetchStatus:
|
|
32257
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32259
32258
|
promise: Promise<{
|
|
32260
32259
|
optionId: bigint;
|
|
32261
32260
|
marketAddr: Address;
|
|
@@ -32341,7 +32340,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32341
32340
|
isRefetching: boolean;
|
|
32342
32341
|
isStale: boolean;
|
|
32343
32342
|
isEnabled: boolean;
|
|
32344
|
-
refetch: (options?:
|
|
32343
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32345
32344
|
optionId: bigint;
|
|
32346
32345
|
marketAddr: Address;
|
|
32347
32346
|
ownerAddr: Address;
|
|
@@ -32372,7 +32371,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32372
32371
|
address: string;
|
|
32373
32372
|
} | null;
|
|
32374
32373
|
}[], Error>>;
|
|
32375
|
-
fetchStatus:
|
|
32374
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32376
32375
|
promise: Promise<{
|
|
32377
32376
|
optionId: bigint;
|
|
32378
32377
|
marketAddr: Address;
|
|
@@ -32458,7 +32457,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32458
32457
|
isRefetching: boolean;
|
|
32459
32458
|
isStale: boolean;
|
|
32460
32459
|
isEnabled: boolean;
|
|
32461
|
-
refetch: (options?:
|
|
32460
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32462
32461
|
optionId: bigint;
|
|
32463
32462
|
marketAddr: Address;
|
|
32464
32463
|
ownerAddr: Address;
|
|
@@ -32489,7 +32488,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32489
32488
|
address: string;
|
|
32490
32489
|
} | null;
|
|
32491
32490
|
}[], Error>>;
|
|
32492
|
-
fetchStatus:
|
|
32491
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32493
32492
|
promise: Promise<{
|
|
32494
32493
|
optionId: bigint;
|
|
32495
32494
|
marketAddr: Address;
|
|
@@ -32576,7 +32575,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32576
32575
|
isRefetching: boolean;
|
|
32577
32576
|
isStale: boolean;
|
|
32578
32577
|
isEnabled: boolean;
|
|
32579
|
-
refetch: (options?:
|
|
32578
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32580
32579
|
optionId: bigint;
|
|
32581
32580
|
marketAddr: Address;
|
|
32582
32581
|
ownerAddr: Address;
|
|
@@ -32607,7 +32606,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32607
32606
|
address: string;
|
|
32608
32607
|
} | null;
|
|
32609
32608
|
}[], Error>>;
|
|
32610
|
-
fetchStatus:
|
|
32609
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32611
32610
|
promise: Promise<{
|
|
32612
32611
|
optionId: bigint;
|
|
32613
32612
|
marketAddr: Address;
|
|
@@ -32693,7 +32692,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32693
32692
|
isRefetching: boolean;
|
|
32694
32693
|
isStale: boolean;
|
|
32695
32694
|
isEnabled: boolean;
|
|
32696
|
-
refetch: (options?:
|
|
32695
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32697
32696
|
optionId: bigint;
|
|
32698
32697
|
marketAddr: Address;
|
|
32699
32698
|
ownerAddr: Address;
|
|
@@ -32724,7 +32723,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32724
32723
|
address: string;
|
|
32725
32724
|
} | null;
|
|
32726
32725
|
}[], Error>>;
|
|
32727
|
-
fetchStatus:
|
|
32726
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32728
32727
|
promise: Promise<{
|
|
32729
32728
|
optionId: bigint;
|
|
32730
32729
|
marketAddr: Address;
|
|
@@ -32810,7 +32809,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32810
32809
|
isRefetching: boolean;
|
|
32811
32810
|
isStale: boolean;
|
|
32812
32811
|
isEnabled: boolean;
|
|
32813
|
-
refetch: (options?:
|
|
32812
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32814
32813
|
optionId: bigint;
|
|
32815
32814
|
marketAddr: Address;
|
|
32816
32815
|
ownerAddr: Address;
|
|
@@ -32841,7 +32840,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32841
32840
|
address: string;
|
|
32842
32841
|
} | null;
|
|
32843
32842
|
}[], Error>>;
|
|
32844
|
-
fetchStatus:
|
|
32843
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32845
32844
|
promise: Promise<{
|
|
32846
32845
|
optionId: bigint;
|
|
32847
32846
|
marketAddr: Address;
|
|
@@ -32927,7 +32926,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32927
32926
|
isRefetching: boolean;
|
|
32928
32927
|
isStale: boolean;
|
|
32929
32928
|
isEnabled: boolean;
|
|
32930
|
-
refetch: (options?:
|
|
32929
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
32931
32930
|
optionId: bigint;
|
|
32932
32931
|
marketAddr: Address;
|
|
32933
32932
|
ownerAddr: Address;
|
|
@@ -32958,7 +32957,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32958
32957
|
address: string;
|
|
32959
32958
|
} | null;
|
|
32960
32959
|
}[], Error>>;
|
|
32961
|
-
fetchStatus:
|
|
32960
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
32962
32961
|
promise: Promise<{
|
|
32963
32962
|
optionId: bigint;
|
|
32964
32963
|
marketAddr: Address;
|
|
@@ -33044,7 +33043,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33044
33043
|
isRefetching: boolean;
|
|
33045
33044
|
isStale: boolean;
|
|
33046
33045
|
isEnabled: boolean;
|
|
33047
|
-
refetch: (options?:
|
|
33046
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33048
33047
|
optionId: bigint;
|
|
33049
33048
|
marketAddr: Address;
|
|
33050
33049
|
ownerAddr: Address;
|
|
@@ -33075,7 +33074,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33075
33074
|
address: string;
|
|
33076
33075
|
} | null;
|
|
33077
33076
|
}[], Error>>;
|
|
33078
|
-
fetchStatus:
|
|
33077
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33079
33078
|
promise: Promise<{
|
|
33080
33079
|
optionId: bigint;
|
|
33081
33080
|
marketAddr: Address;
|
|
@@ -33161,7 +33160,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33161
33160
|
isRefetching: boolean;
|
|
33162
33161
|
isStale: boolean;
|
|
33163
33162
|
isEnabled: boolean;
|
|
33164
|
-
refetch: (options?:
|
|
33163
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33165
33164
|
optionId: bigint;
|
|
33166
33165
|
marketAddr: Address;
|
|
33167
33166
|
ownerAddr: Address;
|
|
@@ -33192,7 +33191,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33192
33191
|
address: string;
|
|
33193
33192
|
} | null;
|
|
33194
33193
|
}[], Error>>;
|
|
33195
|
-
fetchStatus:
|
|
33194
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33196
33195
|
promise: Promise<{
|
|
33197
33196
|
optionId: bigint;
|
|
33198
33197
|
marketAddr: Address;
|
|
@@ -33279,7 +33278,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33279
33278
|
isRefetching: boolean;
|
|
33280
33279
|
isStale: boolean;
|
|
33281
33280
|
isEnabled: boolean;
|
|
33282
|
-
refetch: (options?:
|
|
33281
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33283
33282
|
optionId: bigint;
|
|
33284
33283
|
marketAddr: Address;
|
|
33285
33284
|
ownerAddr: Address;
|
|
@@ -33310,7 +33309,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33310
33309
|
address: string;
|
|
33311
33310
|
} | null;
|
|
33312
33311
|
}[], Error>>;
|
|
33313
|
-
fetchStatus:
|
|
33312
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33314
33313
|
promise: Promise<{
|
|
33315
33314
|
optionId: bigint;
|
|
33316
33315
|
marketAddr: Address;
|
|
@@ -33396,7 +33395,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33396
33395
|
isRefetching: boolean;
|
|
33397
33396
|
isStale: boolean;
|
|
33398
33397
|
isEnabled: boolean;
|
|
33399
|
-
refetch: (options?:
|
|
33398
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33400
33399
|
optionId: bigint;
|
|
33401
33400
|
marketAddr: Address;
|
|
33402
33401
|
ownerAddr: Address;
|
|
@@ -33427,7 +33426,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33427
33426
|
address: string;
|
|
33428
33427
|
} | null;
|
|
33429
33428
|
}[], Error>>;
|
|
33430
|
-
fetchStatus:
|
|
33429
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33431
33430
|
promise: Promise<{
|
|
33432
33431
|
optionId: bigint;
|
|
33433
33432
|
marketAddr: Address;
|
|
@@ -33513,7 +33512,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33513
33512
|
isRefetching: boolean;
|
|
33514
33513
|
isStale: boolean;
|
|
33515
33514
|
isEnabled: boolean;
|
|
33516
|
-
refetch: (options?:
|
|
33515
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33517
33516
|
optionId: bigint;
|
|
33518
33517
|
marketAddr: Address;
|
|
33519
33518
|
ownerAddr: Address;
|
|
@@ -33544,7 +33543,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33544
33543
|
address: string;
|
|
33545
33544
|
} | null;
|
|
33546
33545
|
}[], Error>>;
|
|
33547
|
-
fetchStatus:
|
|
33546
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33548
33547
|
promise: Promise<{
|
|
33549
33548
|
optionId: bigint;
|
|
33550
33549
|
marketAddr: Address;
|
|
@@ -33630,7 +33629,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33630
33629
|
isRefetching: boolean;
|
|
33631
33630
|
isStale: boolean;
|
|
33632
33631
|
isEnabled: boolean;
|
|
33633
|
-
refetch: (options?:
|
|
33632
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33634
33633
|
optionId: bigint;
|
|
33635
33634
|
marketAddr: Address;
|
|
33636
33635
|
ownerAddr: Address;
|
|
@@ -33661,7 +33660,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33661
33660
|
address: string;
|
|
33662
33661
|
} | null;
|
|
33663
33662
|
}[], Error>>;
|
|
33664
|
-
fetchStatus:
|
|
33663
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33665
33664
|
promise: Promise<{
|
|
33666
33665
|
optionId: bigint;
|
|
33667
33666
|
marketAddr: Address;
|
|
@@ -33747,7 +33746,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33747
33746
|
isRefetching: boolean;
|
|
33748
33747
|
isStale: boolean;
|
|
33749
33748
|
isEnabled: boolean;
|
|
33750
|
-
refetch: (options?:
|
|
33749
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33751
33750
|
optionId: bigint;
|
|
33752
33751
|
marketAddr: Address;
|
|
33753
33752
|
ownerAddr: Address;
|
|
@@ -33778,7 +33777,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33778
33777
|
address: string;
|
|
33779
33778
|
} | null;
|
|
33780
33779
|
}[], Error>>;
|
|
33781
|
-
fetchStatus:
|
|
33780
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33782
33781
|
promise: Promise<{
|
|
33783
33782
|
optionId: bigint;
|
|
33784
33783
|
marketAddr: Address;
|
|
@@ -33864,7 +33863,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33864
33863
|
isRefetching: boolean;
|
|
33865
33864
|
isStale: boolean;
|
|
33866
33865
|
isEnabled: boolean;
|
|
33867
|
-
refetch: (options?:
|
|
33866
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
33868
33867
|
optionId: bigint;
|
|
33869
33868
|
marketAddr: Address;
|
|
33870
33869
|
ownerAddr: Address;
|
|
@@ -33895,7 +33894,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33895
33894
|
address: string;
|
|
33896
33895
|
} | null;
|
|
33897
33896
|
}[], Error>>;
|
|
33898
|
-
fetchStatus:
|
|
33897
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
33899
33898
|
promise: Promise<{
|
|
33900
33899
|
optionId: bigint;
|
|
33901
33900
|
marketAddr: Address;
|
|
@@ -33961,7 +33960,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33961
33960
|
};
|
|
33962
33961
|
//#endregion
|
|
33963
33962
|
//#region src/hooks/options/useExerciseOption.d.ts
|
|
33964
|
-
declare const useExerciseOption: (marketAddr?: Address) =>
|
|
33963
|
+
declare const useExerciseOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
33965
33964
|
option: OptionData;
|
|
33966
33965
|
liquidities: readonly bigint[];
|
|
33967
33966
|
}, unknown>;
|
|
@@ -34017,7 +34016,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
34017
34016
|
};
|
|
34018
34017
|
//#endregion
|
|
34019
34018
|
//#region src/hooks/options/useMintOption.d.ts
|
|
34020
|
-
declare const useMintOption: (marketAddr?: Address) =>
|
|
34019
|
+
declare const useMintOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
34021
34020
|
optionType: "CALL" | "PUT";
|
|
34022
34021
|
amount: bigint;
|
|
34023
34022
|
duration: number;
|
|
@@ -34042,7 +34041,7 @@ declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "C
|
|
|
34042
34041
|
};
|
|
34043
34042
|
//#endregion
|
|
34044
34043
|
//#region src/hooks/options/useExtendOption.d.ts
|
|
34045
|
-
declare const useExtendOption: (marketAddr?: Address) =>
|
|
34044
|
+
declare const useExtendOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
34046
34045
|
option: OptionData;
|
|
34047
34046
|
duration: number;
|
|
34048
34047
|
}, unknown>;
|
|
@@ -34072,7 +34071,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34072
34071
|
isRefetching: boolean;
|
|
34073
34072
|
isStale: boolean;
|
|
34074
34073
|
isEnabled: boolean;
|
|
34075
|
-
refetch: (options?:
|
|
34074
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
34076
34075
|
type: "mint";
|
|
34077
34076
|
data: {
|
|
34078
34077
|
id: string;
|
|
@@ -34111,7 +34110,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34111
34110
|
transactionHash: string;
|
|
34112
34111
|
};
|
|
34113
34112
|
})[], Error>>;
|
|
34114
|
-
fetchStatus:
|
|
34113
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34115
34114
|
promise: Promise<({
|
|
34116
34115
|
type: "mint";
|
|
34117
34116
|
data: {
|
|
@@ -34213,7 +34212,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34213
34212
|
isRefetching: boolean;
|
|
34214
34213
|
isStale: boolean;
|
|
34215
34214
|
isEnabled: boolean;
|
|
34216
|
-
refetch: (options?:
|
|
34215
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
34217
34216
|
type: "mint";
|
|
34218
34217
|
data: {
|
|
34219
34218
|
id: string;
|
|
@@ -34252,7 +34251,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34252
34251
|
transactionHash: string;
|
|
34253
34252
|
};
|
|
34254
34253
|
})[], Error>>;
|
|
34255
|
-
fetchStatus:
|
|
34254
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34256
34255
|
promise: Promise<({
|
|
34257
34256
|
type: "mint";
|
|
34258
34257
|
data: {
|
|
@@ -34354,7 +34353,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34354
34353
|
isRefetching: boolean;
|
|
34355
34354
|
isStale: boolean;
|
|
34356
34355
|
isEnabled: boolean;
|
|
34357
|
-
refetch: (options?:
|
|
34356
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
34358
34357
|
type: "mint";
|
|
34359
34358
|
data: {
|
|
34360
34359
|
id: string;
|
|
@@ -34393,7 +34392,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34393
34392
|
transactionHash: string;
|
|
34394
34393
|
};
|
|
34395
34394
|
})[], Error>>;
|
|
34396
|
-
fetchStatus:
|
|
34395
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34397
34396
|
promise: Promise<({
|
|
34398
34397
|
type: "mint";
|
|
34399
34398
|
data: {
|
|
@@ -34495,7 +34494,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34495
34494
|
isRefetching: boolean;
|
|
34496
34495
|
isStale: boolean;
|
|
34497
34496
|
isEnabled: boolean;
|
|
34498
|
-
refetch: (options?:
|
|
34497
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
34499
34498
|
type: "mint";
|
|
34500
34499
|
data: {
|
|
34501
34500
|
id: string;
|
|
@@ -34534,7 +34533,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34534
34533
|
transactionHash: string;
|
|
34535
34534
|
};
|
|
34536
34535
|
})[], Error>>;
|
|
34537
|
-
fetchStatus:
|
|
34536
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34538
34537
|
promise: Promise<({
|
|
34539
34538
|
type: "mint";
|
|
34540
34539
|
data: {
|
|
@@ -34636,7 +34635,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34636
34635
|
isRefetching: boolean;
|
|
34637
34636
|
isStale: boolean;
|
|
34638
34637
|
isEnabled: boolean;
|
|
34639
|
-
refetch: (options?:
|
|
34638
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
34640
34639
|
type: "mint";
|
|
34641
34640
|
data: {
|
|
34642
34641
|
id: string;
|
|
@@ -34675,7 +34674,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34675
34674
|
transactionHash: string;
|
|
34676
34675
|
};
|
|
34677
34676
|
})[], Error>>;
|
|
34678
|
-
fetchStatus:
|
|
34677
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34679
34678
|
promise: Promise<({
|
|
34680
34679
|
type: "mint";
|
|
34681
34680
|
data: {
|
|
@@ -34777,7 +34776,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34777
34776
|
isRefetching: boolean;
|
|
34778
34777
|
isStale: boolean;
|
|
34779
34778
|
isEnabled: boolean;
|
|
34780
|
-
refetch: (options?:
|
|
34779
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
34781
34780
|
type: "mint";
|
|
34782
34781
|
data: {
|
|
34783
34782
|
id: string;
|
|
@@ -34816,7 +34815,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34816
34815
|
transactionHash: string;
|
|
34817
34816
|
};
|
|
34818
34817
|
})[], Error>>;
|
|
34819
|
-
fetchStatus:
|
|
34818
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34820
34819
|
promise: Promise<({
|
|
34821
34820
|
type: "mint";
|
|
34822
34821
|
data: {
|
|
@@ -34898,7 +34897,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34898
34897
|
};
|
|
34899
34898
|
//#endregion
|
|
34900
34899
|
//#region src/hooks/perps/useMintPerp.d.ts
|
|
34901
|
-
declare const useMintPerp: (marketAddr?: Address) =>
|
|
34900
|
+
declare const useMintPerp: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<void, Error, {
|
|
34902
34901
|
optionType: "CALL" | "PUT";
|
|
34903
34902
|
amount: bigint;
|
|
34904
34903
|
duration: number;
|
|
@@ -34945,7 +34944,7 @@ declare class PerpsOperator {
|
|
|
34945
34944
|
}
|
|
34946
34945
|
//#endregion
|
|
34947
34946
|
//#region src/hooks/perps/useClosePerp.d.ts
|
|
34948
|
-
declare const useClosePerp: () =>
|
|
34947
|
+
declare const useClosePerp: () => _tanstack_react_query0.UseMutationResult<{
|
|
34949
34948
|
txHash: string;
|
|
34950
34949
|
optionId: bigint;
|
|
34951
34950
|
}, Error, ExercisePerpBody, unknown>;
|
|
@@ -34957,866 +34956,211 @@ declare const usePerpsOperator: () => {
|
|
|
34957
34956
|
};
|
|
34958
34957
|
//#endregion
|
|
34959
34958
|
//#region src/hooks/operators/useOperatorPerps.d.ts
|
|
34960
|
-
declare const useOperatorPerms: (
|
|
34961
|
-
|
|
34962
|
-
|
|
34963
|
-
|
|
34964
|
-
|
|
34965
|
-
|
|
34966
|
-
|
|
34967
|
-
|
|
34968
|
-
|
|
34969
|
-
|
|
34970
|
-
|
|
34971
|
-
|
|
34972
|
-
|
|
34973
|
-
|
|
34974
|
-
|
|
34975
|
-
|
|
34976
|
-
|
|
34977
|
-
|
|
34978
|
-
|
|
34979
|
-
|
|
34980
|
-
|
|
34981
|
-
|
|
34982
|
-
|
|
34983
|
-
|
|
34984
|
-
|
|
34985
|
-
|
|
34986
|
-
|
|
34987
|
-
|
|
34988
|
-
|
|
34989
|
-
|
|
34990
|
-
|
|
34991
|
-
|
|
34992
|
-
|
|
34993
|
-
|
|
34994
|
-
|
|
34995
|
-
|
|
34996
|
-
|
|
34997
|
-
|
|
34998
|
-
|
|
34999
|
-
|
|
35000
|
-
|
|
35001
|
-
|
|
35002
|
-
|
|
35003
|
-
|
|
35004
|
-
|
|
35005
|
-
|
|
35006
|
-
|
|
35007
|
-
|
|
35008
|
-
|
|
35009
|
-
|
|
35010
|
-
|
|
35011
|
-
|
|
35012
|
-
|
|
35013
|
-
|
|
35014
|
-
|
|
35015
|
-
|
|
35016
|
-
|
|
35017
|
-
|
|
35018
|
-
|
|
35019
|
-
|
|
35020
|
-
|
|
35021
|
-
|
|
35022
|
-
|
|
35023
|
-
|
|
35024
|
-
|
|
35025
|
-
|
|
35026
|
-
|
|
35027
|
-
}
|
|
35028
|
-
|
|
35029
|
-
|
|
35030
|
-
|
|
35031
|
-
|
|
35032
|
-
|
|
35033
|
-
|
|
35034
|
-
|
|
35035
|
-
|
|
35036
|
-
|
|
35037
|
-
|
|
35038
|
-
|
|
35039
|
-
|
|
35040
|
-
|
|
35041
|
-
|
|
35042
|
-
|
|
35043
|
-
|
|
35044
|
-
|
|
35045
|
-
|
|
35046
|
-
|
|
35047
|
-
|
|
35048
|
-
|
|
35049
|
-
|
|
35050
|
-
|
|
35051
|
-
readonly
|
|
35052
|
-
|
|
35053
|
-
readonly
|
|
35054
|
-
|
|
35055
|
-
|
|
35056
|
-
|
|
35057
|
-
|
|
35058
|
-
|
|
35059
|
-
|
|
35060
|
-
|
|
35061
|
-
|
|
35062
|
-
|
|
35063
|
-
|
|
35064
|
-
|
|
35065
|
-
|
|
35066
|
-
|
|
35067
|
-
|
|
35068
|
-
|
|
35069
|
-
|
|
35070
|
-
|
|
35071
|
-
|
|
35072
|
-
|
|
35073
|
-
|
|
35074
|
-
|
|
35075
|
-
|
|
35076
|
-
|
|
35077
|
-
|
|
35078
|
-
|
|
35079
|
-
|
|
35080
|
-
|
|
35081
|
-
|
|
35082
|
-
|
|
35083
|
-
|
|
35084
|
-
|
|
35085
|
-
readonly
|
|
35086
|
-
|
|
35087
|
-
readonly
|
|
35088
|
-
|
|
35089
|
-
|
|
35090
|
-
|
|
35091
|
-
|
|
35092
|
-
|
|
35093
|
-
|
|
35094
|
-
|
|
35095
|
-
|
|
35096
|
-
|
|
35097
|
-
|
|
35098
|
-
|
|
35099
|
-
|
|
35100
|
-
|
|
35101
|
-
|
|
35102
|
-
|
|
35103
|
-
|
|
35104
|
-
|
|
35105
|
-
|
|
35106
|
-
|
|
35107
|
-
|
|
35108
|
-
|
|
35109
|
-
|
|
35110
|
-
|
|
35111
|
-
|
|
35112
|
-
|
|
35113
|
-
|
|
35114
|
-
|
|
35115
|
-
|
|
35116
|
-
|
|
35117
|
-
|
|
35118
|
-
|
|
35119
|
-
|
|
35120
|
-
|
|
35121
|
-
readonly
|
|
35122
|
-
|
|
35123
|
-
|
|
35124
|
-
|
|
35125
|
-
|
|
35126
|
-
|
|
35127
|
-
|
|
35128
|
-
|
|
35129
|
-
|
|
35130
|
-
|
|
35131
|
-
|
|
35132
|
-
|
|
35133
|
-
|
|
35134
|
-
|
|
35135
|
-
|
|
35136
|
-
|
|
35137
|
-
|
|
35138
|
-
|
|
35139
|
-
|
|
35140
|
-
|
|
35141
|
-
|
|
35142
|
-
|
|
35143
|
-
|
|
35144
|
-
|
|
35145
|
-
|
|
35146
|
-
|
|
35147
|
-
|
|
35148
|
-
|
|
35149
|
-
|
|
35150
|
-
|
|
35151
|
-
|
|
35152
|
-
|
|
35153
|
-
|
|
35154
|
-
|
|
35155
|
-
|
|
35156
|
-
|
|
35157
|
-
|
|
35158
|
-
|
|
35159
|
-
|
|
35160
|
-
|
|
35161
|
-
|
|
35162
|
-
|
|
35163
|
-
|
|
35164
|
-
|
|
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]>;
|
|
34959
|
+
declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, operatorAddr?: Address) => {
|
|
34960
|
+
error: viem145.ReadContractErrorType;
|
|
34961
|
+
isError: true;
|
|
34962
|
+
isPending: false;
|
|
34963
|
+
isLoading: false;
|
|
34964
|
+
isLoadingError: false;
|
|
34965
|
+
isRefetchError: true;
|
|
34966
|
+
isSuccess: false;
|
|
34967
|
+
isPlaceholderData: false;
|
|
34968
|
+
status: "error";
|
|
34969
|
+
dataUpdatedAt: number;
|
|
34970
|
+
errorUpdatedAt: number;
|
|
34971
|
+
failureCount: number;
|
|
34972
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
34973
|
+
errorUpdateCount: number;
|
|
34974
|
+
isFetched: boolean;
|
|
34975
|
+
isFetchedAfterMount: boolean;
|
|
34976
|
+
isFetching: boolean;
|
|
34977
|
+
isInitialLoading: boolean;
|
|
34978
|
+
isPaused: boolean;
|
|
34979
|
+
isRefetching: boolean;
|
|
34980
|
+
isStale: boolean;
|
|
34981
|
+
isEnabled: boolean;
|
|
34982
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
34983
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
34984
|
+
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
34985
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
34986
|
+
data: {
|
|
34987
|
+
canExtend: boolean;
|
|
34988
|
+
canExercise: boolean;
|
|
34989
|
+
canTransfer: boolean;
|
|
34990
|
+
canMint: boolean;
|
|
34991
|
+
spendingApproval: bigint;
|
|
34992
|
+
} | undefined;
|
|
34993
|
+
} | {
|
|
34994
|
+
error: null;
|
|
34995
|
+
isError: false;
|
|
34996
|
+
isPending: false;
|
|
34997
|
+
isLoading: false;
|
|
34998
|
+
isLoadingError: false;
|
|
34999
|
+
isRefetchError: false;
|
|
35000
|
+
isSuccess: true;
|
|
35001
|
+
isPlaceholderData: false;
|
|
35002
|
+
status: "success";
|
|
35003
|
+
dataUpdatedAt: number;
|
|
35004
|
+
errorUpdatedAt: number;
|
|
35005
|
+
failureCount: number;
|
|
35006
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35007
|
+
errorUpdateCount: number;
|
|
35008
|
+
isFetched: boolean;
|
|
35009
|
+
isFetchedAfterMount: boolean;
|
|
35010
|
+
isFetching: boolean;
|
|
35011
|
+
isInitialLoading: boolean;
|
|
35012
|
+
isPaused: boolean;
|
|
35013
|
+
isRefetching: boolean;
|
|
35014
|
+
isStale: boolean;
|
|
35015
|
+
isEnabled: boolean;
|
|
35016
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
35017
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35018
|
+
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35019
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
35020
|
+
data: {
|
|
35021
|
+
canExtend: boolean;
|
|
35022
|
+
canExercise: boolean;
|
|
35023
|
+
canTransfer: boolean;
|
|
35024
|
+
canMint: boolean;
|
|
35025
|
+
spendingApproval: bigint;
|
|
35026
|
+
} | undefined;
|
|
35027
|
+
} | {
|
|
35028
|
+
error: viem145.ReadContractErrorType;
|
|
35029
|
+
isError: true;
|
|
35030
|
+
isPending: false;
|
|
35031
|
+
isLoading: false;
|
|
35032
|
+
isLoadingError: true;
|
|
35033
|
+
isRefetchError: false;
|
|
35034
|
+
isSuccess: false;
|
|
35035
|
+
isPlaceholderData: false;
|
|
35036
|
+
status: "error";
|
|
35037
|
+
dataUpdatedAt: number;
|
|
35038
|
+
errorUpdatedAt: number;
|
|
35039
|
+
failureCount: number;
|
|
35040
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35041
|
+
errorUpdateCount: number;
|
|
35042
|
+
isFetched: boolean;
|
|
35043
|
+
isFetchedAfterMount: boolean;
|
|
35044
|
+
isFetching: boolean;
|
|
35045
|
+
isInitialLoading: boolean;
|
|
35046
|
+
isPaused: boolean;
|
|
35047
|
+
isRefetching: boolean;
|
|
35048
|
+
isStale: boolean;
|
|
35049
|
+
isEnabled: boolean;
|
|
35050
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
35051
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35052
|
+
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35053
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
35054
|
+
data: {
|
|
35055
|
+
canExtend: boolean;
|
|
35056
|
+
canExercise: boolean;
|
|
35057
|
+
canTransfer: boolean;
|
|
35058
|
+
canMint: boolean;
|
|
35059
|
+
spendingApproval: bigint;
|
|
35060
|
+
} | undefined;
|
|
35061
|
+
} | {
|
|
35062
|
+
error: null;
|
|
35063
|
+
isError: false;
|
|
35064
|
+
isPending: true;
|
|
35065
|
+
isLoading: true;
|
|
35066
|
+
isLoadingError: false;
|
|
35067
|
+
isRefetchError: false;
|
|
35068
|
+
isSuccess: false;
|
|
35069
|
+
isPlaceholderData: false;
|
|
35070
|
+
status: "pending";
|
|
35071
|
+
dataUpdatedAt: number;
|
|
35072
|
+
errorUpdatedAt: number;
|
|
35073
|
+
failureCount: number;
|
|
35074
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35075
|
+
errorUpdateCount: number;
|
|
35076
|
+
isFetched: boolean;
|
|
35077
|
+
isFetchedAfterMount: boolean;
|
|
35078
|
+
isFetching: boolean;
|
|
35079
|
+
isInitialLoading: boolean;
|
|
35080
|
+
isPaused: boolean;
|
|
35081
|
+
isRefetching: boolean;
|
|
35082
|
+
isStale: boolean;
|
|
35083
|
+
isEnabled: boolean;
|
|
35084
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
35085
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35086
|
+
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35087
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
35088
|
+
data: {
|
|
35089
|
+
canExtend: boolean;
|
|
35090
|
+
canExercise: boolean;
|
|
35091
|
+
canTransfer: boolean;
|
|
35092
|
+
canMint: boolean;
|
|
35093
|
+
spendingApproval: bigint;
|
|
35094
|
+
} | undefined;
|
|
35095
|
+
} | {
|
|
35096
|
+
error: null;
|
|
35097
|
+
isError: false;
|
|
35098
|
+
isPending: true;
|
|
35099
|
+
isLoadingError: false;
|
|
35100
|
+
isRefetchError: false;
|
|
35101
|
+
isSuccess: false;
|
|
35102
|
+
isPlaceholderData: false;
|
|
35103
|
+
status: "pending";
|
|
35104
|
+
dataUpdatedAt: number;
|
|
35105
|
+
errorUpdatedAt: number;
|
|
35106
|
+
failureCount: number;
|
|
35107
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35108
|
+
errorUpdateCount: number;
|
|
35109
|
+
isFetched: boolean;
|
|
35110
|
+
isFetchedAfterMount: boolean;
|
|
35111
|
+
isFetching: boolean;
|
|
35112
|
+
isLoading: boolean;
|
|
35113
|
+
isInitialLoading: boolean;
|
|
35114
|
+
isPaused: boolean;
|
|
35115
|
+
isRefetching: boolean;
|
|
35116
|
+
isStale: boolean;
|
|
35117
|
+
isEnabled: boolean;
|
|
35118
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
35119
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35120
|
+
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35121
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
35122
|
+
data: {
|
|
35123
|
+
canExtend: boolean;
|
|
35124
|
+
canExercise: boolean;
|
|
35125
|
+
canTransfer: boolean;
|
|
35126
|
+
canMint: boolean;
|
|
35127
|
+
spendingApproval: bigint;
|
|
35128
|
+
} | undefined;
|
|
35129
|
+
} | {
|
|
35130
|
+
isError: false;
|
|
35131
|
+
error: null;
|
|
35132
|
+
isPending: false;
|
|
35133
|
+
isLoading: false;
|
|
35134
|
+
isLoadingError: false;
|
|
35135
|
+
isRefetchError: false;
|
|
35136
|
+
isSuccess: true;
|
|
35137
|
+
isPlaceholderData: true;
|
|
35138
|
+
status: "success";
|
|
35139
|
+
dataUpdatedAt: number;
|
|
35140
|
+
errorUpdatedAt: number;
|
|
35141
|
+
failureCount: number;
|
|
35142
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
35143
|
+
errorUpdateCount: number;
|
|
35144
|
+
isFetched: boolean;
|
|
35145
|
+
isFetchedAfterMount: boolean;
|
|
35146
|
+
isFetching: boolean;
|
|
35147
|
+
isInitialLoading: boolean;
|
|
35148
|
+
isPaused: boolean;
|
|
35149
|
+
isRefetching: boolean;
|
|
35150
|
+
isStale: boolean;
|
|
35151
|
+
isEnabled: boolean;
|
|
35152
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem145.ReadContractErrorType>>;
|
|
35153
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35154
|
+
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35155
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
35156
|
+
data: {
|
|
35157
|
+
canExtend: boolean;
|
|
35158
|
+
canExercise: boolean;
|
|
35159
|
+
canTransfer: boolean;
|
|
35160
|
+
canMint: boolean;
|
|
35161
|
+
spendingApproval: bigint;
|
|
35162
|
+
} | undefined;
|
|
35163
|
+
};
|
|
35820
35164
|
//#endregion
|
|
35821
35165
|
//#region src/hooks/operators/useUserOperators.d.ts
|
|
35822
35166
|
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
@@ -35856,7 +35200,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35856
35200
|
isRefetching: boolean;
|
|
35857
35201
|
isStale: boolean;
|
|
35858
35202
|
isEnabled: boolean;
|
|
35859
|
-
refetch: (options?:
|
|
35203
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
35860
35204
|
spendingApproval: bigint;
|
|
35861
35205
|
operatorAddr: string;
|
|
35862
35206
|
__typename: "UserMarketOperator";
|
|
@@ -35870,7 +35214,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35870
35214
|
address: string;
|
|
35871
35215
|
} | null;
|
|
35872
35216
|
}[] | undefined, Error>>;
|
|
35873
|
-
fetchStatus:
|
|
35217
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35874
35218
|
promise: Promise<{
|
|
35875
35219
|
spendingApproval: bigint;
|
|
35876
35220
|
operatorAddr: string;
|
|
@@ -35922,7 +35266,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35922
35266
|
isRefetching: boolean;
|
|
35923
35267
|
isStale: boolean;
|
|
35924
35268
|
isEnabled: boolean;
|
|
35925
|
-
refetch: (options?:
|
|
35269
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
35926
35270
|
spendingApproval: bigint;
|
|
35927
35271
|
operatorAddr: string;
|
|
35928
35272
|
__typename: "UserMarketOperator";
|
|
@@ -35936,7 +35280,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35936
35280
|
address: string;
|
|
35937
35281
|
} | null;
|
|
35938
35282
|
}[] | undefined, Error>>;
|
|
35939
|
-
fetchStatus:
|
|
35283
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
35940
35284
|
promise: Promise<{
|
|
35941
35285
|
spendingApproval: bigint;
|
|
35942
35286
|
operatorAddr: string;
|
|
@@ -35988,7 +35332,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
35988
35332
|
isRefetching: boolean;
|
|
35989
35333
|
isStale: boolean;
|
|
35990
35334
|
isEnabled: boolean;
|
|
35991
|
-
refetch: (options?:
|
|
35335
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
35992
35336
|
spendingApproval: bigint;
|
|
35993
35337
|
operatorAddr: string;
|
|
35994
35338
|
__typename: "UserMarketOperator";
|
|
@@ -36002,7 +35346,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36002
35346
|
address: string;
|
|
36003
35347
|
} | null;
|
|
36004
35348
|
}[] | undefined, Error>>;
|
|
36005
|
-
fetchStatus:
|
|
35349
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36006
35350
|
promise: Promise<{
|
|
36007
35351
|
spendingApproval: bigint;
|
|
36008
35352
|
operatorAddr: string;
|
|
@@ -36054,7 +35398,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36054
35398
|
isRefetching: boolean;
|
|
36055
35399
|
isStale: boolean;
|
|
36056
35400
|
isEnabled: boolean;
|
|
36057
|
-
refetch: (options?:
|
|
35401
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
36058
35402
|
spendingApproval: bigint;
|
|
36059
35403
|
operatorAddr: string;
|
|
36060
35404
|
__typename: "UserMarketOperator";
|
|
@@ -36068,7 +35412,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36068
35412
|
address: string;
|
|
36069
35413
|
} | null;
|
|
36070
35414
|
}[] | undefined, Error>>;
|
|
36071
|
-
fetchStatus:
|
|
35415
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36072
35416
|
promise: Promise<{
|
|
36073
35417
|
spendingApproval: bigint;
|
|
36074
35418
|
operatorAddr: string;
|
|
@@ -36120,7 +35464,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36120
35464
|
isRefetching: boolean;
|
|
36121
35465
|
isStale: boolean;
|
|
36122
35466
|
isEnabled: boolean;
|
|
36123
|
-
refetch: (options?:
|
|
35467
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
36124
35468
|
spendingApproval: bigint;
|
|
36125
35469
|
operatorAddr: string;
|
|
36126
35470
|
__typename: "UserMarketOperator";
|
|
@@ -36134,7 +35478,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36134
35478
|
address: string;
|
|
36135
35479
|
} | null;
|
|
36136
35480
|
}[] | undefined, Error>>;
|
|
36137
|
-
fetchStatus:
|
|
35481
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36138
35482
|
promise: Promise<{
|
|
36139
35483
|
spendingApproval: bigint;
|
|
36140
35484
|
operatorAddr: string;
|
|
@@ -36186,7 +35530,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36186
35530
|
isRefetching: boolean;
|
|
36187
35531
|
isStale: boolean;
|
|
36188
35532
|
isEnabled: boolean;
|
|
36189
|
-
refetch: (options?:
|
|
35533
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
36190
35534
|
spendingApproval: bigint;
|
|
36191
35535
|
operatorAddr: string;
|
|
36192
35536
|
__typename: "UserMarketOperator";
|
|
@@ -36200,7 +35544,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36200
35544
|
address: string;
|
|
36201
35545
|
} | null;
|
|
36202
35546
|
}[] | undefined, Error>>;
|
|
36203
|
-
fetchStatus:
|
|
35547
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36204
35548
|
promise: Promise<{
|
|
36205
35549
|
spendingApproval: bigint;
|
|
36206
35550
|
operatorAddr: string;
|
|
@@ -36218,7 +35562,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36218
35562
|
};
|
|
36219
35563
|
//#endregion
|
|
36220
35564
|
//#region src/hooks/operators/useSetOperatorPerms.d.ts
|
|
36221
|
-
declare const useSetOperatorPerms: (marketAddr?: Address) =>
|
|
35565
|
+
declare const useSetOperatorPerms: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
36222
35566
|
operator: Address;
|
|
36223
35567
|
canExtend: boolean;
|
|
36224
35568
|
canExercise: boolean;
|
|
@@ -36294,7 +35638,7 @@ declare const usePoolData: (poolAddr?: Address) => Partial<NonUndefined<{
|
|
|
36294
35638
|
declare const usePriceAtTick: (tick?: number, poolAddr?: Address) => Amount | undefined;
|
|
36295
35639
|
//#endregion
|
|
36296
35640
|
//#region src/hooks/pool/usePriceHistory.d.ts
|
|
36297
|
-
declare const usePriceHistory: (pool: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) =>
|
|
35641
|
+
declare const usePriceHistory: (pool: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query0.UseQueryResult<PriceDataPoint[], Error>;
|
|
36298
35642
|
//#endregion
|
|
36299
35643
|
//#region src/hooks/vault/useBurnLiquidity.d.ts
|
|
36300
35644
|
interface BurnPosition {
|
|
@@ -36316,7 +35660,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
36316
35660
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
36317
35661
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
36318
35662
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
36319
|
-
error:
|
|
35663
|
+
error: viem145.ReadContractErrorType;
|
|
36320
35664
|
isError: true;
|
|
36321
35665
|
isPending: false;
|
|
36322
35666
|
isLoading: false;
|
|
@@ -36328,7 +35672,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36328
35672
|
dataUpdatedAt: number;
|
|
36329
35673
|
errorUpdatedAt: number;
|
|
36330
35674
|
failureCount: number;
|
|
36331
|
-
failureReason:
|
|
35675
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
36332
35676
|
errorUpdateCount: number;
|
|
36333
35677
|
isFetched: boolean;
|
|
36334
35678
|
isFetchedAfterMount: boolean;
|
|
@@ -36338,7 +35682,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36338
35682
|
isRefetching: boolean;
|
|
36339
35683
|
isStale: boolean;
|
|
36340
35684
|
isEnabled: boolean;
|
|
36341
|
-
refetch: (options?:
|
|
35685
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
36342
35686
|
tickLower: number;
|
|
36343
35687
|
tickUpper: number;
|
|
36344
35688
|
prevTickLower: number;
|
|
@@ -36348,8 +35692,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36348
35692
|
totalAmount1: bigint;
|
|
36349
35693
|
borrowedAmount0: bigint;
|
|
36350
35694
|
borrowedAmount1: bigint;
|
|
36351
|
-
}[],
|
|
36352
|
-
fetchStatus:
|
|
35695
|
+
}[], viem145.ReadContractErrorType>>;
|
|
35696
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36353
35697
|
promise: Promise<readonly {
|
|
36354
35698
|
tickLower: number;
|
|
36355
35699
|
tickUpper: number;
|
|
@@ -36361,7 +35705,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36361
35705
|
borrowedAmount0: bigint;
|
|
36362
35706
|
borrowedAmount1: bigint;
|
|
36363
35707
|
}[]>;
|
|
36364
|
-
queryKey:
|
|
35708
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
36365
35709
|
data: readonly {
|
|
36366
35710
|
tickLower: number;
|
|
36367
35711
|
tickUpper: number;
|
|
@@ -36386,7 +35730,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36386
35730
|
dataUpdatedAt: number;
|
|
36387
35731
|
errorUpdatedAt: number;
|
|
36388
35732
|
failureCount: number;
|
|
36389
|
-
failureReason:
|
|
35733
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
36390
35734
|
errorUpdateCount: number;
|
|
36391
35735
|
isFetched: boolean;
|
|
36392
35736
|
isFetchedAfterMount: boolean;
|
|
@@ -36396,7 +35740,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36396
35740
|
isRefetching: boolean;
|
|
36397
35741
|
isStale: boolean;
|
|
36398
35742
|
isEnabled: boolean;
|
|
36399
|
-
refetch: (options?:
|
|
35743
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
36400
35744
|
tickLower: number;
|
|
36401
35745
|
tickUpper: number;
|
|
36402
35746
|
prevTickLower: number;
|
|
@@ -36406,8 +35750,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36406
35750
|
totalAmount1: bigint;
|
|
36407
35751
|
borrowedAmount0: bigint;
|
|
36408
35752
|
borrowedAmount1: bigint;
|
|
36409
|
-
}[],
|
|
36410
|
-
fetchStatus:
|
|
35753
|
+
}[], viem145.ReadContractErrorType>>;
|
|
35754
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36411
35755
|
promise: Promise<readonly {
|
|
36412
35756
|
tickLower: number;
|
|
36413
35757
|
tickUpper: number;
|
|
@@ -36419,7 +35763,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36419
35763
|
borrowedAmount0: bigint;
|
|
36420
35764
|
borrowedAmount1: bigint;
|
|
36421
35765
|
}[]>;
|
|
36422
|
-
queryKey:
|
|
35766
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
36423
35767
|
data: readonly {
|
|
36424
35768
|
tickLower: number;
|
|
36425
35769
|
tickUpper: number;
|
|
@@ -36432,7 +35776,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36432
35776
|
borrowedAmount1: bigint;
|
|
36433
35777
|
}[];
|
|
36434
35778
|
} | {
|
|
36435
|
-
error:
|
|
35779
|
+
error: viem145.ReadContractErrorType;
|
|
36436
35780
|
isError: true;
|
|
36437
35781
|
isPending: false;
|
|
36438
35782
|
isLoading: false;
|
|
@@ -36444,7 +35788,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36444
35788
|
dataUpdatedAt: number;
|
|
36445
35789
|
errorUpdatedAt: number;
|
|
36446
35790
|
failureCount: number;
|
|
36447
|
-
failureReason:
|
|
35791
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
36448
35792
|
errorUpdateCount: number;
|
|
36449
35793
|
isFetched: boolean;
|
|
36450
35794
|
isFetchedAfterMount: boolean;
|
|
@@ -36454,7 +35798,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36454
35798
|
isRefetching: boolean;
|
|
36455
35799
|
isStale: boolean;
|
|
36456
35800
|
isEnabled: boolean;
|
|
36457
|
-
refetch: (options?:
|
|
35801
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
36458
35802
|
tickLower: number;
|
|
36459
35803
|
tickUpper: number;
|
|
36460
35804
|
prevTickLower: number;
|
|
@@ -36464,8 +35808,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36464
35808
|
totalAmount1: bigint;
|
|
36465
35809
|
borrowedAmount0: bigint;
|
|
36466
35810
|
borrowedAmount1: bigint;
|
|
36467
|
-
}[],
|
|
36468
|
-
fetchStatus:
|
|
35811
|
+
}[], viem145.ReadContractErrorType>>;
|
|
35812
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36469
35813
|
promise: Promise<readonly {
|
|
36470
35814
|
tickLower: number;
|
|
36471
35815
|
tickUpper: number;
|
|
@@ -36477,7 +35821,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36477
35821
|
borrowedAmount0: bigint;
|
|
36478
35822
|
borrowedAmount1: bigint;
|
|
36479
35823
|
}[]>;
|
|
36480
|
-
queryKey:
|
|
35824
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
36481
35825
|
data: readonly {
|
|
36482
35826
|
tickLower: number;
|
|
36483
35827
|
tickUpper: number;
|
|
@@ -36502,7 +35846,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36502
35846
|
dataUpdatedAt: number;
|
|
36503
35847
|
errorUpdatedAt: number;
|
|
36504
35848
|
failureCount: number;
|
|
36505
|
-
failureReason:
|
|
35849
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
36506
35850
|
errorUpdateCount: number;
|
|
36507
35851
|
isFetched: boolean;
|
|
36508
35852
|
isFetchedAfterMount: boolean;
|
|
@@ -36512,7 +35856,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36512
35856
|
isRefetching: boolean;
|
|
36513
35857
|
isStale: boolean;
|
|
36514
35858
|
isEnabled: boolean;
|
|
36515
|
-
refetch: (options?:
|
|
35859
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
36516
35860
|
tickLower: number;
|
|
36517
35861
|
tickUpper: number;
|
|
36518
35862
|
prevTickLower: number;
|
|
@@ -36522,8 +35866,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36522
35866
|
totalAmount1: bigint;
|
|
36523
35867
|
borrowedAmount0: bigint;
|
|
36524
35868
|
borrowedAmount1: bigint;
|
|
36525
|
-
}[],
|
|
36526
|
-
fetchStatus:
|
|
35869
|
+
}[], viem145.ReadContractErrorType>>;
|
|
35870
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36527
35871
|
promise: Promise<readonly {
|
|
36528
35872
|
tickLower: number;
|
|
36529
35873
|
tickUpper: number;
|
|
@@ -36535,7 +35879,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36535
35879
|
borrowedAmount0: bigint;
|
|
36536
35880
|
borrowedAmount1: bigint;
|
|
36537
35881
|
}[]>;
|
|
36538
|
-
queryKey:
|
|
35882
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
36539
35883
|
data: readonly {
|
|
36540
35884
|
tickLower: number;
|
|
36541
35885
|
tickUpper: number;
|
|
@@ -36559,7 +35903,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36559
35903
|
dataUpdatedAt: number;
|
|
36560
35904
|
errorUpdatedAt: number;
|
|
36561
35905
|
failureCount: number;
|
|
36562
|
-
failureReason:
|
|
35906
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
36563
35907
|
errorUpdateCount: number;
|
|
36564
35908
|
isFetched: boolean;
|
|
36565
35909
|
isFetchedAfterMount: boolean;
|
|
@@ -36570,7 +35914,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36570
35914
|
isRefetching: boolean;
|
|
36571
35915
|
isStale: boolean;
|
|
36572
35916
|
isEnabled: boolean;
|
|
36573
|
-
refetch: (options?:
|
|
35917
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
36574
35918
|
tickLower: number;
|
|
36575
35919
|
tickUpper: number;
|
|
36576
35920
|
prevTickLower: number;
|
|
@@ -36580,8 +35924,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36580
35924
|
totalAmount1: bigint;
|
|
36581
35925
|
borrowedAmount0: bigint;
|
|
36582
35926
|
borrowedAmount1: bigint;
|
|
36583
|
-
}[],
|
|
36584
|
-
fetchStatus:
|
|
35927
|
+
}[], viem145.ReadContractErrorType>>;
|
|
35928
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36585
35929
|
promise: Promise<readonly {
|
|
36586
35930
|
tickLower: number;
|
|
36587
35931
|
tickUpper: number;
|
|
@@ -36593,7 +35937,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36593
35937
|
borrowedAmount0: bigint;
|
|
36594
35938
|
borrowedAmount1: bigint;
|
|
36595
35939
|
}[]>;
|
|
36596
|
-
queryKey:
|
|
35940
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
36597
35941
|
data: readonly {
|
|
36598
35942
|
tickLower: number;
|
|
36599
35943
|
tickUpper: number;
|
|
@@ -36618,7 +35962,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36618
35962
|
dataUpdatedAt: number;
|
|
36619
35963
|
errorUpdatedAt: number;
|
|
36620
35964
|
failureCount: number;
|
|
36621
|
-
failureReason:
|
|
35965
|
+
failureReason: viem145.ReadContractErrorType | null;
|
|
36622
35966
|
errorUpdateCount: number;
|
|
36623
35967
|
isFetched: boolean;
|
|
36624
35968
|
isFetchedAfterMount: boolean;
|
|
@@ -36628,7 +35972,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36628
35972
|
isRefetching: boolean;
|
|
36629
35973
|
isStale: boolean;
|
|
36630
35974
|
isEnabled: boolean;
|
|
36631
|
-
refetch: (options?:
|
|
35975
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
36632
35976
|
tickLower: number;
|
|
36633
35977
|
tickUpper: number;
|
|
36634
35978
|
prevTickLower: number;
|
|
@@ -36638,8 +35982,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36638
35982
|
totalAmount1: bigint;
|
|
36639
35983
|
borrowedAmount0: bigint;
|
|
36640
35984
|
borrowedAmount1: bigint;
|
|
36641
|
-
}[],
|
|
36642
|
-
fetchStatus:
|
|
35985
|
+
}[], viem145.ReadContractErrorType>>;
|
|
35986
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
36643
35987
|
promise: Promise<readonly {
|
|
36644
35988
|
tickLower: number;
|
|
36645
35989
|
tickUpper: number;
|
|
@@ -36651,7 +35995,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36651
35995
|
borrowedAmount0: bigint;
|
|
36652
35996
|
borrowedAmount1: bigint;
|
|
36653
35997
|
}[]>;
|
|
36654
|
-
queryKey:
|
|
35998
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
36655
35999
|
data: readonly {
|
|
36656
36000
|
tickLower: number;
|
|
36657
36001
|
tickUpper: number;
|
|
@@ -36677,7 +36021,7 @@ interface MintPositionParams {
|
|
|
36677
36021
|
tickUpper: number;
|
|
36678
36022
|
liquidity: bigint;
|
|
36679
36023
|
}
|
|
36680
|
-
declare const useMintLiquidity: (vaultAddr?: Address) =>
|
|
36024
|
+
declare const useMintLiquidity: (vaultAddr?: Address) => _tanstack_react_query0.UseMutationResult<void, Error, MintPositionParams | MintPositionParams[], unknown>;
|
|
36681
36025
|
//#endregion
|
|
36682
36026
|
//#region src/hooks/vault/useVaultData.d.ts
|
|
36683
36027
|
declare const useVaultData: (vaultAddr?: Address) => {
|
|
@@ -36702,14 +36046,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
36702
36046
|
borrowedAmount0: Amount;
|
|
36703
36047
|
borrowedAmount1: Amount;
|
|
36704
36048
|
blocksCount: bigint;
|
|
36705
|
-
refetch: (options?:
|
|
36049
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem145.ReadContractErrorType>>;
|
|
36706
36050
|
};
|
|
36707
36051
|
//#endregion
|
|
36708
36052
|
//#region src/hooks/useLens.d.ts
|
|
36709
36053
|
declare const useLens: () => {
|
|
36710
36054
|
timelockLens: {
|
|
36711
36055
|
read: {
|
|
36712
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
36056
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
36713
36057
|
readonly type: "function";
|
|
36714
36058
|
readonly name: "batchGetRefTick";
|
|
36715
36059
|
readonly inputs: readonly [{
|
|
@@ -37351,7 +36695,7 @@ declare const useLens: () => {
|
|
|
37351
36695
|
}];
|
|
37352
36696
|
readonly stateMutability: "view";
|
|
37353
36697
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
37354
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
36698
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
37355
36699
|
readonly type: "function";
|
|
37356
36700
|
readonly name: "batchGetRefTick";
|
|
37357
36701
|
readonly inputs: readonly [{
|
|
@@ -38003,7 +37347,7 @@ declare const useLens: () => {
|
|
|
38003
37347
|
borrowedAmount0: bigint;
|
|
38004
37348
|
borrowedAmount1: bigint;
|
|
38005
37349
|
}[]>;
|
|
38006
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
37350
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
38007
37351
|
readonly type: "function";
|
|
38008
37352
|
readonly name: "batchGetRefTick";
|
|
38009
37353
|
readonly inputs: readonly [{
|
|
@@ -38660,7 +38004,7 @@ declare const useLens: () => {
|
|
|
38660
38004
|
expiresAt: number;
|
|
38661
38005
|
liquidities: readonly bigint[];
|
|
38662
38006
|
}[], bigint, boolean]>;
|
|
38663
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
38007
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
38664
38008
|
readonly type: "function";
|
|
38665
38009
|
readonly name: "batchGetRefTick";
|
|
38666
38010
|
readonly inputs: readonly [{
|
|
@@ -39302,7 +38646,7 @@ declare const useLens: () => {
|
|
|
39302
38646
|
}];
|
|
39303
38647
|
readonly stateMutability: "view";
|
|
39304
38648
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
39305
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
38649
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
39306
38650
|
readonly type: "function";
|
|
39307
38651
|
readonly name: "batchGetRefTick";
|
|
39308
38652
|
readonly inputs: readonly [{
|
|
@@ -39957,7 +39301,7 @@ declare const useLens: () => {
|
|
|
39957
39301
|
payoutAssetName: string;
|
|
39958
39302
|
optionsCount: bigint;
|
|
39959
39303
|
}>;
|
|
39960
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
39304
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
39961
39305
|
readonly type: "function";
|
|
39962
39306
|
readonly name: "batchGetRefTick";
|
|
39963
39307
|
readonly inputs: readonly [{
|
|
@@ -40599,7 +39943,7 @@ declare const useLens: () => {
|
|
|
40599
39943
|
}];
|
|
40600
39944
|
readonly stateMutability: "view";
|
|
40601
39945
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
40602
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
39946
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
40603
39947
|
readonly type: "function";
|
|
40604
39948
|
readonly name: "batchGetRefTick";
|
|
40605
39949
|
readonly inputs: readonly [{
|
|
@@ -41241,7 +40585,7 @@ declare const useLens: () => {
|
|
|
41241
40585
|
}];
|
|
41242
40586
|
readonly stateMutability: "view";
|
|
41243
40587
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
41244
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
40588
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
41245
40589
|
readonly type: "function";
|
|
41246
40590
|
readonly name: "batchGetRefTick";
|
|
41247
40591
|
readonly inputs: readonly [{
|
|
@@ -41898,7 +41242,7 @@ declare const useLens: () => {
|
|
|
41898
41242
|
expiresAt: number;
|
|
41899
41243
|
liquidities: readonly bigint[];
|
|
41900
41244
|
}>;
|
|
41901
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
41245
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
41902
41246
|
readonly type: "function";
|
|
41903
41247
|
readonly name: "batchGetRefTick";
|
|
41904
41248
|
readonly inputs: readonly [{
|
|
@@ -42555,7 +41899,7 @@ declare const useLens: () => {
|
|
|
42555
41899
|
expiresAt: number;
|
|
42556
41900
|
liquidities: readonly bigint[];
|
|
42557
41901
|
}[]>;
|
|
42558
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
41902
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
42559
41903
|
readonly type: "function";
|
|
42560
41904
|
readonly name: "batchGetRefTick";
|
|
42561
41905
|
readonly inputs: readonly [{
|
|
@@ -43208,7 +42552,7 @@ declare const useLens: () => {
|
|
|
43208
42552
|
tickSpacing: number;
|
|
43209
42553
|
fee: number;
|
|
43210
42554
|
}>;
|
|
43211
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
42555
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
43212
42556
|
readonly type: "function";
|
|
43213
42557
|
readonly name: "batchGetRefTick";
|
|
43214
42558
|
readonly inputs: readonly [{
|
|
@@ -43850,7 +43194,7 @@ declare const useLens: () => {
|
|
|
43850
43194
|
}];
|
|
43851
43195
|
readonly stateMutability: "view";
|
|
43852
43196
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
43853
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
43197
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
43854
43198
|
readonly type: "function";
|
|
43855
43199
|
readonly name: "batchGetRefTick";
|
|
43856
43200
|
readonly inputs: readonly [{
|
|
@@ -44507,7 +43851,7 @@ declare const useLens: () => {
|
|
|
44507
43851
|
expiresAt: number;
|
|
44508
43852
|
liquidities: readonly bigint[];
|
|
44509
43853
|
}[], bigint, boolean]>;
|
|
44510
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
43854
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
44511
43855
|
readonly type: "function";
|
|
44512
43856
|
readonly name: "batchGetRefTick";
|
|
44513
43857
|
readonly inputs: readonly [{
|
|
@@ -45796,7 +45140,7 @@ declare const useLens: () => {
|
|
|
45796
45140
|
} | undefined;
|
|
45797
45141
|
uniswapLens: {
|
|
45798
45142
|
read: {
|
|
45799
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
45143
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
45800
45144
|
readonly type: "function";
|
|
45801
45145
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
45802
45146
|
readonly inputs: readonly [{
|
|
@@ -46417,7 +45761,7 @@ declare const useLens: () => {
|
|
|
46417
45761
|
}];
|
|
46418
45762
|
readonly stateMutability: "pure";
|
|
46419
45763
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46420
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
45764
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
46421
45765
|
readonly type: "function";
|
|
46422
45766
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46423
45767
|
readonly inputs: readonly [{
|
|
@@ -47038,7 +46382,7 @@ declare const useLens: () => {
|
|
|
47038
46382
|
}];
|
|
47039
46383
|
readonly stateMutability: "pure";
|
|
47040
46384
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47041
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
46385
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
47042
46386
|
readonly type: "function";
|
|
47043
46387
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47044
46388
|
readonly inputs: readonly [{
|
|
@@ -47659,7 +47003,7 @@ declare const useLens: () => {
|
|
|
47659
47003
|
}];
|
|
47660
47004
|
readonly stateMutability: "pure";
|
|
47661
47005
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47662
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
47006
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
47663
47007
|
readonly type: "function";
|
|
47664
47008
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47665
47009
|
readonly inputs: readonly [{
|
|
@@ -48280,7 +47624,7 @@ declare const useLens: () => {
|
|
|
48280
47624
|
}];
|
|
48281
47625
|
readonly stateMutability: "pure";
|
|
48282
47626
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
48283
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
47627
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
48284
47628
|
readonly type: "function";
|
|
48285
47629
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48286
47630
|
readonly inputs: readonly [{
|
|
@@ -48901,7 +48245,7 @@ declare const useLens: () => {
|
|
|
48901
48245
|
}];
|
|
48902
48246
|
readonly stateMutability: "pure";
|
|
48903
48247
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
48904
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
48248
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
48905
48249
|
readonly type: "function";
|
|
48906
48250
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48907
48251
|
readonly inputs: readonly [{
|
|
@@ -49522,7 +48866,7 @@ declare const useLens: () => {
|
|
|
49522
48866
|
}];
|
|
49523
48867
|
readonly stateMutability: "pure";
|
|
49524
48868
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
49525
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
48869
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
49526
48870
|
readonly type: "function";
|
|
49527
48871
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49528
48872
|
readonly inputs: readonly [{
|
|
@@ -50143,7 +49487,7 @@ declare const useLens: () => {
|
|
|
50143
49487
|
}];
|
|
50144
49488
|
readonly stateMutability: "pure";
|
|
50145
49489
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50146
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
49490
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
50147
49491
|
readonly type: "function";
|
|
50148
49492
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50149
49493
|
readonly inputs: readonly [{
|
|
@@ -50764,7 +50108,7 @@ declare const useLens: () => {
|
|
|
50764
50108
|
}];
|
|
50765
50109
|
readonly stateMutability: "pure";
|
|
50766
50110
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50767
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
50111
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
50768
50112
|
readonly type: "function";
|
|
50769
50113
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50770
50114
|
readonly inputs: readonly [{
|
|
@@ -51385,7 +50729,7 @@ declare const useLens: () => {
|
|
|
51385
50729
|
}];
|
|
51386
50730
|
readonly stateMutability: "pure";
|
|
51387
50731
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51388
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
50732
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
51389
50733
|
readonly type: "function";
|
|
51390
50734
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51391
50735
|
readonly inputs: readonly [{
|
|
@@ -52006,7 +51350,7 @@ declare const useLens: () => {
|
|
|
52006
51350
|
}];
|
|
52007
51351
|
readonly stateMutability: "pure";
|
|
52008
51352
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52009
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
51353
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
52010
51354
|
readonly type: "function";
|
|
52011
51355
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52012
51356
|
readonly inputs: readonly [{
|
|
@@ -52627,7 +51971,7 @@ declare const useLens: () => {
|
|
|
52627
51971
|
}];
|
|
52628
51972
|
readonly stateMutability: "pure";
|
|
52629
51973
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52630
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
51974
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
52631
51975
|
readonly type: "function";
|
|
52632
51976
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52633
51977
|
readonly inputs: readonly [{
|
|
@@ -53248,7 +52592,7 @@ declare const useLens: () => {
|
|
|
53248
52592
|
}];
|
|
53249
52593
|
readonly stateMutability: "pure";
|
|
53250
52594
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53251
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
52595
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
53252
52596
|
readonly type: "function";
|
|
53253
52597
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53254
52598
|
readonly inputs: readonly [{
|
|
@@ -53869,7 +53213,7 @@ declare const useLens: () => {
|
|
|
53869
53213
|
}];
|
|
53870
53214
|
readonly stateMutability: "pure";
|
|
53871
53215
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53872
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
53216
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
53873
53217
|
readonly type: "function";
|
|
53874
53218
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53875
53219
|
readonly inputs: readonly [{
|
|
@@ -54490,7 +53834,7 @@ declare const useLens: () => {
|
|
|
54490
53834
|
}];
|
|
54491
53835
|
readonly stateMutability: "pure";
|
|
54492
53836
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54493
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
53837
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
54494
53838
|
readonly type: "function";
|
|
54495
53839
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54496
53840
|
readonly inputs: readonly [{
|
|
@@ -55111,7 +54455,7 @@ declare const useLens: () => {
|
|
|
55111
54455
|
}];
|
|
55112
54456
|
readonly stateMutability: "pure";
|
|
55113
54457
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55114
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
54458
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
55115
54459
|
readonly type: "function";
|
|
55116
54460
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55117
54461
|
readonly inputs: readonly [{
|
|
@@ -55732,7 +55076,7 @@ declare const useLens: () => {
|
|
|
55732
55076
|
}];
|
|
55733
55077
|
readonly stateMutability: "pure";
|
|
55734
55078
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55735
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
55079
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
55736
55080
|
readonly type: "function";
|
|
55737
55081
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55738
55082
|
readonly inputs: readonly [{
|
|
@@ -56353,7 +55697,7 @@ declare const useLens: () => {
|
|
|
56353
55697
|
}];
|
|
56354
55698
|
readonly stateMutability: "pure";
|
|
56355
55699
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
56356
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
55700
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
56357
55701
|
readonly type: "function";
|
|
56358
55702
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56359
55703
|
readonly inputs: readonly [{
|
|
@@ -56974,7 +56318,7 @@ declare const useLens: () => {
|
|
|
56974
56318
|
}];
|
|
56975
56319
|
readonly stateMutability: "pure";
|
|
56976
56320
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
56977
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
56321
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
56978
56322
|
readonly type: "function";
|
|
56979
56323
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56980
56324
|
readonly inputs: readonly [{
|
|
@@ -57595,7 +56939,7 @@ declare const useLens: () => {
|
|
|
57595
56939
|
}];
|
|
57596
56940
|
readonly stateMutability: "pure";
|
|
57597
56941
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
57598
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
56942
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
57599
56943
|
readonly type: "function";
|
|
57600
56944
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57601
56945
|
readonly inputs: readonly [{
|
|
@@ -58216,7 +57560,7 @@ declare const useLens: () => {
|
|
|
58216
57560
|
}];
|
|
58217
57561
|
readonly stateMutability: "pure";
|
|
58218
57562
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58219
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
57563
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
58220
57564
|
readonly type: "function";
|
|
58221
57565
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58222
57566
|
readonly inputs: readonly [{
|
|
@@ -58837,7 +58181,7 @@ declare const useLens: () => {
|
|
|
58837
58181
|
}];
|
|
58838
58182
|
readonly stateMutability: "pure";
|
|
58839
58183
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58840
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
58184
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
58841
58185
|
readonly type: "function";
|
|
58842
58186
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58843
58187
|
readonly inputs: readonly [{
|
|
@@ -59458,7 +58802,7 @@ declare const useLens: () => {
|
|
|
59458
58802
|
}];
|
|
59459
58803
|
readonly stateMutability: "pure";
|
|
59460
58804
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59461
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
58805
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
59462
58806
|
readonly type: "function";
|
|
59463
58807
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59464
58808
|
readonly inputs: readonly [{
|
|
@@ -60079,7 +59423,7 @@ declare const useLens: () => {
|
|
|
60079
59423
|
}];
|
|
60080
59424
|
readonly stateMutability: "pure";
|
|
60081
59425
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60082
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
59426
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
60083
59427
|
readonly type: "function";
|
|
60084
59428
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60085
59429
|
readonly inputs: readonly [{
|
|
@@ -60700,7 +60044,7 @@ declare const useLens: () => {
|
|
|
60700
60044
|
}];
|
|
60701
60045
|
readonly stateMutability: "pure";
|
|
60702
60046
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60703
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
60047
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
60704
60048
|
readonly type: "function";
|
|
60705
60049
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60706
60050
|
readonly inputs: readonly [{
|
|
@@ -61321,7 +60665,7 @@ declare const useLens: () => {
|
|
|
61321
60665
|
}];
|
|
61322
60666
|
readonly stateMutability: "pure";
|
|
61323
60667
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
61324
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
60668
|
+
getPriceAtTick: (args: readonly [number], options?: viem145.Prettify<viem145.UnionOmit<viem145.ReadContractParameters<readonly [{
|
|
61325
60669
|
readonly type: "function";
|
|
61326
60670
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
61327
60671
|
readonly inputs: readonly [{
|
|
@@ -62578,4 +61922,4 @@ declare const useApproval: () => {
|
|
|
62578
61922
|
};
|
|
62579
61923
|
//#endregion
|
|
62580
61924
|
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-
|
|
61925
|
+
//# sourceMappingURL=client-S6cJb7ZQ.d.ts.map
|