timelock-sdk 0.0.108 → 0.0.109
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-D71s6e9Z.d.cts → client-61tvmrlq.d.cts} +161 -164
- package/dist/{client-_c3y1ZlX.d.ts → client-BcsbWPvK.d.ts} +288 -291
- package/dist/client.cjs +8 -1
- 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 +8 -1
- package/dist/client.js.map +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-ChJFZ6hc.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as viem0 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
4
|
import Big from "big.js";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
@@ -7,7 +7,7 @@ import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
|
7
7
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
8
8
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
9
9
|
import "graphql";
|
|
10
|
-
import * as
|
|
10
|
+
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
11
11
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
12
12
|
|
|
13
13
|
//#region src/generated/graphql.d.ts
|
|
@@ -228,7 +228,7 @@ type TimelockMarketData = Awaited<ReturnType<TimelockLens['read']['getMarketData
|
|
|
228
228
|
};
|
|
229
229
|
declare const getErc20: (address: Address, client: Client) => {
|
|
230
230
|
read: {
|
|
231
|
-
symbol: (options?:
|
|
231
|
+
symbol: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
232
232
|
readonly type: "constructor";
|
|
233
233
|
readonly inputs: readonly [{
|
|
234
234
|
readonly name: "name_";
|
|
@@ -407,7 +407,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
407
407
|
}];
|
|
408
408
|
readonly stateMutability: "nonpayable";
|
|
409
409
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
410
|
-
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
410
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
411
411
|
readonly type: "constructor";
|
|
412
412
|
readonly inputs: readonly [{
|
|
413
413
|
readonly name: "name_";
|
|
@@ -586,7 +586,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
586
586
|
}];
|
|
587
587
|
readonly stateMutability: "nonpayable";
|
|
588
588
|
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
589
|
-
balanceOf: (args: readonly [`0x${string}`], options?:
|
|
589
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
590
590
|
readonly type: "constructor";
|
|
591
591
|
readonly inputs: readonly [{
|
|
592
592
|
readonly name: "name_";
|
|
@@ -765,7 +765,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
765
765
|
}];
|
|
766
766
|
readonly stateMutability: "nonpayable";
|
|
767
767
|
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
768
|
-
decimals: (options?:
|
|
768
|
+
decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
769
769
|
readonly type: "constructor";
|
|
770
770
|
readonly inputs: readonly [{
|
|
771
771
|
readonly name: "name_";
|
|
@@ -944,7 +944,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
944
944
|
}];
|
|
945
945
|
readonly stateMutability: "nonpayable";
|
|
946
946
|
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
947
|
-
name: (options?:
|
|
947
|
+
name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
948
948
|
readonly type: "constructor";
|
|
949
949
|
readonly inputs: readonly [{
|
|
950
950
|
readonly name: "name_";
|
|
@@ -1123,7 +1123,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1123
1123
|
}];
|
|
1124
1124
|
readonly stateMutability: "nonpayable";
|
|
1125
1125
|
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
1126
|
-
totalSupply: (options?:
|
|
1126
|
+
totalSupply: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
1127
1127
|
readonly type: "constructor";
|
|
1128
1128
|
readonly inputs: readonly [{
|
|
1129
1129
|
readonly name: "name_";
|
|
@@ -1304,7 +1304,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1304
1304
|
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1305
1305
|
};
|
|
1306
1306
|
estimateGas: {
|
|
1307
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
1307
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1308
1308
|
readonly type: "constructor";
|
|
1309
1309
|
readonly inputs: readonly [{
|
|
1310
1310
|
readonly name: "name_";
|
|
@@ -1482,8 +1482,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1482
1482
|
readonly internalType: "bool";
|
|
1483
1483
|
}];
|
|
1484
1484
|
readonly stateMutability: "nonpayable";
|
|
1485
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
1486
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1485
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
1486
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1487
1487
|
readonly type: "constructor";
|
|
1488
1488
|
readonly inputs: readonly [{
|
|
1489
1489
|
readonly name: "name_";
|
|
@@ -1661,8 +1661,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1661
1661
|
readonly internalType: "bool";
|
|
1662
1662
|
}];
|
|
1663
1663
|
readonly stateMutability: "nonpayable";
|
|
1664
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
1665
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1664
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
1665
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1666
1666
|
readonly type: "constructor";
|
|
1667
1667
|
readonly inputs: readonly [{
|
|
1668
1668
|
readonly name: "name_";
|
|
@@ -1840,8 +1840,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1840
1840
|
readonly internalType: "bool";
|
|
1841
1841
|
}];
|
|
1842
1842
|
readonly stateMutability: "nonpayable";
|
|
1843
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
1844
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
1843
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
1844
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1845
1845
|
readonly type: "constructor";
|
|
1846
1846
|
readonly inputs: readonly [{
|
|
1847
1847
|
readonly name: "name_";
|
|
@@ -2019,8 +2019,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2019
2019
|
readonly internalType: "bool";
|
|
2020
2020
|
}];
|
|
2021
2021
|
readonly stateMutability: "nonpayable";
|
|
2022
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2023
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2022
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2023
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2024
2024
|
readonly type: "constructor";
|
|
2025
2025
|
readonly inputs: readonly [{
|
|
2026
2026
|
readonly name: "name_";
|
|
@@ -2198,9 +2198,9 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2198
2198
|
readonly internalType: "bool";
|
|
2199
2199
|
}];
|
|
2200
2200
|
readonly stateMutability: "nonpayable";
|
|
2201
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
2201
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2202
2202
|
} & {
|
|
2203
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
2203
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2204
2204
|
readonly type: "constructor";
|
|
2205
2205
|
readonly inputs: readonly [{
|
|
2206
2206
|
readonly name: "name_";
|
|
@@ -2378,8 +2378,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2378
2378
|
readonly internalType: "bool";
|
|
2379
2379
|
}];
|
|
2380
2380
|
readonly stateMutability: "nonpayable";
|
|
2381
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
2382
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2381
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2382
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2383
2383
|
readonly type: "constructor";
|
|
2384
2384
|
readonly inputs: readonly [{
|
|
2385
2385
|
readonly name: "name_";
|
|
@@ -2557,8 +2557,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2557
2557
|
readonly internalType: "bool";
|
|
2558
2558
|
}];
|
|
2559
2559
|
readonly stateMutability: "nonpayable";
|
|
2560
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
2561
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2560
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2561
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2562
2562
|
readonly type: "constructor";
|
|
2563
2563
|
readonly inputs: readonly [{
|
|
2564
2564
|
readonly name: "name_";
|
|
@@ -2736,8 +2736,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2736
2736
|
readonly internalType: "bool";
|
|
2737
2737
|
}];
|
|
2738
2738
|
readonly stateMutability: "nonpayable";
|
|
2739
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
2740
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
2739
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2740
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2741
2741
|
readonly type: "constructor";
|
|
2742
2742
|
readonly inputs: readonly [{
|
|
2743
2743
|
readonly name: "name_";
|
|
@@ -2915,8 +2915,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2915
2915
|
readonly internalType: "bool";
|
|
2916
2916
|
}];
|
|
2917
2917
|
readonly stateMutability: "nonpayable";
|
|
2918
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2919
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2918
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2919
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2920
2920
|
readonly type: "constructor";
|
|
2921
2921
|
readonly inputs: readonly [{
|
|
2922
2922
|
readonly name: "name_";
|
|
@@ -3094,10 +3094,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3094
3094
|
readonly internalType: "bool";
|
|
3095
3095
|
}];
|
|
3096
3096
|
readonly stateMutability: "nonpayable";
|
|
3097
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
3097
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
3098
3098
|
};
|
|
3099
3099
|
simulate: {
|
|
3100
|
-
approve: <chainOverride extends
|
|
3100
|
+
approve: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
3101
3101
|
readonly type: "constructor";
|
|
3102
3102
|
readonly inputs: readonly [{
|
|
3103
3103
|
readonly name: "name_";
|
|
@@ -3275,7 +3275,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3275
3275
|
readonly internalType: "bool";
|
|
3276
3276
|
}];
|
|
3277
3277
|
readonly stateMutability: "nonpayable";
|
|
3278
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3278
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
3279
3279
|
readonly type: "constructor";
|
|
3280
3280
|
readonly inputs: readonly [{
|
|
3281
3281
|
readonly name: "name_";
|
|
@@ -3453,8 +3453,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3453
3453
|
readonly internalType: "bool";
|
|
3454
3454
|
}];
|
|
3455
3455
|
readonly stateMutability: "nonpayable";
|
|
3456
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3457
|
-
decreaseAllowance: <chainOverride extends
|
|
3456
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
3457
|
+
decreaseAllowance: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
3458
3458
|
readonly type: "constructor";
|
|
3459
3459
|
readonly inputs: readonly [{
|
|
3460
3460
|
readonly name: "name_";
|
|
@@ -3632,7 +3632,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3632
3632
|
readonly internalType: "bool";
|
|
3633
3633
|
}];
|
|
3634
3634
|
readonly stateMutability: "nonpayable";
|
|
3635
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3635
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
3636
3636
|
readonly type: "constructor";
|
|
3637
3637
|
readonly inputs: readonly [{
|
|
3638
3638
|
readonly name: "name_";
|
|
@@ -3810,8 +3810,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3810
3810
|
readonly internalType: "bool";
|
|
3811
3811
|
}];
|
|
3812
3812
|
readonly stateMutability: "nonpayable";
|
|
3813
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3814
|
-
increaseAllowance: <chainOverride extends
|
|
3813
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
3814
|
+
increaseAllowance: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
3815
3815
|
readonly type: "constructor";
|
|
3816
3816
|
readonly inputs: readonly [{
|
|
3817
3817
|
readonly name: "name_";
|
|
@@ -3989,7 +3989,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3989
3989
|
readonly internalType: "bool";
|
|
3990
3990
|
}];
|
|
3991
3991
|
readonly stateMutability: "nonpayable";
|
|
3992
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
3992
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
3993
3993
|
readonly type: "constructor";
|
|
3994
3994
|
readonly inputs: readonly [{
|
|
3995
3995
|
readonly name: "name_";
|
|
@@ -4167,8 +4167,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4167
4167
|
readonly internalType: "bool";
|
|
4168
4168
|
}];
|
|
4169
4169
|
readonly stateMutability: "nonpayable";
|
|
4170
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
4171
|
-
transfer: <chainOverride extends
|
|
4170
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
4171
|
+
transfer: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
4172
4172
|
readonly type: "constructor";
|
|
4173
4173
|
readonly inputs: readonly [{
|
|
4174
4174
|
readonly name: "name_";
|
|
@@ -4346,7 +4346,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4346
4346
|
readonly internalType: "bool";
|
|
4347
4347
|
}];
|
|
4348
4348
|
readonly stateMutability: "nonpayable";
|
|
4349
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4349
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
4350
4350
|
readonly type: "constructor";
|
|
4351
4351
|
readonly inputs: readonly [{
|
|
4352
4352
|
readonly name: "name_";
|
|
@@ -4524,8 +4524,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4524
4524
|
readonly internalType: "bool";
|
|
4525
4525
|
}];
|
|
4526
4526
|
readonly stateMutability: "nonpayable";
|
|
4527
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4528
|
-
transferFrom: <chainOverride extends
|
|
4527
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
4528
|
+
transferFrom: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
4529
4529
|
readonly type: "constructor";
|
|
4530
4530
|
readonly inputs: readonly [{
|
|
4531
4531
|
readonly name: "name_";
|
|
@@ -4703,7 +4703,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4703
4703
|
readonly internalType: "bool";
|
|
4704
4704
|
}];
|
|
4705
4705
|
readonly stateMutability: "nonpayable";
|
|
4706
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4706
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
4707
4707
|
readonly type: "constructor";
|
|
4708
4708
|
readonly inputs: readonly [{
|
|
4709
4709
|
readonly name: "name_";
|
|
@@ -4881,10 +4881,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4881
4881
|
readonly internalType: "bool";
|
|
4882
4882
|
}];
|
|
4883
4883
|
readonly stateMutability: "nonpayable";
|
|
4884
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4884
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
4885
4885
|
};
|
|
4886
4886
|
write: {
|
|
4887
|
-
approve: <chainOverride extends
|
|
4887
|
+
approve: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
4888
4888
|
readonly type: "constructor";
|
|
4889
4889
|
readonly inputs: readonly [{
|
|
4890
4890
|
readonly name: "name_";
|
|
@@ -5062,8 +5062,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5062
5062
|
readonly internalType: "bool";
|
|
5063
5063
|
}];
|
|
5064
5064
|
readonly stateMutability: "nonpayable";
|
|
5065
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
5066
|
-
decreaseAllowance: <chainOverride extends
|
|
5065
|
+
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5066
|
+
decreaseAllowance: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
5067
5067
|
readonly type: "constructor";
|
|
5068
5068
|
readonly inputs: readonly [{
|
|
5069
5069
|
readonly name: "name_";
|
|
@@ -5241,8 +5241,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5241
5241
|
readonly internalType: "bool";
|
|
5242
5242
|
}];
|
|
5243
5243
|
readonly stateMutability: "nonpayable";
|
|
5244
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
5245
|
-
increaseAllowance: <chainOverride extends
|
|
5244
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5245
|
+
increaseAllowance: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
5246
5246
|
readonly type: "constructor";
|
|
5247
5247
|
readonly inputs: readonly [{
|
|
5248
5248
|
readonly name: "name_";
|
|
@@ -5420,8 +5420,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5420
5420
|
readonly internalType: "bool";
|
|
5421
5421
|
}];
|
|
5422
5422
|
readonly stateMutability: "nonpayable";
|
|
5423
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
5424
|
-
transfer: <chainOverride extends
|
|
5423
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5424
|
+
transfer: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
5425
5425
|
readonly type: "constructor";
|
|
5426
5426
|
readonly inputs: readonly [{
|
|
5427
5427
|
readonly name: "name_";
|
|
@@ -5599,8 +5599,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5599
5599
|
readonly internalType: "bool";
|
|
5600
5600
|
}];
|
|
5601
5601
|
readonly stateMutability: "nonpayable";
|
|
5602
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
5603
|
-
transferFrom: <chainOverride extends
|
|
5602
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5603
|
+
transferFrom: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
5604
5604
|
readonly type: "constructor";
|
|
5605
5605
|
readonly inputs: readonly [{
|
|
5606
5606
|
readonly name: "name_";
|
|
@@ -5778,7 +5778,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5778
5778
|
readonly internalType: "bool";
|
|
5779
5779
|
}];
|
|
5780
5780
|
readonly stateMutability: "nonpayable";
|
|
5781
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
5781
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, `0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5782
5782
|
};
|
|
5783
5783
|
address: `0x${string}`;
|
|
5784
5784
|
abi: readonly [{
|
|
@@ -5964,7 +5964,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5964
5964
|
declare const getTimelockMarket: (address: Address, client: Client) => TimelockMarket;
|
|
5965
5965
|
declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
5966
5966
|
read: {
|
|
5967
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
5967
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
5968
5968
|
readonly type: "function";
|
|
5969
5969
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
5970
5970
|
readonly inputs: readonly [{
|
|
@@ -6585,7 +6585,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
6585
6585
|
}];
|
|
6586
6586
|
readonly stateMutability: "pure";
|
|
6587
6587
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
6588
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
6588
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
6589
6589
|
readonly type: "function";
|
|
6590
6590
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6591
6591
|
readonly inputs: readonly [{
|
|
@@ -7206,7 +7206,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
7206
7206
|
}];
|
|
7207
7207
|
readonly stateMutability: "pure";
|
|
7208
7208
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7209
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
7209
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
7210
7210
|
readonly type: "function";
|
|
7211
7211
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7212
7212
|
readonly inputs: readonly [{
|
|
@@ -7827,7 +7827,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
7827
7827
|
}];
|
|
7828
7828
|
readonly stateMutability: "pure";
|
|
7829
7829
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7830
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
7830
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
7831
7831
|
readonly type: "function";
|
|
7832
7832
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7833
7833
|
readonly inputs: readonly [{
|
|
@@ -8448,7 +8448,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
8448
8448
|
}];
|
|
8449
8449
|
readonly stateMutability: "pure";
|
|
8450
8450
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
8451
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
8451
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
8452
8452
|
readonly type: "function";
|
|
8453
8453
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8454
8454
|
readonly inputs: readonly [{
|
|
@@ -9069,7 +9069,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
9069
9069
|
}];
|
|
9070
9070
|
readonly stateMutability: "pure";
|
|
9071
9071
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
9072
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
9072
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
9073
9073
|
readonly type: "function";
|
|
9074
9074
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9075
9075
|
readonly inputs: readonly [{
|
|
@@ -9690,7 +9690,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
9690
9690
|
}];
|
|
9691
9691
|
readonly stateMutability: "pure";
|
|
9692
9692
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
9693
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
9693
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
9694
9694
|
readonly type: "function";
|
|
9695
9695
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9696
9696
|
readonly inputs: readonly [{
|
|
@@ -10311,7 +10311,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10311
10311
|
}];
|
|
10312
10312
|
readonly stateMutability: "pure";
|
|
10313
10313
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10314
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
10314
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
10315
10315
|
readonly type: "function";
|
|
10316
10316
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10317
10317
|
readonly inputs: readonly [{
|
|
@@ -10932,7 +10932,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10932
10932
|
}];
|
|
10933
10933
|
readonly stateMutability: "pure";
|
|
10934
10934
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10935
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
10935
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
10936
10936
|
readonly type: "function";
|
|
10937
10937
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10938
10938
|
readonly inputs: readonly [{
|
|
@@ -11553,7 +11553,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
11553
11553
|
}];
|
|
11554
11554
|
readonly stateMutability: "pure";
|
|
11555
11555
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
11556
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
11556
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
11557
11557
|
readonly type: "function";
|
|
11558
11558
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11559
11559
|
readonly inputs: readonly [{
|
|
@@ -12174,7 +12174,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12174
12174
|
}];
|
|
12175
12175
|
readonly stateMutability: "pure";
|
|
12176
12176
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12177
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
12177
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
12178
12178
|
readonly type: "function";
|
|
12179
12179
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12180
12180
|
readonly inputs: readonly [{
|
|
@@ -12795,7 +12795,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12795
12795
|
}];
|
|
12796
12796
|
readonly stateMutability: "pure";
|
|
12797
12797
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12798
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
12798
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
12799
12799
|
readonly type: "function";
|
|
12800
12800
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12801
12801
|
readonly inputs: readonly [{
|
|
@@ -13416,7 +13416,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
13416
13416
|
}];
|
|
13417
13417
|
readonly stateMutability: "pure";
|
|
13418
13418
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13419
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
13419
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
13420
13420
|
readonly type: "function";
|
|
13421
13421
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13422
13422
|
readonly inputs: readonly [{
|
|
@@ -14037,7 +14037,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14037
14037
|
}];
|
|
14038
14038
|
readonly stateMutability: "pure";
|
|
14039
14039
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14040
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
14040
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
14041
14041
|
readonly type: "function";
|
|
14042
14042
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14043
14043
|
readonly inputs: readonly [{
|
|
@@ -14658,7 +14658,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14658
14658
|
}];
|
|
14659
14659
|
readonly stateMutability: "pure";
|
|
14660
14660
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
14661
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
14661
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
14662
14662
|
readonly type: "function";
|
|
14663
14663
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14664
14664
|
readonly inputs: readonly [{
|
|
@@ -15279,7 +15279,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15279
15279
|
}];
|
|
15280
15280
|
readonly stateMutability: "pure";
|
|
15281
15281
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15282
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
15282
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15283
15283
|
readonly type: "function";
|
|
15284
15284
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15285
15285
|
readonly inputs: readonly [{
|
|
@@ -15900,7 +15900,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15900
15900
|
}];
|
|
15901
15901
|
readonly stateMutability: "pure";
|
|
15902
15902
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15903
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
15903
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
15904
15904
|
readonly type: "function";
|
|
15905
15905
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15906
15906
|
readonly inputs: readonly [{
|
|
@@ -16521,7 +16521,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
16521
16521
|
}];
|
|
16522
16522
|
readonly stateMutability: "pure";
|
|
16523
16523
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
16524
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
16524
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
16525
16525
|
readonly type: "function";
|
|
16526
16526
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16527
16527
|
readonly inputs: readonly [{
|
|
@@ -17142,7 +17142,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17142
17142
|
}];
|
|
17143
17143
|
readonly stateMutability: "pure";
|
|
17144
17144
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
17145
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
17145
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
17146
17146
|
readonly type: "function";
|
|
17147
17147
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17148
17148
|
readonly inputs: readonly [{
|
|
@@ -17763,7 +17763,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17763
17763
|
}];
|
|
17764
17764
|
readonly stateMutability: "pure";
|
|
17765
17765
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
17766
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
17766
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
17767
17767
|
readonly type: "function";
|
|
17768
17768
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17769
17769
|
readonly inputs: readonly [{
|
|
@@ -18384,7 +18384,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
18384
18384
|
}];
|
|
18385
18385
|
readonly stateMutability: "pure";
|
|
18386
18386
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
18387
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
18387
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
18388
18388
|
readonly type: "function";
|
|
18389
18389
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18390
18390
|
readonly inputs: readonly [{
|
|
@@ -19005,7 +19005,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19005
19005
|
}];
|
|
19006
19006
|
readonly stateMutability: "pure";
|
|
19007
19007
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
19008
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
19008
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
19009
19009
|
readonly type: "function";
|
|
19010
19010
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19011
19011
|
readonly inputs: readonly [{
|
|
@@ -19626,7 +19626,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19626
19626
|
}];
|
|
19627
19627
|
readonly stateMutability: "pure";
|
|
19628
19628
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
19629
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
19629
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
19630
19630
|
readonly type: "function";
|
|
19631
19631
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19632
19632
|
readonly inputs: readonly [{
|
|
@@ -20247,7 +20247,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20247
20247
|
}];
|
|
20248
20248
|
readonly stateMutability: "pure";
|
|
20249
20249
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20250
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
20250
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
20251
20251
|
readonly type: "function";
|
|
20252
20252
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20253
20253
|
readonly inputs: readonly [{
|
|
@@ -20868,7 +20868,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20868
20868
|
}];
|
|
20869
20869
|
readonly stateMutability: "pure";
|
|
20870
20870
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20871
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
20871
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
20872
20872
|
readonly type: "function";
|
|
20873
20873
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20874
20874
|
readonly inputs: readonly [{
|
|
@@ -21489,7 +21489,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
21489
21489
|
}];
|
|
21490
21490
|
readonly stateMutability: "pure";
|
|
21491
21491
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21492
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
21492
|
+
getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
21493
21493
|
readonly type: "function";
|
|
21494
21494
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21495
21495
|
readonly inputs: readonly [{
|
|
@@ -22736,7 +22736,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
22736
22736
|
};
|
|
22737
22737
|
declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
22738
22738
|
read: {
|
|
22739
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
22739
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
22740
22740
|
readonly type: "function";
|
|
22741
22741
|
readonly name: "batchGetRefTick";
|
|
22742
22742
|
readonly inputs: readonly [{
|
|
@@ -23378,7 +23378,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23378
23378
|
}];
|
|
23379
23379
|
readonly stateMutability: "view";
|
|
23380
23380
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
23381
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
23381
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
23382
23382
|
readonly type: "function";
|
|
23383
23383
|
readonly name: "batchGetRefTick";
|
|
23384
23384
|
readonly inputs: readonly [{
|
|
@@ -24030,7 +24030,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24030
24030
|
borrowedAmount0: bigint;
|
|
24031
24031
|
borrowedAmount1: bigint;
|
|
24032
24032
|
}[]>;
|
|
24033
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
24033
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
24034
24034
|
readonly type: "function";
|
|
24035
24035
|
readonly name: "batchGetRefTick";
|
|
24036
24036
|
readonly inputs: readonly [{
|
|
@@ -24687,7 +24687,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24687
24687
|
expiresAt: number;
|
|
24688
24688
|
liquidities: readonly bigint[];
|
|
24689
24689
|
}[], bigint, boolean]>;
|
|
24690
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
24690
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
24691
24691
|
readonly type: "function";
|
|
24692
24692
|
readonly name: "batchGetRefTick";
|
|
24693
24693
|
readonly inputs: readonly [{
|
|
@@ -25329,7 +25329,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25329
25329
|
}];
|
|
25330
25330
|
readonly stateMutability: "view";
|
|
25331
25331
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25332
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
25332
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25333
25333
|
readonly type: "function";
|
|
25334
25334
|
readonly name: "batchGetRefTick";
|
|
25335
25335
|
readonly inputs: readonly [{
|
|
@@ -25984,7 +25984,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25984
25984
|
payoutAssetName: string;
|
|
25985
25985
|
optionsCount: bigint;
|
|
25986
25986
|
}>;
|
|
25987
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
25987
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
25988
25988
|
readonly type: "function";
|
|
25989
25989
|
readonly name: "batchGetRefTick";
|
|
25990
25990
|
readonly inputs: readonly [{
|
|
@@ -26626,7 +26626,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26626
26626
|
}];
|
|
26627
26627
|
readonly stateMutability: "view";
|
|
26628
26628
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
26629
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
26629
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
26630
26630
|
readonly type: "function";
|
|
26631
26631
|
readonly name: "batchGetRefTick";
|
|
26632
26632
|
readonly inputs: readonly [{
|
|
@@ -27268,7 +27268,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27268
27268
|
}];
|
|
27269
27269
|
readonly stateMutability: "view";
|
|
27270
27270
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
27271
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
27271
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
27272
27272
|
readonly type: "function";
|
|
27273
27273
|
readonly name: "batchGetRefTick";
|
|
27274
27274
|
readonly inputs: readonly [{
|
|
@@ -27925,7 +27925,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27925
27925
|
expiresAt: number;
|
|
27926
27926
|
liquidities: readonly bigint[];
|
|
27927
27927
|
}>;
|
|
27928
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
27928
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
27929
27929
|
readonly type: "function";
|
|
27930
27930
|
readonly name: "batchGetRefTick";
|
|
27931
27931
|
readonly inputs: readonly [{
|
|
@@ -28582,7 +28582,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28582
28582
|
expiresAt: number;
|
|
28583
28583
|
liquidities: readonly bigint[];
|
|
28584
28584
|
}[]>;
|
|
28585
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
28585
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
28586
28586
|
readonly type: "function";
|
|
28587
28587
|
readonly name: "batchGetRefTick";
|
|
28588
28588
|
readonly inputs: readonly [{
|
|
@@ -29235,7 +29235,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29235
29235
|
tickSpacing: number;
|
|
29236
29236
|
fee: number;
|
|
29237
29237
|
}>;
|
|
29238
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
29238
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
29239
29239
|
readonly type: "function";
|
|
29240
29240
|
readonly name: "batchGetRefTick";
|
|
29241
29241
|
readonly inputs: readonly [{
|
|
@@ -29877,7 +29877,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29877
29877
|
}];
|
|
29878
29878
|
readonly stateMutability: "view";
|
|
29879
29879
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
29880
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
29880
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
29881
29881
|
readonly type: "function";
|
|
29882
29882
|
readonly name: "batchGetRefTick";
|
|
29883
29883
|
readonly inputs: readonly [{
|
|
@@ -30534,7 +30534,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30534
30534
|
expiresAt: number;
|
|
30535
30535
|
liquidities: readonly bigint[];
|
|
30536
30536
|
}[], bigint, boolean]>;
|
|
30537
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
30537
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
30538
30538
|
readonly type: "function";
|
|
30539
30539
|
readonly name: "batchGetRefTick";
|
|
30540
30540
|
readonly inputs: readonly [{
|
|
@@ -31872,7 +31872,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31872
31872
|
isRefetching: boolean;
|
|
31873
31873
|
isStale: boolean;
|
|
31874
31874
|
isEnabled: boolean;
|
|
31875
|
-
refetch: (options?:
|
|
31875
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
31876
31876
|
optionId: bigint;
|
|
31877
31877
|
marketAddr: Address;
|
|
31878
31878
|
ownerAddr: Address;
|
|
@@ -31903,7 +31903,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31903
31903
|
address: string;
|
|
31904
31904
|
} | null;
|
|
31905
31905
|
}[], Error>>;
|
|
31906
|
-
fetchStatus:
|
|
31906
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
31907
31907
|
promise: Promise<{
|
|
31908
31908
|
optionId: bigint;
|
|
31909
31909
|
marketAddr: Address;
|
|
@@ -31989,7 +31989,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31989
31989
|
isRefetching: boolean;
|
|
31990
31990
|
isStale: boolean;
|
|
31991
31991
|
isEnabled: boolean;
|
|
31992
|
-
refetch: (options?:
|
|
31992
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
31993
31993
|
optionId: bigint;
|
|
31994
31994
|
marketAddr: Address;
|
|
31995
31995
|
ownerAddr: Address;
|
|
@@ -32020,7 +32020,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32020
32020
|
address: string;
|
|
32021
32021
|
} | null;
|
|
32022
32022
|
}[], Error>>;
|
|
32023
|
-
fetchStatus:
|
|
32023
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32024
32024
|
promise: Promise<{
|
|
32025
32025
|
optionId: bigint;
|
|
32026
32026
|
marketAddr: Address;
|
|
@@ -32106,7 +32106,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32106
32106
|
isRefetching: boolean;
|
|
32107
32107
|
isStale: boolean;
|
|
32108
32108
|
isEnabled: boolean;
|
|
32109
|
-
refetch: (options?:
|
|
32109
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32110
32110
|
optionId: bigint;
|
|
32111
32111
|
marketAddr: Address;
|
|
32112
32112
|
ownerAddr: Address;
|
|
@@ -32137,7 +32137,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32137
32137
|
address: string;
|
|
32138
32138
|
} | null;
|
|
32139
32139
|
}[], Error>>;
|
|
32140
|
-
fetchStatus:
|
|
32140
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32141
32141
|
promise: Promise<{
|
|
32142
32142
|
optionId: bigint;
|
|
32143
32143
|
marketAddr: Address;
|
|
@@ -32223,7 +32223,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32223
32223
|
isRefetching: boolean;
|
|
32224
32224
|
isStale: boolean;
|
|
32225
32225
|
isEnabled: boolean;
|
|
32226
|
-
refetch: (options?:
|
|
32226
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32227
32227
|
optionId: bigint;
|
|
32228
32228
|
marketAddr: Address;
|
|
32229
32229
|
ownerAddr: Address;
|
|
@@ -32254,7 +32254,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32254
32254
|
address: string;
|
|
32255
32255
|
} | null;
|
|
32256
32256
|
}[], Error>>;
|
|
32257
|
-
fetchStatus:
|
|
32257
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32258
32258
|
promise: Promise<{
|
|
32259
32259
|
optionId: bigint;
|
|
32260
32260
|
marketAddr: Address;
|
|
@@ -32340,7 +32340,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32340
32340
|
isRefetching: boolean;
|
|
32341
32341
|
isStale: boolean;
|
|
32342
32342
|
isEnabled: boolean;
|
|
32343
|
-
refetch: (options?:
|
|
32343
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32344
32344
|
optionId: bigint;
|
|
32345
32345
|
marketAddr: Address;
|
|
32346
32346
|
ownerAddr: Address;
|
|
@@ -32371,7 +32371,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32371
32371
|
address: string;
|
|
32372
32372
|
} | null;
|
|
32373
32373
|
}[], Error>>;
|
|
32374
|
-
fetchStatus:
|
|
32374
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32375
32375
|
promise: Promise<{
|
|
32376
32376
|
optionId: bigint;
|
|
32377
32377
|
marketAddr: Address;
|
|
@@ -32457,7 +32457,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32457
32457
|
isRefetching: boolean;
|
|
32458
32458
|
isStale: boolean;
|
|
32459
32459
|
isEnabled: boolean;
|
|
32460
|
-
refetch: (options?:
|
|
32460
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32461
32461
|
optionId: bigint;
|
|
32462
32462
|
marketAddr: Address;
|
|
32463
32463
|
ownerAddr: Address;
|
|
@@ -32488,7 +32488,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32488
32488
|
address: string;
|
|
32489
32489
|
} | null;
|
|
32490
32490
|
}[], Error>>;
|
|
32491
|
-
fetchStatus:
|
|
32491
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32492
32492
|
promise: Promise<{
|
|
32493
32493
|
optionId: bigint;
|
|
32494
32494
|
marketAddr: Address;
|
|
@@ -32575,7 +32575,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32575
32575
|
isRefetching: boolean;
|
|
32576
32576
|
isStale: boolean;
|
|
32577
32577
|
isEnabled: boolean;
|
|
32578
|
-
refetch: (options?:
|
|
32578
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32579
32579
|
optionId: bigint;
|
|
32580
32580
|
marketAddr: Address;
|
|
32581
32581
|
ownerAddr: Address;
|
|
@@ -32606,7 +32606,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32606
32606
|
address: string;
|
|
32607
32607
|
} | null;
|
|
32608
32608
|
}[], Error>>;
|
|
32609
|
-
fetchStatus:
|
|
32609
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32610
32610
|
promise: Promise<{
|
|
32611
32611
|
optionId: bigint;
|
|
32612
32612
|
marketAddr: Address;
|
|
@@ -32692,7 +32692,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32692
32692
|
isRefetching: boolean;
|
|
32693
32693
|
isStale: boolean;
|
|
32694
32694
|
isEnabled: boolean;
|
|
32695
|
-
refetch: (options?:
|
|
32695
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32696
32696
|
optionId: bigint;
|
|
32697
32697
|
marketAddr: Address;
|
|
32698
32698
|
ownerAddr: Address;
|
|
@@ -32723,7 +32723,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32723
32723
|
address: string;
|
|
32724
32724
|
} | null;
|
|
32725
32725
|
}[], Error>>;
|
|
32726
|
-
fetchStatus:
|
|
32726
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32727
32727
|
promise: Promise<{
|
|
32728
32728
|
optionId: bigint;
|
|
32729
32729
|
marketAddr: Address;
|
|
@@ -32809,7 +32809,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32809
32809
|
isRefetching: boolean;
|
|
32810
32810
|
isStale: boolean;
|
|
32811
32811
|
isEnabled: boolean;
|
|
32812
|
-
refetch: (options?:
|
|
32812
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32813
32813
|
optionId: bigint;
|
|
32814
32814
|
marketAddr: Address;
|
|
32815
32815
|
ownerAddr: Address;
|
|
@@ -32840,7 +32840,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32840
32840
|
address: string;
|
|
32841
32841
|
} | null;
|
|
32842
32842
|
}[], Error>>;
|
|
32843
|
-
fetchStatus:
|
|
32843
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32844
32844
|
promise: Promise<{
|
|
32845
32845
|
optionId: bigint;
|
|
32846
32846
|
marketAddr: Address;
|
|
@@ -32926,7 +32926,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32926
32926
|
isRefetching: boolean;
|
|
32927
32927
|
isStale: boolean;
|
|
32928
32928
|
isEnabled: boolean;
|
|
32929
|
-
refetch: (options?:
|
|
32929
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32930
32930
|
optionId: bigint;
|
|
32931
32931
|
marketAddr: Address;
|
|
32932
32932
|
ownerAddr: Address;
|
|
@@ -32957,7 +32957,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32957
32957
|
address: string;
|
|
32958
32958
|
} | null;
|
|
32959
32959
|
}[], Error>>;
|
|
32960
|
-
fetchStatus:
|
|
32960
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32961
32961
|
promise: Promise<{
|
|
32962
32962
|
optionId: bigint;
|
|
32963
32963
|
marketAddr: Address;
|
|
@@ -33043,7 +33043,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33043
33043
|
isRefetching: boolean;
|
|
33044
33044
|
isStale: boolean;
|
|
33045
33045
|
isEnabled: boolean;
|
|
33046
|
-
refetch: (options?:
|
|
33046
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33047
33047
|
optionId: bigint;
|
|
33048
33048
|
marketAddr: Address;
|
|
33049
33049
|
ownerAddr: Address;
|
|
@@ -33074,7 +33074,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33074
33074
|
address: string;
|
|
33075
33075
|
} | null;
|
|
33076
33076
|
}[], Error>>;
|
|
33077
|
-
fetchStatus:
|
|
33077
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33078
33078
|
promise: Promise<{
|
|
33079
33079
|
optionId: bigint;
|
|
33080
33080
|
marketAddr: Address;
|
|
@@ -33160,7 +33160,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33160
33160
|
isRefetching: boolean;
|
|
33161
33161
|
isStale: boolean;
|
|
33162
33162
|
isEnabled: boolean;
|
|
33163
|
-
refetch: (options?:
|
|
33163
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33164
33164
|
optionId: bigint;
|
|
33165
33165
|
marketAddr: Address;
|
|
33166
33166
|
ownerAddr: Address;
|
|
@@ -33191,7 +33191,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33191
33191
|
address: string;
|
|
33192
33192
|
} | null;
|
|
33193
33193
|
}[], Error>>;
|
|
33194
|
-
fetchStatus:
|
|
33194
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33195
33195
|
promise: Promise<{
|
|
33196
33196
|
optionId: bigint;
|
|
33197
33197
|
marketAddr: Address;
|
|
@@ -33278,7 +33278,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33278
33278
|
isRefetching: boolean;
|
|
33279
33279
|
isStale: boolean;
|
|
33280
33280
|
isEnabled: boolean;
|
|
33281
|
-
refetch: (options?:
|
|
33281
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33282
33282
|
optionId: bigint;
|
|
33283
33283
|
marketAddr: Address;
|
|
33284
33284
|
ownerAddr: Address;
|
|
@@ -33309,7 +33309,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33309
33309
|
address: string;
|
|
33310
33310
|
} | null;
|
|
33311
33311
|
}[], Error>>;
|
|
33312
|
-
fetchStatus:
|
|
33312
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33313
33313
|
promise: Promise<{
|
|
33314
33314
|
optionId: bigint;
|
|
33315
33315
|
marketAddr: Address;
|
|
@@ -33395,7 +33395,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33395
33395
|
isRefetching: boolean;
|
|
33396
33396
|
isStale: boolean;
|
|
33397
33397
|
isEnabled: boolean;
|
|
33398
|
-
refetch: (options?:
|
|
33398
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33399
33399
|
optionId: bigint;
|
|
33400
33400
|
marketAddr: Address;
|
|
33401
33401
|
ownerAddr: Address;
|
|
@@ -33426,7 +33426,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33426
33426
|
address: string;
|
|
33427
33427
|
} | null;
|
|
33428
33428
|
}[], Error>>;
|
|
33429
|
-
fetchStatus:
|
|
33429
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33430
33430
|
promise: Promise<{
|
|
33431
33431
|
optionId: bigint;
|
|
33432
33432
|
marketAddr: Address;
|
|
@@ -33512,7 +33512,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33512
33512
|
isRefetching: boolean;
|
|
33513
33513
|
isStale: boolean;
|
|
33514
33514
|
isEnabled: boolean;
|
|
33515
|
-
refetch: (options?:
|
|
33515
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33516
33516
|
optionId: bigint;
|
|
33517
33517
|
marketAddr: Address;
|
|
33518
33518
|
ownerAddr: Address;
|
|
@@ -33543,7 +33543,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33543
33543
|
address: string;
|
|
33544
33544
|
} | null;
|
|
33545
33545
|
}[], Error>>;
|
|
33546
|
-
fetchStatus:
|
|
33546
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33547
33547
|
promise: Promise<{
|
|
33548
33548
|
optionId: bigint;
|
|
33549
33549
|
marketAddr: Address;
|
|
@@ -33629,7 +33629,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33629
33629
|
isRefetching: boolean;
|
|
33630
33630
|
isStale: boolean;
|
|
33631
33631
|
isEnabled: boolean;
|
|
33632
|
-
refetch: (options?:
|
|
33632
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33633
33633
|
optionId: bigint;
|
|
33634
33634
|
marketAddr: Address;
|
|
33635
33635
|
ownerAddr: Address;
|
|
@@ -33660,7 +33660,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33660
33660
|
address: string;
|
|
33661
33661
|
} | null;
|
|
33662
33662
|
}[], Error>>;
|
|
33663
|
-
fetchStatus:
|
|
33663
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33664
33664
|
promise: Promise<{
|
|
33665
33665
|
optionId: bigint;
|
|
33666
33666
|
marketAddr: Address;
|
|
@@ -33746,7 +33746,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33746
33746
|
isRefetching: boolean;
|
|
33747
33747
|
isStale: boolean;
|
|
33748
33748
|
isEnabled: boolean;
|
|
33749
|
-
refetch: (options?:
|
|
33749
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33750
33750
|
optionId: bigint;
|
|
33751
33751
|
marketAddr: Address;
|
|
33752
33752
|
ownerAddr: Address;
|
|
@@ -33777,7 +33777,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33777
33777
|
address: string;
|
|
33778
33778
|
} | null;
|
|
33779
33779
|
}[], Error>>;
|
|
33780
|
-
fetchStatus:
|
|
33780
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33781
33781
|
promise: Promise<{
|
|
33782
33782
|
optionId: bigint;
|
|
33783
33783
|
marketAddr: Address;
|
|
@@ -33863,7 +33863,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33863
33863
|
isRefetching: boolean;
|
|
33864
33864
|
isStale: boolean;
|
|
33865
33865
|
isEnabled: boolean;
|
|
33866
|
-
refetch: (options?:
|
|
33866
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33867
33867
|
optionId: bigint;
|
|
33868
33868
|
marketAddr: Address;
|
|
33869
33869
|
ownerAddr: Address;
|
|
@@ -33894,7 +33894,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33894
33894
|
address: string;
|
|
33895
33895
|
} | null;
|
|
33896
33896
|
}[], Error>>;
|
|
33897
|
-
fetchStatus:
|
|
33897
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33898
33898
|
promise: Promise<{
|
|
33899
33899
|
optionId: bigint;
|
|
33900
33900
|
marketAddr: Address;
|
|
@@ -34071,7 +34071,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34071
34071
|
isRefetching: boolean;
|
|
34072
34072
|
isStale: boolean;
|
|
34073
34073
|
isEnabled: boolean;
|
|
34074
|
-
refetch: (options?:
|
|
34074
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
34075
34075
|
type: "mint";
|
|
34076
34076
|
data: {
|
|
34077
34077
|
id: string;
|
|
@@ -34110,7 +34110,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34110
34110
|
transactionHash: string;
|
|
34111
34111
|
};
|
|
34112
34112
|
})[], Error>>;
|
|
34113
|
-
fetchStatus:
|
|
34113
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34114
34114
|
promise: Promise<({
|
|
34115
34115
|
type: "mint";
|
|
34116
34116
|
data: {
|
|
@@ -34212,7 +34212,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34212
34212
|
isRefetching: boolean;
|
|
34213
34213
|
isStale: boolean;
|
|
34214
34214
|
isEnabled: boolean;
|
|
34215
|
-
refetch: (options?:
|
|
34215
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
34216
34216
|
type: "mint";
|
|
34217
34217
|
data: {
|
|
34218
34218
|
id: string;
|
|
@@ -34251,7 +34251,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34251
34251
|
transactionHash: string;
|
|
34252
34252
|
};
|
|
34253
34253
|
})[], Error>>;
|
|
34254
|
-
fetchStatus:
|
|
34254
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34255
34255
|
promise: Promise<({
|
|
34256
34256
|
type: "mint";
|
|
34257
34257
|
data: {
|
|
@@ -34353,7 +34353,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34353
34353
|
isRefetching: boolean;
|
|
34354
34354
|
isStale: boolean;
|
|
34355
34355
|
isEnabled: boolean;
|
|
34356
|
-
refetch: (options?:
|
|
34356
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
34357
34357
|
type: "mint";
|
|
34358
34358
|
data: {
|
|
34359
34359
|
id: string;
|
|
@@ -34392,7 +34392,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34392
34392
|
transactionHash: string;
|
|
34393
34393
|
};
|
|
34394
34394
|
})[], Error>>;
|
|
34395
|
-
fetchStatus:
|
|
34395
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34396
34396
|
promise: Promise<({
|
|
34397
34397
|
type: "mint";
|
|
34398
34398
|
data: {
|
|
@@ -34494,7 +34494,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34494
34494
|
isRefetching: boolean;
|
|
34495
34495
|
isStale: boolean;
|
|
34496
34496
|
isEnabled: boolean;
|
|
34497
|
-
refetch: (options?:
|
|
34497
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
34498
34498
|
type: "mint";
|
|
34499
34499
|
data: {
|
|
34500
34500
|
id: string;
|
|
@@ -34533,7 +34533,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34533
34533
|
transactionHash: string;
|
|
34534
34534
|
};
|
|
34535
34535
|
})[], Error>>;
|
|
34536
|
-
fetchStatus:
|
|
34536
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34537
34537
|
promise: Promise<({
|
|
34538
34538
|
type: "mint";
|
|
34539
34539
|
data: {
|
|
@@ -34635,7 +34635,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34635
34635
|
isRefetching: boolean;
|
|
34636
34636
|
isStale: boolean;
|
|
34637
34637
|
isEnabled: boolean;
|
|
34638
|
-
refetch: (options?:
|
|
34638
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
34639
34639
|
type: "mint";
|
|
34640
34640
|
data: {
|
|
34641
34641
|
id: string;
|
|
@@ -34674,7 +34674,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34674
34674
|
transactionHash: string;
|
|
34675
34675
|
};
|
|
34676
34676
|
})[], Error>>;
|
|
34677
|
-
fetchStatus:
|
|
34677
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34678
34678
|
promise: Promise<({
|
|
34679
34679
|
type: "mint";
|
|
34680
34680
|
data: {
|
|
@@ -34776,7 +34776,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34776
34776
|
isRefetching: boolean;
|
|
34777
34777
|
isStale: boolean;
|
|
34778
34778
|
isEnabled: boolean;
|
|
34779
|
-
refetch: (options?:
|
|
34779
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
34780
34780
|
type: "mint";
|
|
34781
34781
|
data: {
|
|
34782
34782
|
id: string;
|
|
@@ -34815,7 +34815,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34815
34815
|
transactionHash: string;
|
|
34816
34816
|
};
|
|
34817
34817
|
})[], Error>>;
|
|
34818
|
-
fetchStatus:
|
|
34818
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34819
34819
|
promise: Promise<({
|
|
34820
34820
|
type: "mint";
|
|
34821
34821
|
data: {
|
|
@@ -34952,10 +34952,7 @@ declare class PerpsOperator {
|
|
|
34952
34952
|
}
|
|
34953
34953
|
//#endregion
|
|
34954
34954
|
//#region src/hooks/perps/useClosePerp.d.ts
|
|
34955
|
-
declare const useClosePerp: () => _tanstack_react_query0.UseMutationResult<
|
|
34956
|
-
txHash: string;
|
|
34957
|
-
optionId: bigint;
|
|
34958
|
-
}, Error, ExercisePerpBody, unknown>;
|
|
34955
|
+
declare const useClosePerp: () => _tanstack_react_query0.UseMutationResult<void, Error, ExercisePerpBody, unknown>;
|
|
34959
34956
|
//#endregion
|
|
34960
34957
|
//#region src/hooks/perps/usePerpsOperator.d.ts
|
|
34961
34958
|
declare const usePerpsOperator: () => {
|
|
@@ -34988,7 +34985,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34988
34985
|
isRefetching: boolean;
|
|
34989
34986
|
isStale: boolean;
|
|
34990
34987
|
isEnabled: boolean;
|
|
34991
|
-
refetch: (options?:
|
|
34988
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
34992
34989
|
optionId: bigint;
|
|
34993
34990
|
id: string;
|
|
34994
34991
|
ownerAddr: Address;
|
|
@@ -34997,7 +34994,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34997
34994
|
expiresAt: number;
|
|
34998
34995
|
closed: boolean;
|
|
34999
34996
|
}[] | undefined, Error>>;
|
|
35000
|
-
fetchStatus:
|
|
34997
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35001
34998
|
promise: Promise<{
|
|
35002
34999
|
optionId: bigint;
|
|
35003
35000
|
id: string;
|
|
@@ -35039,7 +35036,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35039
35036
|
isRefetching: boolean;
|
|
35040
35037
|
isStale: boolean;
|
|
35041
35038
|
isEnabled: boolean;
|
|
35042
|
-
refetch: (options?:
|
|
35039
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35043
35040
|
optionId: bigint;
|
|
35044
35041
|
id: string;
|
|
35045
35042
|
ownerAddr: Address;
|
|
@@ -35048,7 +35045,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35048
35045
|
expiresAt: number;
|
|
35049
35046
|
closed: boolean;
|
|
35050
35047
|
}[] | undefined, Error>>;
|
|
35051
|
-
fetchStatus:
|
|
35048
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35052
35049
|
promise: Promise<{
|
|
35053
35050
|
optionId: bigint;
|
|
35054
35051
|
id: string;
|
|
@@ -35090,7 +35087,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35090
35087
|
isRefetching: boolean;
|
|
35091
35088
|
isStale: boolean;
|
|
35092
35089
|
isEnabled: boolean;
|
|
35093
|
-
refetch: (options?:
|
|
35090
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35094
35091
|
optionId: bigint;
|
|
35095
35092
|
id: string;
|
|
35096
35093
|
ownerAddr: Address;
|
|
@@ -35099,7 +35096,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35099
35096
|
expiresAt: number;
|
|
35100
35097
|
closed: boolean;
|
|
35101
35098
|
}[] | undefined, Error>>;
|
|
35102
|
-
fetchStatus:
|
|
35099
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35103
35100
|
promise: Promise<{
|
|
35104
35101
|
optionId: bigint;
|
|
35105
35102
|
id: string;
|
|
@@ -35141,7 +35138,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35141
35138
|
isRefetching: boolean;
|
|
35142
35139
|
isStale: boolean;
|
|
35143
35140
|
isEnabled: boolean;
|
|
35144
|
-
refetch: (options?:
|
|
35141
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35145
35142
|
optionId: bigint;
|
|
35146
35143
|
id: string;
|
|
35147
35144
|
ownerAddr: Address;
|
|
@@ -35150,7 +35147,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35150
35147
|
expiresAt: number;
|
|
35151
35148
|
closed: boolean;
|
|
35152
35149
|
}[] | undefined, Error>>;
|
|
35153
|
-
fetchStatus:
|
|
35150
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35154
35151
|
promise: Promise<{
|
|
35155
35152
|
optionId: bigint;
|
|
35156
35153
|
id: string;
|
|
@@ -35192,7 +35189,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35192
35189
|
isRefetching: boolean;
|
|
35193
35190
|
isStale: boolean;
|
|
35194
35191
|
isEnabled: boolean;
|
|
35195
|
-
refetch: (options?:
|
|
35192
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35196
35193
|
optionId: bigint;
|
|
35197
35194
|
id: string;
|
|
35198
35195
|
ownerAddr: Address;
|
|
@@ -35201,7 +35198,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35201
35198
|
expiresAt: number;
|
|
35202
35199
|
closed: boolean;
|
|
35203
35200
|
}[] | undefined, Error>>;
|
|
35204
|
-
fetchStatus:
|
|
35201
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35205
35202
|
promise: Promise<{
|
|
35206
35203
|
optionId: bigint;
|
|
35207
35204
|
id: string;
|
|
@@ -35243,7 +35240,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35243
35240
|
isRefetching: boolean;
|
|
35244
35241
|
isStale: boolean;
|
|
35245
35242
|
isEnabled: boolean;
|
|
35246
|
-
refetch: (options?:
|
|
35243
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35247
35244
|
optionId: bigint;
|
|
35248
35245
|
id: string;
|
|
35249
35246
|
ownerAddr: Address;
|
|
@@ -35252,7 +35249,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35252
35249
|
expiresAt: number;
|
|
35253
35250
|
closed: boolean;
|
|
35254
35251
|
}[] | undefined, Error>>;
|
|
35255
|
-
fetchStatus:
|
|
35252
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35256
35253
|
promise: Promise<{
|
|
35257
35254
|
optionId: bigint;
|
|
35258
35255
|
id: string;
|
|
@@ -35295,7 +35292,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35295
35292
|
isRefetching: boolean;
|
|
35296
35293
|
isStale: boolean;
|
|
35297
35294
|
isEnabled: boolean;
|
|
35298
|
-
refetch: (options?:
|
|
35295
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35299
35296
|
optionId: bigint;
|
|
35300
35297
|
id: string;
|
|
35301
35298
|
ownerAddr: Address;
|
|
@@ -35304,7 +35301,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35304
35301
|
expiresAt: number;
|
|
35305
35302
|
closed: boolean;
|
|
35306
35303
|
}[] | undefined, Error>>;
|
|
35307
|
-
fetchStatus:
|
|
35304
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35308
35305
|
promise: Promise<{
|
|
35309
35306
|
optionId: bigint;
|
|
35310
35307
|
id: string;
|
|
@@ -35346,7 +35343,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35346
35343
|
isRefetching: boolean;
|
|
35347
35344
|
isStale: boolean;
|
|
35348
35345
|
isEnabled: boolean;
|
|
35349
|
-
refetch: (options?:
|
|
35346
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35350
35347
|
optionId: bigint;
|
|
35351
35348
|
id: string;
|
|
35352
35349
|
ownerAddr: Address;
|
|
@@ -35355,7 +35352,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35355
35352
|
expiresAt: number;
|
|
35356
35353
|
closed: boolean;
|
|
35357
35354
|
}[] | undefined, Error>>;
|
|
35358
|
-
fetchStatus:
|
|
35355
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35359
35356
|
promise: Promise<{
|
|
35360
35357
|
optionId: bigint;
|
|
35361
35358
|
id: string;
|
|
@@ -35397,7 +35394,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35397
35394
|
isRefetching: boolean;
|
|
35398
35395
|
isStale: boolean;
|
|
35399
35396
|
isEnabled: boolean;
|
|
35400
|
-
refetch: (options?:
|
|
35397
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35401
35398
|
optionId: bigint;
|
|
35402
35399
|
id: string;
|
|
35403
35400
|
ownerAddr: Address;
|
|
@@ -35406,7 +35403,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35406
35403
|
expiresAt: number;
|
|
35407
35404
|
closed: boolean;
|
|
35408
35405
|
}[] | undefined, Error>>;
|
|
35409
|
-
fetchStatus:
|
|
35406
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35410
35407
|
promise: Promise<{
|
|
35411
35408
|
optionId: bigint;
|
|
35412
35409
|
id: string;
|
|
@@ -35448,7 +35445,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35448
35445
|
isRefetching: boolean;
|
|
35449
35446
|
isStale: boolean;
|
|
35450
35447
|
isEnabled: boolean;
|
|
35451
|
-
refetch: (options?:
|
|
35448
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35452
35449
|
optionId: bigint;
|
|
35453
35450
|
id: string;
|
|
35454
35451
|
ownerAddr: Address;
|
|
@@ -35457,7 +35454,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35457
35454
|
expiresAt: number;
|
|
35458
35455
|
closed: boolean;
|
|
35459
35456
|
}[] | undefined, Error>>;
|
|
35460
|
-
fetchStatus:
|
|
35457
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35461
35458
|
promise: Promise<{
|
|
35462
35459
|
optionId: bigint;
|
|
35463
35460
|
id: string;
|
|
@@ -35499,7 +35496,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35499
35496
|
isRefetching: boolean;
|
|
35500
35497
|
isStale: boolean;
|
|
35501
35498
|
isEnabled: boolean;
|
|
35502
|
-
refetch: (options?:
|
|
35499
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35503
35500
|
optionId: bigint;
|
|
35504
35501
|
id: string;
|
|
35505
35502
|
ownerAddr: Address;
|
|
@@ -35508,7 +35505,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35508
35505
|
expiresAt: number;
|
|
35509
35506
|
closed: boolean;
|
|
35510
35507
|
}[] | undefined, Error>>;
|
|
35511
|
-
fetchStatus:
|
|
35508
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35512
35509
|
promise: Promise<{
|
|
35513
35510
|
optionId: bigint;
|
|
35514
35511
|
id: string;
|
|
@@ -35550,7 +35547,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35550
35547
|
isRefetching: boolean;
|
|
35551
35548
|
isStale: boolean;
|
|
35552
35549
|
isEnabled: boolean;
|
|
35553
|
-
refetch: (options?:
|
|
35550
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35554
35551
|
optionId: bigint;
|
|
35555
35552
|
id: string;
|
|
35556
35553
|
ownerAddr: Address;
|
|
@@ -35559,7 +35556,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35559
35556
|
expiresAt: number;
|
|
35560
35557
|
closed: boolean;
|
|
35561
35558
|
}[] | undefined, Error>>;
|
|
35562
|
-
fetchStatus:
|
|
35559
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35563
35560
|
promise: Promise<{
|
|
35564
35561
|
optionId: bigint;
|
|
35565
35562
|
id: string;
|
|
@@ -35602,7 +35599,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35602
35599
|
isRefetching: boolean;
|
|
35603
35600
|
isStale: boolean;
|
|
35604
35601
|
isEnabled: boolean;
|
|
35605
|
-
refetch: (options?:
|
|
35602
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35606
35603
|
optionId: bigint;
|
|
35607
35604
|
id: string;
|
|
35608
35605
|
ownerAddr: Address;
|
|
@@ -35611,7 +35608,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35611
35608
|
expiresAt: number;
|
|
35612
35609
|
closed: boolean;
|
|
35613
35610
|
}[] | undefined, Error>>;
|
|
35614
|
-
fetchStatus:
|
|
35611
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35615
35612
|
promise: Promise<{
|
|
35616
35613
|
optionId: bigint;
|
|
35617
35614
|
id: string;
|
|
@@ -35653,7 +35650,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35653
35650
|
isRefetching: boolean;
|
|
35654
35651
|
isStale: boolean;
|
|
35655
35652
|
isEnabled: boolean;
|
|
35656
|
-
refetch: (options?:
|
|
35653
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35657
35654
|
optionId: bigint;
|
|
35658
35655
|
id: string;
|
|
35659
35656
|
ownerAddr: Address;
|
|
@@ -35662,7 +35659,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35662
35659
|
expiresAt: number;
|
|
35663
35660
|
closed: boolean;
|
|
35664
35661
|
}[] | undefined, Error>>;
|
|
35665
|
-
fetchStatus:
|
|
35662
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35666
35663
|
promise: Promise<{
|
|
35667
35664
|
optionId: bigint;
|
|
35668
35665
|
id: string;
|
|
@@ -35704,7 +35701,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35704
35701
|
isRefetching: boolean;
|
|
35705
35702
|
isStale: boolean;
|
|
35706
35703
|
isEnabled: boolean;
|
|
35707
|
-
refetch: (options?:
|
|
35704
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35708
35705
|
optionId: bigint;
|
|
35709
35706
|
id: string;
|
|
35710
35707
|
ownerAddr: Address;
|
|
@@ -35713,7 +35710,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35713
35710
|
expiresAt: number;
|
|
35714
35711
|
closed: boolean;
|
|
35715
35712
|
}[] | undefined, Error>>;
|
|
35716
|
-
fetchStatus:
|
|
35713
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35717
35714
|
promise: Promise<{
|
|
35718
35715
|
optionId: bigint;
|
|
35719
35716
|
id: string;
|
|
@@ -35755,7 +35752,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35755
35752
|
isRefetching: boolean;
|
|
35756
35753
|
isStale: boolean;
|
|
35757
35754
|
isEnabled: boolean;
|
|
35758
|
-
refetch: (options?:
|
|
35755
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35759
35756
|
optionId: bigint;
|
|
35760
35757
|
id: string;
|
|
35761
35758
|
ownerAddr: Address;
|
|
@@ -35764,7 +35761,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35764
35761
|
expiresAt: number;
|
|
35765
35762
|
closed: boolean;
|
|
35766
35763
|
}[] | undefined, Error>>;
|
|
35767
|
-
fetchStatus:
|
|
35764
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35768
35765
|
promise: Promise<{
|
|
35769
35766
|
optionId: bigint;
|
|
35770
35767
|
id: string;
|
|
@@ -35806,7 +35803,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35806
35803
|
isRefetching: boolean;
|
|
35807
35804
|
isStale: boolean;
|
|
35808
35805
|
isEnabled: boolean;
|
|
35809
|
-
refetch: (options?:
|
|
35806
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35810
35807
|
optionId: bigint;
|
|
35811
35808
|
id: string;
|
|
35812
35809
|
ownerAddr: Address;
|
|
@@ -35815,7 +35812,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35815
35812
|
expiresAt: number;
|
|
35816
35813
|
closed: boolean;
|
|
35817
35814
|
}[] | undefined, Error>>;
|
|
35818
|
-
fetchStatus:
|
|
35815
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35819
35816
|
promise: Promise<{
|
|
35820
35817
|
optionId: bigint;
|
|
35821
35818
|
id: string;
|
|
@@ -35857,7 +35854,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35857
35854
|
isRefetching: boolean;
|
|
35858
35855
|
isStale: boolean;
|
|
35859
35856
|
isEnabled: boolean;
|
|
35860
|
-
refetch: (options?:
|
|
35857
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35861
35858
|
optionId: bigint;
|
|
35862
35859
|
id: string;
|
|
35863
35860
|
ownerAddr: Address;
|
|
@@ -35866,7 +35863,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35866
35863
|
expiresAt: number;
|
|
35867
35864
|
closed: boolean;
|
|
35868
35865
|
}[] | undefined, Error>>;
|
|
35869
|
-
fetchStatus:
|
|
35866
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35870
35867
|
promise: Promise<{
|
|
35871
35868
|
optionId: bigint;
|
|
35872
35869
|
id: string;
|
|
@@ -35889,7 +35886,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35889
35886
|
//#endregion
|
|
35890
35887
|
//#region src/hooks/operators/useOperatorPerms.d.ts
|
|
35891
35888
|
declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, operatorAddr?: Address) => {
|
|
35892
|
-
error:
|
|
35889
|
+
error: viem0.ReadContractErrorType;
|
|
35893
35890
|
isError: true;
|
|
35894
35891
|
isPending: false;
|
|
35895
35892
|
isLoading: false;
|
|
@@ -35901,7 +35898,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35901
35898
|
dataUpdatedAt: number;
|
|
35902
35899
|
errorUpdatedAt: number;
|
|
35903
35900
|
failureCount: number;
|
|
35904
|
-
failureReason:
|
|
35901
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35905
35902
|
errorUpdateCount: number;
|
|
35906
35903
|
isFetched: boolean;
|
|
35907
35904
|
isFetchedAfterMount: boolean;
|
|
@@ -35911,10 +35908,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35911
35908
|
isRefetching: boolean;
|
|
35912
35909
|
isStale: boolean;
|
|
35913
35910
|
isEnabled: boolean;
|
|
35914
|
-
refetch: (options?:
|
|
35915
|
-
fetchStatus:
|
|
35911
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35912
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35916
35913
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35917
|
-
queryKey:
|
|
35914
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35918
35915
|
data: {
|
|
35919
35916
|
canExtend: boolean;
|
|
35920
35917
|
canExercise: boolean;
|
|
@@ -35935,7 +35932,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35935
35932
|
dataUpdatedAt: number;
|
|
35936
35933
|
errorUpdatedAt: number;
|
|
35937
35934
|
failureCount: number;
|
|
35938
|
-
failureReason:
|
|
35935
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35939
35936
|
errorUpdateCount: number;
|
|
35940
35937
|
isFetched: boolean;
|
|
35941
35938
|
isFetchedAfterMount: boolean;
|
|
@@ -35945,10 +35942,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35945
35942
|
isRefetching: boolean;
|
|
35946
35943
|
isStale: boolean;
|
|
35947
35944
|
isEnabled: boolean;
|
|
35948
|
-
refetch: (options?:
|
|
35949
|
-
fetchStatus:
|
|
35945
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35946
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35950
35947
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35951
|
-
queryKey:
|
|
35948
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35952
35949
|
data: {
|
|
35953
35950
|
canExtend: boolean;
|
|
35954
35951
|
canExercise: boolean;
|
|
@@ -35957,7 +35954,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35957
35954
|
spendingApproval: bigint;
|
|
35958
35955
|
} | undefined;
|
|
35959
35956
|
} | {
|
|
35960
|
-
error:
|
|
35957
|
+
error: viem0.ReadContractErrorType;
|
|
35961
35958
|
isError: true;
|
|
35962
35959
|
isPending: false;
|
|
35963
35960
|
isLoading: false;
|
|
@@ -35969,7 +35966,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35969
35966
|
dataUpdatedAt: number;
|
|
35970
35967
|
errorUpdatedAt: number;
|
|
35971
35968
|
failureCount: number;
|
|
35972
|
-
failureReason:
|
|
35969
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
35973
35970
|
errorUpdateCount: number;
|
|
35974
35971
|
isFetched: boolean;
|
|
35975
35972
|
isFetchedAfterMount: boolean;
|
|
@@ -35979,10 +35976,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35979
35976
|
isRefetching: boolean;
|
|
35980
35977
|
isStale: boolean;
|
|
35981
35978
|
isEnabled: boolean;
|
|
35982
|
-
refetch: (options?:
|
|
35983
|
-
fetchStatus:
|
|
35979
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35980
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35984
35981
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35985
|
-
queryKey:
|
|
35982
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35986
35983
|
data: {
|
|
35987
35984
|
canExtend: boolean;
|
|
35988
35985
|
canExercise: boolean;
|
|
@@ -36003,7 +36000,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36003
36000
|
dataUpdatedAt: number;
|
|
36004
36001
|
errorUpdatedAt: number;
|
|
36005
36002
|
failureCount: number;
|
|
36006
|
-
failureReason:
|
|
36003
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36007
36004
|
errorUpdateCount: number;
|
|
36008
36005
|
isFetched: boolean;
|
|
36009
36006
|
isFetchedAfterMount: boolean;
|
|
@@ -36013,10 +36010,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36013
36010
|
isRefetching: boolean;
|
|
36014
36011
|
isStale: boolean;
|
|
36015
36012
|
isEnabled: boolean;
|
|
36016
|
-
refetch: (options?:
|
|
36017
|
-
fetchStatus:
|
|
36013
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
36014
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36018
36015
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36019
|
-
queryKey:
|
|
36016
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36020
36017
|
data: {
|
|
36021
36018
|
canExtend: boolean;
|
|
36022
36019
|
canExercise: boolean;
|
|
@@ -36036,7 +36033,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36036
36033
|
dataUpdatedAt: number;
|
|
36037
36034
|
errorUpdatedAt: number;
|
|
36038
36035
|
failureCount: number;
|
|
36039
|
-
failureReason:
|
|
36036
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36040
36037
|
errorUpdateCount: number;
|
|
36041
36038
|
isFetched: boolean;
|
|
36042
36039
|
isFetchedAfterMount: boolean;
|
|
@@ -36047,10 +36044,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36047
36044
|
isRefetching: boolean;
|
|
36048
36045
|
isStale: boolean;
|
|
36049
36046
|
isEnabled: boolean;
|
|
36050
|
-
refetch: (options?:
|
|
36051
|
-
fetchStatus:
|
|
36047
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
36048
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36052
36049
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36053
|
-
queryKey:
|
|
36050
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36054
36051
|
data: {
|
|
36055
36052
|
canExtend: boolean;
|
|
36056
36053
|
canExercise: boolean;
|
|
@@ -36071,7 +36068,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36071
36068
|
dataUpdatedAt: number;
|
|
36072
36069
|
errorUpdatedAt: number;
|
|
36073
36070
|
failureCount: number;
|
|
36074
|
-
failureReason:
|
|
36071
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36075
36072
|
errorUpdateCount: number;
|
|
36076
36073
|
isFetched: boolean;
|
|
36077
36074
|
isFetchedAfterMount: boolean;
|
|
@@ -36081,10 +36078,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36081
36078
|
isRefetching: boolean;
|
|
36082
36079
|
isStale: boolean;
|
|
36083
36080
|
isEnabled: boolean;
|
|
36084
|
-
refetch: (options?:
|
|
36085
|
-
fetchStatus:
|
|
36081
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
36082
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36086
36083
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36087
|
-
queryKey:
|
|
36084
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36088
36085
|
data: {
|
|
36089
36086
|
canExtend: boolean;
|
|
36090
36087
|
canExercise: boolean;
|
|
@@ -36132,7 +36129,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36132
36129
|
isRefetching: boolean;
|
|
36133
36130
|
isStale: boolean;
|
|
36134
36131
|
isEnabled: boolean;
|
|
36135
|
-
refetch: (options?:
|
|
36132
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36136
36133
|
spendingApproval: bigint;
|
|
36137
36134
|
operatorAddr: string;
|
|
36138
36135
|
__typename: "UserMarketOperator";
|
|
@@ -36146,7 +36143,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36146
36143
|
address: string;
|
|
36147
36144
|
} | null;
|
|
36148
36145
|
}[] | undefined, Error>>;
|
|
36149
|
-
fetchStatus:
|
|
36146
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36150
36147
|
promise: Promise<{
|
|
36151
36148
|
spendingApproval: bigint;
|
|
36152
36149
|
operatorAddr: string;
|
|
@@ -36198,7 +36195,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36198
36195
|
isRefetching: boolean;
|
|
36199
36196
|
isStale: boolean;
|
|
36200
36197
|
isEnabled: boolean;
|
|
36201
|
-
refetch: (options?:
|
|
36198
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36202
36199
|
spendingApproval: bigint;
|
|
36203
36200
|
operatorAddr: string;
|
|
36204
36201
|
__typename: "UserMarketOperator";
|
|
@@ -36212,7 +36209,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36212
36209
|
address: string;
|
|
36213
36210
|
} | null;
|
|
36214
36211
|
}[] | undefined, Error>>;
|
|
36215
|
-
fetchStatus:
|
|
36212
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36216
36213
|
promise: Promise<{
|
|
36217
36214
|
spendingApproval: bigint;
|
|
36218
36215
|
operatorAddr: string;
|
|
@@ -36264,7 +36261,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36264
36261
|
isRefetching: boolean;
|
|
36265
36262
|
isStale: boolean;
|
|
36266
36263
|
isEnabled: boolean;
|
|
36267
|
-
refetch: (options?:
|
|
36264
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36268
36265
|
spendingApproval: bigint;
|
|
36269
36266
|
operatorAddr: string;
|
|
36270
36267
|
__typename: "UserMarketOperator";
|
|
@@ -36278,7 +36275,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36278
36275
|
address: string;
|
|
36279
36276
|
} | null;
|
|
36280
36277
|
}[] | undefined, Error>>;
|
|
36281
|
-
fetchStatus:
|
|
36278
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36282
36279
|
promise: Promise<{
|
|
36283
36280
|
spendingApproval: bigint;
|
|
36284
36281
|
operatorAddr: string;
|
|
@@ -36330,7 +36327,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36330
36327
|
isRefetching: boolean;
|
|
36331
36328
|
isStale: boolean;
|
|
36332
36329
|
isEnabled: boolean;
|
|
36333
|
-
refetch: (options?:
|
|
36330
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36334
36331
|
spendingApproval: bigint;
|
|
36335
36332
|
operatorAddr: string;
|
|
36336
36333
|
__typename: "UserMarketOperator";
|
|
@@ -36344,7 +36341,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36344
36341
|
address: string;
|
|
36345
36342
|
} | null;
|
|
36346
36343
|
}[] | undefined, Error>>;
|
|
36347
|
-
fetchStatus:
|
|
36344
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36348
36345
|
promise: Promise<{
|
|
36349
36346
|
spendingApproval: bigint;
|
|
36350
36347
|
operatorAddr: string;
|
|
@@ -36396,7 +36393,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36396
36393
|
isRefetching: boolean;
|
|
36397
36394
|
isStale: boolean;
|
|
36398
36395
|
isEnabled: boolean;
|
|
36399
|
-
refetch: (options?:
|
|
36396
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36400
36397
|
spendingApproval: bigint;
|
|
36401
36398
|
operatorAddr: string;
|
|
36402
36399
|
__typename: "UserMarketOperator";
|
|
@@ -36410,7 +36407,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36410
36407
|
address: string;
|
|
36411
36408
|
} | null;
|
|
36412
36409
|
}[] | undefined, Error>>;
|
|
36413
|
-
fetchStatus:
|
|
36410
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36414
36411
|
promise: Promise<{
|
|
36415
36412
|
spendingApproval: bigint;
|
|
36416
36413
|
operatorAddr: string;
|
|
@@ -36462,7 +36459,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36462
36459
|
isRefetching: boolean;
|
|
36463
36460
|
isStale: boolean;
|
|
36464
36461
|
isEnabled: boolean;
|
|
36465
|
-
refetch: (options?:
|
|
36462
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36466
36463
|
spendingApproval: bigint;
|
|
36467
36464
|
operatorAddr: string;
|
|
36468
36465
|
__typename: "UserMarketOperator";
|
|
@@ -36476,7 +36473,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36476
36473
|
address: string;
|
|
36477
36474
|
} | null;
|
|
36478
36475
|
}[] | undefined, Error>>;
|
|
36479
|
-
fetchStatus:
|
|
36476
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36480
36477
|
promise: Promise<{
|
|
36481
36478
|
spendingApproval: bigint;
|
|
36482
36479
|
operatorAddr: string;
|
|
@@ -36592,7 +36589,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
36592
36589
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
36593
36590
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
36594
36591
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
36595
|
-
error:
|
|
36592
|
+
error: viem0.ReadContractErrorType;
|
|
36596
36593
|
isError: true;
|
|
36597
36594
|
isPending: false;
|
|
36598
36595
|
isLoading: false;
|
|
@@ -36604,7 +36601,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36604
36601
|
dataUpdatedAt: number;
|
|
36605
36602
|
errorUpdatedAt: number;
|
|
36606
36603
|
failureCount: number;
|
|
36607
|
-
failureReason:
|
|
36604
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36608
36605
|
errorUpdateCount: number;
|
|
36609
36606
|
isFetched: boolean;
|
|
36610
36607
|
isFetchedAfterMount: boolean;
|
|
@@ -36614,7 +36611,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36614
36611
|
isRefetching: boolean;
|
|
36615
36612
|
isStale: boolean;
|
|
36616
36613
|
isEnabled: boolean;
|
|
36617
|
-
refetch: (options?:
|
|
36614
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36618
36615
|
tickLower: number;
|
|
36619
36616
|
tickUpper: number;
|
|
36620
36617
|
prevTickLower: number;
|
|
@@ -36624,8 +36621,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36624
36621
|
totalAmount1: bigint;
|
|
36625
36622
|
borrowedAmount0: bigint;
|
|
36626
36623
|
borrowedAmount1: bigint;
|
|
36627
|
-
}[],
|
|
36628
|
-
fetchStatus:
|
|
36624
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36625
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36629
36626
|
promise: Promise<readonly {
|
|
36630
36627
|
tickLower: number;
|
|
36631
36628
|
tickUpper: number;
|
|
@@ -36637,7 +36634,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36637
36634
|
borrowedAmount0: bigint;
|
|
36638
36635
|
borrowedAmount1: bigint;
|
|
36639
36636
|
}[]>;
|
|
36640
|
-
queryKey:
|
|
36637
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36641
36638
|
data: readonly {
|
|
36642
36639
|
tickLower: number;
|
|
36643
36640
|
tickUpper: number;
|
|
@@ -36662,7 +36659,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36662
36659
|
dataUpdatedAt: number;
|
|
36663
36660
|
errorUpdatedAt: number;
|
|
36664
36661
|
failureCount: number;
|
|
36665
|
-
failureReason:
|
|
36662
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36666
36663
|
errorUpdateCount: number;
|
|
36667
36664
|
isFetched: boolean;
|
|
36668
36665
|
isFetchedAfterMount: boolean;
|
|
@@ -36672,7 +36669,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36672
36669
|
isRefetching: boolean;
|
|
36673
36670
|
isStale: boolean;
|
|
36674
36671
|
isEnabled: boolean;
|
|
36675
|
-
refetch: (options?:
|
|
36672
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36676
36673
|
tickLower: number;
|
|
36677
36674
|
tickUpper: number;
|
|
36678
36675
|
prevTickLower: number;
|
|
@@ -36682,8 +36679,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36682
36679
|
totalAmount1: bigint;
|
|
36683
36680
|
borrowedAmount0: bigint;
|
|
36684
36681
|
borrowedAmount1: bigint;
|
|
36685
|
-
}[],
|
|
36686
|
-
fetchStatus:
|
|
36682
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36683
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36687
36684
|
promise: Promise<readonly {
|
|
36688
36685
|
tickLower: number;
|
|
36689
36686
|
tickUpper: number;
|
|
@@ -36695,7 +36692,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36695
36692
|
borrowedAmount0: bigint;
|
|
36696
36693
|
borrowedAmount1: bigint;
|
|
36697
36694
|
}[]>;
|
|
36698
|
-
queryKey:
|
|
36695
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36699
36696
|
data: readonly {
|
|
36700
36697
|
tickLower: number;
|
|
36701
36698
|
tickUpper: number;
|
|
@@ -36708,7 +36705,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36708
36705
|
borrowedAmount1: bigint;
|
|
36709
36706
|
}[];
|
|
36710
36707
|
} | {
|
|
36711
|
-
error:
|
|
36708
|
+
error: viem0.ReadContractErrorType;
|
|
36712
36709
|
isError: true;
|
|
36713
36710
|
isPending: false;
|
|
36714
36711
|
isLoading: false;
|
|
@@ -36720,7 +36717,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36720
36717
|
dataUpdatedAt: number;
|
|
36721
36718
|
errorUpdatedAt: number;
|
|
36722
36719
|
failureCount: number;
|
|
36723
|
-
failureReason:
|
|
36720
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36724
36721
|
errorUpdateCount: number;
|
|
36725
36722
|
isFetched: boolean;
|
|
36726
36723
|
isFetchedAfterMount: boolean;
|
|
@@ -36730,7 +36727,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36730
36727
|
isRefetching: boolean;
|
|
36731
36728
|
isStale: boolean;
|
|
36732
36729
|
isEnabled: boolean;
|
|
36733
|
-
refetch: (options?:
|
|
36730
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36734
36731
|
tickLower: number;
|
|
36735
36732
|
tickUpper: number;
|
|
36736
36733
|
prevTickLower: number;
|
|
@@ -36740,8 +36737,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36740
36737
|
totalAmount1: bigint;
|
|
36741
36738
|
borrowedAmount0: bigint;
|
|
36742
36739
|
borrowedAmount1: bigint;
|
|
36743
|
-
}[],
|
|
36744
|
-
fetchStatus:
|
|
36740
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36741
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36745
36742
|
promise: Promise<readonly {
|
|
36746
36743
|
tickLower: number;
|
|
36747
36744
|
tickUpper: number;
|
|
@@ -36753,7 +36750,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36753
36750
|
borrowedAmount0: bigint;
|
|
36754
36751
|
borrowedAmount1: bigint;
|
|
36755
36752
|
}[]>;
|
|
36756
|
-
queryKey:
|
|
36753
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36757
36754
|
data: readonly {
|
|
36758
36755
|
tickLower: number;
|
|
36759
36756
|
tickUpper: number;
|
|
@@ -36778,7 +36775,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36778
36775
|
dataUpdatedAt: number;
|
|
36779
36776
|
errorUpdatedAt: number;
|
|
36780
36777
|
failureCount: number;
|
|
36781
|
-
failureReason:
|
|
36778
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36782
36779
|
errorUpdateCount: number;
|
|
36783
36780
|
isFetched: boolean;
|
|
36784
36781
|
isFetchedAfterMount: boolean;
|
|
@@ -36788,7 +36785,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36788
36785
|
isRefetching: boolean;
|
|
36789
36786
|
isStale: boolean;
|
|
36790
36787
|
isEnabled: boolean;
|
|
36791
|
-
refetch: (options?:
|
|
36788
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36792
36789
|
tickLower: number;
|
|
36793
36790
|
tickUpper: number;
|
|
36794
36791
|
prevTickLower: number;
|
|
@@ -36798,8 +36795,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36798
36795
|
totalAmount1: bigint;
|
|
36799
36796
|
borrowedAmount0: bigint;
|
|
36800
36797
|
borrowedAmount1: bigint;
|
|
36801
|
-
}[],
|
|
36802
|
-
fetchStatus:
|
|
36798
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36799
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36803
36800
|
promise: Promise<readonly {
|
|
36804
36801
|
tickLower: number;
|
|
36805
36802
|
tickUpper: number;
|
|
@@ -36811,7 +36808,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36811
36808
|
borrowedAmount0: bigint;
|
|
36812
36809
|
borrowedAmount1: bigint;
|
|
36813
36810
|
}[]>;
|
|
36814
|
-
queryKey:
|
|
36811
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36815
36812
|
data: readonly {
|
|
36816
36813
|
tickLower: number;
|
|
36817
36814
|
tickUpper: number;
|
|
@@ -36835,7 +36832,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36835
36832
|
dataUpdatedAt: number;
|
|
36836
36833
|
errorUpdatedAt: number;
|
|
36837
36834
|
failureCount: number;
|
|
36838
|
-
failureReason:
|
|
36835
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36839
36836
|
errorUpdateCount: number;
|
|
36840
36837
|
isFetched: boolean;
|
|
36841
36838
|
isFetchedAfterMount: boolean;
|
|
@@ -36846,7 +36843,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36846
36843
|
isRefetching: boolean;
|
|
36847
36844
|
isStale: boolean;
|
|
36848
36845
|
isEnabled: boolean;
|
|
36849
|
-
refetch: (options?:
|
|
36846
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36850
36847
|
tickLower: number;
|
|
36851
36848
|
tickUpper: number;
|
|
36852
36849
|
prevTickLower: number;
|
|
@@ -36856,8 +36853,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36856
36853
|
totalAmount1: bigint;
|
|
36857
36854
|
borrowedAmount0: bigint;
|
|
36858
36855
|
borrowedAmount1: bigint;
|
|
36859
|
-
}[],
|
|
36860
|
-
fetchStatus:
|
|
36856
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36857
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36861
36858
|
promise: Promise<readonly {
|
|
36862
36859
|
tickLower: number;
|
|
36863
36860
|
tickUpper: number;
|
|
@@ -36869,7 +36866,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36869
36866
|
borrowedAmount0: bigint;
|
|
36870
36867
|
borrowedAmount1: bigint;
|
|
36871
36868
|
}[]>;
|
|
36872
|
-
queryKey:
|
|
36869
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36873
36870
|
data: readonly {
|
|
36874
36871
|
tickLower: number;
|
|
36875
36872
|
tickUpper: number;
|
|
@@ -36894,7 +36891,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36894
36891
|
dataUpdatedAt: number;
|
|
36895
36892
|
errorUpdatedAt: number;
|
|
36896
36893
|
failureCount: number;
|
|
36897
|
-
failureReason:
|
|
36894
|
+
failureReason: viem0.ReadContractErrorType | null;
|
|
36898
36895
|
errorUpdateCount: number;
|
|
36899
36896
|
isFetched: boolean;
|
|
36900
36897
|
isFetchedAfterMount: boolean;
|
|
@@ -36904,7 +36901,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36904
36901
|
isRefetching: boolean;
|
|
36905
36902
|
isStale: boolean;
|
|
36906
36903
|
isEnabled: boolean;
|
|
36907
|
-
refetch: (options?:
|
|
36904
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36908
36905
|
tickLower: number;
|
|
36909
36906
|
tickUpper: number;
|
|
36910
36907
|
prevTickLower: number;
|
|
@@ -36914,8 +36911,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36914
36911
|
totalAmount1: bigint;
|
|
36915
36912
|
borrowedAmount0: bigint;
|
|
36916
36913
|
borrowedAmount1: bigint;
|
|
36917
|
-
}[],
|
|
36918
|
-
fetchStatus:
|
|
36914
|
+
}[], viem0.ReadContractErrorType>>;
|
|
36915
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36919
36916
|
promise: Promise<readonly {
|
|
36920
36917
|
tickLower: number;
|
|
36921
36918
|
tickUpper: number;
|
|
@@ -36927,7 +36924,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36927
36924
|
borrowedAmount0: bigint;
|
|
36928
36925
|
borrowedAmount1: bigint;
|
|
36929
36926
|
}[]>;
|
|
36930
|
-
queryKey:
|
|
36927
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36931
36928
|
data: readonly {
|
|
36932
36929
|
tickLower: number;
|
|
36933
36930
|
tickUpper: number;
|
|
@@ -36978,14 +36975,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
36978
36975
|
borrowedAmount0: Amount;
|
|
36979
36976
|
borrowedAmount1: Amount;
|
|
36980
36977
|
blocksCount: bigint;
|
|
36981
|
-
refetch: (options?:
|
|
36978
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
|
|
36982
36979
|
};
|
|
36983
36980
|
//#endregion
|
|
36984
36981
|
//#region src/hooks/useLens.d.ts
|
|
36985
36982
|
declare const useLens: () => {
|
|
36986
36983
|
timelockLens: {
|
|
36987
36984
|
read: {
|
|
36988
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
36985
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
36989
36986
|
readonly type: "function";
|
|
36990
36987
|
readonly name: "batchGetRefTick";
|
|
36991
36988
|
readonly inputs: readonly [{
|
|
@@ -37627,7 +37624,7 @@ declare const useLens: () => {
|
|
|
37627
37624
|
}];
|
|
37628
37625
|
readonly stateMutability: "view";
|
|
37629
37626
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
37630
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
37627
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
37631
37628
|
readonly type: "function";
|
|
37632
37629
|
readonly name: "batchGetRefTick";
|
|
37633
37630
|
readonly inputs: readonly [{
|
|
@@ -38279,7 +38276,7 @@ declare const useLens: () => {
|
|
|
38279
38276
|
borrowedAmount0: bigint;
|
|
38280
38277
|
borrowedAmount1: bigint;
|
|
38281
38278
|
}[]>;
|
|
38282
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
38279
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
38283
38280
|
readonly type: "function";
|
|
38284
38281
|
readonly name: "batchGetRefTick";
|
|
38285
38282
|
readonly inputs: readonly [{
|
|
@@ -38936,7 +38933,7 @@ declare const useLens: () => {
|
|
|
38936
38933
|
expiresAt: number;
|
|
38937
38934
|
liquidities: readonly bigint[];
|
|
38938
38935
|
}[], bigint, boolean]>;
|
|
38939
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
38936
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
38940
38937
|
readonly type: "function";
|
|
38941
38938
|
readonly name: "batchGetRefTick";
|
|
38942
38939
|
readonly inputs: readonly [{
|
|
@@ -39578,7 +39575,7 @@ declare const useLens: () => {
|
|
|
39578
39575
|
}];
|
|
39579
39576
|
readonly stateMutability: "view";
|
|
39580
39577
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
39581
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
39578
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
39582
39579
|
readonly type: "function";
|
|
39583
39580
|
readonly name: "batchGetRefTick";
|
|
39584
39581
|
readonly inputs: readonly [{
|
|
@@ -40233,7 +40230,7 @@ declare const useLens: () => {
|
|
|
40233
40230
|
payoutAssetName: string;
|
|
40234
40231
|
optionsCount: bigint;
|
|
40235
40232
|
}>;
|
|
40236
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
40233
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
40237
40234
|
readonly type: "function";
|
|
40238
40235
|
readonly name: "batchGetRefTick";
|
|
40239
40236
|
readonly inputs: readonly [{
|
|
@@ -40875,7 +40872,7 @@ declare const useLens: () => {
|
|
|
40875
40872
|
}];
|
|
40876
40873
|
readonly stateMutability: "view";
|
|
40877
40874
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
40878
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
40875
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
40879
40876
|
readonly type: "function";
|
|
40880
40877
|
readonly name: "batchGetRefTick";
|
|
40881
40878
|
readonly inputs: readonly [{
|
|
@@ -41517,7 +41514,7 @@ declare const useLens: () => {
|
|
|
41517
41514
|
}];
|
|
41518
41515
|
readonly stateMutability: "view";
|
|
41519
41516
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
41520
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
41517
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
41521
41518
|
readonly type: "function";
|
|
41522
41519
|
readonly name: "batchGetRefTick";
|
|
41523
41520
|
readonly inputs: readonly [{
|
|
@@ -42174,7 +42171,7 @@ declare const useLens: () => {
|
|
|
42174
42171
|
expiresAt: number;
|
|
42175
42172
|
liquidities: readonly bigint[];
|
|
42176
42173
|
}>;
|
|
42177
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
42174
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
42178
42175
|
readonly type: "function";
|
|
42179
42176
|
readonly name: "batchGetRefTick";
|
|
42180
42177
|
readonly inputs: readonly [{
|
|
@@ -42831,7 +42828,7 @@ declare const useLens: () => {
|
|
|
42831
42828
|
expiresAt: number;
|
|
42832
42829
|
liquidities: readonly bigint[];
|
|
42833
42830
|
}[]>;
|
|
42834
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
42831
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
42835
42832
|
readonly type: "function";
|
|
42836
42833
|
readonly name: "batchGetRefTick";
|
|
42837
42834
|
readonly inputs: readonly [{
|
|
@@ -43484,7 +43481,7 @@ declare const useLens: () => {
|
|
|
43484
43481
|
tickSpacing: number;
|
|
43485
43482
|
fee: number;
|
|
43486
43483
|
}>;
|
|
43487
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
43484
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
43488
43485
|
readonly type: "function";
|
|
43489
43486
|
readonly name: "batchGetRefTick";
|
|
43490
43487
|
readonly inputs: readonly [{
|
|
@@ -44126,7 +44123,7 @@ declare const useLens: () => {
|
|
|
44126
44123
|
}];
|
|
44127
44124
|
readonly stateMutability: "view";
|
|
44128
44125
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
44129
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
44126
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
44130
44127
|
readonly type: "function";
|
|
44131
44128
|
readonly name: "batchGetRefTick";
|
|
44132
44129
|
readonly inputs: readonly [{
|
|
@@ -44783,7 +44780,7 @@ declare const useLens: () => {
|
|
|
44783
44780
|
expiresAt: number;
|
|
44784
44781
|
liquidities: readonly bigint[];
|
|
44785
44782
|
}[], bigint, boolean]>;
|
|
44786
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
44783
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
44787
44784
|
readonly type: "function";
|
|
44788
44785
|
readonly name: "batchGetRefTick";
|
|
44789
44786
|
readonly inputs: readonly [{
|
|
@@ -46072,7 +46069,7 @@ declare const useLens: () => {
|
|
|
46072
46069
|
} | undefined;
|
|
46073
46070
|
uniswapLens: {
|
|
46074
46071
|
read: {
|
|
46075
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
46072
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
46076
46073
|
readonly type: "function";
|
|
46077
46074
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46078
46075
|
readonly inputs: readonly [{
|
|
@@ -46693,7 +46690,7 @@ declare const useLens: () => {
|
|
|
46693
46690
|
}];
|
|
46694
46691
|
readonly stateMutability: "pure";
|
|
46695
46692
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
46696
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
46693
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
46697
46694
|
readonly type: "function";
|
|
46698
46695
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
46699
46696
|
readonly inputs: readonly [{
|
|
@@ -47314,7 +47311,7 @@ declare const useLens: () => {
|
|
|
47314
47311
|
}];
|
|
47315
47312
|
readonly stateMutability: "pure";
|
|
47316
47313
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47317
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
47314
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
47318
47315
|
readonly type: "function";
|
|
47319
47316
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47320
47317
|
readonly inputs: readonly [{
|
|
@@ -47935,7 +47932,7 @@ declare const useLens: () => {
|
|
|
47935
47932
|
}];
|
|
47936
47933
|
readonly stateMutability: "pure";
|
|
47937
47934
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
47938
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
47935
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
47939
47936
|
readonly type: "function";
|
|
47940
47937
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47941
47938
|
readonly inputs: readonly [{
|
|
@@ -48556,7 +48553,7 @@ declare const useLens: () => {
|
|
|
48556
48553
|
}];
|
|
48557
48554
|
readonly stateMutability: "pure";
|
|
48558
48555
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
48559
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
48556
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
48560
48557
|
readonly type: "function";
|
|
48561
48558
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48562
48559
|
readonly inputs: readonly [{
|
|
@@ -49177,7 +49174,7 @@ declare const useLens: () => {
|
|
|
49177
49174
|
}];
|
|
49178
49175
|
readonly stateMutability: "pure";
|
|
49179
49176
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
49180
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
49177
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
49181
49178
|
readonly type: "function";
|
|
49182
49179
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49183
49180
|
readonly inputs: readonly [{
|
|
@@ -49798,7 +49795,7 @@ declare const useLens: () => {
|
|
|
49798
49795
|
}];
|
|
49799
49796
|
readonly stateMutability: "pure";
|
|
49800
49797
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
49801
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
49798
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
49802
49799
|
readonly type: "function";
|
|
49803
49800
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49804
49801
|
readonly inputs: readonly [{
|
|
@@ -50419,7 +50416,7 @@ declare const useLens: () => {
|
|
|
50419
50416
|
}];
|
|
50420
50417
|
readonly stateMutability: "pure";
|
|
50421
50418
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50422
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
50419
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
50423
50420
|
readonly type: "function";
|
|
50424
50421
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50425
50422
|
readonly inputs: readonly [{
|
|
@@ -51040,7 +51037,7 @@ declare const useLens: () => {
|
|
|
51040
51037
|
}];
|
|
51041
51038
|
readonly stateMutability: "pure";
|
|
51042
51039
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51043
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
51040
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
51044
51041
|
readonly type: "function";
|
|
51045
51042
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51046
51043
|
readonly inputs: readonly [{
|
|
@@ -51661,7 +51658,7 @@ declare const useLens: () => {
|
|
|
51661
51658
|
}];
|
|
51662
51659
|
readonly stateMutability: "pure";
|
|
51663
51660
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
51664
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
51661
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
51665
51662
|
readonly type: "function";
|
|
51666
51663
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51667
51664
|
readonly inputs: readonly [{
|
|
@@ -52282,7 +52279,7 @@ declare const useLens: () => {
|
|
|
52282
52279
|
}];
|
|
52283
52280
|
readonly stateMutability: "pure";
|
|
52284
52281
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52285
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
52282
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
52286
52283
|
readonly type: "function";
|
|
52287
52284
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52288
52285
|
readonly inputs: readonly [{
|
|
@@ -52903,7 +52900,7 @@ declare const useLens: () => {
|
|
|
52903
52900
|
}];
|
|
52904
52901
|
readonly stateMutability: "pure";
|
|
52905
52902
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52906
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
52903
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
52907
52904
|
readonly type: "function";
|
|
52908
52905
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52909
52906
|
readonly inputs: readonly [{
|
|
@@ -53524,7 +53521,7 @@ declare const useLens: () => {
|
|
|
53524
53521
|
}];
|
|
53525
53522
|
readonly stateMutability: "pure";
|
|
53526
53523
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53527
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
53524
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
53528
53525
|
readonly type: "function";
|
|
53529
53526
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53530
53527
|
readonly inputs: readonly [{
|
|
@@ -54145,7 +54142,7 @@ declare const useLens: () => {
|
|
|
54145
54142
|
}];
|
|
54146
54143
|
readonly stateMutability: "pure";
|
|
54147
54144
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
54148
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
54145
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
54149
54146
|
readonly type: "function";
|
|
54150
54147
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54151
54148
|
readonly inputs: readonly [{
|
|
@@ -54766,7 +54763,7 @@ declare const useLens: () => {
|
|
|
54766
54763
|
}];
|
|
54767
54764
|
readonly stateMutability: "pure";
|
|
54768
54765
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
54769
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
54766
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
54770
54767
|
readonly type: "function";
|
|
54771
54768
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54772
54769
|
readonly inputs: readonly [{
|
|
@@ -55387,7 +55384,7 @@ declare const useLens: () => {
|
|
|
55387
55384
|
}];
|
|
55388
55385
|
readonly stateMutability: "pure";
|
|
55389
55386
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
55390
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
55387
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
55391
55388
|
readonly type: "function";
|
|
55392
55389
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55393
55390
|
readonly inputs: readonly [{
|
|
@@ -56008,7 +56005,7 @@ declare const useLens: () => {
|
|
|
56008
56005
|
}];
|
|
56009
56006
|
readonly stateMutability: "pure";
|
|
56010
56007
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
56011
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
56008
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
56012
56009
|
readonly type: "function";
|
|
56013
56010
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56014
56011
|
readonly inputs: readonly [{
|
|
@@ -56629,7 +56626,7 @@ declare const useLens: () => {
|
|
|
56629
56626
|
}];
|
|
56630
56627
|
readonly stateMutability: "pure";
|
|
56631
56628
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
56632
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
56629
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
56633
56630
|
readonly type: "function";
|
|
56634
56631
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56635
56632
|
readonly inputs: readonly [{
|
|
@@ -57250,7 +57247,7 @@ declare const useLens: () => {
|
|
|
57250
57247
|
}];
|
|
57251
57248
|
readonly stateMutability: "pure";
|
|
57252
57249
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
57253
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
57250
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
57254
57251
|
readonly type: "function";
|
|
57255
57252
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57256
57253
|
readonly inputs: readonly [{
|
|
@@ -57871,7 +57868,7 @@ declare const useLens: () => {
|
|
|
57871
57868
|
}];
|
|
57872
57869
|
readonly stateMutability: "pure";
|
|
57873
57870
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
57874
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
57871
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
57875
57872
|
readonly type: "function";
|
|
57876
57873
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57877
57874
|
readonly inputs: readonly [{
|
|
@@ -58492,7 +58489,7 @@ declare const useLens: () => {
|
|
|
58492
58489
|
}];
|
|
58493
58490
|
readonly stateMutability: "pure";
|
|
58494
58491
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58495
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
58492
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
58496
58493
|
readonly type: "function";
|
|
58497
58494
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58498
58495
|
readonly inputs: readonly [{
|
|
@@ -59113,7 +59110,7 @@ declare const useLens: () => {
|
|
|
59113
59110
|
}];
|
|
59114
59111
|
readonly stateMutability: "pure";
|
|
59115
59112
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59116
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
59113
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
59117
59114
|
readonly type: "function";
|
|
59118
59115
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59119
59116
|
readonly inputs: readonly [{
|
|
@@ -59734,7 +59731,7 @@ declare const useLens: () => {
|
|
|
59734
59731
|
}];
|
|
59735
59732
|
readonly stateMutability: "pure";
|
|
59736
59733
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
59737
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
59734
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
59738
59735
|
readonly type: "function";
|
|
59739
59736
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59740
59737
|
readonly inputs: readonly [{
|
|
@@ -60355,7 +60352,7 @@ declare const useLens: () => {
|
|
|
60355
60352
|
}];
|
|
60356
60353
|
readonly stateMutability: "pure";
|
|
60357
60354
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60358
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
60355
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
60359
60356
|
readonly type: "function";
|
|
60360
60357
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60361
60358
|
readonly inputs: readonly [{
|
|
@@ -60976,7 +60973,7 @@ declare const useLens: () => {
|
|
|
60976
60973
|
}];
|
|
60977
60974
|
readonly stateMutability: "pure";
|
|
60978
60975
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60979
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
60976
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
60980
60977
|
readonly type: "function";
|
|
60981
60978
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60982
60979
|
readonly inputs: readonly [{
|
|
@@ -61597,7 +61594,7 @@ declare const useLens: () => {
|
|
|
61597
61594
|
}];
|
|
61598
61595
|
readonly stateMutability: "pure";
|
|
61599
61596
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
61600
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
61597
|
+
getPriceAtTick: (args: readonly [number], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
61601
61598
|
readonly type: "function";
|
|
61602
61599
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
61603
61600
|
readonly inputs: readonly [{
|
|
@@ -62854,4 +62851,4 @@ declare const useApproval: () => {
|
|
|
62854
62851
|
};
|
|
62855
62852
|
//#endregion
|
|
62856
62853
|
export { formatCondensed as $, PriceDataPoint as A, usePerpsOperator as B, liquiditiesToAmount1 as C, getErc20 as Ct, token0ToToken1 as D, timelockLenses as Dt, roundTickUp as E, getUniswapMathLens as Et, useUserOperators as F, useExtendOption as G, useMintPerp as H, useOperatorPerms as I, useMintOption as J, useOptionPremium as K, useActiveUserPerps as L, getCurrentPrice as M, getPriceHistory as N, token1ToToken0 as O, uniswapMathLenses as Ot, useSetOperatorPerms as P, formatAmount as Q, useClosedUserPerps as R, liquiditiesToAmount0 as S, UniswapMathLens as St, roundTickDown as T, getTimelockMarket as Tt, OptionTimelineData as U, useClosePerp as V, useOptionTimeline as W, Amount as X, useMaxPositionSize as Y, EMPTY_ARRAY as Z, PRICE_PRECISION as _, useCurrentMarket as _t, batchGetAmountsFromLiquidity as a, unscalePrice as at, getPriceAtTick as b, TimelockMarket as bt, useLiquidityBlocks as c, wrapPrice as ct, usePriceAtTick as d, useMarketData as dt, formatUSD as et, UniswapPoolData as f, useExerciseOption as ft, getPayoutAtTick as g, TimelockProvider as gt, useCurrentPrice as h, useClosedUserOptions as ht, useVaultData as i, unscaleAmount as it, PriceResolution as j, PriceData as k, useBurnLiquidity as l, wrapPriceUnscaled as lt, useCurrentTick as m, useActiveUserOptions as mt, useLens as n, scaleAmount as nt, useMintLiquidity as o, wrapAmount as ot, usePoolData as p, OptionData as pt, useOptionPnl as q, useVaultTVL as r, scalePrice as rt, LiquidityBlockData as s, wrapAmountUnscaled as st, useApproval as t, formatVagueAmount as tt, usePriceHistory as u, zero as ut, getAmountsFromLiquidity as v, useTimelockConfig as vt, liquiditiesToAmounts as w, getTimelockLens as wt, getTickAtPrice as x, TimelockMarketData as xt, getNearestValidStrikeTick as y, TimelockLens as yt, useUserPerps as z };
|
|
62857
|
-
//# sourceMappingURL=client-
|
|
62854
|
+
//# sourceMappingURL=client-BcsbWPvK.d.ts.map
|