timelock-sdk 0.0.134 → 0.0.135
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-CZdmjIOb.d.ts → client-BQGLnbLD.d.ts} +196 -196
- package/dist/{client-CJcTIGGv.d.cts → client-DXq_0YH-.d.cts} +353 -353
- package/dist/client.cjs +2 -14
- 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 +2 -14
- 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,12 +1,12 @@
|
|
|
1
1
|
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-Be6lFJcD.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as viem179 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
4
|
import React, { ReactNode } from "react";
|
|
5
5
|
import "graphql";
|
|
6
6
|
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
|
-
import * as
|
|
9
|
+
import * as _tanstack_query_core41 from "@tanstack/query-core";
|
|
10
10
|
import Big from "big.js";
|
|
11
11
|
import JSBI from "jsbi";
|
|
12
12
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
@@ -241,7 +241,7 @@ type TimelockMarketData = Awaited<ReturnType<TimelockLens['read']['getMarketData
|
|
|
241
241
|
};
|
|
242
242
|
declare const getErc20: (address: Address, client: Client) => {
|
|
243
243
|
read: {
|
|
244
|
-
symbol: (options?:
|
|
244
|
+
symbol: (options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
245
245
|
readonly type: "constructor";
|
|
246
246
|
readonly inputs: readonly [{
|
|
247
247
|
readonly name: "name_";
|
|
@@ -420,7 +420,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
420
420
|
}];
|
|
421
421
|
readonly stateMutability: "nonpayable";
|
|
422
422
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
423
|
-
|
|
423
|
+
decimals: (options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
424
424
|
readonly type: "constructor";
|
|
425
425
|
readonly inputs: readonly [{
|
|
426
426
|
readonly name: "name_";
|
|
@@ -598,8 +598,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
598
598
|
readonly internalType: "bool";
|
|
599
599
|
}];
|
|
600
600
|
readonly stateMutability: "nonpayable";
|
|
601
|
-
}], "
|
|
602
|
-
|
|
601
|
+
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
602
|
+
name: (options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
603
603
|
readonly type: "constructor";
|
|
604
604
|
readonly inputs: readonly [{
|
|
605
605
|
readonly name: "name_";
|
|
@@ -777,8 +777,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
777
777
|
readonly internalType: "bool";
|
|
778
778
|
}];
|
|
779
779
|
readonly stateMutability: "nonpayable";
|
|
780
|
-
}], "
|
|
781
|
-
|
|
780
|
+
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
781
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
782
782
|
readonly type: "constructor";
|
|
783
783
|
readonly inputs: readonly [{
|
|
784
784
|
readonly name: "name_";
|
|
@@ -956,8 +956,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
956
956
|
readonly internalType: "bool";
|
|
957
957
|
}];
|
|
958
958
|
readonly stateMutability: "nonpayable";
|
|
959
|
-
}], "
|
|
960
|
-
|
|
959
|
+
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
960
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
961
961
|
readonly type: "constructor";
|
|
962
962
|
readonly inputs: readonly [{
|
|
963
963
|
readonly name: "name_";
|
|
@@ -1135,8 +1135,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1135
1135
|
readonly internalType: "bool";
|
|
1136
1136
|
}];
|
|
1137
1137
|
readonly stateMutability: "nonpayable";
|
|
1138
|
-
}], "
|
|
1139
|
-
totalSupply: (options?:
|
|
1138
|
+
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1139
|
+
totalSupply: (options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
1140
1140
|
readonly type: "constructor";
|
|
1141
1141
|
readonly inputs: readonly [{
|
|
1142
1142
|
readonly name: "name_";
|
|
@@ -1317,7 +1317,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1317
1317
|
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1318
1318
|
};
|
|
1319
1319
|
estimateGas: {
|
|
1320
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
1320
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem179.Prettify<viem179.UnionOmit<viem179.EstimateContractGasParameters<readonly [{
|
|
1321
1321
|
readonly type: "constructor";
|
|
1322
1322
|
readonly inputs: readonly [{
|
|
1323
1323
|
readonly name: "name_";
|
|
@@ -1495,8 +1495,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1495
1495
|
readonly internalType: "bool";
|
|
1496
1496
|
}];
|
|
1497
1497
|
readonly stateMutability: "nonpayable";
|
|
1498
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
1499
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1498
|
+
}], "approve", readonly [`0x${string}`, bigint], viem179.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem179.EstimateContractGasReturnType>;
|
|
1499
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem179.Prettify<viem179.UnionOmit<viem179.EstimateContractGasParameters<readonly [{
|
|
1500
1500
|
readonly type: "constructor";
|
|
1501
1501
|
readonly inputs: readonly [{
|
|
1502
1502
|
readonly name: "name_";
|
|
@@ -1674,8 +1674,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1674
1674
|
readonly internalType: "bool";
|
|
1675
1675
|
}];
|
|
1676
1676
|
readonly stateMutability: "nonpayable";
|
|
1677
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
1678
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1677
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem179.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem179.EstimateContractGasReturnType>;
|
|
1678
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem179.Prettify<viem179.UnionOmit<viem179.EstimateContractGasParameters<readonly [{
|
|
1679
1679
|
readonly type: "constructor";
|
|
1680
1680
|
readonly inputs: readonly [{
|
|
1681
1681
|
readonly name: "name_";
|
|
@@ -1853,8 +1853,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1853
1853
|
readonly internalType: "bool";
|
|
1854
1854
|
}];
|
|
1855
1855
|
readonly stateMutability: "nonpayable";
|
|
1856
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
1857
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
1856
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem179.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem179.EstimateContractGasReturnType>;
|
|
1857
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem179.Prettify<viem179.UnionOmit<viem179.EstimateContractGasParameters<readonly [{
|
|
1858
1858
|
readonly type: "constructor";
|
|
1859
1859
|
readonly inputs: readonly [{
|
|
1860
1860
|
readonly name: "name_";
|
|
@@ -2032,8 +2032,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2032
2032
|
readonly internalType: "bool";
|
|
2033
2033
|
}];
|
|
2034
2034
|
readonly stateMutability: "nonpayable";
|
|
2035
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2036
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2035
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem179.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem179.EstimateContractGasReturnType>;
|
|
2036
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem179.Prettify<viem179.UnionOmit<viem179.EstimateContractGasParameters<readonly [{
|
|
2037
2037
|
readonly type: "constructor";
|
|
2038
2038
|
readonly inputs: readonly [{
|
|
2039
2039
|
readonly name: "name_";
|
|
@@ -2211,9 +2211,9 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2211
2211
|
readonly internalType: "bool";
|
|
2212
2212
|
}];
|
|
2213
2213
|
readonly stateMutability: "nonpayable";
|
|
2214
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
2214
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem179.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem179.EstimateContractGasReturnType>;
|
|
2215
2215
|
} & {
|
|
2216
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
2216
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem179.Prettify<viem179.UnionOmit<viem179.EstimateContractGasParameters<readonly [{
|
|
2217
2217
|
readonly type: "constructor";
|
|
2218
2218
|
readonly inputs: readonly [{
|
|
2219
2219
|
readonly name: "name_";
|
|
@@ -2391,8 +2391,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2391
2391
|
readonly internalType: "bool";
|
|
2392
2392
|
}];
|
|
2393
2393
|
readonly stateMutability: "nonpayable";
|
|
2394
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
2395
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2394
|
+
}], "approve", readonly [`0x${string}`, bigint], viem179.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem179.EstimateContractGasReturnType>;
|
|
2395
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem179.Prettify<viem179.UnionOmit<viem179.EstimateContractGasParameters<readonly [{
|
|
2396
2396
|
readonly type: "constructor";
|
|
2397
2397
|
readonly inputs: readonly [{
|
|
2398
2398
|
readonly name: "name_";
|
|
@@ -2570,8 +2570,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2570
2570
|
readonly internalType: "bool";
|
|
2571
2571
|
}];
|
|
2572
2572
|
readonly stateMutability: "nonpayable";
|
|
2573
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
2574
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2573
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem179.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem179.EstimateContractGasReturnType>;
|
|
2574
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem179.Prettify<viem179.UnionOmit<viem179.EstimateContractGasParameters<readonly [{
|
|
2575
2575
|
readonly type: "constructor";
|
|
2576
2576
|
readonly inputs: readonly [{
|
|
2577
2577
|
readonly name: "name_";
|
|
@@ -2749,8 +2749,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2749
2749
|
readonly internalType: "bool";
|
|
2750
2750
|
}];
|
|
2751
2751
|
readonly stateMutability: "nonpayable";
|
|
2752
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
2753
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
2752
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem179.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem179.EstimateContractGasReturnType>;
|
|
2753
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem179.Prettify<viem179.UnionOmit<viem179.EstimateContractGasParameters<readonly [{
|
|
2754
2754
|
readonly type: "constructor";
|
|
2755
2755
|
readonly inputs: readonly [{
|
|
2756
2756
|
readonly name: "name_";
|
|
@@ -2928,8 +2928,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2928
2928
|
readonly internalType: "bool";
|
|
2929
2929
|
}];
|
|
2930
2930
|
readonly stateMutability: "nonpayable";
|
|
2931
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2932
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2931
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem179.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem179.EstimateContractGasReturnType>;
|
|
2932
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem179.Prettify<viem179.UnionOmit<viem179.EstimateContractGasParameters<readonly [{
|
|
2933
2933
|
readonly type: "constructor";
|
|
2934
2934
|
readonly inputs: readonly [{
|
|
2935
2935
|
readonly name: "name_";
|
|
@@ -3107,10 +3107,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3107
3107
|
readonly internalType: "bool";
|
|
3108
3108
|
}];
|
|
3109
3109
|
readonly stateMutability: "nonpayable";
|
|
3110
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
3110
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem179.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem179.EstimateContractGasReturnType>;
|
|
3111
3111
|
};
|
|
3112
3112
|
simulate: {
|
|
3113
|
-
approve: <chainOverride extends
|
|
3113
|
+
approve: <chainOverride extends viem179.Chain | undefined = undefined, accountOverride extends viem179.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem179.SimulateContractParameters<readonly [{
|
|
3114
3114
|
readonly type: "constructor";
|
|
3115
3115
|
readonly inputs: readonly [{
|
|
3116
3116
|
readonly name: "name_";
|
|
@@ -3288,7 +3288,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3288
3288
|
readonly internalType: "bool";
|
|
3289
3289
|
}];
|
|
3290
3290
|
readonly stateMutability: "nonpayable";
|
|
3291
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3291
|
+
}], "approve", readonly [`0x${string}`, bigint], viem179.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem179.SimulateContractReturnType<readonly [{
|
|
3292
3292
|
readonly type: "constructor";
|
|
3293
3293
|
readonly inputs: readonly [{
|
|
3294
3294
|
readonly name: "name_";
|
|
@@ -3466,8 +3466,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3466
3466
|
readonly internalType: "bool";
|
|
3467
3467
|
}];
|
|
3468
3468
|
readonly stateMutability: "nonpayable";
|
|
3469
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3470
|
-
decreaseAllowance: <chainOverride extends
|
|
3469
|
+
}], "approve", readonly [`0x${string}`, bigint], viem179.Chain | undefined, viem179.Account | undefined, chainOverride, accountOverride>>;
|
|
3470
|
+
decreaseAllowance: <chainOverride extends viem179.Chain | undefined = undefined, accountOverride extends viem179.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem179.SimulateContractParameters<readonly [{
|
|
3471
3471
|
readonly type: "constructor";
|
|
3472
3472
|
readonly inputs: readonly [{
|
|
3473
3473
|
readonly name: "name_";
|
|
@@ -3645,7 +3645,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3645
3645
|
readonly internalType: "bool";
|
|
3646
3646
|
}];
|
|
3647
3647
|
readonly stateMutability: "nonpayable";
|
|
3648
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3648
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem179.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem179.SimulateContractReturnType<readonly [{
|
|
3649
3649
|
readonly type: "constructor";
|
|
3650
3650
|
readonly inputs: readonly [{
|
|
3651
3651
|
readonly name: "name_";
|
|
@@ -3823,8 +3823,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3823
3823
|
readonly internalType: "bool";
|
|
3824
3824
|
}];
|
|
3825
3825
|
readonly stateMutability: "nonpayable";
|
|
3826
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3827
|
-
increaseAllowance: <chainOverride extends
|
|
3826
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem179.Chain | undefined, viem179.Account | undefined, chainOverride, accountOverride>>;
|
|
3827
|
+
increaseAllowance: <chainOverride extends viem179.Chain | undefined = undefined, accountOverride extends viem179.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem179.SimulateContractParameters<readonly [{
|
|
3828
3828
|
readonly type: "constructor";
|
|
3829
3829
|
readonly inputs: readonly [{
|
|
3830
3830
|
readonly name: "name_";
|
|
@@ -4002,7 +4002,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4002
4002
|
readonly internalType: "bool";
|
|
4003
4003
|
}];
|
|
4004
4004
|
readonly stateMutability: "nonpayable";
|
|
4005
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
4005
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem179.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem179.SimulateContractReturnType<readonly [{
|
|
4006
4006
|
readonly type: "constructor";
|
|
4007
4007
|
readonly inputs: readonly [{
|
|
4008
4008
|
readonly name: "name_";
|
|
@@ -4180,8 +4180,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4180
4180
|
readonly internalType: "bool";
|
|
4181
4181
|
}];
|
|
4182
4182
|
readonly stateMutability: "nonpayable";
|
|
4183
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
4184
|
-
transfer: <chainOverride extends
|
|
4183
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem179.Chain | undefined, viem179.Account | undefined, chainOverride, accountOverride>>;
|
|
4184
|
+
transfer: <chainOverride extends viem179.Chain | undefined = undefined, accountOverride extends viem179.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem179.SimulateContractParameters<readonly [{
|
|
4185
4185
|
readonly type: "constructor";
|
|
4186
4186
|
readonly inputs: readonly [{
|
|
4187
4187
|
readonly name: "name_";
|
|
@@ -4359,7 +4359,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4359
4359
|
readonly internalType: "bool";
|
|
4360
4360
|
}];
|
|
4361
4361
|
readonly stateMutability: "nonpayable";
|
|
4362
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4362
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem179.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem179.SimulateContractReturnType<readonly [{
|
|
4363
4363
|
readonly type: "constructor";
|
|
4364
4364
|
readonly inputs: readonly [{
|
|
4365
4365
|
readonly name: "name_";
|
|
@@ -4537,8 +4537,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4537
4537
|
readonly internalType: "bool";
|
|
4538
4538
|
}];
|
|
4539
4539
|
readonly stateMutability: "nonpayable";
|
|
4540
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4541
|
-
transferFrom: <chainOverride extends
|
|
4540
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem179.Chain | undefined, viem179.Account | undefined, chainOverride, accountOverride>>;
|
|
4541
|
+
transferFrom: <chainOverride extends viem179.Chain | undefined = undefined, accountOverride extends viem179.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem179.SimulateContractParameters<readonly [{
|
|
4542
4542
|
readonly type: "constructor";
|
|
4543
4543
|
readonly inputs: readonly [{
|
|
4544
4544
|
readonly name: "name_";
|
|
@@ -4716,7 +4716,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4716
4716
|
readonly internalType: "bool";
|
|
4717
4717
|
}];
|
|
4718
4718
|
readonly stateMutability: "nonpayable";
|
|
4719
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4719
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem179.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem179.SimulateContractReturnType<readonly [{
|
|
4720
4720
|
readonly type: "constructor";
|
|
4721
4721
|
readonly inputs: readonly [{
|
|
4722
4722
|
readonly name: "name_";
|
|
@@ -4894,10 +4894,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4894
4894
|
readonly internalType: "bool";
|
|
4895
4895
|
}];
|
|
4896
4896
|
readonly stateMutability: "nonpayable";
|
|
4897
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4897
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem179.Chain | undefined, viem179.Account | undefined, chainOverride, accountOverride>>;
|
|
4898
4898
|
};
|
|
4899
4899
|
write: {
|
|
4900
|
-
approve: <chainOverride extends
|
|
4900
|
+
approve: <chainOverride extends viem179.Chain | undefined, options extends (viem179.UnionOmit<viem179.WriteContractParameters<readonly [{
|
|
4901
4901
|
readonly type: "constructor";
|
|
4902
4902
|
readonly inputs: readonly [{
|
|
4903
4903
|
readonly name: "name_";
|
|
@@ -5075,8 +5075,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5075
5075
|
readonly internalType: "bool";
|
|
5076
5076
|
}];
|
|
5077
5077
|
readonly stateMutability: "nonpayable";
|
|
5078
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
5079
|
-
decreaseAllowance: <chainOverride extends
|
|
5078
|
+
}], "approve", readonly [`0x${string}`, bigint], viem179.Chain | undefined, viem179.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<viem179.WriteContractReturnType>;
|
|
5079
|
+
decreaseAllowance: <chainOverride extends viem179.Chain | undefined, options extends (viem179.UnionOmit<viem179.WriteContractParameters<readonly [{
|
|
5080
5080
|
readonly type: "constructor";
|
|
5081
5081
|
readonly inputs: readonly [{
|
|
5082
5082
|
readonly name: "name_";
|
|
@@ -5254,8 +5254,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5254
5254
|
readonly internalType: "bool";
|
|
5255
5255
|
}];
|
|
5256
5256
|
readonly stateMutability: "nonpayable";
|
|
5257
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
5258
|
-
increaseAllowance: <chainOverride extends
|
|
5257
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem179.Chain | undefined, viem179.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<viem179.WriteContractReturnType>;
|
|
5258
|
+
increaseAllowance: <chainOverride extends viem179.Chain | undefined, options extends (viem179.UnionOmit<viem179.WriteContractParameters<readonly [{
|
|
5259
5259
|
readonly type: "constructor";
|
|
5260
5260
|
readonly inputs: readonly [{
|
|
5261
5261
|
readonly name: "name_";
|
|
@@ -5433,8 +5433,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5433
5433
|
readonly internalType: "bool";
|
|
5434
5434
|
}];
|
|
5435
5435
|
readonly stateMutability: "nonpayable";
|
|
5436
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
5437
|
-
transfer: <chainOverride extends
|
|
5436
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem179.Chain | undefined, viem179.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<viem179.WriteContractReturnType>;
|
|
5437
|
+
transfer: <chainOverride extends viem179.Chain | undefined, options extends (viem179.UnionOmit<viem179.WriteContractParameters<readonly [{
|
|
5438
5438
|
readonly type: "constructor";
|
|
5439
5439
|
readonly inputs: readonly [{
|
|
5440
5440
|
readonly name: "name_";
|
|
@@ -5612,8 +5612,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5612
5612
|
readonly internalType: "bool";
|
|
5613
5613
|
}];
|
|
5614
5614
|
readonly stateMutability: "nonpayable";
|
|
5615
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
5616
|
-
transferFrom: <chainOverride extends
|
|
5615
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem179.Chain | undefined, viem179.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<viem179.WriteContractReturnType>;
|
|
5616
|
+
transferFrom: <chainOverride extends viem179.Chain | undefined, options extends (viem179.UnionOmit<viem179.WriteContractParameters<readonly [{
|
|
5617
5617
|
readonly type: "constructor";
|
|
5618
5618
|
readonly inputs: readonly [{
|
|
5619
5619
|
readonly name: "name_";
|
|
@@ -5791,7 +5791,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5791
5791
|
readonly internalType: "bool";
|
|
5792
5792
|
}];
|
|
5793
5793
|
readonly stateMutability: "nonpayable";
|
|
5794
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
5794
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem179.Chain | undefined, viem179.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<viem179.WriteContractReturnType>;
|
|
5795
5795
|
};
|
|
5796
5796
|
address: `0x${string}`;
|
|
5797
5797
|
abi: readonly [{
|
|
@@ -5977,7 +5977,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5977
5977
|
declare const getTimelockMarket: (address: Address, client: Client) => TimelockMarket;
|
|
5978
5978
|
declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
5979
5979
|
read: {
|
|
5980
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
5980
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
5981
5981
|
readonly type: "function";
|
|
5982
5982
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
5983
5983
|
readonly inputs: readonly [{
|
|
@@ -6598,7 +6598,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
6598
6598
|
}];
|
|
6599
6599
|
readonly stateMutability: "pure";
|
|
6600
6600
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
6601
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
6601
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
6602
6602
|
readonly type: "function";
|
|
6603
6603
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6604
6604
|
readonly inputs: readonly [{
|
|
@@ -7219,7 +7219,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
7219
7219
|
}];
|
|
7220
7220
|
readonly stateMutability: "pure";
|
|
7221
7221
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7222
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
7222
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
7223
7223
|
readonly type: "function";
|
|
7224
7224
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7225
7225
|
readonly inputs: readonly [{
|
|
@@ -7840,7 +7840,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
7840
7840
|
}];
|
|
7841
7841
|
readonly stateMutability: "pure";
|
|
7842
7842
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7843
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
7843
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
7844
7844
|
readonly type: "function";
|
|
7845
7845
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7846
7846
|
readonly inputs: readonly [{
|
|
@@ -8461,7 +8461,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
8461
8461
|
}];
|
|
8462
8462
|
readonly stateMutability: "pure";
|
|
8463
8463
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
8464
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
8464
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
8465
8465
|
readonly type: "function";
|
|
8466
8466
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8467
8467
|
readonly inputs: readonly [{
|
|
@@ -9082,7 +9082,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
9082
9082
|
}];
|
|
9083
9083
|
readonly stateMutability: "pure";
|
|
9084
9084
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
9085
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
9085
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
9086
9086
|
readonly type: "function";
|
|
9087
9087
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9088
9088
|
readonly inputs: readonly [{
|
|
@@ -9703,7 +9703,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
9703
9703
|
}];
|
|
9704
9704
|
readonly stateMutability: "pure";
|
|
9705
9705
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
9706
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
9706
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
9707
9707
|
readonly type: "function";
|
|
9708
9708
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9709
9709
|
readonly inputs: readonly [{
|
|
@@ -10324,7 +10324,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10324
10324
|
}];
|
|
10325
10325
|
readonly stateMutability: "pure";
|
|
10326
10326
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10327
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
10327
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
10328
10328
|
readonly type: "function";
|
|
10329
10329
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10330
10330
|
readonly inputs: readonly [{
|
|
@@ -10945,7 +10945,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10945
10945
|
}];
|
|
10946
10946
|
readonly stateMutability: "pure";
|
|
10947
10947
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10948
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
10948
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
10949
10949
|
readonly type: "function";
|
|
10950
10950
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10951
10951
|
readonly inputs: readonly [{
|
|
@@ -11566,7 +11566,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
11566
11566
|
}];
|
|
11567
11567
|
readonly stateMutability: "pure";
|
|
11568
11568
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
11569
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
11569
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
11570
11570
|
readonly type: "function";
|
|
11571
11571
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11572
11572
|
readonly inputs: readonly [{
|
|
@@ -12187,7 +12187,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12187
12187
|
}];
|
|
12188
12188
|
readonly stateMutability: "pure";
|
|
12189
12189
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12190
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
12190
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
12191
12191
|
readonly type: "function";
|
|
12192
12192
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12193
12193
|
readonly inputs: readonly [{
|
|
@@ -12808,7 +12808,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12808
12808
|
}];
|
|
12809
12809
|
readonly stateMutability: "pure";
|
|
12810
12810
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12811
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
12811
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
12812
12812
|
readonly type: "function";
|
|
12813
12813
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12814
12814
|
readonly inputs: readonly [{
|
|
@@ -13429,7 +13429,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
13429
13429
|
}];
|
|
13430
13430
|
readonly stateMutability: "pure";
|
|
13431
13431
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13432
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
13432
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
13433
13433
|
readonly type: "function";
|
|
13434
13434
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13435
13435
|
readonly inputs: readonly [{
|
|
@@ -14050,7 +14050,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14050
14050
|
}];
|
|
14051
14051
|
readonly stateMutability: "pure";
|
|
14052
14052
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14053
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
14053
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
14054
14054
|
readonly type: "function";
|
|
14055
14055
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14056
14056
|
readonly inputs: readonly [{
|
|
@@ -14671,7 +14671,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14671
14671
|
}];
|
|
14672
14672
|
readonly stateMutability: "pure";
|
|
14673
14673
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
14674
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
14674
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
14675
14675
|
readonly type: "function";
|
|
14676
14676
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14677
14677
|
readonly inputs: readonly [{
|
|
@@ -15292,7 +15292,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15292
15292
|
}];
|
|
15293
15293
|
readonly stateMutability: "pure";
|
|
15294
15294
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15295
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
15295
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
15296
15296
|
readonly type: "function";
|
|
15297
15297
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15298
15298
|
readonly inputs: readonly [{
|
|
@@ -15913,7 +15913,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15913
15913
|
}];
|
|
15914
15914
|
readonly stateMutability: "pure";
|
|
15915
15915
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15916
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
15916
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
15917
15917
|
readonly type: "function";
|
|
15918
15918
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15919
15919
|
readonly inputs: readonly [{
|
|
@@ -16534,7 +16534,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
16534
16534
|
}];
|
|
16535
16535
|
readonly stateMutability: "pure";
|
|
16536
16536
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
16537
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
16537
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
16538
16538
|
readonly type: "function";
|
|
16539
16539
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16540
16540
|
readonly inputs: readonly [{
|
|
@@ -17155,7 +17155,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17155
17155
|
}];
|
|
17156
17156
|
readonly stateMutability: "pure";
|
|
17157
17157
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
17158
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
17158
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
17159
17159
|
readonly type: "function";
|
|
17160
17160
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17161
17161
|
readonly inputs: readonly [{
|
|
@@ -17776,7 +17776,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17776
17776
|
}];
|
|
17777
17777
|
readonly stateMutability: "pure";
|
|
17778
17778
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
17779
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
17779
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
17780
17780
|
readonly type: "function";
|
|
17781
17781
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17782
17782
|
readonly inputs: readonly [{
|
|
@@ -18397,7 +18397,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
18397
18397
|
}];
|
|
18398
18398
|
readonly stateMutability: "pure";
|
|
18399
18399
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
18400
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
18400
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
18401
18401
|
readonly type: "function";
|
|
18402
18402
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18403
18403
|
readonly inputs: readonly [{
|
|
@@ -19018,7 +19018,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19018
19018
|
}];
|
|
19019
19019
|
readonly stateMutability: "pure";
|
|
19020
19020
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
19021
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
19021
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
19022
19022
|
readonly type: "function";
|
|
19023
19023
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19024
19024
|
readonly inputs: readonly [{
|
|
@@ -19639,7 +19639,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19639
19639
|
}];
|
|
19640
19640
|
readonly stateMutability: "pure";
|
|
19641
19641
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
19642
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
19642
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
19643
19643
|
readonly type: "function";
|
|
19644
19644
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19645
19645
|
readonly inputs: readonly [{
|
|
@@ -20260,7 +20260,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20260
20260
|
}];
|
|
20261
20261
|
readonly stateMutability: "pure";
|
|
20262
20262
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20263
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
20263
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
20264
20264
|
readonly type: "function";
|
|
20265
20265
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20266
20266
|
readonly inputs: readonly [{
|
|
@@ -20881,7 +20881,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20881
20881
|
}];
|
|
20882
20882
|
readonly stateMutability: "pure";
|
|
20883
20883
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20884
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
20884
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
20885
20885
|
readonly type: "function";
|
|
20886
20886
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20887
20887
|
readonly inputs: readonly [{
|
|
@@ -21502,7 +21502,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
21502
21502
|
}];
|
|
21503
21503
|
readonly stateMutability: "pure";
|
|
21504
21504
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21505
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
21505
|
+
getPriceAtTick: (args: readonly [number], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
21506
21506
|
readonly type: "function";
|
|
21507
21507
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21508
21508
|
readonly inputs: readonly [{
|
|
@@ -22749,7 +22749,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
22749
22749
|
};
|
|
22750
22750
|
declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
22751
22751
|
read: {
|
|
22752
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
22752
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
22753
22753
|
readonly type: "function";
|
|
22754
22754
|
readonly name: "batchGetRefTick";
|
|
22755
22755
|
readonly inputs: readonly [{
|
|
@@ -23356,7 +23356,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23356
23356
|
}];
|
|
23357
23357
|
readonly stateMutability: "view";
|
|
23358
23358
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
23359
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
23359
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
23360
23360
|
readonly type: "function";
|
|
23361
23361
|
readonly name: "batchGetRefTick";
|
|
23362
23362
|
readonly inputs: readonly [{
|
|
@@ -23973,7 +23973,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23973
23973
|
borrowedAmount0: bigint;
|
|
23974
23974
|
borrowedAmount1: bigint;
|
|
23975
23975
|
}[]>;
|
|
23976
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
23976
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
23977
23977
|
readonly type: "function";
|
|
23978
23978
|
readonly name: "batchGetRefTick";
|
|
23979
23979
|
readonly inputs: readonly [{
|
|
@@ -24590,7 +24590,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24590
24590
|
expiresAt: number;
|
|
24591
24591
|
liquidities: readonly bigint[];
|
|
24592
24592
|
}[], bigint, boolean]>;
|
|
24593
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
24593
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
24594
24594
|
readonly type: "function";
|
|
24595
24595
|
readonly name: "batchGetRefTick";
|
|
24596
24596
|
readonly inputs: readonly [{
|
|
@@ -25197,7 +25197,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25197
25197
|
}];
|
|
25198
25198
|
readonly stateMutability: "view";
|
|
25199
25199
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25200
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
25200
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
25201
25201
|
readonly type: "function";
|
|
25202
25202
|
readonly name: "batchGetRefTick";
|
|
25203
25203
|
readonly inputs: readonly [{
|
|
@@ -25817,7 +25817,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25817
25817
|
payoutAssetName: string;
|
|
25818
25818
|
optionsCount: bigint;
|
|
25819
25819
|
}>;
|
|
25820
|
-
getMaxATMSizes: (args: readonly [`0x${string}`, number], options?:
|
|
25820
|
+
getMaxATMSizes: (args: readonly [`0x${string}`, number], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
25821
25821
|
readonly type: "function";
|
|
25822
25822
|
readonly name: "batchGetRefTick";
|
|
25823
25823
|
readonly inputs: readonly [{
|
|
@@ -26424,7 +26424,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26424
26424
|
}];
|
|
26425
26425
|
readonly stateMutability: "view";
|
|
26426
26426
|
}], "getMaxATMSizes", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
26427
|
-
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?:
|
|
26427
|
+
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
26428
26428
|
readonly type: "function";
|
|
26429
26429
|
readonly name: "batchGetRefTick";
|
|
26430
26430
|
readonly inputs: readonly [{
|
|
@@ -27031,7 +27031,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27031
27031
|
}];
|
|
27032
27032
|
readonly stateMutability: "view";
|
|
27033
27033
|
}], "getMaxBorrowable0", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27034
|
-
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?:
|
|
27034
|
+
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
27035
27035
|
readonly type: "function";
|
|
27036
27036
|
readonly name: "batchGetRefTick";
|
|
27037
27037
|
readonly inputs: readonly [{
|
|
@@ -27638,7 +27638,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27638
27638
|
}];
|
|
27639
27639
|
readonly stateMutability: "view";
|
|
27640
27640
|
}], "getMaxBorrowable1", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27641
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
27641
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
27642
27642
|
readonly type: "function";
|
|
27643
27643
|
readonly name: "batchGetRefTick";
|
|
27644
27644
|
readonly inputs: readonly [{
|
|
@@ -28255,7 +28255,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28255
28255
|
expiresAt: number;
|
|
28256
28256
|
liquidities: readonly bigint[];
|
|
28257
28257
|
}>;
|
|
28258
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
28258
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
28259
28259
|
readonly type: "function";
|
|
28260
28260
|
readonly name: "batchGetRefTick";
|
|
28261
28261
|
readonly inputs: readonly [{
|
|
@@ -28872,7 +28872,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28872
28872
|
expiresAt: number;
|
|
28873
28873
|
liquidities: readonly bigint[];
|
|
28874
28874
|
}[]>;
|
|
28875
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
28875
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
28876
28876
|
readonly type: "function";
|
|
28877
28877
|
readonly name: "batchGetRefTick";
|
|
28878
28878
|
readonly inputs: readonly [{
|
|
@@ -29490,7 +29490,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29490
29490
|
tickSpacing: number;
|
|
29491
29491
|
fee: number;
|
|
29492
29492
|
}>;
|
|
29493
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
29493
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
29494
29494
|
readonly type: "function";
|
|
29495
29495
|
readonly name: "batchGetRefTick";
|
|
29496
29496
|
readonly inputs: readonly [{
|
|
@@ -30097,7 +30097,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30097
30097
|
}];
|
|
30098
30098
|
readonly stateMutability: "view";
|
|
30099
30099
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
30100
|
-
getTokenData: (args: readonly [`0x${string}`], options?:
|
|
30100
|
+
getTokenData: (args: readonly [`0x${string}`], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
30101
30101
|
readonly type: "function";
|
|
30102
30102
|
readonly name: "batchGetRefTick";
|
|
30103
30103
|
readonly inputs: readonly [{
|
|
@@ -30708,7 +30708,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30708
30708
|
symbol: string;
|
|
30709
30709
|
name: string;
|
|
30710
30710
|
}>;
|
|
30711
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
30711
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
30712
30712
|
readonly type: "function";
|
|
30713
30713
|
readonly name: "batchGetRefTick";
|
|
30714
30714
|
readonly inputs: readonly [{
|
|
@@ -31325,7 +31325,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
31325
31325
|
expiresAt: number;
|
|
31326
31326
|
liquidities: readonly bigint[];
|
|
31327
31327
|
}[], bigint, boolean]>;
|
|
31328
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
31328
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
31329
31329
|
readonly type: "function";
|
|
31330
31330
|
readonly name: "batchGetRefTick";
|
|
31331
31331
|
readonly inputs: readonly [{
|
|
@@ -32642,7 +32642,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32642
32642
|
isRefetching: boolean;
|
|
32643
32643
|
isStale: boolean;
|
|
32644
32644
|
isEnabled: boolean;
|
|
32645
|
-
refetch: (options?:
|
|
32645
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
32646
32646
|
optionId: bigint;
|
|
32647
32647
|
marketAddr: Address;
|
|
32648
32648
|
ownerAddr: Address;
|
|
@@ -32672,7 +32672,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32672
32672
|
address: string;
|
|
32673
32673
|
} | null;
|
|
32674
32674
|
}[], Error>>;
|
|
32675
|
-
fetchStatus:
|
|
32675
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
32676
32676
|
promise: Promise<{
|
|
32677
32677
|
optionId: bigint;
|
|
32678
32678
|
marketAddr: Address;
|
|
@@ -32756,7 +32756,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32756
32756
|
isRefetching: boolean;
|
|
32757
32757
|
isStale: boolean;
|
|
32758
32758
|
isEnabled: boolean;
|
|
32759
|
-
refetch: (options?:
|
|
32759
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
32760
32760
|
optionId: bigint;
|
|
32761
32761
|
marketAddr: Address;
|
|
32762
32762
|
ownerAddr: Address;
|
|
@@ -32786,7 +32786,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32786
32786
|
address: string;
|
|
32787
32787
|
} | null;
|
|
32788
32788
|
}[], Error>>;
|
|
32789
|
-
fetchStatus:
|
|
32789
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
32790
32790
|
promise: Promise<{
|
|
32791
32791
|
optionId: bigint;
|
|
32792
32792
|
marketAddr: Address;
|
|
@@ -32870,7 +32870,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32870
32870
|
isRefetching: boolean;
|
|
32871
32871
|
isStale: boolean;
|
|
32872
32872
|
isEnabled: boolean;
|
|
32873
|
-
refetch: (options?:
|
|
32873
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
32874
32874
|
optionId: bigint;
|
|
32875
32875
|
marketAddr: Address;
|
|
32876
32876
|
ownerAddr: Address;
|
|
@@ -32900,7 +32900,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32900
32900
|
address: string;
|
|
32901
32901
|
} | null;
|
|
32902
32902
|
}[], Error>>;
|
|
32903
|
-
fetchStatus:
|
|
32903
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
32904
32904
|
promise: Promise<{
|
|
32905
32905
|
optionId: bigint;
|
|
32906
32906
|
marketAddr: Address;
|
|
@@ -32984,7 +32984,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32984
32984
|
isRefetching: boolean;
|
|
32985
32985
|
isStale: boolean;
|
|
32986
32986
|
isEnabled: boolean;
|
|
32987
|
-
refetch: (options?:
|
|
32987
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
32988
32988
|
optionId: bigint;
|
|
32989
32989
|
marketAddr: Address;
|
|
32990
32990
|
ownerAddr: Address;
|
|
@@ -33014,7 +33014,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
33014
33014
|
address: string;
|
|
33015
33015
|
} | null;
|
|
33016
33016
|
}[], Error>>;
|
|
33017
|
-
fetchStatus:
|
|
33017
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33018
33018
|
promise: Promise<{
|
|
33019
33019
|
optionId: bigint;
|
|
33020
33020
|
marketAddr: Address;
|
|
@@ -33098,7 +33098,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
33098
33098
|
isRefetching: boolean;
|
|
33099
33099
|
isStale: boolean;
|
|
33100
33100
|
isEnabled: boolean;
|
|
33101
|
-
refetch: (options?:
|
|
33101
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
33102
33102
|
optionId: bigint;
|
|
33103
33103
|
marketAddr: Address;
|
|
33104
33104
|
ownerAddr: Address;
|
|
@@ -33128,7 +33128,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
33128
33128
|
address: string;
|
|
33129
33129
|
} | null;
|
|
33130
33130
|
}[], Error>>;
|
|
33131
|
-
fetchStatus:
|
|
33131
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33132
33132
|
promise: Promise<{
|
|
33133
33133
|
optionId: bigint;
|
|
33134
33134
|
marketAddr: Address;
|
|
@@ -33212,7 +33212,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
33212
33212
|
isRefetching: boolean;
|
|
33213
33213
|
isStale: boolean;
|
|
33214
33214
|
isEnabled: boolean;
|
|
33215
|
-
refetch: (options?:
|
|
33215
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
33216
33216
|
optionId: bigint;
|
|
33217
33217
|
marketAddr: Address;
|
|
33218
33218
|
ownerAddr: Address;
|
|
@@ -33242,7 +33242,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
33242
33242
|
address: string;
|
|
33243
33243
|
} | null;
|
|
33244
33244
|
}[], Error>>;
|
|
33245
|
-
fetchStatus:
|
|
33245
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33246
33246
|
promise: Promise<{
|
|
33247
33247
|
optionId: bigint;
|
|
33248
33248
|
marketAddr: Address;
|
|
@@ -33327,7 +33327,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33327
33327
|
isRefetching: boolean;
|
|
33328
33328
|
isStale: boolean;
|
|
33329
33329
|
isEnabled: boolean;
|
|
33330
|
-
refetch: (options?:
|
|
33330
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
33331
33331
|
optionId: bigint;
|
|
33332
33332
|
marketAddr: Address;
|
|
33333
33333
|
ownerAddr: Address;
|
|
@@ -33357,7 +33357,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33357
33357
|
address: string;
|
|
33358
33358
|
} | null;
|
|
33359
33359
|
}[], Error>>;
|
|
33360
|
-
fetchStatus:
|
|
33360
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33361
33361
|
promise: Promise<{
|
|
33362
33362
|
optionId: bigint;
|
|
33363
33363
|
marketAddr: Address;
|
|
@@ -33441,7 +33441,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33441
33441
|
isRefetching: boolean;
|
|
33442
33442
|
isStale: boolean;
|
|
33443
33443
|
isEnabled: boolean;
|
|
33444
|
-
refetch: (options?:
|
|
33444
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
33445
33445
|
optionId: bigint;
|
|
33446
33446
|
marketAddr: Address;
|
|
33447
33447
|
ownerAddr: Address;
|
|
@@ -33471,7 +33471,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33471
33471
|
address: string;
|
|
33472
33472
|
} | null;
|
|
33473
33473
|
}[], Error>>;
|
|
33474
|
-
fetchStatus:
|
|
33474
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33475
33475
|
promise: Promise<{
|
|
33476
33476
|
optionId: bigint;
|
|
33477
33477
|
marketAddr: Address;
|
|
@@ -33555,7 +33555,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33555
33555
|
isRefetching: boolean;
|
|
33556
33556
|
isStale: boolean;
|
|
33557
33557
|
isEnabled: boolean;
|
|
33558
|
-
refetch: (options?:
|
|
33558
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
33559
33559
|
optionId: bigint;
|
|
33560
33560
|
marketAddr: Address;
|
|
33561
33561
|
ownerAddr: Address;
|
|
@@ -33585,7 +33585,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33585
33585
|
address: string;
|
|
33586
33586
|
} | null;
|
|
33587
33587
|
}[], Error>>;
|
|
33588
|
-
fetchStatus:
|
|
33588
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33589
33589
|
promise: Promise<{
|
|
33590
33590
|
optionId: bigint;
|
|
33591
33591
|
marketAddr: Address;
|
|
@@ -33669,7 +33669,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33669
33669
|
isRefetching: boolean;
|
|
33670
33670
|
isStale: boolean;
|
|
33671
33671
|
isEnabled: boolean;
|
|
33672
|
-
refetch: (options?:
|
|
33672
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
33673
33673
|
optionId: bigint;
|
|
33674
33674
|
marketAddr: Address;
|
|
33675
33675
|
ownerAddr: Address;
|
|
@@ -33699,7 +33699,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33699
33699
|
address: string;
|
|
33700
33700
|
} | null;
|
|
33701
33701
|
}[], Error>>;
|
|
33702
|
-
fetchStatus:
|
|
33702
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33703
33703
|
promise: Promise<{
|
|
33704
33704
|
optionId: bigint;
|
|
33705
33705
|
marketAddr: Address;
|
|
@@ -33783,7 +33783,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33783
33783
|
isRefetching: boolean;
|
|
33784
33784
|
isStale: boolean;
|
|
33785
33785
|
isEnabled: boolean;
|
|
33786
|
-
refetch: (options?:
|
|
33786
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
33787
33787
|
optionId: bigint;
|
|
33788
33788
|
marketAddr: Address;
|
|
33789
33789
|
ownerAddr: Address;
|
|
@@ -33813,7 +33813,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33813
33813
|
address: string;
|
|
33814
33814
|
} | null;
|
|
33815
33815
|
}[], Error>>;
|
|
33816
|
-
fetchStatus:
|
|
33816
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33817
33817
|
promise: Promise<{
|
|
33818
33818
|
optionId: bigint;
|
|
33819
33819
|
marketAddr: Address;
|
|
@@ -33897,7 +33897,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33897
33897
|
isRefetching: boolean;
|
|
33898
33898
|
isStale: boolean;
|
|
33899
33899
|
isEnabled: boolean;
|
|
33900
|
-
refetch: (options?:
|
|
33900
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
33901
33901
|
optionId: bigint;
|
|
33902
33902
|
marketAddr: Address;
|
|
33903
33903
|
ownerAddr: Address;
|
|
@@ -33927,7 +33927,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33927
33927
|
address: string;
|
|
33928
33928
|
} | null;
|
|
33929
33929
|
}[], Error>>;
|
|
33930
|
-
fetchStatus:
|
|
33930
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33931
33931
|
promise: Promise<{
|
|
33932
33932
|
optionId: bigint;
|
|
33933
33933
|
marketAddr: Address;
|
|
@@ -34012,7 +34012,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34012
34012
|
isRefetching: boolean;
|
|
34013
34013
|
isStale: boolean;
|
|
34014
34014
|
isEnabled: boolean;
|
|
34015
|
-
refetch: (options?:
|
|
34015
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
34016
34016
|
optionId: bigint;
|
|
34017
34017
|
marketAddr: Address;
|
|
34018
34018
|
ownerAddr: Address;
|
|
@@ -34042,7 +34042,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34042
34042
|
address: string;
|
|
34043
34043
|
} | null;
|
|
34044
34044
|
}[], Error>>;
|
|
34045
|
-
fetchStatus:
|
|
34045
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34046
34046
|
promise: Promise<{
|
|
34047
34047
|
optionId: bigint;
|
|
34048
34048
|
marketAddr: Address;
|
|
@@ -34126,7 +34126,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34126
34126
|
isRefetching: boolean;
|
|
34127
34127
|
isStale: boolean;
|
|
34128
34128
|
isEnabled: boolean;
|
|
34129
|
-
refetch: (options?:
|
|
34129
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
34130
34130
|
optionId: bigint;
|
|
34131
34131
|
marketAddr: Address;
|
|
34132
34132
|
ownerAddr: Address;
|
|
@@ -34156,7 +34156,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34156
34156
|
address: string;
|
|
34157
34157
|
} | null;
|
|
34158
34158
|
}[], Error>>;
|
|
34159
|
-
fetchStatus:
|
|
34159
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34160
34160
|
promise: Promise<{
|
|
34161
34161
|
optionId: bigint;
|
|
34162
34162
|
marketAddr: Address;
|
|
@@ -34240,7 +34240,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34240
34240
|
isRefetching: boolean;
|
|
34241
34241
|
isStale: boolean;
|
|
34242
34242
|
isEnabled: boolean;
|
|
34243
|
-
refetch: (options?:
|
|
34243
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
34244
34244
|
optionId: bigint;
|
|
34245
34245
|
marketAddr: Address;
|
|
34246
34246
|
ownerAddr: Address;
|
|
@@ -34270,7 +34270,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34270
34270
|
address: string;
|
|
34271
34271
|
} | null;
|
|
34272
34272
|
}[], Error>>;
|
|
34273
|
-
fetchStatus:
|
|
34273
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34274
34274
|
promise: Promise<{
|
|
34275
34275
|
optionId: bigint;
|
|
34276
34276
|
marketAddr: Address;
|
|
@@ -34354,7 +34354,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34354
34354
|
isRefetching: boolean;
|
|
34355
34355
|
isStale: boolean;
|
|
34356
34356
|
isEnabled: boolean;
|
|
34357
|
-
refetch: (options?:
|
|
34357
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
34358
34358
|
optionId: bigint;
|
|
34359
34359
|
marketAddr: Address;
|
|
34360
34360
|
ownerAddr: Address;
|
|
@@ -34384,7 +34384,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34384
34384
|
address: string;
|
|
34385
34385
|
} | null;
|
|
34386
34386
|
}[], Error>>;
|
|
34387
|
-
fetchStatus:
|
|
34387
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34388
34388
|
promise: Promise<{
|
|
34389
34389
|
optionId: bigint;
|
|
34390
34390
|
marketAddr: Address;
|
|
@@ -34468,7 +34468,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34468
34468
|
isRefetching: boolean;
|
|
34469
34469
|
isStale: boolean;
|
|
34470
34470
|
isEnabled: boolean;
|
|
34471
|
-
refetch: (options?:
|
|
34471
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
34472
34472
|
optionId: bigint;
|
|
34473
34473
|
marketAddr: Address;
|
|
34474
34474
|
ownerAddr: Address;
|
|
@@ -34498,7 +34498,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34498
34498
|
address: string;
|
|
34499
34499
|
} | null;
|
|
34500
34500
|
}[], Error>>;
|
|
34501
|
-
fetchStatus:
|
|
34501
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34502
34502
|
promise: Promise<{
|
|
34503
34503
|
optionId: bigint;
|
|
34504
34504
|
marketAddr: Address;
|
|
@@ -34582,7 +34582,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34582
34582
|
isRefetching: boolean;
|
|
34583
34583
|
isStale: boolean;
|
|
34584
34584
|
isEnabled: boolean;
|
|
34585
|
-
refetch: (options?:
|
|
34585
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
34586
34586
|
optionId: bigint;
|
|
34587
34587
|
marketAddr: Address;
|
|
34588
34588
|
ownerAddr: Address;
|
|
@@ -34612,7 +34612,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34612
34612
|
address: string;
|
|
34613
34613
|
} | null;
|
|
34614
34614
|
}[], Error>>;
|
|
34615
|
-
fetchStatus:
|
|
34615
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34616
34616
|
promise: Promise<{
|
|
34617
34617
|
optionId: bigint;
|
|
34618
34618
|
marketAddr: Address;
|
|
@@ -34734,7 +34734,7 @@ declare const formatUSD: (value: Big | string | number) => string;
|
|
|
34734
34734
|
//#endregion
|
|
34735
34735
|
//#region src/hooks/options/useMaxPositionSize.d.ts
|
|
34736
34736
|
declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowableRange?: number) => {
|
|
34737
|
-
error:
|
|
34737
|
+
error: viem179.ReadContractErrorType;
|
|
34738
34738
|
isError: true;
|
|
34739
34739
|
isPending: false;
|
|
34740
34740
|
isLoading: false;
|
|
@@ -34746,7 +34746,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34746
34746
|
dataUpdatedAt: number;
|
|
34747
34747
|
errorUpdatedAt: number;
|
|
34748
34748
|
failureCount: number;
|
|
34749
|
-
failureReason:
|
|
34749
|
+
failureReason: viem179.ReadContractErrorType | null;
|
|
34750
34750
|
errorUpdateCount: number;
|
|
34751
34751
|
isFetched: boolean;
|
|
34752
34752
|
isFetchedAfterMount: boolean;
|
|
@@ -34756,10 +34756,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34756
34756
|
isRefetching: boolean;
|
|
34757
34757
|
isStale: boolean;
|
|
34758
34758
|
isEnabled: boolean;
|
|
34759
|
-
refetch: (options?:
|
|
34760
|
-
fetchStatus:
|
|
34759
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [bigint, bigint], viem179.ReadContractErrorType>>;
|
|
34760
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34761
34761
|
promise: Promise<readonly [bigint, bigint]>;
|
|
34762
|
-
queryKey:
|
|
34762
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
34763
34763
|
maxCallSize: Amount | undefined;
|
|
34764
34764
|
maxPutSize: Amount | undefined;
|
|
34765
34765
|
} | {
|
|
@@ -34775,7 +34775,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34775
34775
|
dataUpdatedAt: number;
|
|
34776
34776
|
errorUpdatedAt: number;
|
|
34777
34777
|
failureCount: number;
|
|
34778
|
-
failureReason:
|
|
34778
|
+
failureReason: viem179.ReadContractErrorType | null;
|
|
34779
34779
|
errorUpdateCount: number;
|
|
34780
34780
|
isFetched: boolean;
|
|
34781
34781
|
isFetchedAfterMount: boolean;
|
|
@@ -34785,14 +34785,14 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34785
34785
|
isRefetching: boolean;
|
|
34786
34786
|
isStale: boolean;
|
|
34787
34787
|
isEnabled: boolean;
|
|
34788
|
-
refetch: (options?:
|
|
34789
|
-
fetchStatus:
|
|
34788
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [bigint, bigint], viem179.ReadContractErrorType>>;
|
|
34789
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34790
34790
|
promise: Promise<readonly [bigint, bigint]>;
|
|
34791
|
-
queryKey:
|
|
34791
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
34792
34792
|
maxCallSize: Amount | undefined;
|
|
34793
34793
|
maxPutSize: Amount | undefined;
|
|
34794
34794
|
} | {
|
|
34795
|
-
error:
|
|
34795
|
+
error: viem179.ReadContractErrorType;
|
|
34796
34796
|
isError: true;
|
|
34797
34797
|
isPending: false;
|
|
34798
34798
|
isLoading: false;
|
|
@@ -34804,7 +34804,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34804
34804
|
dataUpdatedAt: number;
|
|
34805
34805
|
errorUpdatedAt: number;
|
|
34806
34806
|
failureCount: number;
|
|
34807
|
-
failureReason:
|
|
34807
|
+
failureReason: viem179.ReadContractErrorType | null;
|
|
34808
34808
|
errorUpdateCount: number;
|
|
34809
34809
|
isFetched: boolean;
|
|
34810
34810
|
isFetchedAfterMount: boolean;
|
|
@@ -34814,10 +34814,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34814
34814
|
isRefetching: boolean;
|
|
34815
34815
|
isStale: boolean;
|
|
34816
34816
|
isEnabled: boolean;
|
|
34817
|
-
refetch: (options?:
|
|
34818
|
-
fetchStatus:
|
|
34817
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [bigint, bigint], viem179.ReadContractErrorType>>;
|
|
34818
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34819
34819
|
promise: Promise<readonly [bigint, bigint]>;
|
|
34820
|
-
queryKey:
|
|
34820
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
34821
34821
|
maxCallSize: Amount | undefined;
|
|
34822
34822
|
maxPutSize: Amount | undefined;
|
|
34823
34823
|
} | {
|
|
@@ -34833,7 +34833,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34833
34833
|
dataUpdatedAt: number;
|
|
34834
34834
|
errorUpdatedAt: number;
|
|
34835
34835
|
failureCount: number;
|
|
34836
|
-
failureReason:
|
|
34836
|
+
failureReason: viem179.ReadContractErrorType | null;
|
|
34837
34837
|
errorUpdateCount: number;
|
|
34838
34838
|
isFetched: boolean;
|
|
34839
34839
|
isFetchedAfterMount: boolean;
|
|
@@ -34843,10 +34843,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34843
34843
|
isRefetching: boolean;
|
|
34844
34844
|
isStale: boolean;
|
|
34845
34845
|
isEnabled: boolean;
|
|
34846
|
-
refetch: (options?:
|
|
34847
|
-
fetchStatus:
|
|
34846
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [bigint, bigint], viem179.ReadContractErrorType>>;
|
|
34847
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34848
34848
|
promise: Promise<readonly [bigint, bigint]>;
|
|
34849
|
-
queryKey:
|
|
34849
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
34850
34850
|
maxCallSize: Amount | undefined;
|
|
34851
34851
|
maxPutSize: Amount | undefined;
|
|
34852
34852
|
} | {
|
|
@@ -34861,7 +34861,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34861
34861
|
dataUpdatedAt: number;
|
|
34862
34862
|
errorUpdatedAt: number;
|
|
34863
34863
|
failureCount: number;
|
|
34864
|
-
failureReason:
|
|
34864
|
+
failureReason: viem179.ReadContractErrorType | null;
|
|
34865
34865
|
errorUpdateCount: number;
|
|
34866
34866
|
isFetched: boolean;
|
|
34867
34867
|
isFetchedAfterMount: boolean;
|
|
@@ -34872,10 +34872,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34872
34872
|
isRefetching: boolean;
|
|
34873
34873
|
isStale: boolean;
|
|
34874
34874
|
isEnabled: boolean;
|
|
34875
|
-
refetch: (options?:
|
|
34876
|
-
fetchStatus:
|
|
34875
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [bigint, bigint], viem179.ReadContractErrorType>>;
|
|
34876
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34877
34877
|
promise: Promise<readonly [bigint, bigint]>;
|
|
34878
|
-
queryKey:
|
|
34878
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
34879
34879
|
maxCallSize: Amount | undefined;
|
|
34880
34880
|
maxPutSize: Amount | undefined;
|
|
34881
34881
|
} | {
|
|
@@ -34891,7 +34891,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34891
34891
|
dataUpdatedAt: number;
|
|
34892
34892
|
errorUpdatedAt: number;
|
|
34893
34893
|
failureCount: number;
|
|
34894
|
-
failureReason:
|
|
34894
|
+
failureReason: viem179.ReadContractErrorType | null;
|
|
34895
34895
|
errorUpdateCount: number;
|
|
34896
34896
|
isFetched: boolean;
|
|
34897
34897
|
isFetchedAfterMount: boolean;
|
|
@@ -34901,10 +34901,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34901
34901
|
isRefetching: boolean;
|
|
34902
34902
|
isStale: boolean;
|
|
34903
34903
|
isEnabled: boolean;
|
|
34904
|
-
refetch: (options?:
|
|
34905
|
-
fetchStatus:
|
|
34904
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [bigint, bigint], viem179.ReadContractErrorType>>;
|
|
34905
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34906
34906
|
promise: Promise<readonly [bigint, bigint]>;
|
|
34907
|
-
queryKey:
|
|
34907
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
34908
34908
|
maxCallSize: Amount | undefined;
|
|
34909
34909
|
maxPutSize: Amount | undefined;
|
|
34910
34910
|
};
|
|
@@ -34974,7 +34974,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34974
34974
|
isRefetching: boolean;
|
|
34975
34975
|
isStale: boolean;
|
|
34976
34976
|
isEnabled: boolean;
|
|
34977
|
-
refetch: (options?:
|
|
34977
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<({
|
|
34978
34978
|
type: "mint";
|
|
34979
34979
|
data: {
|
|
34980
34980
|
id: string;
|
|
@@ -35013,7 +35013,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35013
35013
|
transactionHash: string;
|
|
35014
35014
|
};
|
|
35015
35015
|
})[], Error>>;
|
|
35016
|
-
fetchStatus:
|
|
35016
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35017
35017
|
promise: Promise<({
|
|
35018
35018
|
type: "mint";
|
|
35019
35019
|
data: {
|
|
@@ -35115,7 +35115,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35115
35115
|
isRefetching: boolean;
|
|
35116
35116
|
isStale: boolean;
|
|
35117
35117
|
isEnabled: boolean;
|
|
35118
|
-
refetch: (options?:
|
|
35118
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<({
|
|
35119
35119
|
type: "mint";
|
|
35120
35120
|
data: {
|
|
35121
35121
|
id: string;
|
|
@@ -35154,7 +35154,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35154
35154
|
transactionHash: string;
|
|
35155
35155
|
};
|
|
35156
35156
|
})[], Error>>;
|
|
35157
|
-
fetchStatus:
|
|
35157
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35158
35158
|
promise: Promise<({
|
|
35159
35159
|
type: "mint";
|
|
35160
35160
|
data: {
|
|
@@ -35256,7 +35256,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35256
35256
|
isRefetching: boolean;
|
|
35257
35257
|
isStale: boolean;
|
|
35258
35258
|
isEnabled: boolean;
|
|
35259
|
-
refetch: (options?:
|
|
35259
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<({
|
|
35260
35260
|
type: "mint";
|
|
35261
35261
|
data: {
|
|
35262
35262
|
id: string;
|
|
@@ -35295,7 +35295,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35295
35295
|
transactionHash: string;
|
|
35296
35296
|
};
|
|
35297
35297
|
})[], Error>>;
|
|
35298
|
-
fetchStatus:
|
|
35298
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35299
35299
|
promise: Promise<({
|
|
35300
35300
|
type: "mint";
|
|
35301
35301
|
data: {
|
|
@@ -35397,7 +35397,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35397
35397
|
isRefetching: boolean;
|
|
35398
35398
|
isStale: boolean;
|
|
35399
35399
|
isEnabled: boolean;
|
|
35400
|
-
refetch: (options?:
|
|
35400
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<({
|
|
35401
35401
|
type: "mint";
|
|
35402
35402
|
data: {
|
|
35403
35403
|
id: string;
|
|
@@ -35436,7 +35436,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35436
35436
|
transactionHash: string;
|
|
35437
35437
|
};
|
|
35438
35438
|
})[], Error>>;
|
|
35439
|
-
fetchStatus:
|
|
35439
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35440
35440
|
promise: Promise<({
|
|
35441
35441
|
type: "mint";
|
|
35442
35442
|
data: {
|
|
@@ -35538,7 +35538,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35538
35538
|
isRefetching: boolean;
|
|
35539
35539
|
isStale: boolean;
|
|
35540
35540
|
isEnabled: boolean;
|
|
35541
|
-
refetch: (options?:
|
|
35541
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<({
|
|
35542
35542
|
type: "mint";
|
|
35543
35543
|
data: {
|
|
35544
35544
|
id: string;
|
|
@@ -35577,7 +35577,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35577
35577
|
transactionHash: string;
|
|
35578
35578
|
};
|
|
35579
35579
|
})[], Error>>;
|
|
35580
|
-
fetchStatus:
|
|
35580
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35581
35581
|
promise: Promise<({
|
|
35582
35582
|
type: "mint";
|
|
35583
35583
|
data: {
|
|
@@ -35679,7 +35679,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35679
35679
|
isRefetching: boolean;
|
|
35680
35680
|
isStale: boolean;
|
|
35681
35681
|
isEnabled: boolean;
|
|
35682
|
-
refetch: (options?:
|
|
35682
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<({
|
|
35683
35683
|
type: "mint";
|
|
35684
35684
|
data: {
|
|
35685
35685
|
id: string;
|
|
@@ -35718,7 +35718,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35718
35718
|
transactionHash: string;
|
|
35719
35719
|
};
|
|
35720
35720
|
})[], Error>>;
|
|
35721
|
-
fetchStatus:
|
|
35721
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35722
35722
|
promise: Promise<({
|
|
35723
35723
|
type: "mint";
|
|
35724
35724
|
data: {
|
|
@@ -35841,7 +35841,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35841
35841
|
isRefetching: boolean;
|
|
35842
35842
|
isStale: boolean;
|
|
35843
35843
|
isEnabled: boolean;
|
|
35844
|
-
refetch: (options?:
|
|
35844
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
35845
35845
|
optionId: bigint;
|
|
35846
35846
|
id: string;
|
|
35847
35847
|
ownerAddr: Address;
|
|
@@ -35850,7 +35850,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35850
35850
|
expiresAt: number;
|
|
35851
35851
|
closed: boolean;
|
|
35852
35852
|
}[] | undefined, Error>>;
|
|
35853
|
-
fetchStatus:
|
|
35853
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35854
35854
|
promise: Promise<{
|
|
35855
35855
|
optionId: bigint;
|
|
35856
35856
|
id: string;
|
|
@@ -35892,7 +35892,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35892
35892
|
isRefetching: boolean;
|
|
35893
35893
|
isStale: boolean;
|
|
35894
35894
|
isEnabled: boolean;
|
|
35895
|
-
refetch: (options?:
|
|
35895
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
35896
35896
|
optionId: bigint;
|
|
35897
35897
|
id: string;
|
|
35898
35898
|
ownerAddr: Address;
|
|
@@ -35901,7 +35901,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35901
35901
|
expiresAt: number;
|
|
35902
35902
|
closed: boolean;
|
|
35903
35903
|
}[] | undefined, Error>>;
|
|
35904
|
-
fetchStatus:
|
|
35904
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35905
35905
|
promise: Promise<{
|
|
35906
35906
|
optionId: bigint;
|
|
35907
35907
|
id: string;
|
|
@@ -35943,7 +35943,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35943
35943
|
isRefetching: boolean;
|
|
35944
35944
|
isStale: boolean;
|
|
35945
35945
|
isEnabled: boolean;
|
|
35946
|
-
refetch: (options?:
|
|
35946
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
35947
35947
|
optionId: bigint;
|
|
35948
35948
|
id: string;
|
|
35949
35949
|
ownerAddr: Address;
|
|
@@ -35952,7 +35952,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35952
35952
|
expiresAt: number;
|
|
35953
35953
|
closed: boolean;
|
|
35954
35954
|
}[] | undefined, Error>>;
|
|
35955
|
-
fetchStatus:
|
|
35955
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35956
35956
|
promise: Promise<{
|
|
35957
35957
|
optionId: bigint;
|
|
35958
35958
|
id: string;
|
|
@@ -35994,7 +35994,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35994
35994
|
isRefetching: boolean;
|
|
35995
35995
|
isStale: boolean;
|
|
35996
35996
|
isEnabled: boolean;
|
|
35997
|
-
refetch: (options?:
|
|
35997
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
35998
35998
|
optionId: bigint;
|
|
35999
35999
|
id: string;
|
|
36000
36000
|
ownerAddr: Address;
|
|
@@ -36003,7 +36003,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
36003
36003
|
expiresAt: number;
|
|
36004
36004
|
closed: boolean;
|
|
36005
36005
|
}[] | undefined, Error>>;
|
|
36006
|
-
fetchStatus:
|
|
36006
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36007
36007
|
promise: Promise<{
|
|
36008
36008
|
optionId: bigint;
|
|
36009
36009
|
id: string;
|
|
@@ -36045,7 +36045,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
36045
36045
|
isRefetching: boolean;
|
|
36046
36046
|
isStale: boolean;
|
|
36047
36047
|
isEnabled: boolean;
|
|
36048
|
-
refetch: (options?:
|
|
36048
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36049
36049
|
optionId: bigint;
|
|
36050
36050
|
id: string;
|
|
36051
36051
|
ownerAddr: Address;
|
|
@@ -36054,7 +36054,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
36054
36054
|
expiresAt: number;
|
|
36055
36055
|
closed: boolean;
|
|
36056
36056
|
}[] | undefined, Error>>;
|
|
36057
|
-
fetchStatus:
|
|
36057
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36058
36058
|
promise: Promise<{
|
|
36059
36059
|
optionId: bigint;
|
|
36060
36060
|
id: string;
|
|
@@ -36096,7 +36096,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
36096
36096
|
isRefetching: boolean;
|
|
36097
36097
|
isStale: boolean;
|
|
36098
36098
|
isEnabled: boolean;
|
|
36099
|
-
refetch: (options?:
|
|
36099
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36100
36100
|
optionId: bigint;
|
|
36101
36101
|
id: string;
|
|
36102
36102
|
ownerAddr: Address;
|
|
@@ -36105,7 +36105,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
36105
36105
|
expiresAt: number;
|
|
36106
36106
|
closed: boolean;
|
|
36107
36107
|
}[] | undefined, Error>>;
|
|
36108
|
-
fetchStatus:
|
|
36108
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36109
36109
|
promise: Promise<{
|
|
36110
36110
|
optionId: bigint;
|
|
36111
36111
|
id: string;
|
|
@@ -36148,7 +36148,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36148
36148
|
isRefetching: boolean;
|
|
36149
36149
|
isStale: boolean;
|
|
36150
36150
|
isEnabled: boolean;
|
|
36151
|
-
refetch: (options?:
|
|
36151
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36152
36152
|
optionId: bigint;
|
|
36153
36153
|
id: string;
|
|
36154
36154
|
ownerAddr: Address;
|
|
@@ -36157,7 +36157,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36157
36157
|
expiresAt: number;
|
|
36158
36158
|
closed: boolean;
|
|
36159
36159
|
}[] | undefined, Error>>;
|
|
36160
|
-
fetchStatus:
|
|
36160
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36161
36161
|
promise: Promise<{
|
|
36162
36162
|
optionId: bigint;
|
|
36163
36163
|
id: string;
|
|
@@ -36199,7 +36199,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36199
36199
|
isRefetching: boolean;
|
|
36200
36200
|
isStale: boolean;
|
|
36201
36201
|
isEnabled: boolean;
|
|
36202
|
-
refetch: (options?:
|
|
36202
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36203
36203
|
optionId: bigint;
|
|
36204
36204
|
id: string;
|
|
36205
36205
|
ownerAddr: Address;
|
|
@@ -36208,7 +36208,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36208
36208
|
expiresAt: number;
|
|
36209
36209
|
closed: boolean;
|
|
36210
36210
|
}[] | undefined, Error>>;
|
|
36211
|
-
fetchStatus:
|
|
36211
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36212
36212
|
promise: Promise<{
|
|
36213
36213
|
optionId: bigint;
|
|
36214
36214
|
id: string;
|
|
@@ -36250,7 +36250,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36250
36250
|
isRefetching: boolean;
|
|
36251
36251
|
isStale: boolean;
|
|
36252
36252
|
isEnabled: boolean;
|
|
36253
|
-
refetch: (options?:
|
|
36253
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36254
36254
|
optionId: bigint;
|
|
36255
36255
|
id: string;
|
|
36256
36256
|
ownerAddr: Address;
|
|
@@ -36259,7 +36259,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36259
36259
|
expiresAt: number;
|
|
36260
36260
|
closed: boolean;
|
|
36261
36261
|
}[] | undefined, Error>>;
|
|
36262
|
-
fetchStatus:
|
|
36262
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36263
36263
|
promise: Promise<{
|
|
36264
36264
|
optionId: bigint;
|
|
36265
36265
|
id: string;
|
|
@@ -36301,7 +36301,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36301
36301
|
isRefetching: boolean;
|
|
36302
36302
|
isStale: boolean;
|
|
36303
36303
|
isEnabled: boolean;
|
|
36304
|
-
refetch: (options?:
|
|
36304
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36305
36305
|
optionId: bigint;
|
|
36306
36306
|
id: string;
|
|
36307
36307
|
ownerAddr: Address;
|
|
@@ -36310,7 +36310,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36310
36310
|
expiresAt: number;
|
|
36311
36311
|
closed: boolean;
|
|
36312
36312
|
}[] | undefined, Error>>;
|
|
36313
|
-
fetchStatus:
|
|
36313
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36314
36314
|
promise: Promise<{
|
|
36315
36315
|
optionId: bigint;
|
|
36316
36316
|
id: string;
|
|
@@ -36352,7 +36352,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36352
36352
|
isRefetching: boolean;
|
|
36353
36353
|
isStale: boolean;
|
|
36354
36354
|
isEnabled: boolean;
|
|
36355
|
-
refetch: (options?:
|
|
36355
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36356
36356
|
optionId: bigint;
|
|
36357
36357
|
id: string;
|
|
36358
36358
|
ownerAddr: Address;
|
|
@@ -36361,7 +36361,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36361
36361
|
expiresAt: number;
|
|
36362
36362
|
closed: boolean;
|
|
36363
36363
|
}[] | undefined, Error>>;
|
|
36364
|
-
fetchStatus:
|
|
36364
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36365
36365
|
promise: Promise<{
|
|
36366
36366
|
optionId: bigint;
|
|
36367
36367
|
id: string;
|
|
@@ -36403,7 +36403,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36403
36403
|
isRefetching: boolean;
|
|
36404
36404
|
isStale: boolean;
|
|
36405
36405
|
isEnabled: boolean;
|
|
36406
|
-
refetch: (options?:
|
|
36406
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36407
36407
|
optionId: bigint;
|
|
36408
36408
|
id: string;
|
|
36409
36409
|
ownerAddr: Address;
|
|
@@ -36412,7 +36412,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36412
36412
|
expiresAt: number;
|
|
36413
36413
|
closed: boolean;
|
|
36414
36414
|
}[] | undefined, Error>>;
|
|
36415
|
-
fetchStatus:
|
|
36415
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36416
36416
|
promise: Promise<{
|
|
36417
36417
|
optionId: bigint;
|
|
36418
36418
|
id: string;
|
|
@@ -36455,7 +36455,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36455
36455
|
isRefetching: boolean;
|
|
36456
36456
|
isStale: boolean;
|
|
36457
36457
|
isEnabled: boolean;
|
|
36458
|
-
refetch: (options?:
|
|
36458
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36459
36459
|
optionId: bigint;
|
|
36460
36460
|
id: string;
|
|
36461
36461
|
ownerAddr: Address;
|
|
@@ -36464,7 +36464,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36464
36464
|
expiresAt: number;
|
|
36465
36465
|
closed: boolean;
|
|
36466
36466
|
}[] | undefined, Error>>;
|
|
36467
|
-
fetchStatus:
|
|
36467
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36468
36468
|
promise: Promise<{
|
|
36469
36469
|
optionId: bigint;
|
|
36470
36470
|
id: string;
|
|
@@ -36506,7 +36506,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36506
36506
|
isRefetching: boolean;
|
|
36507
36507
|
isStale: boolean;
|
|
36508
36508
|
isEnabled: boolean;
|
|
36509
|
-
refetch: (options?:
|
|
36509
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36510
36510
|
optionId: bigint;
|
|
36511
36511
|
id: string;
|
|
36512
36512
|
ownerAddr: Address;
|
|
@@ -36515,7 +36515,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36515
36515
|
expiresAt: number;
|
|
36516
36516
|
closed: boolean;
|
|
36517
36517
|
}[] | undefined, Error>>;
|
|
36518
|
-
fetchStatus:
|
|
36518
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36519
36519
|
promise: Promise<{
|
|
36520
36520
|
optionId: bigint;
|
|
36521
36521
|
id: string;
|
|
@@ -36557,7 +36557,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36557
36557
|
isRefetching: boolean;
|
|
36558
36558
|
isStale: boolean;
|
|
36559
36559
|
isEnabled: boolean;
|
|
36560
|
-
refetch: (options?:
|
|
36560
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36561
36561
|
optionId: bigint;
|
|
36562
36562
|
id: string;
|
|
36563
36563
|
ownerAddr: Address;
|
|
@@ -36566,7 +36566,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36566
36566
|
expiresAt: number;
|
|
36567
36567
|
closed: boolean;
|
|
36568
36568
|
}[] | undefined, Error>>;
|
|
36569
|
-
fetchStatus:
|
|
36569
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36570
36570
|
promise: Promise<{
|
|
36571
36571
|
optionId: bigint;
|
|
36572
36572
|
id: string;
|
|
@@ -36608,7 +36608,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36608
36608
|
isRefetching: boolean;
|
|
36609
36609
|
isStale: boolean;
|
|
36610
36610
|
isEnabled: boolean;
|
|
36611
|
-
refetch: (options?:
|
|
36611
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36612
36612
|
optionId: bigint;
|
|
36613
36613
|
id: string;
|
|
36614
36614
|
ownerAddr: Address;
|
|
@@ -36617,7 +36617,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36617
36617
|
expiresAt: number;
|
|
36618
36618
|
closed: boolean;
|
|
36619
36619
|
}[] | undefined, Error>>;
|
|
36620
|
-
fetchStatus:
|
|
36620
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36621
36621
|
promise: Promise<{
|
|
36622
36622
|
optionId: bigint;
|
|
36623
36623
|
id: string;
|
|
@@ -36659,7 +36659,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36659
36659
|
isRefetching: boolean;
|
|
36660
36660
|
isStale: boolean;
|
|
36661
36661
|
isEnabled: boolean;
|
|
36662
|
-
refetch: (options?:
|
|
36662
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36663
36663
|
optionId: bigint;
|
|
36664
36664
|
id: string;
|
|
36665
36665
|
ownerAddr: Address;
|
|
@@ -36668,7 +36668,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36668
36668
|
expiresAt: number;
|
|
36669
36669
|
closed: boolean;
|
|
36670
36670
|
}[] | undefined, Error>>;
|
|
36671
|
-
fetchStatus:
|
|
36671
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36672
36672
|
promise: Promise<{
|
|
36673
36673
|
optionId: bigint;
|
|
36674
36674
|
id: string;
|
|
@@ -36710,7 +36710,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36710
36710
|
isRefetching: boolean;
|
|
36711
36711
|
isStale: boolean;
|
|
36712
36712
|
isEnabled: boolean;
|
|
36713
|
-
refetch: (options?:
|
|
36713
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36714
36714
|
optionId: bigint;
|
|
36715
36715
|
id: string;
|
|
36716
36716
|
ownerAddr: Address;
|
|
@@ -36719,7 +36719,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36719
36719
|
expiresAt: number;
|
|
36720
36720
|
closed: boolean;
|
|
36721
36721
|
}[] | undefined, Error>>;
|
|
36722
|
-
fetchStatus:
|
|
36722
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36723
36723
|
promise: Promise<{
|
|
36724
36724
|
optionId: bigint;
|
|
36725
36725
|
id: string;
|
|
@@ -36742,7 +36742,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36742
36742
|
//#endregion
|
|
36743
36743
|
//#region src/hooks/operators/useOperatorPerms.d.ts
|
|
36744
36744
|
declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, operatorAddr?: Address) => {
|
|
36745
|
-
error:
|
|
36745
|
+
error: viem179.ReadContractErrorType;
|
|
36746
36746
|
isError: true;
|
|
36747
36747
|
isPending: false;
|
|
36748
36748
|
isLoading: false;
|
|
@@ -36754,7 +36754,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36754
36754
|
dataUpdatedAt: number;
|
|
36755
36755
|
errorUpdatedAt: number;
|
|
36756
36756
|
failureCount: number;
|
|
36757
|
-
failureReason:
|
|
36757
|
+
failureReason: viem179.ReadContractErrorType | null;
|
|
36758
36758
|
errorUpdateCount: number;
|
|
36759
36759
|
isFetched: boolean;
|
|
36760
36760
|
isFetchedAfterMount: boolean;
|
|
@@ -36764,10 +36764,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36764
36764
|
isRefetching: boolean;
|
|
36765
36765
|
isStale: boolean;
|
|
36766
36766
|
isEnabled: boolean;
|
|
36767
|
-
refetch: (options?:
|
|
36768
|
-
fetchStatus:
|
|
36767
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem179.ReadContractErrorType>>;
|
|
36768
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36769
36769
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36770
|
-
queryKey:
|
|
36770
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
36771
36771
|
data: {
|
|
36772
36772
|
canExtend: boolean | undefined;
|
|
36773
36773
|
canExercise: boolean | undefined;
|
|
@@ -36789,7 +36789,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36789
36789
|
dataUpdatedAt: number;
|
|
36790
36790
|
errorUpdatedAt: number;
|
|
36791
36791
|
failureCount: number;
|
|
36792
|
-
failureReason:
|
|
36792
|
+
failureReason: viem179.ReadContractErrorType | null;
|
|
36793
36793
|
errorUpdateCount: number;
|
|
36794
36794
|
isFetched: boolean;
|
|
36795
36795
|
isFetchedAfterMount: boolean;
|
|
@@ -36799,10 +36799,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36799
36799
|
isRefetching: boolean;
|
|
36800
36800
|
isStale: boolean;
|
|
36801
36801
|
isEnabled: boolean;
|
|
36802
|
-
refetch: (options?:
|
|
36803
|
-
fetchStatus:
|
|
36802
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem179.ReadContractErrorType>>;
|
|
36803
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36804
36804
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36805
|
-
queryKey:
|
|
36805
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
36806
36806
|
data: {
|
|
36807
36807
|
canExtend: boolean | undefined;
|
|
36808
36808
|
canExercise: boolean | undefined;
|
|
@@ -36812,7 +36812,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36812
36812
|
effectiveApproval: bigint;
|
|
36813
36813
|
};
|
|
36814
36814
|
} | {
|
|
36815
|
-
error:
|
|
36815
|
+
error: viem179.ReadContractErrorType;
|
|
36816
36816
|
isError: true;
|
|
36817
36817
|
isPending: false;
|
|
36818
36818
|
isLoading: false;
|
|
@@ -36824,7 +36824,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36824
36824
|
dataUpdatedAt: number;
|
|
36825
36825
|
errorUpdatedAt: number;
|
|
36826
36826
|
failureCount: number;
|
|
36827
|
-
failureReason:
|
|
36827
|
+
failureReason: viem179.ReadContractErrorType | null;
|
|
36828
36828
|
errorUpdateCount: number;
|
|
36829
36829
|
isFetched: boolean;
|
|
36830
36830
|
isFetchedAfterMount: boolean;
|
|
@@ -36834,10 +36834,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36834
36834
|
isRefetching: boolean;
|
|
36835
36835
|
isStale: boolean;
|
|
36836
36836
|
isEnabled: boolean;
|
|
36837
|
-
refetch: (options?:
|
|
36838
|
-
fetchStatus:
|
|
36837
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem179.ReadContractErrorType>>;
|
|
36838
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36839
36839
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36840
|
-
queryKey:
|
|
36840
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
36841
36841
|
data: {
|
|
36842
36842
|
canExtend: boolean | undefined;
|
|
36843
36843
|
canExercise: boolean | undefined;
|
|
@@ -36859,7 +36859,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36859
36859
|
dataUpdatedAt: number;
|
|
36860
36860
|
errorUpdatedAt: number;
|
|
36861
36861
|
failureCount: number;
|
|
36862
|
-
failureReason:
|
|
36862
|
+
failureReason: viem179.ReadContractErrorType | null;
|
|
36863
36863
|
errorUpdateCount: number;
|
|
36864
36864
|
isFetched: boolean;
|
|
36865
36865
|
isFetchedAfterMount: boolean;
|
|
@@ -36869,10 +36869,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36869
36869
|
isRefetching: boolean;
|
|
36870
36870
|
isStale: boolean;
|
|
36871
36871
|
isEnabled: boolean;
|
|
36872
|
-
refetch: (options?:
|
|
36873
|
-
fetchStatus:
|
|
36872
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem179.ReadContractErrorType>>;
|
|
36873
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36874
36874
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36875
|
-
queryKey:
|
|
36875
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
36876
36876
|
data: {
|
|
36877
36877
|
canExtend: boolean | undefined;
|
|
36878
36878
|
canExercise: boolean | undefined;
|
|
@@ -36893,7 +36893,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36893
36893
|
dataUpdatedAt: number;
|
|
36894
36894
|
errorUpdatedAt: number;
|
|
36895
36895
|
failureCount: number;
|
|
36896
|
-
failureReason:
|
|
36896
|
+
failureReason: viem179.ReadContractErrorType | null;
|
|
36897
36897
|
errorUpdateCount: number;
|
|
36898
36898
|
isFetched: boolean;
|
|
36899
36899
|
isFetchedAfterMount: boolean;
|
|
@@ -36904,10 +36904,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36904
36904
|
isRefetching: boolean;
|
|
36905
36905
|
isStale: boolean;
|
|
36906
36906
|
isEnabled: boolean;
|
|
36907
|
-
refetch: (options?:
|
|
36908
|
-
fetchStatus:
|
|
36907
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem179.ReadContractErrorType>>;
|
|
36908
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36909
36909
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36910
|
-
queryKey:
|
|
36910
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
36911
36911
|
data: {
|
|
36912
36912
|
canExtend: boolean | undefined;
|
|
36913
36913
|
canExercise: boolean | undefined;
|
|
@@ -36929,7 +36929,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36929
36929
|
dataUpdatedAt: number;
|
|
36930
36930
|
errorUpdatedAt: number;
|
|
36931
36931
|
failureCount: number;
|
|
36932
|
-
failureReason:
|
|
36932
|
+
failureReason: viem179.ReadContractErrorType | null;
|
|
36933
36933
|
errorUpdateCount: number;
|
|
36934
36934
|
isFetched: boolean;
|
|
36935
36935
|
isFetchedAfterMount: boolean;
|
|
@@ -36939,10 +36939,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36939
36939
|
isRefetching: boolean;
|
|
36940
36940
|
isStale: boolean;
|
|
36941
36941
|
isEnabled: boolean;
|
|
36942
|
-
refetch: (options?:
|
|
36943
|
-
fetchStatus:
|
|
36942
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem179.ReadContractErrorType>>;
|
|
36943
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36944
36944
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36945
|
-
queryKey:
|
|
36945
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
36946
36946
|
data: {
|
|
36947
36947
|
canExtend: boolean | undefined;
|
|
36948
36948
|
canExercise: boolean | undefined;
|
|
@@ -36991,7 +36991,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36991
36991
|
isRefetching: boolean;
|
|
36992
36992
|
isStale: boolean;
|
|
36993
36993
|
isEnabled: boolean;
|
|
36994
|
-
refetch: (options?:
|
|
36994
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36995
36995
|
spendingApproval: bigint;
|
|
36996
36996
|
operatorAddr: string;
|
|
36997
36997
|
__typename: "UserMarketOperator";
|
|
@@ -37005,7 +37005,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37005
37005
|
address: string;
|
|
37006
37006
|
} | null;
|
|
37007
37007
|
}[] | undefined, Error>>;
|
|
37008
|
-
fetchStatus:
|
|
37008
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37009
37009
|
promise: Promise<{
|
|
37010
37010
|
spendingApproval: bigint;
|
|
37011
37011
|
operatorAddr: string;
|
|
@@ -37057,7 +37057,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37057
37057
|
isRefetching: boolean;
|
|
37058
37058
|
isStale: boolean;
|
|
37059
37059
|
isEnabled: boolean;
|
|
37060
|
-
refetch: (options?:
|
|
37060
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37061
37061
|
spendingApproval: bigint;
|
|
37062
37062
|
operatorAddr: string;
|
|
37063
37063
|
__typename: "UserMarketOperator";
|
|
@@ -37071,7 +37071,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37071
37071
|
address: string;
|
|
37072
37072
|
} | null;
|
|
37073
37073
|
}[] | undefined, Error>>;
|
|
37074
|
-
fetchStatus:
|
|
37074
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37075
37075
|
promise: Promise<{
|
|
37076
37076
|
spendingApproval: bigint;
|
|
37077
37077
|
operatorAddr: string;
|
|
@@ -37123,7 +37123,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37123
37123
|
isRefetching: boolean;
|
|
37124
37124
|
isStale: boolean;
|
|
37125
37125
|
isEnabled: boolean;
|
|
37126
|
-
refetch: (options?:
|
|
37126
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37127
37127
|
spendingApproval: bigint;
|
|
37128
37128
|
operatorAddr: string;
|
|
37129
37129
|
__typename: "UserMarketOperator";
|
|
@@ -37137,7 +37137,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37137
37137
|
address: string;
|
|
37138
37138
|
} | null;
|
|
37139
37139
|
}[] | undefined, Error>>;
|
|
37140
|
-
fetchStatus:
|
|
37140
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37141
37141
|
promise: Promise<{
|
|
37142
37142
|
spendingApproval: bigint;
|
|
37143
37143
|
operatorAddr: string;
|
|
@@ -37189,7 +37189,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37189
37189
|
isRefetching: boolean;
|
|
37190
37190
|
isStale: boolean;
|
|
37191
37191
|
isEnabled: boolean;
|
|
37192
|
-
refetch: (options?:
|
|
37192
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37193
37193
|
spendingApproval: bigint;
|
|
37194
37194
|
operatorAddr: string;
|
|
37195
37195
|
__typename: "UserMarketOperator";
|
|
@@ -37203,7 +37203,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37203
37203
|
address: string;
|
|
37204
37204
|
} | null;
|
|
37205
37205
|
}[] | undefined, Error>>;
|
|
37206
|
-
fetchStatus:
|
|
37206
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37207
37207
|
promise: Promise<{
|
|
37208
37208
|
spendingApproval: bigint;
|
|
37209
37209
|
operatorAddr: string;
|
|
@@ -37255,7 +37255,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37255
37255
|
isRefetching: boolean;
|
|
37256
37256
|
isStale: boolean;
|
|
37257
37257
|
isEnabled: boolean;
|
|
37258
|
-
refetch: (options?:
|
|
37258
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37259
37259
|
spendingApproval: bigint;
|
|
37260
37260
|
operatorAddr: string;
|
|
37261
37261
|
__typename: "UserMarketOperator";
|
|
@@ -37269,7 +37269,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37269
37269
|
address: string;
|
|
37270
37270
|
} | null;
|
|
37271
37271
|
}[] | undefined, Error>>;
|
|
37272
|
-
fetchStatus:
|
|
37272
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37273
37273
|
promise: Promise<{
|
|
37274
37274
|
spendingApproval: bigint;
|
|
37275
37275
|
operatorAddr: string;
|
|
@@ -37321,7 +37321,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37321
37321
|
isRefetching: boolean;
|
|
37322
37322
|
isStale: boolean;
|
|
37323
37323
|
isEnabled: boolean;
|
|
37324
|
-
refetch: (options?:
|
|
37324
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37325
37325
|
spendingApproval: bigint;
|
|
37326
37326
|
operatorAddr: string;
|
|
37327
37327
|
__typename: "UserMarketOperator";
|
|
@@ -37335,7 +37335,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37335
37335
|
address: string;
|
|
37336
37336
|
} | null;
|
|
37337
37337
|
}[] | undefined, Error>>;
|
|
37338
|
-
fetchStatus:
|
|
37338
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37339
37339
|
promise: Promise<{
|
|
37340
37340
|
spendingApproval: bigint;
|
|
37341
37341
|
operatorAddr: string;
|
|
@@ -37411,7 +37411,7 @@ declare const useCurrentPrice: (poolAddr?: Address) => {
|
|
|
37411
37411
|
//#endregion
|
|
37412
37412
|
//#region src/hooks/pool/useCurrentTick.d.ts
|
|
37413
37413
|
declare const useCurrentTick: (poolAddr?: Address) => {
|
|
37414
|
-
error:
|
|
37414
|
+
error: viem179.ReadContractErrorType;
|
|
37415
37415
|
isError: true;
|
|
37416
37416
|
isPending: false;
|
|
37417
37417
|
isLoading: false;
|
|
@@ -37423,7 +37423,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37423
37423
|
dataUpdatedAt: number;
|
|
37424
37424
|
errorUpdatedAt: number;
|
|
37425
37425
|
failureCount: number;
|
|
37426
|
-
failureReason:
|
|
37426
|
+
failureReason: viem179.ReadContractErrorType | null;
|
|
37427
37427
|
errorUpdateCount: number;
|
|
37428
37428
|
isFetched: boolean;
|
|
37429
37429
|
isFetchedAfterMount: boolean;
|
|
@@ -37433,18 +37433,18 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37433
37433
|
isRefetching: boolean;
|
|
37434
37434
|
isStale: boolean;
|
|
37435
37435
|
isEnabled: boolean;
|
|
37436
|
-
refetch: (options?:
|
|
37436
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37437
37437
|
exact: number;
|
|
37438
37438
|
rounded: number | undefined;
|
|
37439
37439
|
sqrtPriceX96: bigint;
|
|
37440
|
-
},
|
|
37441
|
-
fetchStatus:
|
|
37440
|
+
}, viem179.ReadContractErrorType>>;
|
|
37441
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37442
37442
|
promise: Promise<{
|
|
37443
37443
|
exact: number;
|
|
37444
37444
|
rounded: number | undefined;
|
|
37445
37445
|
sqrtPriceX96: bigint;
|
|
37446
37446
|
}>;
|
|
37447
|
-
queryKey:
|
|
37447
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37448
37448
|
exact: number | undefined;
|
|
37449
37449
|
rounded: number | undefined;
|
|
37450
37450
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -37461,7 +37461,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37461
37461
|
dataUpdatedAt: number;
|
|
37462
37462
|
errorUpdatedAt: number;
|
|
37463
37463
|
failureCount: number;
|
|
37464
|
-
failureReason:
|
|
37464
|
+
failureReason: viem179.ReadContractErrorType | null;
|
|
37465
37465
|
errorUpdateCount: number;
|
|
37466
37466
|
isFetched: boolean;
|
|
37467
37467
|
isFetchedAfterMount: boolean;
|
|
@@ -37471,23 +37471,23 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37471
37471
|
isRefetching: boolean;
|
|
37472
37472
|
isStale: boolean;
|
|
37473
37473
|
isEnabled: boolean;
|
|
37474
|
-
refetch: (options?:
|
|
37474
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37475
37475
|
exact: number;
|
|
37476
37476
|
rounded: number | undefined;
|
|
37477
37477
|
sqrtPriceX96: bigint;
|
|
37478
|
-
},
|
|
37479
|
-
fetchStatus:
|
|
37478
|
+
}, viem179.ReadContractErrorType>>;
|
|
37479
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37480
37480
|
promise: Promise<{
|
|
37481
37481
|
exact: number;
|
|
37482
37482
|
rounded: number | undefined;
|
|
37483
37483
|
sqrtPriceX96: bigint;
|
|
37484
37484
|
}>;
|
|
37485
|
-
queryKey:
|
|
37485
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37486
37486
|
exact: number | undefined;
|
|
37487
37487
|
rounded: number | undefined;
|
|
37488
37488
|
sqrtPriceX96: bigint | undefined;
|
|
37489
37489
|
} | {
|
|
37490
|
-
error:
|
|
37490
|
+
error: viem179.ReadContractErrorType;
|
|
37491
37491
|
isError: true;
|
|
37492
37492
|
isPending: false;
|
|
37493
37493
|
isLoading: false;
|
|
@@ -37499,7 +37499,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37499
37499
|
dataUpdatedAt: number;
|
|
37500
37500
|
errorUpdatedAt: number;
|
|
37501
37501
|
failureCount: number;
|
|
37502
|
-
failureReason:
|
|
37502
|
+
failureReason: viem179.ReadContractErrorType | null;
|
|
37503
37503
|
errorUpdateCount: number;
|
|
37504
37504
|
isFetched: boolean;
|
|
37505
37505
|
isFetchedAfterMount: boolean;
|
|
@@ -37509,18 +37509,18 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37509
37509
|
isRefetching: boolean;
|
|
37510
37510
|
isStale: boolean;
|
|
37511
37511
|
isEnabled: boolean;
|
|
37512
|
-
refetch: (options?:
|
|
37512
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37513
37513
|
exact: number;
|
|
37514
37514
|
rounded: number | undefined;
|
|
37515
37515
|
sqrtPriceX96: bigint;
|
|
37516
|
-
},
|
|
37517
|
-
fetchStatus:
|
|
37516
|
+
}, viem179.ReadContractErrorType>>;
|
|
37517
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37518
37518
|
promise: Promise<{
|
|
37519
37519
|
exact: number;
|
|
37520
37520
|
rounded: number | undefined;
|
|
37521
37521
|
sqrtPriceX96: bigint;
|
|
37522
37522
|
}>;
|
|
37523
|
-
queryKey:
|
|
37523
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37524
37524
|
exact: number | undefined;
|
|
37525
37525
|
rounded: number | undefined;
|
|
37526
37526
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -37537,7 +37537,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37537
37537
|
dataUpdatedAt: number;
|
|
37538
37538
|
errorUpdatedAt: number;
|
|
37539
37539
|
failureCount: number;
|
|
37540
|
-
failureReason:
|
|
37540
|
+
failureReason: viem179.ReadContractErrorType | null;
|
|
37541
37541
|
errorUpdateCount: number;
|
|
37542
37542
|
isFetched: boolean;
|
|
37543
37543
|
isFetchedAfterMount: boolean;
|
|
@@ -37547,18 +37547,18 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37547
37547
|
isRefetching: boolean;
|
|
37548
37548
|
isStale: boolean;
|
|
37549
37549
|
isEnabled: boolean;
|
|
37550
|
-
refetch: (options?:
|
|
37550
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37551
37551
|
exact: number;
|
|
37552
37552
|
rounded: number | undefined;
|
|
37553
37553
|
sqrtPriceX96: bigint;
|
|
37554
|
-
},
|
|
37555
|
-
fetchStatus:
|
|
37554
|
+
}, viem179.ReadContractErrorType>>;
|
|
37555
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37556
37556
|
promise: Promise<{
|
|
37557
37557
|
exact: number;
|
|
37558
37558
|
rounded: number | undefined;
|
|
37559
37559
|
sqrtPriceX96: bigint;
|
|
37560
37560
|
}>;
|
|
37561
|
-
queryKey:
|
|
37561
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37562
37562
|
exact: number | undefined;
|
|
37563
37563
|
rounded: number | undefined;
|
|
37564
37564
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -37574,7 +37574,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37574
37574
|
dataUpdatedAt: number;
|
|
37575
37575
|
errorUpdatedAt: number;
|
|
37576
37576
|
failureCount: number;
|
|
37577
|
-
failureReason:
|
|
37577
|
+
failureReason: viem179.ReadContractErrorType | null;
|
|
37578
37578
|
errorUpdateCount: number;
|
|
37579
37579
|
isFetched: boolean;
|
|
37580
37580
|
isFetchedAfterMount: boolean;
|
|
@@ -37585,18 +37585,18 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37585
37585
|
isRefetching: boolean;
|
|
37586
37586
|
isStale: boolean;
|
|
37587
37587
|
isEnabled: boolean;
|
|
37588
|
-
refetch: (options?:
|
|
37588
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37589
37589
|
exact: number;
|
|
37590
37590
|
rounded: number | undefined;
|
|
37591
37591
|
sqrtPriceX96: bigint;
|
|
37592
|
-
},
|
|
37593
|
-
fetchStatus:
|
|
37592
|
+
}, viem179.ReadContractErrorType>>;
|
|
37593
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37594
37594
|
promise: Promise<{
|
|
37595
37595
|
exact: number;
|
|
37596
37596
|
rounded: number | undefined;
|
|
37597
37597
|
sqrtPriceX96: bigint;
|
|
37598
37598
|
}>;
|
|
37599
|
-
queryKey:
|
|
37599
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37600
37600
|
exact: number | undefined;
|
|
37601
37601
|
rounded: number | undefined;
|
|
37602
37602
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -37613,7 +37613,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37613
37613
|
dataUpdatedAt: number;
|
|
37614
37614
|
errorUpdatedAt: number;
|
|
37615
37615
|
failureCount: number;
|
|
37616
|
-
failureReason:
|
|
37616
|
+
failureReason: viem179.ReadContractErrorType | null;
|
|
37617
37617
|
errorUpdateCount: number;
|
|
37618
37618
|
isFetched: boolean;
|
|
37619
37619
|
isFetchedAfterMount: boolean;
|
|
@@ -37623,18 +37623,18 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37623
37623
|
isRefetching: boolean;
|
|
37624
37624
|
isStale: boolean;
|
|
37625
37625
|
isEnabled: boolean;
|
|
37626
|
-
refetch: (options?:
|
|
37626
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37627
37627
|
exact: number;
|
|
37628
37628
|
rounded: number | undefined;
|
|
37629
37629
|
sqrtPriceX96: bigint;
|
|
37630
|
-
},
|
|
37631
|
-
fetchStatus:
|
|
37630
|
+
}, viem179.ReadContractErrorType>>;
|
|
37631
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37632
37632
|
promise: Promise<{
|
|
37633
37633
|
exact: number;
|
|
37634
37634
|
rounded: number | undefined;
|
|
37635
37635
|
sqrtPriceX96: bigint;
|
|
37636
37636
|
}>;
|
|
37637
|
-
queryKey:
|
|
37637
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37638
37638
|
exact: number | undefined;
|
|
37639
37639
|
rounded: number | undefined;
|
|
37640
37640
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -37684,7 +37684,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
37684
37684
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
37685
37685
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
37686
37686
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
37687
|
-
error:
|
|
37687
|
+
error: viem179.ReadContractErrorType;
|
|
37688
37688
|
isError: true;
|
|
37689
37689
|
isPending: false;
|
|
37690
37690
|
isLoading: false;
|
|
@@ -37696,7 +37696,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37696
37696
|
dataUpdatedAt: number;
|
|
37697
37697
|
errorUpdatedAt: number;
|
|
37698
37698
|
failureCount: number;
|
|
37699
|
-
failureReason:
|
|
37699
|
+
failureReason: viem179.ReadContractErrorType | null;
|
|
37700
37700
|
errorUpdateCount: number;
|
|
37701
37701
|
isFetched: boolean;
|
|
37702
37702
|
isFetchedAfterMount: boolean;
|
|
@@ -37706,7 +37706,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37706
37706
|
isRefetching: boolean;
|
|
37707
37707
|
isStale: boolean;
|
|
37708
37708
|
isEnabled: boolean;
|
|
37709
|
-
refetch: (options?:
|
|
37709
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly {
|
|
37710
37710
|
tickLower: number;
|
|
37711
37711
|
tickUpper: number;
|
|
37712
37712
|
prevTickLower: number;
|
|
@@ -37716,8 +37716,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37716
37716
|
totalAmount1: bigint;
|
|
37717
37717
|
borrowedAmount0: bigint;
|
|
37718
37718
|
borrowedAmount1: bigint;
|
|
37719
|
-
}[],
|
|
37720
|
-
fetchStatus:
|
|
37719
|
+
}[], viem179.ReadContractErrorType>>;
|
|
37720
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37721
37721
|
promise: Promise<readonly {
|
|
37722
37722
|
tickLower: number;
|
|
37723
37723
|
tickUpper: number;
|
|
@@ -37729,7 +37729,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37729
37729
|
borrowedAmount0: bigint;
|
|
37730
37730
|
borrowedAmount1: bigint;
|
|
37731
37731
|
}[]>;
|
|
37732
|
-
queryKey:
|
|
37732
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37733
37733
|
data: readonly {
|
|
37734
37734
|
tickLower: number;
|
|
37735
37735
|
tickUpper: number;
|
|
@@ -37754,7 +37754,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37754
37754
|
dataUpdatedAt: number;
|
|
37755
37755
|
errorUpdatedAt: number;
|
|
37756
37756
|
failureCount: number;
|
|
37757
|
-
failureReason:
|
|
37757
|
+
failureReason: viem179.ReadContractErrorType | null;
|
|
37758
37758
|
errorUpdateCount: number;
|
|
37759
37759
|
isFetched: boolean;
|
|
37760
37760
|
isFetchedAfterMount: boolean;
|
|
@@ -37764,7 +37764,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37764
37764
|
isRefetching: boolean;
|
|
37765
37765
|
isStale: boolean;
|
|
37766
37766
|
isEnabled: boolean;
|
|
37767
|
-
refetch: (options?:
|
|
37767
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly {
|
|
37768
37768
|
tickLower: number;
|
|
37769
37769
|
tickUpper: number;
|
|
37770
37770
|
prevTickLower: number;
|
|
@@ -37774,8 +37774,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37774
37774
|
totalAmount1: bigint;
|
|
37775
37775
|
borrowedAmount0: bigint;
|
|
37776
37776
|
borrowedAmount1: bigint;
|
|
37777
|
-
}[],
|
|
37778
|
-
fetchStatus:
|
|
37777
|
+
}[], viem179.ReadContractErrorType>>;
|
|
37778
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37779
37779
|
promise: Promise<readonly {
|
|
37780
37780
|
tickLower: number;
|
|
37781
37781
|
tickUpper: number;
|
|
@@ -37787,7 +37787,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37787
37787
|
borrowedAmount0: bigint;
|
|
37788
37788
|
borrowedAmount1: bigint;
|
|
37789
37789
|
}[]>;
|
|
37790
|
-
queryKey:
|
|
37790
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37791
37791
|
data: readonly {
|
|
37792
37792
|
tickLower: number;
|
|
37793
37793
|
tickUpper: number;
|
|
@@ -37800,7 +37800,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37800
37800
|
borrowedAmount1: bigint;
|
|
37801
37801
|
}[];
|
|
37802
37802
|
} | {
|
|
37803
|
-
error:
|
|
37803
|
+
error: viem179.ReadContractErrorType;
|
|
37804
37804
|
isError: true;
|
|
37805
37805
|
isPending: false;
|
|
37806
37806
|
isLoading: false;
|
|
@@ -37812,7 +37812,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37812
37812
|
dataUpdatedAt: number;
|
|
37813
37813
|
errorUpdatedAt: number;
|
|
37814
37814
|
failureCount: number;
|
|
37815
|
-
failureReason:
|
|
37815
|
+
failureReason: viem179.ReadContractErrorType | null;
|
|
37816
37816
|
errorUpdateCount: number;
|
|
37817
37817
|
isFetched: boolean;
|
|
37818
37818
|
isFetchedAfterMount: boolean;
|
|
@@ -37822,7 +37822,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37822
37822
|
isRefetching: boolean;
|
|
37823
37823
|
isStale: boolean;
|
|
37824
37824
|
isEnabled: boolean;
|
|
37825
|
-
refetch: (options?:
|
|
37825
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly {
|
|
37826
37826
|
tickLower: number;
|
|
37827
37827
|
tickUpper: number;
|
|
37828
37828
|
prevTickLower: number;
|
|
@@ -37832,8 +37832,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37832
37832
|
totalAmount1: bigint;
|
|
37833
37833
|
borrowedAmount0: bigint;
|
|
37834
37834
|
borrowedAmount1: bigint;
|
|
37835
|
-
}[],
|
|
37836
|
-
fetchStatus:
|
|
37835
|
+
}[], viem179.ReadContractErrorType>>;
|
|
37836
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37837
37837
|
promise: Promise<readonly {
|
|
37838
37838
|
tickLower: number;
|
|
37839
37839
|
tickUpper: number;
|
|
@@ -37845,7 +37845,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37845
37845
|
borrowedAmount0: bigint;
|
|
37846
37846
|
borrowedAmount1: bigint;
|
|
37847
37847
|
}[]>;
|
|
37848
|
-
queryKey:
|
|
37848
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37849
37849
|
data: readonly {
|
|
37850
37850
|
tickLower: number;
|
|
37851
37851
|
tickUpper: number;
|
|
@@ -37870,7 +37870,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37870
37870
|
dataUpdatedAt: number;
|
|
37871
37871
|
errorUpdatedAt: number;
|
|
37872
37872
|
failureCount: number;
|
|
37873
|
-
failureReason:
|
|
37873
|
+
failureReason: viem179.ReadContractErrorType | null;
|
|
37874
37874
|
errorUpdateCount: number;
|
|
37875
37875
|
isFetched: boolean;
|
|
37876
37876
|
isFetchedAfterMount: boolean;
|
|
@@ -37880,7 +37880,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37880
37880
|
isRefetching: boolean;
|
|
37881
37881
|
isStale: boolean;
|
|
37882
37882
|
isEnabled: boolean;
|
|
37883
|
-
refetch: (options?:
|
|
37883
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly {
|
|
37884
37884
|
tickLower: number;
|
|
37885
37885
|
tickUpper: number;
|
|
37886
37886
|
prevTickLower: number;
|
|
@@ -37890,8 +37890,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37890
37890
|
totalAmount1: bigint;
|
|
37891
37891
|
borrowedAmount0: bigint;
|
|
37892
37892
|
borrowedAmount1: bigint;
|
|
37893
|
-
}[],
|
|
37894
|
-
fetchStatus:
|
|
37893
|
+
}[], viem179.ReadContractErrorType>>;
|
|
37894
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37895
37895
|
promise: Promise<readonly {
|
|
37896
37896
|
tickLower: number;
|
|
37897
37897
|
tickUpper: number;
|
|
@@ -37903,7 +37903,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37903
37903
|
borrowedAmount0: bigint;
|
|
37904
37904
|
borrowedAmount1: bigint;
|
|
37905
37905
|
}[]>;
|
|
37906
|
-
queryKey:
|
|
37906
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37907
37907
|
data: readonly {
|
|
37908
37908
|
tickLower: number;
|
|
37909
37909
|
tickUpper: number;
|
|
@@ -37927,7 +37927,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37927
37927
|
dataUpdatedAt: number;
|
|
37928
37928
|
errorUpdatedAt: number;
|
|
37929
37929
|
failureCount: number;
|
|
37930
|
-
failureReason:
|
|
37930
|
+
failureReason: viem179.ReadContractErrorType | null;
|
|
37931
37931
|
errorUpdateCount: number;
|
|
37932
37932
|
isFetched: boolean;
|
|
37933
37933
|
isFetchedAfterMount: boolean;
|
|
@@ -37938,7 +37938,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37938
37938
|
isRefetching: boolean;
|
|
37939
37939
|
isStale: boolean;
|
|
37940
37940
|
isEnabled: boolean;
|
|
37941
|
-
refetch: (options?:
|
|
37941
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly {
|
|
37942
37942
|
tickLower: number;
|
|
37943
37943
|
tickUpper: number;
|
|
37944
37944
|
prevTickLower: number;
|
|
@@ -37948,8 +37948,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37948
37948
|
totalAmount1: bigint;
|
|
37949
37949
|
borrowedAmount0: bigint;
|
|
37950
37950
|
borrowedAmount1: bigint;
|
|
37951
|
-
}[],
|
|
37952
|
-
fetchStatus:
|
|
37951
|
+
}[], viem179.ReadContractErrorType>>;
|
|
37952
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37953
37953
|
promise: Promise<readonly {
|
|
37954
37954
|
tickLower: number;
|
|
37955
37955
|
tickUpper: number;
|
|
@@ -37961,7 +37961,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37961
37961
|
borrowedAmount0: bigint;
|
|
37962
37962
|
borrowedAmount1: bigint;
|
|
37963
37963
|
}[]>;
|
|
37964
|
-
queryKey:
|
|
37964
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37965
37965
|
data: readonly {
|
|
37966
37966
|
tickLower: number;
|
|
37967
37967
|
tickUpper: number;
|
|
@@ -37986,7 +37986,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37986
37986
|
dataUpdatedAt: number;
|
|
37987
37987
|
errorUpdatedAt: number;
|
|
37988
37988
|
failureCount: number;
|
|
37989
|
-
failureReason:
|
|
37989
|
+
failureReason: viem179.ReadContractErrorType | null;
|
|
37990
37990
|
errorUpdateCount: number;
|
|
37991
37991
|
isFetched: boolean;
|
|
37992
37992
|
isFetchedAfterMount: boolean;
|
|
@@ -37996,7 +37996,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37996
37996
|
isRefetching: boolean;
|
|
37997
37997
|
isStale: boolean;
|
|
37998
37998
|
isEnabled: boolean;
|
|
37999
|
-
refetch: (options?:
|
|
37999
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly {
|
|
38000
38000
|
tickLower: number;
|
|
38001
38001
|
tickUpper: number;
|
|
38002
38002
|
prevTickLower: number;
|
|
@@ -38006,8 +38006,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
38006
38006
|
totalAmount1: bigint;
|
|
38007
38007
|
borrowedAmount0: bigint;
|
|
38008
38008
|
borrowedAmount1: bigint;
|
|
38009
|
-
}[],
|
|
38010
|
-
fetchStatus:
|
|
38009
|
+
}[], viem179.ReadContractErrorType>>;
|
|
38010
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
38011
38011
|
promise: Promise<readonly {
|
|
38012
38012
|
tickLower: number;
|
|
38013
38013
|
tickUpper: number;
|
|
@@ -38019,7 +38019,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
38019
38019
|
borrowedAmount0: bigint;
|
|
38020
38020
|
borrowedAmount1: bigint;
|
|
38021
38021
|
}[]>;
|
|
38022
|
-
queryKey:
|
|
38022
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
38023
38023
|
data: readonly {
|
|
38024
38024
|
tickLower: number;
|
|
38025
38025
|
tickUpper: number;
|
|
@@ -38070,14 +38070,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
38070
38070
|
borrowedAmount0: Amount;
|
|
38071
38071
|
borrowedAmount1: Amount;
|
|
38072
38072
|
blocksCount: bigint;
|
|
38073
|
-
refetch: (options?:
|
|
38073
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem179.ReadContractErrorType>>;
|
|
38074
38074
|
};
|
|
38075
38075
|
//#endregion
|
|
38076
38076
|
//#region src/hooks/useLens.d.ts
|
|
38077
38077
|
declare const useLens: () => {
|
|
38078
38078
|
timelockLens: {
|
|
38079
38079
|
read: {
|
|
38080
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
38080
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
38081
38081
|
readonly type: "function";
|
|
38082
38082
|
readonly name: "batchGetRefTick";
|
|
38083
38083
|
readonly inputs: readonly [{
|
|
@@ -38684,7 +38684,7 @@ declare const useLens: () => {
|
|
|
38684
38684
|
}];
|
|
38685
38685
|
readonly stateMutability: "view";
|
|
38686
38686
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
38687
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
38687
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
38688
38688
|
readonly type: "function";
|
|
38689
38689
|
readonly name: "batchGetRefTick";
|
|
38690
38690
|
readonly inputs: readonly [{
|
|
@@ -39301,7 +39301,7 @@ declare const useLens: () => {
|
|
|
39301
39301
|
borrowedAmount0: bigint;
|
|
39302
39302
|
borrowedAmount1: bigint;
|
|
39303
39303
|
}[]>;
|
|
39304
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
39304
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
39305
39305
|
readonly type: "function";
|
|
39306
39306
|
readonly name: "batchGetRefTick";
|
|
39307
39307
|
readonly inputs: readonly [{
|
|
@@ -39918,7 +39918,7 @@ declare const useLens: () => {
|
|
|
39918
39918
|
expiresAt: number;
|
|
39919
39919
|
liquidities: readonly bigint[];
|
|
39920
39920
|
}[], bigint, boolean]>;
|
|
39921
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
39921
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
39922
39922
|
readonly type: "function";
|
|
39923
39923
|
readonly name: "batchGetRefTick";
|
|
39924
39924
|
readonly inputs: readonly [{
|
|
@@ -40525,7 +40525,7 @@ declare const useLens: () => {
|
|
|
40525
40525
|
}];
|
|
40526
40526
|
readonly stateMutability: "view";
|
|
40527
40527
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
40528
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
40528
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
40529
40529
|
readonly type: "function";
|
|
40530
40530
|
readonly name: "batchGetRefTick";
|
|
40531
40531
|
readonly inputs: readonly [{
|
|
@@ -41145,7 +41145,7 @@ declare const useLens: () => {
|
|
|
41145
41145
|
payoutAssetName: string;
|
|
41146
41146
|
optionsCount: bigint;
|
|
41147
41147
|
}>;
|
|
41148
|
-
getMaxATMSizes: (args: readonly [`0x${string}`, number], options?:
|
|
41148
|
+
getMaxATMSizes: (args: readonly [`0x${string}`, number], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
41149
41149
|
readonly type: "function";
|
|
41150
41150
|
readonly name: "batchGetRefTick";
|
|
41151
41151
|
readonly inputs: readonly [{
|
|
@@ -41752,7 +41752,7 @@ declare const useLens: () => {
|
|
|
41752
41752
|
}];
|
|
41753
41753
|
readonly stateMutability: "view";
|
|
41754
41754
|
}], "getMaxATMSizes", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
41755
|
-
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?:
|
|
41755
|
+
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
41756
41756
|
readonly type: "function";
|
|
41757
41757
|
readonly name: "batchGetRefTick";
|
|
41758
41758
|
readonly inputs: readonly [{
|
|
@@ -42359,7 +42359,7 @@ declare const useLens: () => {
|
|
|
42359
42359
|
}];
|
|
42360
42360
|
readonly stateMutability: "view";
|
|
42361
42361
|
}], "getMaxBorrowable0", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
42362
|
-
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?:
|
|
42362
|
+
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
42363
42363
|
readonly type: "function";
|
|
42364
42364
|
readonly name: "batchGetRefTick";
|
|
42365
42365
|
readonly inputs: readonly [{
|
|
@@ -42966,7 +42966,7 @@ declare const useLens: () => {
|
|
|
42966
42966
|
}];
|
|
42967
42967
|
readonly stateMutability: "view";
|
|
42968
42968
|
}], "getMaxBorrowable1", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
42969
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
42969
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
42970
42970
|
readonly type: "function";
|
|
42971
42971
|
readonly name: "batchGetRefTick";
|
|
42972
42972
|
readonly inputs: readonly [{
|
|
@@ -43583,7 +43583,7 @@ declare const useLens: () => {
|
|
|
43583
43583
|
expiresAt: number;
|
|
43584
43584
|
liquidities: readonly bigint[];
|
|
43585
43585
|
}>;
|
|
43586
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
43586
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
43587
43587
|
readonly type: "function";
|
|
43588
43588
|
readonly name: "batchGetRefTick";
|
|
43589
43589
|
readonly inputs: readonly [{
|
|
@@ -44200,7 +44200,7 @@ declare const useLens: () => {
|
|
|
44200
44200
|
expiresAt: number;
|
|
44201
44201
|
liquidities: readonly bigint[];
|
|
44202
44202
|
}[]>;
|
|
44203
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
44203
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
44204
44204
|
readonly type: "function";
|
|
44205
44205
|
readonly name: "batchGetRefTick";
|
|
44206
44206
|
readonly inputs: readonly [{
|
|
@@ -44818,7 +44818,7 @@ declare const useLens: () => {
|
|
|
44818
44818
|
tickSpacing: number;
|
|
44819
44819
|
fee: number;
|
|
44820
44820
|
}>;
|
|
44821
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
44821
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
44822
44822
|
readonly type: "function";
|
|
44823
44823
|
readonly name: "batchGetRefTick";
|
|
44824
44824
|
readonly inputs: readonly [{
|
|
@@ -45425,7 +45425,7 @@ declare const useLens: () => {
|
|
|
45425
45425
|
}];
|
|
45426
45426
|
readonly stateMutability: "view";
|
|
45427
45427
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
45428
|
-
getTokenData: (args: readonly [`0x${string}`], options?:
|
|
45428
|
+
getTokenData: (args: readonly [`0x${string}`], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
45429
45429
|
readonly type: "function";
|
|
45430
45430
|
readonly name: "batchGetRefTick";
|
|
45431
45431
|
readonly inputs: readonly [{
|
|
@@ -46036,7 +46036,7 @@ declare const useLens: () => {
|
|
|
46036
46036
|
symbol: string;
|
|
46037
46037
|
name: string;
|
|
46038
46038
|
}>;
|
|
46039
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
46039
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
46040
46040
|
readonly type: "function";
|
|
46041
46041
|
readonly name: "batchGetRefTick";
|
|
46042
46042
|
readonly inputs: readonly [{
|
|
@@ -46653,7 +46653,7 @@ declare const useLens: () => {
|
|
|
46653
46653
|
expiresAt: number;
|
|
46654
46654
|
liquidities: readonly bigint[];
|
|
46655
46655
|
}[], bigint, boolean]>;
|
|
46656
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
46656
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
46657
46657
|
readonly type: "function";
|
|
46658
46658
|
readonly name: "batchGetRefTick";
|
|
46659
46659
|
readonly inputs: readonly [{
|
|
@@ -47872,7 +47872,7 @@ declare const useLens: () => {
|
|
|
47872
47872
|
} | undefined;
|
|
47873
47873
|
uniswapLens: {
|
|
47874
47874
|
read: {
|
|
47875
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
47875
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
47876
47876
|
readonly type: "function";
|
|
47877
47877
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47878
47878
|
readonly inputs: readonly [{
|
|
@@ -48493,7 +48493,7 @@ declare const useLens: () => {
|
|
|
48493
48493
|
}];
|
|
48494
48494
|
readonly stateMutability: "pure";
|
|
48495
48495
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
48496
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
48496
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
48497
48497
|
readonly type: "function";
|
|
48498
48498
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48499
48499
|
readonly inputs: readonly [{
|
|
@@ -49114,7 +49114,7 @@ declare const useLens: () => {
|
|
|
49114
49114
|
}];
|
|
49115
49115
|
readonly stateMutability: "pure";
|
|
49116
49116
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
49117
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
49117
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
49118
49118
|
readonly type: "function";
|
|
49119
49119
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49120
49120
|
readonly inputs: readonly [{
|
|
@@ -49735,7 +49735,7 @@ declare const useLens: () => {
|
|
|
49735
49735
|
}];
|
|
49736
49736
|
readonly stateMutability: "pure";
|
|
49737
49737
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
49738
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
49738
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
49739
49739
|
readonly type: "function";
|
|
49740
49740
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49741
49741
|
readonly inputs: readonly [{
|
|
@@ -50356,7 +50356,7 @@ declare const useLens: () => {
|
|
|
50356
50356
|
}];
|
|
50357
50357
|
readonly stateMutability: "pure";
|
|
50358
50358
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50359
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
50359
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
50360
50360
|
readonly type: "function";
|
|
50361
50361
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50362
50362
|
readonly inputs: readonly [{
|
|
@@ -50977,7 +50977,7 @@ declare const useLens: () => {
|
|
|
50977
50977
|
}];
|
|
50978
50978
|
readonly stateMutability: "pure";
|
|
50979
50979
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
50980
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
50980
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
50981
50981
|
readonly type: "function";
|
|
50982
50982
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50983
50983
|
readonly inputs: readonly [{
|
|
@@ -51598,7 +51598,7 @@ declare const useLens: () => {
|
|
|
51598
51598
|
}];
|
|
51599
51599
|
readonly stateMutability: "pure";
|
|
51600
51600
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
51601
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
51601
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
51602
51602
|
readonly type: "function";
|
|
51603
51603
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51604
51604
|
readonly inputs: readonly [{
|
|
@@ -52219,7 +52219,7 @@ declare const useLens: () => {
|
|
|
52219
52219
|
}];
|
|
52220
52220
|
readonly stateMutability: "pure";
|
|
52221
52221
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52222
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
52222
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
52223
52223
|
readonly type: "function";
|
|
52224
52224
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52225
52225
|
readonly inputs: readonly [{
|
|
@@ -52840,7 +52840,7 @@ declare const useLens: () => {
|
|
|
52840
52840
|
}];
|
|
52841
52841
|
readonly stateMutability: "pure";
|
|
52842
52842
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52843
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
52843
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
52844
52844
|
readonly type: "function";
|
|
52845
52845
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52846
52846
|
readonly inputs: readonly [{
|
|
@@ -53461,7 +53461,7 @@ declare const useLens: () => {
|
|
|
53461
53461
|
}];
|
|
53462
53462
|
readonly stateMutability: "pure";
|
|
53463
53463
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53464
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
53464
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
53465
53465
|
readonly type: "function";
|
|
53466
53466
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53467
53467
|
readonly inputs: readonly [{
|
|
@@ -54082,7 +54082,7 @@ declare const useLens: () => {
|
|
|
54082
54082
|
}];
|
|
54083
54083
|
readonly stateMutability: "pure";
|
|
54084
54084
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
54085
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
54085
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
54086
54086
|
readonly type: "function";
|
|
54087
54087
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54088
54088
|
readonly inputs: readonly [{
|
|
@@ -54703,7 +54703,7 @@ declare const useLens: () => {
|
|
|
54703
54703
|
}];
|
|
54704
54704
|
readonly stateMutability: "pure";
|
|
54705
54705
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
54706
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
54706
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
54707
54707
|
readonly type: "function";
|
|
54708
54708
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54709
54709
|
readonly inputs: readonly [{
|
|
@@ -55324,7 +55324,7 @@ declare const useLens: () => {
|
|
|
55324
55324
|
}];
|
|
55325
55325
|
readonly stateMutability: "pure";
|
|
55326
55326
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
55327
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
55327
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
55328
55328
|
readonly type: "function";
|
|
55329
55329
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55330
55330
|
readonly inputs: readonly [{
|
|
@@ -55945,7 +55945,7 @@ declare const useLens: () => {
|
|
|
55945
55945
|
}];
|
|
55946
55946
|
readonly stateMutability: "pure";
|
|
55947
55947
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
55948
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
55948
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
55949
55949
|
readonly type: "function";
|
|
55950
55950
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55951
55951
|
readonly inputs: readonly [{
|
|
@@ -56566,7 +56566,7 @@ declare const useLens: () => {
|
|
|
56566
56566
|
}];
|
|
56567
56567
|
readonly stateMutability: "pure";
|
|
56568
56568
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
56569
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
56569
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
56570
56570
|
readonly type: "function";
|
|
56571
56571
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56572
56572
|
readonly inputs: readonly [{
|
|
@@ -57187,7 +57187,7 @@ declare const useLens: () => {
|
|
|
57187
57187
|
}];
|
|
57188
57188
|
readonly stateMutability: "pure";
|
|
57189
57189
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
57190
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
57190
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
57191
57191
|
readonly type: "function";
|
|
57192
57192
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57193
57193
|
readonly inputs: readonly [{
|
|
@@ -57808,7 +57808,7 @@ declare const useLens: () => {
|
|
|
57808
57808
|
}];
|
|
57809
57809
|
readonly stateMutability: "pure";
|
|
57810
57810
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
57811
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
57811
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
57812
57812
|
readonly type: "function";
|
|
57813
57813
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57814
57814
|
readonly inputs: readonly [{
|
|
@@ -58429,7 +58429,7 @@ declare const useLens: () => {
|
|
|
58429
58429
|
}];
|
|
58430
58430
|
readonly stateMutability: "pure";
|
|
58431
58431
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58432
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
58432
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
58433
58433
|
readonly type: "function";
|
|
58434
58434
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58435
58435
|
readonly inputs: readonly [{
|
|
@@ -59050,7 +59050,7 @@ declare const useLens: () => {
|
|
|
59050
59050
|
}];
|
|
59051
59051
|
readonly stateMutability: "pure";
|
|
59052
59052
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
59053
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
59053
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
59054
59054
|
readonly type: "function";
|
|
59055
59055
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59056
59056
|
readonly inputs: readonly [{
|
|
@@ -59671,7 +59671,7 @@ declare const useLens: () => {
|
|
|
59671
59671
|
}];
|
|
59672
59672
|
readonly stateMutability: "pure";
|
|
59673
59673
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
59674
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
59674
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
59675
59675
|
readonly type: "function";
|
|
59676
59676
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59677
59677
|
readonly inputs: readonly [{
|
|
@@ -60292,7 +60292,7 @@ declare const useLens: () => {
|
|
|
60292
60292
|
}];
|
|
60293
60293
|
readonly stateMutability: "pure";
|
|
60294
60294
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60295
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
60295
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
60296
60296
|
readonly type: "function";
|
|
60297
60297
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60298
60298
|
readonly inputs: readonly [{
|
|
@@ -60913,7 +60913,7 @@ declare const useLens: () => {
|
|
|
60913
60913
|
}];
|
|
60914
60914
|
readonly stateMutability: "pure";
|
|
60915
60915
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60916
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
60916
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
60917
60917
|
readonly type: "function";
|
|
60918
60918
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60919
60919
|
readonly inputs: readonly [{
|
|
@@ -61534,7 +61534,7 @@ declare const useLens: () => {
|
|
|
61534
61534
|
}];
|
|
61535
61535
|
readonly stateMutability: "pure";
|
|
61536
61536
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
61537
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
61537
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
61538
61538
|
readonly type: "function";
|
|
61539
61539
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
61540
61540
|
readonly inputs: readonly [{
|
|
@@ -62155,7 +62155,7 @@ declare const useLens: () => {
|
|
|
62155
62155
|
}];
|
|
62156
62156
|
readonly stateMutability: "pure";
|
|
62157
62157
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
62158
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
62158
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
62159
62159
|
readonly type: "function";
|
|
62160
62160
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
62161
62161
|
readonly inputs: readonly [{
|
|
@@ -62776,7 +62776,7 @@ declare const useLens: () => {
|
|
|
62776
62776
|
}];
|
|
62777
62777
|
readonly stateMutability: "pure";
|
|
62778
62778
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
62779
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
62779
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
62780
62780
|
readonly type: "function";
|
|
62781
62781
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
62782
62782
|
readonly inputs: readonly [{
|
|
@@ -63397,7 +63397,7 @@ declare const useLens: () => {
|
|
|
63397
63397
|
}];
|
|
63398
63398
|
readonly stateMutability: "pure";
|
|
63399
63399
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
63400
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
63400
|
+
getPriceAtTick: (args: readonly [number], options?: viem179.Prettify<viem179.UnionOmit<viem179.ReadContractParameters<readonly [{
|
|
63401
63401
|
readonly type: "function";
|
|
63402
63402
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
63403
63403
|
readonly inputs: readonly [{
|
|
@@ -64654,4 +64654,4 @@ declare const useApproval: () => {
|
|
|
64654
64654
|
};
|
|
64655
64655
|
//#endregion
|
|
64656
64656
|
export { OptionEvent as $, roundTickDown as A, TimelockLens as At, getPriceHistory as B, uniswapMathLenses as Bt, getPriceAtSqrtPriceX96 as C, useExerciseOption as Ct, liquiditiesToAmount0 as D, TimelockProvider as Dt, getTickAtPrice as E, useClosedUserOptions as Et, token1ToToken0AtTick as F, getTimelockLens as Ft, useClosedUserPerps as G, useUserOperators as H, PriceData as I, getTimelockMarket as It, useClosePerp as J, useUserPerps as K, PriceDataPoint as L, getUniswapMathLens as Lt, token0ToToken1 as M, TimelockMarketData as Mt, token0ToToken1AtTick as N, UniswapMathLens as Nt, liquiditiesToAmount1 as O, useCurrentMarket as Ot, token1ToToken0 as P, getErc20 as Pt, MintOptionEvent as Q, PriceResolution as R, swappers as Rt, getNearestValidStrikeTick as S, useMarketData as St, getSqrtPriceX96AtPrice as T, useActiveUserOptions as Tt, useOperatorPerms as U, useSetOperatorPerms as V, useActiveUserPerps as W, ExerciseOptionEvent as X, useMintPerp as Y, ExtendEvent as Z, useCurrentPrice as _, wrapAmountUnscaled as _t, batchGetAmountsFromLiquidity as a, useMaxPositionSize as at, PRICE_PRECISION as b, zero as bt, useLiquidityBlocks as c, formatAmount as ct, usePriceHistory as d, formatVagueAmount as dt, useOptionTimeline as et, usePriceAtTick as f, scaleAmount as ft, useCurrentTick as g, wrapAmount as gt, usePoolData as h, unscalePrice as ht, useVaultData as i, useMintOption as it, roundTickUp as j, TimelockMarket as jt, liquiditiesToAmounts as k, useTimelockConfig as kt, useBurnLiquidity as l, formatCondensed as lt, UniswapPoolData as m, unscaleAmount as mt, useLens as n, useOptionPremium as nt, useMintLiquidity as o, Amount as ot, usePriceSqrtPriceX96 as p, scalePrice as pt, usePerpsOperator as q, useVaultTVL as r, useOptionPnl as rt, LiquidityBlockData as s, EMPTY_ARRAY as st, useApproval as t, useExtendOption as tt, useMarketPriceHistory as u, formatUSD as ut, getPayoutAtPrice as v, wrapPrice as vt, getPriceAtTick as w, OptionData as wt, getAmountsFromLiquidity as x, useMarketVolume as xt, getPayoutAtTick as y, wrapPriceUnscaled as yt, getCurrentPrice as z, timelockLenses as zt };
|
|
64657
|
-
//# sourceMappingURL=client-
|
|
64657
|
+
//# sourceMappingURL=client-DXq_0YH-.d.cts.map
|