timelock-sdk 0.0.133 → 0.0.134
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-BuKYj0pW.d.ts → client-CJcTIGGv.d.cts} +223 -202
- package/dist/{client-QYPs5kB7.d.cts → client-CZdmjIOb.d.ts} +380 -359
- package/dist/client.cjs +58 -5
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +58 -6
- package/dist/client.js.map +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-
|
|
2
|
-
import * as
|
|
1
|
+
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-DHfzEjej.js";
|
|
2
|
+
import * as viem42 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
|
+
import Big from "big.js";
|
|
5
|
+
import JSBI from "jsbi";
|
|
4
6
|
import React, { ReactNode } from "react";
|
|
5
|
-
import "graphql";
|
|
6
7
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
7
8
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
8
9
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import JSBI from "jsbi";
|
|
10
|
+
import "graphql";
|
|
11
|
+
import * as _tanstack_query_core41 from "@tanstack/query-core";
|
|
12
12
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
13
13
|
|
|
14
14
|
//#region src/generated/graphql.d.ts
|
|
@@ -130,8 +130,6 @@ type GetMarketDataQuery = {
|
|
|
130
130
|
__typename: 'TimelockMarket';
|
|
131
131
|
id: string;
|
|
132
132
|
address: string;
|
|
133
|
-
optionsCount: any;
|
|
134
|
-
tradersCount: any;
|
|
135
133
|
vault: string;
|
|
136
134
|
pool: string;
|
|
137
135
|
tickSpacing: number;
|
|
@@ -146,6 +144,20 @@ type GetMarketDataQuery = {
|
|
|
146
144
|
payoutAssetName: string;
|
|
147
145
|
}>;
|
|
148
146
|
};
|
|
147
|
+
type GetMarketVolumeQueryVariables = Exact<{
|
|
148
|
+
marketAddr: Scalars['String']['input'];
|
|
149
|
+
}>;
|
|
150
|
+
type GetMarketVolumeQuery = {
|
|
151
|
+
__typename: 'query_root';
|
|
152
|
+
TimelockMarket: Array<{
|
|
153
|
+
__typename: 'TimelockMarket';
|
|
154
|
+
id: string;
|
|
155
|
+
address: string;
|
|
156
|
+
optionsCount: any;
|
|
157
|
+
tradersCount: any;
|
|
158
|
+
volume: any;
|
|
159
|
+
}>;
|
|
160
|
+
};
|
|
149
161
|
type GetUserMarketOperatorsQueryVariables = Exact<{
|
|
150
162
|
userAddr: Scalars['String']['input'];
|
|
151
163
|
marketAddr: Scalars['String']['input'];
|
|
@@ -215,6 +227,7 @@ declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper)
|
|
|
215
227
|
GetClosedUserOptions(variables: GetClosedUserOptionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClosedUserOptionsQuery>;
|
|
216
228
|
GetClosedUserOptionsByMarket(variables: GetClosedUserOptionsByMarketQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClosedUserOptionsByMarketQuery>;
|
|
217
229
|
GetMarketData(variables: GetMarketDataQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetMarketDataQuery>;
|
|
230
|
+
GetMarketVolume(variables: GetMarketVolumeQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetMarketVolumeQuery>;
|
|
218
231
|
GetUserMarketOperators(variables: GetUserMarketOperatorsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetUserMarketOperatorsQuery>;
|
|
219
232
|
GetOptionEvents(variables: GetOptionEventsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetOptionEventsQuery>;
|
|
220
233
|
};
|
|
@@ -228,7 +241,7 @@ type TimelockMarketData = Awaited<ReturnType<TimelockLens['read']['getMarketData
|
|
|
228
241
|
};
|
|
229
242
|
declare const getErc20: (address: Address, client: Client) => {
|
|
230
243
|
read: {
|
|
231
|
-
symbol: (options?:
|
|
244
|
+
symbol: (options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
232
245
|
readonly type: "constructor";
|
|
233
246
|
readonly inputs: readonly [{
|
|
234
247
|
readonly name: "name_";
|
|
@@ -407,7 +420,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
407
420
|
}];
|
|
408
421
|
readonly stateMutability: "nonpayable";
|
|
409
422
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
410
|
-
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?:
|
|
423
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
411
424
|
readonly type: "constructor";
|
|
412
425
|
readonly inputs: readonly [{
|
|
413
426
|
readonly name: "name_";
|
|
@@ -586,7 +599,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
586
599
|
}];
|
|
587
600
|
readonly stateMutability: "nonpayable";
|
|
588
601
|
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
589
|
-
balanceOf: (args: readonly [`0x${string}`], options?:
|
|
602
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
590
603
|
readonly type: "constructor";
|
|
591
604
|
readonly inputs: readonly [{
|
|
592
605
|
readonly name: "name_";
|
|
@@ -765,7 +778,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
765
778
|
}];
|
|
766
779
|
readonly stateMutability: "nonpayable";
|
|
767
780
|
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
768
|
-
decimals: (options?:
|
|
781
|
+
decimals: (options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
769
782
|
readonly type: "constructor";
|
|
770
783
|
readonly inputs: readonly [{
|
|
771
784
|
readonly name: "name_";
|
|
@@ -944,7 +957,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
944
957
|
}];
|
|
945
958
|
readonly stateMutability: "nonpayable";
|
|
946
959
|
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
947
|
-
name: (options?:
|
|
960
|
+
name: (options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
948
961
|
readonly type: "constructor";
|
|
949
962
|
readonly inputs: readonly [{
|
|
950
963
|
readonly name: "name_";
|
|
@@ -1123,7 +1136,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1123
1136
|
}];
|
|
1124
1137
|
readonly stateMutability: "nonpayable";
|
|
1125
1138
|
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
1126
|
-
totalSupply: (options?:
|
|
1139
|
+
totalSupply: (options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
1127
1140
|
readonly type: "constructor";
|
|
1128
1141
|
readonly inputs: readonly [{
|
|
1129
1142
|
readonly name: "name_";
|
|
@@ -1304,7 +1317,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1304
1317
|
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1305
1318
|
};
|
|
1306
1319
|
estimateGas: {
|
|
1307
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
1320
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem42.Prettify<viem42.UnionOmit<viem42.EstimateContractGasParameters<readonly [{
|
|
1308
1321
|
readonly type: "constructor";
|
|
1309
1322
|
readonly inputs: readonly [{
|
|
1310
1323
|
readonly name: "name_";
|
|
@@ -1482,8 +1495,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1482
1495
|
readonly internalType: "bool";
|
|
1483
1496
|
}];
|
|
1484
1497
|
readonly stateMutability: "nonpayable";
|
|
1485
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
1486
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1498
|
+
}], "approve", readonly [`0x${string}`, bigint], viem42.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem42.EstimateContractGasReturnType>;
|
|
1499
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem42.Prettify<viem42.UnionOmit<viem42.EstimateContractGasParameters<readonly [{
|
|
1487
1500
|
readonly type: "constructor";
|
|
1488
1501
|
readonly inputs: readonly [{
|
|
1489
1502
|
readonly name: "name_";
|
|
@@ -1661,8 +1674,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1661
1674
|
readonly internalType: "bool";
|
|
1662
1675
|
}];
|
|
1663
1676
|
readonly stateMutability: "nonpayable";
|
|
1664
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
1665
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
1677
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem42.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem42.EstimateContractGasReturnType>;
|
|
1678
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem42.Prettify<viem42.UnionOmit<viem42.EstimateContractGasParameters<readonly [{
|
|
1666
1679
|
readonly type: "constructor";
|
|
1667
1680
|
readonly inputs: readonly [{
|
|
1668
1681
|
readonly name: "name_";
|
|
@@ -1840,8 +1853,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1840
1853
|
readonly internalType: "bool";
|
|
1841
1854
|
}];
|
|
1842
1855
|
readonly stateMutability: "nonpayable";
|
|
1843
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
1844
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
1856
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem42.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem42.EstimateContractGasReturnType>;
|
|
1857
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem42.Prettify<viem42.UnionOmit<viem42.EstimateContractGasParameters<readonly [{
|
|
1845
1858
|
readonly type: "constructor";
|
|
1846
1859
|
readonly inputs: readonly [{
|
|
1847
1860
|
readonly name: "name_";
|
|
@@ -2019,8 +2032,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2019
2032
|
readonly internalType: "bool";
|
|
2020
2033
|
}];
|
|
2021
2034
|
readonly stateMutability: "nonpayable";
|
|
2022
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2023
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2035
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem42.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem42.EstimateContractGasReturnType>;
|
|
2036
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem42.Prettify<viem42.UnionOmit<viem42.EstimateContractGasParameters<readonly [{
|
|
2024
2037
|
readonly type: "constructor";
|
|
2025
2038
|
readonly inputs: readonly [{
|
|
2026
2039
|
readonly name: "name_";
|
|
@@ -2198,9 +2211,9 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2198
2211
|
readonly internalType: "bool";
|
|
2199
2212
|
}];
|
|
2200
2213
|
readonly stateMutability: "nonpayable";
|
|
2201
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
2214
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem42.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem42.EstimateContractGasReturnType>;
|
|
2202
2215
|
} & {
|
|
2203
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
2216
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem42.Prettify<viem42.UnionOmit<viem42.EstimateContractGasParameters<readonly [{
|
|
2204
2217
|
readonly type: "constructor";
|
|
2205
2218
|
readonly inputs: readonly [{
|
|
2206
2219
|
readonly name: "name_";
|
|
@@ -2378,8 +2391,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2378
2391
|
readonly internalType: "bool";
|
|
2379
2392
|
}];
|
|
2380
2393
|
readonly stateMutability: "nonpayable";
|
|
2381
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
2382
|
-
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2394
|
+
}], "approve", readonly [`0x${string}`, bigint], viem42.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem42.EstimateContractGasReturnType>;
|
|
2395
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem42.Prettify<viem42.UnionOmit<viem42.EstimateContractGasParameters<readonly [{
|
|
2383
2396
|
readonly type: "constructor";
|
|
2384
2397
|
readonly inputs: readonly [{
|
|
2385
2398
|
readonly name: "name_";
|
|
@@ -2557,8 +2570,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2557
2570
|
readonly internalType: "bool";
|
|
2558
2571
|
}];
|
|
2559
2572
|
readonly stateMutability: "nonpayable";
|
|
2560
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
2561
|
-
increaseAllowance: (args: readonly [`0x${string}`, bigint], options:
|
|
2573
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem42.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem42.EstimateContractGasReturnType>;
|
|
2574
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem42.Prettify<viem42.UnionOmit<viem42.EstimateContractGasParameters<readonly [{
|
|
2562
2575
|
readonly type: "constructor";
|
|
2563
2576
|
readonly inputs: readonly [{
|
|
2564
2577
|
readonly name: "name_";
|
|
@@ -2736,8 +2749,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2736
2749
|
readonly internalType: "bool";
|
|
2737
2750
|
}];
|
|
2738
2751
|
readonly stateMutability: "nonpayable";
|
|
2739
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
2740
|
-
transfer: (args: readonly [`0x${string}`, bigint], options:
|
|
2752
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem42.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem42.EstimateContractGasReturnType>;
|
|
2753
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem42.Prettify<viem42.UnionOmit<viem42.EstimateContractGasParameters<readonly [{
|
|
2741
2754
|
readonly type: "constructor";
|
|
2742
2755
|
readonly inputs: readonly [{
|
|
2743
2756
|
readonly name: "name_";
|
|
@@ -2915,8 +2928,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2915
2928
|
readonly internalType: "bool";
|
|
2916
2929
|
}];
|
|
2917
2930
|
readonly stateMutability: "nonpayable";
|
|
2918
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
2919
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options:
|
|
2931
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem42.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem42.EstimateContractGasReturnType>;
|
|
2932
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem42.Prettify<viem42.UnionOmit<viem42.EstimateContractGasParameters<readonly [{
|
|
2920
2933
|
readonly type: "constructor";
|
|
2921
2934
|
readonly inputs: readonly [{
|
|
2922
2935
|
readonly name: "name_";
|
|
@@ -3094,10 +3107,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3094
3107
|
readonly internalType: "bool";
|
|
3095
3108
|
}];
|
|
3096
3109
|
readonly stateMutability: "nonpayable";
|
|
3097
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
3110
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem42.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem42.EstimateContractGasReturnType>;
|
|
3098
3111
|
};
|
|
3099
3112
|
simulate: {
|
|
3100
|
-
approve: <chainOverride extends
|
|
3113
|
+
approve: <chainOverride extends viem42.Chain | undefined = undefined, accountOverride extends viem42.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem42.SimulateContractParameters<readonly [{
|
|
3101
3114
|
readonly type: "constructor";
|
|
3102
3115
|
readonly inputs: readonly [{
|
|
3103
3116
|
readonly name: "name_";
|
|
@@ -3275,7 +3288,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3275
3288
|
readonly internalType: "bool";
|
|
3276
3289
|
}];
|
|
3277
3290
|
readonly stateMutability: "nonpayable";
|
|
3278
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3291
|
+
}], "approve", readonly [`0x${string}`, bigint], viem42.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem42.SimulateContractReturnType<readonly [{
|
|
3279
3292
|
readonly type: "constructor";
|
|
3280
3293
|
readonly inputs: readonly [{
|
|
3281
3294
|
readonly name: "name_";
|
|
@@ -3453,8 +3466,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3453
3466
|
readonly internalType: "bool";
|
|
3454
3467
|
}];
|
|
3455
3468
|
readonly stateMutability: "nonpayable";
|
|
3456
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
3457
|
-
decreaseAllowance: <chainOverride extends
|
|
3469
|
+
}], "approve", readonly [`0x${string}`, bigint], viem42.Chain | undefined, viem42.Account | undefined, chainOverride, accountOverride>>;
|
|
3470
|
+
decreaseAllowance: <chainOverride extends viem42.Chain | undefined = undefined, accountOverride extends viem42.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem42.SimulateContractParameters<readonly [{
|
|
3458
3471
|
readonly type: "constructor";
|
|
3459
3472
|
readonly inputs: readonly [{
|
|
3460
3473
|
readonly name: "name_";
|
|
@@ -3632,7 +3645,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3632
3645
|
readonly internalType: "bool";
|
|
3633
3646
|
}];
|
|
3634
3647
|
readonly stateMutability: "nonpayable";
|
|
3635
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3648
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem42.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem42.SimulateContractReturnType<readonly [{
|
|
3636
3649
|
readonly type: "constructor";
|
|
3637
3650
|
readonly inputs: readonly [{
|
|
3638
3651
|
readonly name: "name_";
|
|
@@ -3810,8 +3823,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3810
3823
|
readonly internalType: "bool";
|
|
3811
3824
|
}];
|
|
3812
3825
|
readonly stateMutability: "nonpayable";
|
|
3813
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
3814
|
-
increaseAllowance: <chainOverride extends
|
|
3826
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem42.Chain | undefined, viem42.Account | undefined, chainOverride, accountOverride>>;
|
|
3827
|
+
increaseAllowance: <chainOverride extends viem42.Chain | undefined = undefined, accountOverride extends viem42.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem42.SimulateContractParameters<readonly [{
|
|
3815
3828
|
readonly type: "constructor";
|
|
3816
3829
|
readonly inputs: readonly [{
|
|
3817
3830
|
readonly name: "name_";
|
|
@@ -3989,7 +4002,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3989
4002
|
readonly internalType: "bool";
|
|
3990
4003
|
}];
|
|
3991
4004
|
readonly stateMutability: "nonpayable";
|
|
3992
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
4005
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem42.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem42.SimulateContractReturnType<readonly [{
|
|
3993
4006
|
readonly type: "constructor";
|
|
3994
4007
|
readonly inputs: readonly [{
|
|
3995
4008
|
readonly name: "name_";
|
|
@@ -4167,8 +4180,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4167
4180
|
readonly internalType: "bool";
|
|
4168
4181
|
}];
|
|
4169
4182
|
readonly stateMutability: "nonpayable";
|
|
4170
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
4171
|
-
transfer: <chainOverride extends
|
|
4183
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem42.Chain | undefined, viem42.Account | undefined, chainOverride, accountOverride>>;
|
|
4184
|
+
transfer: <chainOverride extends viem42.Chain | undefined = undefined, accountOverride extends viem42.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem42.SimulateContractParameters<readonly [{
|
|
4172
4185
|
readonly type: "constructor";
|
|
4173
4186
|
readonly inputs: readonly [{
|
|
4174
4187
|
readonly name: "name_";
|
|
@@ -4346,7 +4359,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4346
4359
|
readonly internalType: "bool";
|
|
4347
4360
|
}];
|
|
4348
4361
|
readonly stateMutability: "nonpayable";
|
|
4349
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4362
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem42.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem42.SimulateContractReturnType<readonly [{
|
|
4350
4363
|
readonly type: "constructor";
|
|
4351
4364
|
readonly inputs: readonly [{
|
|
4352
4365
|
readonly name: "name_";
|
|
@@ -4524,8 +4537,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4524
4537
|
readonly internalType: "bool";
|
|
4525
4538
|
}];
|
|
4526
4539
|
readonly stateMutability: "nonpayable";
|
|
4527
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
4528
|
-
transferFrom: <chainOverride extends
|
|
4540
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem42.Chain | undefined, viem42.Account | undefined, chainOverride, accountOverride>>;
|
|
4541
|
+
transferFrom: <chainOverride extends viem42.Chain | undefined = undefined, accountOverride extends viem42.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem42.SimulateContractParameters<readonly [{
|
|
4529
4542
|
readonly type: "constructor";
|
|
4530
4543
|
readonly inputs: readonly [{
|
|
4531
4544
|
readonly name: "name_";
|
|
@@ -4703,7 +4716,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4703
4716
|
readonly internalType: "bool";
|
|
4704
4717
|
}];
|
|
4705
4718
|
readonly stateMutability: "nonpayable";
|
|
4706
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4719
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem42.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem42.SimulateContractReturnType<readonly [{
|
|
4707
4720
|
readonly type: "constructor";
|
|
4708
4721
|
readonly inputs: readonly [{
|
|
4709
4722
|
readonly name: "name_";
|
|
@@ -4881,10 +4894,10 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4881
4894
|
readonly internalType: "bool";
|
|
4882
4895
|
}];
|
|
4883
4896
|
readonly stateMutability: "nonpayable";
|
|
4884
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
4897
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem42.Chain | undefined, viem42.Account | undefined, chainOverride, accountOverride>>;
|
|
4885
4898
|
};
|
|
4886
4899
|
write: {
|
|
4887
|
-
approve: <chainOverride extends
|
|
4900
|
+
approve: <chainOverride extends viem42.Chain | undefined, options extends (viem42.UnionOmit<viem42.WriteContractParameters<readonly [{
|
|
4888
4901
|
readonly type: "constructor";
|
|
4889
4902
|
readonly inputs: readonly [{
|
|
4890
4903
|
readonly name: "name_";
|
|
@@ -5062,8 +5075,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5062
5075
|
readonly internalType: "bool";
|
|
5063
5076
|
}];
|
|
5064
5077
|
readonly stateMutability: "nonpayable";
|
|
5065
|
-
}], "approve", readonly [`0x${string}`, bigint],
|
|
5066
|
-
decreaseAllowance: <chainOverride extends
|
|
5078
|
+
}], "approve", readonly [`0x${string}`, bigint], viem42.Chain | undefined, viem42.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<viem42.WriteContractReturnType>;
|
|
5079
|
+
decreaseAllowance: <chainOverride extends viem42.Chain | undefined, options extends (viem42.UnionOmit<viem42.WriteContractParameters<readonly [{
|
|
5067
5080
|
readonly type: "constructor";
|
|
5068
5081
|
readonly inputs: readonly [{
|
|
5069
5082
|
readonly name: "name_";
|
|
@@ -5241,8 +5254,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5241
5254
|
readonly internalType: "bool";
|
|
5242
5255
|
}];
|
|
5243
5256
|
readonly stateMutability: "nonpayable";
|
|
5244
|
-
}], "decreaseAllowance", readonly [`0x${string}`, bigint],
|
|
5245
|
-
increaseAllowance: <chainOverride extends
|
|
5257
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem42.Chain | undefined, viem42.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<viem42.WriteContractReturnType>;
|
|
5258
|
+
increaseAllowance: <chainOverride extends viem42.Chain | undefined, options extends (viem42.UnionOmit<viem42.WriteContractParameters<readonly [{
|
|
5246
5259
|
readonly type: "constructor";
|
|
5247
5260
|
readonly inputs: readonly [{
|
|
5248
5261
|
readonly name: "name_";
|
|
@@ -5420,8 +5433,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5420
5433
|
readonly internalType: "bool";
|
|
5421
5434
|
}];
|
|
5422
5435
|
readonly stateMutability: "nonpayable";
|
|
5423
|
-
}], "increaseAllowance", readonly [`0x${string}`, bigint],
|
|
5424
|
-
transfer: <chainOverride extends
|
|
5436
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem42.Chain | undefined, viem42.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<viem42.WriteContractReturnType>;
|
|
5437
|
+
transfer: <chainOverride extends viem42.Chain | undefined, options extends (viem42.UnionOmit<viem42.WriteContractParameters<readonly [{
|
|
5425
5438
|
readonly type: "constructor";
|
|
5426
5439
|
readonly inputs: readonly [{
|
|
5427
5440
|
readonly name: "name_";
|
|
@@ -5599,8 +5612,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5599
5612
|
readonly internalType: "bool";
|
|
5600
5613
|
}];
|
|
5601
5614
|
readonly stateMutability: "nonpayable";
|
|
5602
|
-
}], "transfer", readonly [`0x${string}`, bigint],
|
|
5603
|
-
transferFrom: <chainOverride extends
|
|
5615
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem42.Chain | undefined, viem42.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<viem42.WriteContractReturnType>;
|
|
5616
|
+
transferFrom: <chainOverride extends viem42.Chain | undefined, options extends (viem42.UnionOmit<viem42.WriteContractParameters<readonly [{
|
|
5604
5617
|
readonly type: "constructor";
|
|
5605
5618
|
readonly inputs: readonly [{
|
|
5606
5619
|
readonly name: "name_";
|
|
@@ -5778,7 +5791,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5778
5791
|
readonly internalType: "bool";
|
|
5779
5792
|
}];
|
|
5780
5793
|
readonly stateMutability: "nonpayable";
|
|
5781
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint],
|
|
5794
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem42.Chain | undefined, viem42.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<viem42.WriteContractReturnType>;
|
|
5782
5795
|
};
|
|
5783
5796
|
address: `0x${string}`;
|
|
5784
5797
|
abi: readonly [{
|
|
@@ -5964,7 +5977,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5964
5977
|
declare const getTimelockMarket: (address: Address, client: Client) => TimelockMarket;
|
|
5965
5978
|
declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
5966
5979
|
read: {
|
|
5967
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
5980
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
5968
5981
|
readonly type: "function";
|
|
5969
5982
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
5970
5983
|
readonly inputs: readonly [{
|
|
@@ -6585,7 +6598,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
6585
6598
|
}];
|
|
6586
6599
|
readonly stateMutability: "pure";
|
|
6587
6600
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
6588
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
6601
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
6589
6602
|
readonly type: "function";
|
|
6590
6603
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6591
6604
|
readonly inputs: readonly [{
|
|
@@ -7206,7 +7219,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
7206
7219
|
}];
|
|
7207
7220
|
readonly stateMutability: "pure";
|
|
7208
7221
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7209
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
7222
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
7210
7223
|
readonly type: "function";
|
|
7211
7224
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7212
7225
|
readonly inputs: readonly [{
|
|
@@ -7827,7 +7840,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
7827
7840
|
}];
|
|
7828
7841
|
readonly stateMutability: "pure";
|
|
7829
7842
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7830
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
7843
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
7831
7844
|
readonly type: "function";
|
|
7832
7845
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7833
7846
|
readonly inputs: readonly [{
|
|
@@ -8448,7 +8461,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
8448
8461
|
}];
|
|
8449
8462
|
readonly stateMutability: "pure";
|
|
8450
8463
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
8451
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
8464
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
8452
8465
|
readonly type: "function";
|
|
8453
8466
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8454
8467
|
readonly inputs: readonly [{
|
|
@@ -9069,7 +9082,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
9069
9082
|
}];
|
|
9070
9083
|
readonly stateMutability: "pure";
|
|
9071
9084
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
9072
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
9085
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
9073
9086
|
readonly type: "function";
|
|
9074
9087
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9075
9088
|
readonly inputs: readonly [{
|
|
@@ -9690,7 +9703,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
9690
9703
|
}];
|
|
9691
9704
|
readonly stateMutability: "pure";
|
|
9692
9705
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
9693
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
9706
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
9694
9707
|
readonly type: "function";
|
|
9695
9708
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9696
9709
|
readonly inputs: readonly [{
|
|
@@ -10311,7 +10324,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10311
10324
|
}];
|
|
10312
10325
|
readonly stateMutability: "pure";
|
|
10313
10326
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10314
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
10327
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
10315
10328
|
readonly type: "function";
|
|
10316
10329
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10317
10330
|
readonly inputs: readonly [{
|
|
@@ -10932,7 +10945,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
10932
10945
|
}];
|
|
10933
10946
|
readonly stateMutability: "pure";
|
|
10934
10947
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10935
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
10948
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
10936
10949
|
readonly type: "function";
|
|
10937
10950
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10938
10951
|
readonly inputs: readonly [{
|
|
@@ -11553,7 +11566,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
11553
11566
|
}];
|
|
11554
11567
|
readonly stateMutability: "pure";
|
|
11555
11568
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
11556
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
11569
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
11557
11570
|
readonly type: "function";
|
|
11558
11571
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11559
11572
|
readonly inputs: readonly [{
|
|
@@ -12174,7 +12187,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12174
12187
|
}];
|
|
12175
12188
|
readonly stateMutability: "pure";
|
|
12176
12189
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12177
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
12190
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
12178
12191
|
readonly type: "function";
|
|
12179
12192
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12180
12193
|
readonly inputs: readonly [{
|
|
@@ -12795,7 +12808,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
12795
12808
|
}];
|
|
12796
12809
|
readonly stateMutability: "pure";
|
|
12797
12810
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
12798
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
12811
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
12799
12812
|
readonly type: "function";
|
|
12800
12813
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12801
12814
|
readonly inputs: readonly [{
|
|
@@ -13416,7 +13429,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
13416
13429
|
}];
|
|
13417
13430
|
readonly stateMutability: "pure";
|
|
13418
13431
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13419
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
13432
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
13420
13433
|
readonly type: "function";
|
|
13421
13434
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13422
13435
|
readonly inputs: readonly [{
|
|
@@ -14037,7 +14050,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14037
14050
|
}];
|
|
14038
14051
|
readonly stateMutability: "pure";
|
|
14039
14052
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14040
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
14053
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
14041
14054
|
readonly type: "function";
|
|
14042
14055
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14043
14056
|
readonly inputs: readonly [{
|
|
@@ -14658,7 +14671,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
14658
14671
|
}];
|
|
14659
14672
|
readonly stateMutability: "pure";
|
|
14660
14673
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
14661
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
14674
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
14662
14675
|
readonly type: "function";
|
|
14663
14676
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14664
14677
|
readonly inputs: readonly [{
|
|
@@ -15279,7 +15292,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15279
15292
|
}];
|
|
15280
15293
|
readonly stateMutability: "pure";
|
|
15281
15294
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15282
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
15295
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
15283
15296
|
readonly type: "function";
|
|
15284
15297
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15285
15298
|
readonly inputs: readonly [{
|
|
@@ -15900,7 +15913,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
15900
15913
|
}];
|
|
15901
15914
|
readonly stateMutability: "pure";
|
|
15902
15915
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15903
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
15916
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
15904
15917
|
readonly type: "function";
|
|
15905
15918
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15906
15919
|
readonly inputs: readonly [{
|
|
@@ -16521,7 +16534,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
16521
16534
|
}];
|
|
16522
16535
|
readonly stateMutability: "pure";
|
|
16523
16536
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
16524
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
16537
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
16525
16538
|
readonly type: "function";
|
|
16526
16539
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16527
16540
|
readonly inputs: readonly [{
|
|
@@ -17142,7 +17155,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17142
17155
|
}];
|
|
17143
17156
|
readonly stateMutability: "pure";
|
|
17144
17157
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
17145
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
17158
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
17146
17159
|
readonly type: "function";
|
|
17147
17160
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17148
17161
|
readonly inputs: readonly [{
|
|
@@ -17763,7 +17776,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
17763
17776
|
}];
|
|
17764
17777
|
readonly stateMutability: "pure";
|
|
17765
17778
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
17766
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
17779
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
17767
17780
|
readonly type: "function";
|
|
17768
17781
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17769
17782
|
readonly inputs: readonly [{
|
|
@@ -18384,7 +18397,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
18384
18397
|
}];
|
|
18385
18398
|
readonly stateMutability: "pure";
|
|
18386
18399
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
18387
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
18400
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
18388
18401
|
readonly type: "function";
|
|
18389
18402
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18390
18403
|
readonly inputs: readonly [{
|
|
@@ -19005,7 +19018,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19005
19018
|
}];
|
|
19006
19019
|
readonly stateMutability: "pure";
|
|
19007
19020
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
19008
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
19021
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
19009
19022
|
readonly type: "function";
|
|
19010
19023
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19011
19024
|
readonly inputs: readonly [{
|
|
@@ -19626,7 +19639,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
19626
19639
|
}];
|
|
19627
19640
|
readonly stateMutability: "pure";
|
|
19628
19641
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
19629
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
19642
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
19630
19643
|
readonly type: "function";
|
|
19631
19644
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19632
19645
|
readonly inputs: readonly [{
|
|
@@ -20247,7 +20260,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20247
20260
|
}];
|
|
20248
20261
|
readonly stateMutability: "pure";
|
|
20249
20262
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20250
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
20263
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
20251
20264
|
readonly type: "function";
|
|
20252
20265
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20253
20266
|
readonly inputs: readonly [{
|
|
@@ -20868,7 +20881,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
20868
20881
|
}];
|
|
20869
20882
|
readonly stateMutability: "pure";
|
|
20870
20883
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
20871
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
20884
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
20872
20885
|
readonly type: "function";
|
|
20873
20886
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20874
20887
|
readonly inputs: readonly [{
|
|
@@ -21489,7 +21502,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
21489
21502
|
}];
|
|
21490
21503
|
readonly stateMutability: "pure";
|
|
21491
21504
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21492
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
21505
|
+
getPriceAtTick: (args: readonly [number], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
21493
21506
|
readonly type: "function";
|
|
21494
21507
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21495
21508
|
readonly inputs: readonly [{
|
|
@@ -22736,7 +22749,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
|
|
|
22736
22749
|
};
|
|
22737
22750
|
declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
22738
22751
|
read: {
|
|
22739
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
22752
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
22740
22753
|
readonly type: "function";
|
|
22741
22754
|
readonly name: "batchGetRefTick";
|
|
22742
22755
|
readonly inputs: readonly [{
|
|
@@ -23343,7 +23356,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23343
23356
|
}];
|
|
23344
23357
|
readonly stateMutability: "view";
|
|
23345
23358
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
23346
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
23359
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
23347
23360
|
readonly type: "function";
|
|
23348
23361
|
readonly name: "batchGetRefTick";
|
|
23349
23362
|
readonly inputs: readonly [{
|
|
@@ -23960,7 +23973,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
23960
23973
|
borrowedAmount0: bigint;
|
|
23961
23974
|
borrowedAmount1: bigint;
|
|
23962
23975
|
}[]>;
|
|
23963
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
23976
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
23964
23977
|
readonly type: "function";
|
|
23965
23978
|
readonly name: "batchGetRefTick";
|
|
23966
23979
|
readonly inputs: readonly [{
|
|
@@ -24577,7 +24590,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
24577
24590
|
expiresAt: number;
|
|
24578
24591
|
liquidities: readonly bigint[];
|
|
24579
24592
|
}[], bigint, boolean]>;
|
|
24580
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
24593
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
24581
24594
|
readonly type: "function";
|
|
24582
24595
|
readonly name: "batchGetRefTick";
|
|
24583
24596
|
readonly inputs: readonly [{
|
|
@@ -25184,7 +25197,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25184
25197
|
}];
|
|
25185
25198
|
readonly stateMutability: "view";
|
|
25186
25199
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
25187
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
25200
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
25188
25201
|
readonly type: "function";
|
|
25189
25202
|
readonly name: "batchGetRefTick";
|
|
25190
25203
|
readonly inputs: readonly [{
|
|
@@ -25804,7 +25817,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
25804
25817
|
payoutAssetName: string;
|
|
25805
25818
|
optionsCount: bigint;
|
|
25806
25819
|
}>;
|
|
25807
|
-
getMaxATMSizes: (args: readonly [`0x${string}`, number], options?:
|
|
25820
|
+
getMaxATMSizes: (args: readonly [`0x${string}`, number], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
25808
25821
|
readonly type: "function";
|
|
25809
25822
|
readonly name: "batchGetRefTick";
|
|
25810
25823
|
readonly inputs: readonly [{
|
|
@@ -26411,7 +26424,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
26411
26424
|
}];
|
|
26412
26425
|
readonly stateMutability: "view";
|
|
26413
26426
|
}], "getMaxATMSizes", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
26414
|
-
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?:
|
|
26427
|
+
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
26415
26428
|
readonly type: "function";
|
|
26416
26429
|
readonly name: "batchGetRefTick";
|
|
26417
26430
|
readonly inputs: readonly [{
|
|
@@ -27018,7 +27031,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27018
27031
|
}];
|
|
27019
27032
|
readonly stateMutability: "view";
|
|
27020
27033
|
}], "getMaxBorrowable0", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27021
|
-
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?:
|
|
27034
|
+
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
27022
27035
|
readonly type: "function";
|
|
27023
27036
|
readonly name: "batchGetRefTick";
|
|
27024
27037
|
readonly inputs: readonly [{
|
|
@@ -27625,7 +27638,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
27625
27638
|
}];
|
|
27626
27639
|
readonly stateMutability: "view";
|
|
27627
27640
|
}], "getMaxBorrowable1", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27628
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
27641
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
27629
27642
|
readonly type: "function";
|
|
27630
27643
|
readonly name: "batchGetRefTick";
|
|
27631
27644
|
readonly inputs: readonly [{
|
|
@@ -28242,7 +28255,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28242
28255
|
expiresAt: number;
|
|
28243
28256
|
liquidities: readonly bigint[];
|
|
28244
28257
|
}>;
|
|
28245
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
28258
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
28246
28259
|
readonly type: "function";
|
|
28247
28260
|
readonly name: "batchGetRefTick";
|
|
28248
28261
|
readonly inputs: readonly [{
|
|
@@ -28859,7 +28872,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
28859
28872
|
expiresAt: number;
|
|
28860
28873
|
liquidities: readonly bigint[];
|
|
28861
28874
|
}[]>;
|
|
28862
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
28875
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
28863
28876
|
readonly type: "function";
|
|
28864
28877
|
readonly name: "batchGetRefTick";
|
|
28865
28878
|
readonly inputs: readonly [{
|
|
@@ -29477,7 +29490,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
29477
29490
|
tickSpacing: number;
|
|
29478
29491
|
fee: number;
|
|
29479
29492
|
}>;
|
|
29480
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
29493
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
29481
29494
|
readonly type: "function";
|
|
29482
29495
|
readonly name: "batchGetRefTick";
|
|
29483
29496
|
readonly inputs: readonly [{
|
|
@@ -30084,7 +30097,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30084
30097
|
}];
|
|
30085
30098
|
readonly stateMutability: "view";
|
|
30086
30099
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
30087
|
-
getTokenData: (args: readonly [`0x${string}`], options?:
|
|
30100
|
+
getTokenData: (args: readonly [`0x${string}`], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
30088
30101
|
readonly type: "function";
|
|
30089
30102
|
readonly name: "batchGetRefTick";
|
|
30090
30103
|
readonly inputs: readonly [{
|
|
@@ -30695,7 +30708,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
30695
30708
|
symbol: string;
|
|
30696
30709
|
name: string;
|
|
30697
30710
|
}>;
|
|
30698
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
30711
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
30699
30712
|
readonly type: "function";
|
|
30700
30713
|
readonly name: "batchGetRefTick";
|
|
30701
30714
|
readonly inputs: readonly [{
|
|
@@ -31312,7 +31325,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
|
|
|
31312
31325
|
expiresAt: number;
|
|
31313
31326
|
liquidities: readonly bigint[];
|
|
31314
31327
|
}[], bigint, boolean]>;
|
|
31315
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
31328
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
31316
31329
|
readonly type: "function";
|
|
31317
31330
|
readonly name: "batchGetRefTick";
|
|
31318
31331
|
readonly inputs: readonly [{
|
|
@@ -32629,7 +32642,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32629
32642
|
isRefetching: boolean;
|
|
32630
32643
|
isStale: boolean;
|
|
32631
32644
|
isEnabled: boolean;
|
|
32632
|
-
refetch: (options?:
|
|
32645
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
32633
32646
|
optionId: bigint;
|
|
32634
32647
|
marketAddr: Address;
|
|
32635
32648
|
ownerAddr: Address;
|
|
@@ -32659,7 +32672,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32659
32672
|
address: string;
|
|
32660
32673
|
} | null;
|
|
32661
32674
|
}[], Error>>;
|
|
32662
|
-
fetchStatus:
|
|
32675
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
32663
32676
|
promise: Promise<{
|
|
32664
32677
|
optionId: bigint;
|
|
32665
32678
|
marketAddr: Address;
|
|
@@ -32743,7 +32756,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32743
32756
|
isRefetching: boolean;
|
|
32744
32757
|
isStale: boolean;
|
|
32745
32758
|
isEnabled: boolean;
|
|
32746
|
-
refetch: (options?:
|
|
32759
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
32747
32760
|
optionId: bigint;
|
|
32748
32761
|
marketAddr: Address;
|
|
32749
32762
|
ownerAddr: Address;
|
|
@@ -32773,7 +32786,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32773
32786
|
address: string;
|
|
32774
32787
|
} | null;
|
|
32775
32788
|
}[], Error>>;
|
|
32776
|
-
fetchStatus:
|
|
32789
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
32777
32790
|
promise: Promise<{
|
|
32778
32791
|
optionId: bigint;
|
|
32779
32792
|
marketAddr: Address;
|
|
@@ -32857,7 +32870,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32857
32870
|
isRefetching: boolean;
|
|
32858
32871
|
isStale: boolean;
|
|
32859
32872
|
isEnabled: boolean;
|
|
32860
|
-
refetch: (options?:
|
|
32873
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
32861
32874
|
optionId: bigint;
|
|
32862
32875
|
marketAddr: Address;
|
|
32863
32876
|
ownerAddr: Address;
|
|
@@ -32887,7 +32900,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32887
32900
|
address: string;
|
|
32888
32901
|
} | null;
|
|
32889
32902
|
}[], Error>>;
|
|
32890
|
-
fetchStatus:
|
|
32903
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
32891
32904
|
promise: Promise<{
|
|
32892
32905
|
optionId: bigint;
|
|
32893
32906
|
marketAddr: Address;
|
|
@@ -32971,7 +32984,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32971
32984
|
isRefetching: boolean;
|
|
32972
32985
|
isStale: boolean;
|
|
32973
32986
|
isEnabled: boolean;
|
|
32974
|
-
refetch: (options?:
|
|
32987
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
32975
32988
|
optionId: bigint;
|
|
32976
32989
|
marketAddr: Address;
|
|
32977
32990
|
ownerAddr: Address;
|
|
@@ -33001,7 +33014,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
33001
33014
|
address: string;
|
|
33002
33015
|
} | null;
|
|
33003
33016
|
}[], Error>>;
|
|
33004
|
-
fetchStatus:
|
|
33017
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33005
33018
|
promise: Promise<{
|
|
33006
33019
|
optionId: bigint;
|
|
33007
33020
|
marketAddr: Address;
|
|
@@ -33085,7 +33098,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
33085
33098
|
isRefetching: boolean;
|
|
33086
33099
|
isStale: boolean;
|
|
33087
33100
|
isEnabled: boolean;
|
|
33088
|
-
refetch: (options?:
|
|
33101
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
33089
33102
|
optionId: bigint;
|
|
33090
33103
|
marketAddr: Address;
|
|
33091
33104
|
ownerAddr: Address;
|
|
@@ -33115,7 +33128,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
33115
33128
|
address: string;
|
|
33116
33129
|
} | null;
|
|
33117
33130
|
}[], Error>>;
|
|
33118
|
-
fetchStatus:
|
|
33131
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33119
33132
|
promise: Promise<{
|
|
33120
33133
|
optionId: bigint;
|
|
33121
33134
|
marketAddr: Address;
|
|
@@ -33199,7 +33212,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
33199
33212
|
isRefetching: boolean;
|
|
33200
33213
|
isStale: boolean;
|
|
33201
33214
|
isEnabled: boolean;
|
|
33202
|
-
refetch: (options?:
|
|
33215
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
33203
33216
|
optionId: bigint;
|
|
33204
33217
|
marketAddr: Address;
|
|
33205
33218
|
ownerAddr: Address;
|
|
@@ -33229,7 +33242,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
33229
33242
|
address: string;
|
|
33230
33243
|
} | null;
|
|
33231
33244
|
}[], Error>>;
|
|
33232
|
-
fetchStatus:
|
|
33245
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33233
33246
|
promise: Promise<{
|
|
33234
33247
|
optionId: bigint;
|
|
33235
33248
|
marketAddr: Address;
|
|
@@ -33314,7 +33327,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33314
33327
|
isRefetching: boolean;
|
|
33315
33328
|
isStale: boolean;
|
|
33316
33329
|
isEnabled: boolean;
|
|
33317
|
-
refetch: (options?:
|
|
33330
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
33318
33331
|
optionId: bigint;
|
|
33319
33332
|
marketAddr: Address;
|
|
33320
33333
|
ownerAddr: Address;
|
|
@@ -33344,7 +33357,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33344
33357
|
address: string;
|
|
33345
33358
|
} | null;
|
|
33346
33359
|
}[], Error>>;
|
|
33347
|
-
fetchStatus:
|
|
33360
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33348
33361
|
promise: Promise<{
|
|
33349
33362
|
optionId: bigint;
|
|
33350
33363
|
marketAddr: Address;
|
|
@@ -33428,7 +33441,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33428
33441
|
isRefetching: boolean;
|
|
33429
33442
|
isStale: boolean;
|
|
33430
33443
|
isEnabled: boolean;
|
|
33431
|
-
refetch: (options?:
|
|
33444
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
33432
33445
|
optionId: bigint;
|
|
33433
33446
|
marketAddr: Address;
|
|
33434
33447
|
ownerAddr: Address;
|
|
@@ -33458,7 +33471,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33458
33471
|
address: string;
|
|
33459
33472
|
} | null;
|
|
33460
33473
|
}[], Error>>;
|
|
33461
|
-
fetchStatus:
|
|
33474
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33462
33475
|
promise: Promise<{
|
|
33463
33476
|
optionId: bigint;
|
|
33464
33477
|
marketAddr: Address;
|
|
@@ -33542,7 +33555,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33542
33555
|
isRefetching: boolean;
|
|
33543
33556
|
isStale: boolean;
|
|
33544
33557
|
isEnabled: boolean;
|
|
33545
|
-
refetch: (options?:
|
|
33558
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
33546
33559
|
optionId: bigint;
|
|
33547
33560
|
marketAddr: Address;
|
|
33548
33561
|
ownerAddr: Address;
|
|
@@ -33572,7 +33585,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33572
33585
|
address: string;
|
|
33573
33586
|
} | null;
|
|
33574
33587
|
}[], Error>>;
|
|
33575
|
-
fetchStatus:
|
|
33588
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33576
33589
|
promise: Promise<{
|
|
33577
33590
|
optionId: bigint;
|
|
33578
33591
|
marketAddr: Address;
|
|
@@ -33656,7 +33669,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33656
33669
|
isRefetching: boolean;
|
|
33657
33670
|
isStale: boolean;
|
|
33658
33671
|
isEnabled: boolean;
|
|
33659
|
-
refetch: (options?:
|
|
33672
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
33660
33673
|
optionId: bigint;
|
|
33661
33674
|
marketAddr: Address;
|
|
33662
33675
|
ownerAddr: Address;
|
|
@@ -33686,7 +33699,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33686
33699
|
address: string;
|
|
33687
33700
|
} | null;
|
|
33688
33701
|
}[], Error>>;
|
|
33689
|
-
fetchStatus:
|
|
33702
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33690
33703
|
promise: Promise<{
|
|
33691
33704
|
optionId: bigint;
|
|
33692
33705
|
marketAddr: Address;
|
|
@@ -33770,7 +33783,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33770
33783
|
isRefetching: boolean;
|
|
33771
33784
|
isStale: boolean;
|
|
33772
33785
|
isEnabled: boolean;
|
|
33773
|
-
refetch: (options?:
|
|
33786
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
33774
33787
|
optionId: bigint;
|
|
33775
33788
|
marketAddr: Address;
|
|
33776
33789
|
ownerAddr: Address;
|
|
@@ -33800,7 +33813,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33800
33813
|
address: string;
|
|
33801
33814
|
} | null;
|
|
33802
33815
|
}[], Error>>;
|
|
33803
|
-
fetchStatus:
|
|
33816
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33804
33817
|
promise: Promise<{
|
|
33805
33818
|
optionId: bigint;
|
|
33806
33819
|
marketAddr: Address;
|
|
@@ -33884,7 +33897,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33884
33897
|
isRefetching: boolean;
|
|
33885
33898
|
isStale: boolean;
|
|
33886
33899
|
isEnabled: boolean;
|
|
33887
|
-
refetch: (options?:
|
|
33900
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
33888
33901
|
optionId: bigint;
|
|
33889
33902
|
marketAddr: Address;
|
|
33890
33903
|
ownerAddr: Address;
|
|
@@ -33914,7 +33927,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33914
33927
|
address: string;
|
|
33915
33928
|
} | null;
|
|
33916
33929
|
}[], Error>>;
|
|
33917
|
-
fetchStatus:
|
|
33930
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
33918
33931
|
promise: Promise<{
|
|
33919
33932
|
optionId: bigint;
|
|
33920
33933
|
marketAddr: Address;
|
|
@@ -33999,7 +34012,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33999
34012
|
isRefetching: boolean;
|
|
34000
34013
|
isStale: boolean;
|
|
34001
34014
|
isEnabled: boolean;
|
|
34002
|
-
refetch: (options?:
|
|
34015
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
34003
34016
|
optionId: bigint;
|
|
34004
34017
|
marketAddr: Address;
|
|
34005
34018
|
ownerAddr: Address;
|
|
@@ -34029,7 +34042,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34029
34042
|
address: string;
|
|
34030
34043
|
} | null;
|
|
34031
34044
|
}[], Error>>;
|
|
34032
|
-
fetchStatus:
|
|
34045
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34033
34046
|
promise: Promise<{
|
|
34034
34047
|
optionId: bigint;
|
|
34035
34048
|
marketAddr: Address;
|
|
@@ -34113,7 +34126,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34113
34126
|
isRefetching: boolean;
|
|
34114
34127
|
isStale: boolean;
|
|
34115
34128
|
isEnabled: boolean;
|
|
34116
|
-
refetch: (options?:
|
|
34129
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
34117
34130
|
optionId: bigint;
|
|
34118
34131
|
marketAddr: Address;
|
|
34119
34132
|
ownerAddr: Address;
|
|
@@ -34143,7 +34156,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34143
34156
|
address: string;
|
|
34144
34157
|
} | null;
|
|
34145
34158
|
}[], Error>>;
|
|
34146
|
-
fetchStatus:
|
|
34159
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34147
34160
|
promise: Promise<{
|
|
34148
34161
|
optionId: bigint;
|
|
34149
34162
|
marketAddr: Address;
|
|
@@ -34227,7 +34240,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34227
34240
|
isRefetching: boolean;
|
|
34228
34241
|
isStale: boolean;
|
|
34229
34242
|
isEnabled: boolean;
|
|
34230
|
-
refetch: (options?:
|
|
34243
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
34231
34244
|
optionId: bigint;
|
|
34232
34245
|
marketAddr: Address;
|
|
34233
34246
|
ownerAddr: Address;
|
|
@@ -34257,7 +34270,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34257
34270
|
address: string;
|
|
34258
34271
|
} | null;
|
|
34259
34272
|
}[], Error>>;
|
|
34260
|
-
fetchStatus:
|
|
34273
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34261
34274
|
promise: Promise<{
|
|
34262
34275
|
optionId: bigint;
|
|
34263
34276
|
marketAddr: Address;
|
|
@@ -34341,7 +34354,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34341
34354
|
isRefetching: boolean;
|
|
34342
34355
|
isStale: boolean;
|
|
34343
34356
|
isEnabled: boolean;
|
|
34344
|
-
refetch: (options?:
|
|
34357
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
34345
34358
|
optionId: bigint;
|
|
34346
34359
|
marketAddr: Address;
|
|
34347
34360
|
ownerAddr: Address;
|
|
@@ -34371,7 +34384,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34371
34384
|
address: string;
|
|
34372
34385
|
} | null;
|
|
34373
34386
|
}[], Error>>;
|
|
34374
|
-
fetchStatus:
|
|
34387
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34375
34388
|
promise: Promise<{
|
|
34376
34389
|
optionId: bigint;
|
|
34377
34390
|
marketAddr: Address;
|
|
@@ -34455,7 +34468,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34455
34468
|
isRefetching: boolean;
|
|
34456
34469
|
isStale: boolean;
|
|
34457
34470
|
isEnabled: boolean;
|
|
34458
|
-
refetch: (options?:
|
|
34471
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
34459
34472
|
optionId: bigint;
|
|
34460
34473
|
marketAddr: Address;
|
|
34461
34474
|
ownerAddr: Address;
|
|
@@ -34485,7 +34498,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34485
34498
|
address: string;
|
|
34486
34499
|
} | null;
|
|
34487
34500
|
}[], Error>>;
|
|
34488
|
-
fetchStatus:
|
|
34501
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34489
34502
|
promise: Promise<{
|
|
34490
34503
|
optionId: bigint;
|
|
34491
34504
|
marketAddr: Address;
|
|
@@ -34569,7 +34582,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34569
34582
|
isRefetching: boolean;
|
|
34570
34583
|
isStale: boolean;
|
|
34571
34584
|
isEnabled: boolean;
|
|
34572
|
-
refetch: (options?:
|
|
34585
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
34573
34586
|
optionId: bigint;
|
|
34574
34587
|
marketAddr: Address;
|
|
34575
34588
|
ownerAddr: Address;
|
|
@@ -34599,7 +34612,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34599
34612
|
address: string;
|
|
34600
34613
|
} | null;
|
|
34601
34614
|
}[], Error>>;
|
|
34602
|
-
fetchStatus:
|
|
34615
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34603
34616
|
promise: Promise<{
|
|
34604
34617
|
optionId: bigint;
|
|
34605
34618
|
marketAddr: Address;
|
|
@@ -34670,15 +34683,13 @@ declare const useExerciseOption: (marketAddr?: Address) => _tanstack_react_query
|
|
|
34670
34683
|
//#endregion
|
|
34671
34684
|
//#region src/hooks/options/useMarketData.d.ts
|
|
34672
34685
|
declare const useMarketData: (marketAddr?: Address) => Partial<NonUndefinedGuard<{
|
|
34686
|
+
address: Address;
|
|
34673
34687
|
pool: Address;
|
|
34674
34688
|
vault: Address;
|
|
34675
34689
|
optionAsset: Address;
|
|
34676
34690
|
payoutAsset: Address;
|
|
34677
|
-
optionsCount: bigint;
|
|
34678
|
-
tradersCount: bigint;
|
|
34679
34691
|
__typename: "TimelockMarket";
|
|
34680
34692
|
id: string;
|
|
34681
|
-
address: string;
|
|
34682
34693
|
tickSpacing: number;
|
|
34683
34694
|
optionAssetIsToken0: boolean;
|
|
34684
34695
|
optionAssetDecimals: number;
|
|
@@ -34689,6 +34700,16 @@ declare const useMarketData: (marketAddr?: Address) => Partial<NonUndefinedGuard
|
|
|
34689
34700
|
payoutAssetName: string;
|
|
34690
34701
|
} | undefined>>;
|
|
34691
34702
|
//#endregion
|
|
34703
|
+
//#region src/hooks/options/useMarketVolume.d.ts
|
|
34704
|
+
declare const useMarketVolume: (marketAddr?: Address) => Partial<NonUndefinedGuard<{
|
|
34705
|
+
address: Address;
|
|
34706
|
+
volume: bigint;
|
|
34707
|
+
optionsCount: bigint;
|
|
34708
|
+
tradersCount: bigint;
|
|
34709
|
+
__typename: "TimelockMarket";
|
|
34710
|
+
id: string;
|
|
34711
|
+
} | undefined>>;
|
|
34712
|
+
//#endregion
|
|
34692
34713
|
//#region src/lib/numberUtils.d.ts
|
|
34693
34714
|
declare const EMPTY_ARRAY: never[];
|
|
34694
34715
|
type Amount = {
|
|
@@ -34713,7 +34734,7 @@ declare const formatUSD: (value: Big | string | number) => string;
|
|
|
34713
34734
|
//#endregion
|
|
34714
34735
|
//#region src/hooks/options/useMaxPositionSize.d.ts
|
|
34715
34736
|
declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowableRange?: number) => {
|
|
34716
|
-
error:
|
|
34737
|
+
error: viem42.ReadContractErrorType;
|
|
34717
34738
|
isError: true;
|
|
34718
34739
|
isPending: false;
|
|
34719
34740
|
isLoading: false;
|
|
@@ -34725,7 +34746,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34725
34746
|
dataUpdatedAt: number;
|
|
34726
34747
|
errorUpdatedAt: number;
|
|
34727
34748
|
failureCount: number;
|
|
34728
|
-
failureReason:
|
|
34749
|
+
failureReason: viem42.ReadContractErrorType | null;
|
|
34729
34750
|
errorUpdateCount: number;
|
|
34730
34751
|
isFetched: boolean;
|
|
34731
34752
|
isFetchedAfterMount: boolean;
|
|
@@ -34735,10 +34756,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34735
34756
|
isRefetching: boolean;
|
|
34736
34757
|
isStale: boolean;
|
|
34737
34758
|
isEnabled: boolean;
|
|
34738
|
-
refetch: (options?:
|
|
34739
|
-
fetchStatus:
|
|
34759
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [bigint, bigint], viem42.ReadContractErrorType>>;
|
|
34760
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34740
34761
|
promise: Promise<readonly [bigint, bigint]>;
|
|
34741
|
-
queryKey:
|
|
34762
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
34742
34763
|
maxCallSize: Amount | undefined;
|
|
34743
34764
|
maxPutSize: Amount | undefined;
|
|
34744
34765
|
} | {
|
|
@@ -34754,7 +34775,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34754
34775
|
dataUpdatedAt: number;
|
|
34755
34776
|
errorUpdatedAt: number;
|
|
34756
34777
|
failureCount: number;
|
|
34757
|
-
failureReason:
|
|
34778
|
+
failureReason: viem42.ReadContractErrorType | null;
|
|
34758
34779
|
errorUpdateCount: number;
|
|
34759
34780
|
isFetched: boolean;
|
|
34760
34781
|
isFetchedAfterMount: boolean;
|
|
@@ -34764,14 +34785,14 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34764
34785
|
isRefetching: boolean;
|
|
34765
34786
|
isStale: boolean;
|
|
34766
34787
|
isEnabled: boolean;
|
|
34767
|
-
refetch: (options?:
|
|
34768
|
-
fetchStatus:
|
|
34788
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [bigint, bigint], viem42.ReadContractErrorType>>;
|
|
34789
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34769
34790
|
promise: Promise<readonly [bigint, bigint]>;
|
|
34770
|
-
queryKey:
|
|
34791
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
34771
34792
|
maxCallSize: Amount | undefined;
|
|
34772
34793
|
maxPutSize: Amount | undefined;
|
|
34773
34794
|
} | {
|
|
34774
|
-
error:
|
|
34795
|
+
error: viem42.ReadContractErrorType;
|
|
34775
34796
|
isError: true;
|
|
34776
34797
|
isPending: false;
|
|
34777
34798
|
isLoading: false;
|
|
@@ -34783,7 +34804,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34783
34804
|
dataUpdatedAt: number;
|
|
34784
34805
|
errorUpdatedAt: number;
|
|
34785
34806
|
failureCount: number;
|
|
34786
|
-
failureReason:
|
|
34807
|
+
failureReason: viem42.ReadContractErrorType | null;
|
|
34787
34808
|
errorUpdateCount: number;
|
|
34788
34809
|
isFetched: boolean;
|
|
34789
34810
|
isFetchedAfterMount: boolean;
|
|
@@ -34793,10 +34814,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34793
34814
|
isRefetching: boolean;
|
|
34794
34815
|
isStale: boolean;
|
|
34795
34816
|
isEnabled: boolean;
|
|
34796
|
-
refetch: (options?:
|
|
34797
|
-
fetchStatus:
|
|
34817
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [bigint, bigint], viem42.ReadContractErrorType>>;
|
|
34818
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34798
34819
|
promise: Promise<readonly [bigint, bigint]>;
|
|
34799
|
-
queryKey:
|
|
34820
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
34800
34821
|
maxCallSize: Amount | undefined;
|
|
34801
34822
|
maxPutSize: Amount | undefined;
|
|
34802
34823
|
} | {
|
|
@@ -34812,7 +34833,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34812
34833
|
dataUpdatedAt: number;
|
|
34813
34834
|
errorUpdatedAt: number;
|
|
34814
34835
|
failureCount: number;
|
|
34815
|
-
failureReason:
|
|
34836
|
+
failureReason: viem42.ReadContractErrorType | null;
|
|
34816
34837
|
errorUpdateCount: number;
|
|
34817
34838
|
isFetched: boolean;
|
|
34818
34839
|
isFetchedAfterMount: boolean;
|
|
@@ -34822,10 +34843,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34822
34843
|
isRefetching: boolean;
|
|
34823
34844
|
isStale: boolean;
|
|
34824
34845
|
isEnabled: boolean;
|
|
34825
|
-
refetch: (options?:
|
|
34826
|
-
fetchStatus:
|
|
34846
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [bigint, bigint], viem42.ReadContractErrorType>>;
|
|
34847
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34827
34848
|
promise: Promise<readonly [bigint, bigint]>;
|
|
34828
|
-
queryKey:
|
|
34849
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
34829
34850
|
maxCallSize: Amount | undefined;
|
|
34830
34851
|
maxPutSize: Amount | undefined;
|
|
34831
34852
|
} | {
|
|
@@ -34840,7 +34861,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34840
34861
|
dataUpdatedAt: number;
|
|
34841
34862
|
errorUpdatedAt: number;
|
|
34842
34863
|
failureCount: number;
|
|
34843
|
-
failureReason:
|
|
34864
|
+
failureReason: viem42.ReadContractErrorType | null;
|
|
34844
34865
|
errorUpdateCount: number;
|
|
34845
34866
|
isFetched: boolean;
|
|
34846
34867
|
isFetchedAfterMount: boolean;
|
|
@@ -34851,10 +34872,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34851
34872
|
isRefetching: boolean;
|
|
34852
34873
|
isStale: boolean;
|
|
34853
34874
|
isEnabled: boolean;
|
|
34854
|
-
refetch: (options?:
|
|
34855
|
-
fetchStatus:
|
|
34875
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [bigint, bigint], viem42.ReadContractErrorType>>;
|
|
34876
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34856
34877
|
promise: Promise<readonly [bigint, bigint]>;
|
|
34857
|
-
queryKey:
|
|
34878
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
34858
34879
|
maxCallSize: Amount | undefined;
|
|
34859
34880
|
maxPutSize: Amount | undefined;
|
|
34860
34881
|
} | {
|
|
@@ -34870,7 +34891,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34870
34891
|
dataUpdatedAt: number;
|
|
34871
34892
|
errorUpdatedAt: number;
|
|
34872
34893
|
failureCount: number;
|
|
34873
|
-
failureReason:
|
|
34894
|
+
failureReason: viem42.ReadContractErrorType | null;
|
|
34874
34895
|
errorUpdateCount: number;
|
|
34875
34896
|
isFetched: boolean;
|
|
34876
34897
|
isFetchedAfterMount: boolean;
|
|
@@ -34880,10 +34901,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34880
34901
|
isRefetching: boolean;
|
|
34881
34902
|
isStale: boolean;
|
|
34882
34903
|
isEnabled: boolean;
|
|
34883
|
-
refetch: (options?:
|
|
34884
|
-
fetchStatus:
|
|
34904
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [bigint, bigint], viem42.ReadContractErrorType>>;
|
|
34905
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34885
34906
|
promise: Promise<readonly [bigint, bigint]>;
|
|
34886
|
-
queryKey:
|
|
34907
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
34887
34908
|
maxCallSize: Amount | undefined;
|
|
34888
34909
|
maxPutSize: Amount | undefined;
|
|
34889
34910
|
};
|
|
@@ -34953,7 +34974,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34953
34974
|
isRefetching: boolean;
|
|
34954
34975
|
isStale: boolean;
|
|
34955
34976
|
isEnabled: boolean;
|
|
34956
|
-
refetch: (options?:
|
|
34977
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<({
|
|
34957
34978
|
type: "mint";
|
|
34958
34979
|
data: {
|
|
34959
34980
|
id: string;
|
|
@@ -34992,7 +35013,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34992
35013
|
transactionHash: string;
|
|
34993
35014
|
};
|
|
34994
35015
|
})[], Error>>;
|
|
34995
|
-
fetchStatus:
|
|
35016
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
34996
35017
|
promise: Promise<({
|
|
34997
35018
|
type: "mint";
|
|
34998
35019
|
data: {
|
|
@@ -35094,7 +35115,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35094
35115
|
isRefetching: boolean;
|
|
35095
35116
|
isStale: boolean;
|
|
35096
35117
|
isEnabled: boolean;
|
|
35097
|
-
refetch: (options?:
|
|
35118
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<({
|
|
35098
35119
|
type: "mint";
|
|
35099
35120
|
data: {
|
|
35100
35121
|
id: string;
|
|
@@ -35133,7 +35154,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35133
35154
|
transactionHash: string;
|
|
35134
35155
|
};
|
|
35135
35156
|
})[], Error>>;
|
|
35136
|
-
fetchStatus:
|
|
35157
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35137
35158
|
promise: Promise<({
|
|
35138
35159
|
type: "mint";
|
|
35139
35160
|
data: {
|
|
@@ -35235,7 +35256,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35235
35256
|
isRefetching: boolean;
|
|
35236
35257
|
isStale: boolean;
|
|
35237
35258
|
isEnabled: boolean;
|
|
35238
|
-
refetch: (options?:
|
|
35259
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<({
|
|
35239
35260
|
type: "mint";
|
|
35240
35261
|
data: {
|
|
35241
35262
|
id: string;
|
|
@@ -35274,7 +35295,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35274
35295
|
transactionHash: string;
|
|
35275
35296
|
};
|
|
35276
35297
|
})[], Error>>;
|
|
35277
|
-
fetchStatus:
|
|
35298
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35278
35299
|
promise: Promise<({
|
|
35279
35300
|
type: "mint";
|
|
35280
35301
|
data: {
|
|
@@ -35376,7 +35397,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35376
35397
|
isRefetching: boolean;
|
|
35377
35398
|
isStale: boolean;
|
|
35378
35399
|
isEnabled: boolean;
|
|
35379
|
-
refetch: (options?:
|
|
35400
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<({
|
|
35380
35401
|
type: "mint";
|
|
35381
35402
|
data: {
|
|
35382
35403
|
id: string;
|
|
@@ -35415,7 +35436,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35415
35436
|
transactionHash: string;
|
|
35416
35437
|
};
|
|
35417
35438
|
})[], Error>>;
|
|
35418
|
-
fetchStatus:
|
|
35439
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35419
35440
|
promise: Promise<({
|
|
35420
35441
|
type: "mint";
|
|
35421
35442
|
data: {
|
|
@@ -35517,7 +35538,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35517
35538
|
isRefetching: boolean;
|
|
35518
35539
|
isStale: boolean;
|
|
35519
35540
|
isEnabled: boolean;
|
|
35520
|
-
refetch: (options?:
|
|
35541
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<({
|
|
35521
35542
|
type: "mint";
|
|
35522
35543
|
data: {
|
|
35523
35544
|
id: string;
|
|
@@ -35556,7 +35577,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35556
35577
|
transactionHash: string;
|
|
35557
35578
|
};
|
|
35558
35579
|
})[], Error>>;
|
|
35559
|
-
fetchStatus:
|
|
35580
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35560
35581
|
promise: Promise<({
|
|
35561
35582
|
type: "mint";
|
|
35562
35583
|
data: {
|
|
@@ -35658,7 +35679,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35658
35679
|
isRefetching: boolean;
|
|
35659
35680
|
isStale: boolean;
|
|
35660
35681
|
isEnabled: boolean;
|
|
35661
|
-
refetch: (options?:
|
|
35682
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<({
|
|
35662
35683
|
type: "mint";
|
|
35663
35684
|
data: {
|
|
35664
35685
|
id: string;
|
|
@@ -35697,7 +35718,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35697
35718
|
transactionHash: string;
|
|
35698
35719
|
};
|
|
35699
35720
|
})[], Error>>;
|
|
35700
|
-
fetchStatus:
|
|
35721
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35701
35722
|
promise: Promise<({
|
|
35702
35723
|
type: "mint";
|
|
35703
35724
|
data: {
|
|
@@ -35820,7 +35841,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35820
35841
|
isRefetching: boolean;
|
|
35821
35842
|
isStale: boolean;
|
|
35822
35843
|
isEnabled: boolean;
|
|
35823
|
-
refetch: (options?:
|
|
35844
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
35824
35845
|
optionId: bigint;
|
|
35825
35846
|
id: string;
|
|
35826
35847
|
ownerAddr: Address;
|
|
@@ -35829,7 +35850,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35829
35850
|
expiresAt: number;
|
|
35830
35851
|
closed: boolean;
|
|
35831
35852
|
}[] | undefined, Error>>;
|
|
35832
|
-
fetchStatus:
|
|
35853
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35833
35854
|
promise: Promise<{
|
|
35834
35855
|
optionId: bigint;
|
|
35835
35856
|
id: string;
|
|
@@ -35871,7 +35892,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35871
35892
|
isRefetching: boolean;
|
|
35872
35893
|
isStale: boolean;
|
|
35873
35894
|
isEnabled: boolean;
|
|
35874
|
-
refetch: (options?:
|
|
35895
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
35875
35896
|
optionId: bigint;
|
|
35876
35897
|
id: string;
|
|
35877
35898
|
ownerAddr: Address;
|
|
@@ -35880,7 +35901,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35880
35901
|
expiresAt: number;
|
|
35881
35902
|
closed: boolean;
|
|
35882
35903
|
}[] | undefined, Error>>;
|
|
35883
|
-
fetchStatus:
|
|
35904
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35884
35905
|
promise: Promise<{
|
|
35885
35906
|
optionId: bigint;
|
|
35886
35907
|
id: string;
|
|
@@ -35922,7 +35943,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35922
35943
|
isRefetching: boolean;
|
|
35923
35944
|
isStale: boolean;
|
|
35924
35945
|
isEnabled: boolean;
|
|
35925
|
-
refetch: (options?:
|
|
35946
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
35926
35947
|
optionId: bigint;
|
|
35927
35948
|
id: string;
|
|
35928
35949
|
ownerAddr: Address;
|
|
@@ -35931,7 +35952,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35931
35952
|
expiresAt: number;
|
|
35932
35953
|
closed: boolean;
|
|
35933
35954
|
}[] | undefined, Error>>;
|
|
35934
|
-
fetchStatus:
|
|
35955
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35935
35956
|
promise: Promise<{
|
|
35936
35957
|
optionId: bigint;
|
|
35937
35958
|
id: string;
|
|
@@ -35973,7 +35994,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35973
35994
|
isRefetching: boolean;
|
|
35974
35995
|
isStale: boolean;
|
|
35975
35996
|
isEnabled: boolean;
|
|
35976
|
-
refetch: (options?:
|
|
35997
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
35977
35998
|
optionId: bigint;
|
|
35978
35999
|
id: string;
|
|
35979
36000
|
ownerAddr: Address;
|
|
@@ -35982,7 +36003,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35982
36003
|
expiresAt: number;
|
|
35983
36004
|
closed: boolean;
|
|
35984
36005
|
}[] | undefined, Error>>;
|
|
35985
|
-
fetchStatus:
|
|
36006
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
35986
36007
|
promise: Promise<{
|
|
35987
36008
|
optionId: bigint;
|
|
35988
36009
|
id: string;
|
|
@@ -36024,7 +36045,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
36024
36045
|
isRefetching: boolean;
|
|
36025
36046
|
isStale: boolean;
|
|
36026
36047
|
isEnabled: boolean;
|
|
36027
|
-
refetch: (options?:
|
|
36048
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36028
36049
|
optionId: bigint;
|
|
36029
36050
|
id: string;
|
|
36030
36051
|
ownerAddr: Address;
|
|
@@ -36033,7 +36054,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
36033
36054
|
expiresAt: number;
|
|
36034
36055
|
closed: boolean;
|
|
36035
36056
|
}[] | undefined, Error>>;
|
|
36036
|
-
fetchStatus:
|
|
36057
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36037
36058
|
promise: Promise<{
|
|
36038
36059
|
optionId: bigint;
|
|
36039
36060
|
id: string;
|
|
@@ -36075,7 +36096,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
36075
36096
|
isRefetching: boolean;
|
|
36076
36097
|
isStale: boolean;
|
|
36077
36098
|
isEnabled: boolean;
|
|
36078
|
-
refetch: (options?:
|
|
36099
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36079
36100
|
optionId: bigint;
|
|
36080
36101
|
id: string;
|
|
36081
36102
|
ownerAddr: Address;
|
|
@@ -36084,7 +36105,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
36084
36105
|
expiresAt: number;
|
|
36085
36106
|
closed: boolean;
|
|
36086
36107
|
}[] | undefined, Error>>;
|
|
36087
|
-
fetchStatus:
|
|
36108
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36088
36109
|
promise: Promise<{
|
|
36089
36110
|
optionId: bigint;
|
|
36090
36111
|
id: string;
|
|
@@ -36127,7 +36148,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36127
36148
|
isRefetching: boolean;
|
|
36128
36149
|
isStale: boolean;
|
|
36129
36150
|
isEnabled: boolean;
|
|
36130
|
-
refetch: (options?:
|
|
36151
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36131
36152
|
optionId: bigint;
|
|
36132
36153
|
id: string;
|
|
36133
36154
|
ownerAddr: Address;
|
|
@@ -36136,7 +36157,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36136
36157
|
expiresAt: number;
|
|
36137
36158
|
closed: boolean;
|
|
36138
36159
|
}[] | undefined, Error>>;
|
|
36139
|
-
fetchStatus:
|
|
36160
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36140
36161
|
promise: Promise<{
|
|
36141
36162
|
optionId: bigint;
|
|
36142
36163
|
id: string;
|
|
@@ -36178,7 +36199,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36178
36199
|
isRefetching: boolean;
|
|
36179
36200
|
isStale: boolean;
|
|
36180
36201
|
isEnabled: boolean;
|
|
36181
|
-
refetch: (options?:
|
|
36202
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36182
36203
|
optionId: bigint;
|
|
36183
36204
|
id: string;
|
|
36184
36205
|
ownerAddr: Address;
|
|
@@ -36187,7 +36208,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36187
36208
|
expiresAt: number;
|
|
36188
36209
|
closed: boolean;
|
|
36189
36210
|
}[] | undefined, Error>>;
|
|
36190
|
-
fetchStatus:
|
|
36211
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36191
36212
|
promise: Promise<{
|
|
36192
36213
|
optionId: bigint;
|
|
36193
36214
|
id: string;
|
|
@@ -36229,7 +36250,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36229
36250
|
isRefetching: boolean;
|
|
36230
36251
|
isStale: boolean;
|
|
36231
36252
|
isEnabled: boolean;
|
|
36232
|
-
refetch: (options?:
|
|
36253
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36233
36254
|
optionId: bigint;
|
|
36234
36255
|
id: string;
|
|
36235
36256
|
ownerAddr: Address;
|
|
@@ -36238,7 +36259,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36238
36259
|
expiresAt: number;
|
|
36239
36260
|
closed: boolean;
|
|
36240
36261
|
}[] | undefined, Error>>;
|
|
36241
|
-
fetchStatus:
|
|
36262
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36242
36263
|
promise: Promise<{
|
|
36243
36264
|
optionId: bigint;
|
|
36244
36265
|
id: string;
|
|
@@ -36280,7 +36301,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36280
36301
|
isRefetching: boolean;
|
|
36281
36302
|
isStale: boolean;
|
|
36282
36303
|
isEnabled: boolean;
|
|
36283
|
-
refetch: (options?:
|
|
36304
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36284
36305
|
optionId: bigint;
|
|
36285
36306
|
id: string;
|
|
36286
36307
|
ownerAddr: Address;
|
|
@@ -36289,7 +36310,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36289
36310
|
expiresAt: number;
|
|
36290
36311
|
closed: boolean;
|
|
36291
36312
|
}[] | undefined, Error>>;
|
|
36292
|
-
fetchStatus:
|
|
36313
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36293
36314
|
promise: Promise<{
|
|
36294
36315
|
optionId: bigint;
|
|
36295
36316
|
id: string;
|
|
@@ -36331,7 +36352,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36331
36352
|
isRefetching: boolean;
|
|
36332
36353
|
isStale: boolean;
|
|
36333
36354
|
isEnabled: boolean;
|
|
36334
|
-
refetch: (options?:
|
|
36355
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36335
36356
|
optionId: bigint;
|
|
36336
36357
|
id: string;
|
|
36337
36358
|
ownerAddr: Address;
|
|
@@ -36340,7 +36361,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36340
36361
|
expiresAt: number;
|
|
36341
36362
|
closed: boolean;
|
|
36342
36363
|
}[] | undefined, Error>>;
|
|
36343
|
-
fetchStatus:
|
|
36364
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36344
36365
|
promise: Promise<{
|
|
36345
36366
|
optionId: bigint;
|
|
36346
36367
|
id: string;
|
|
@@ -36382,7 +36403,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36382
36403
|
isRefetching: boolean;
|
|
36383
36404
|
isStale: boolean;
|
|
36384
36405
|
isEnabled: boolean;
|
|
36385
|
-
refetch: (options?:
|
|
36406
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36386
36407
|
optionId: bigint;
|
|
36387
36408
|
id: string;
|
|
36388
36409
|
ownerAddr: Address;
|
|
@@ -36391,7 +36412,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36391
36412
|
expiresAt: number;
|
|
36392
36413
|
closed: boolean;
|
|
36393
36414
|
}[] | undefined, Error>>;
|
|
36394
|
-
fetchStatus:
|
|
36415
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36395
36416
|
promise: Promise<{
|
|
36396
36417
|
optionId: bigint;
|
|
36397
36418
|
id: string;
|
|
@@ -36434,7 +36455,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36434
36455
|
isRefetching: boolean;
|
|
36435
36456
|
isStale: boolean;
|
|
36436
36457
|
isEnabled: boolean;
|
|
36437
|
-
refetch: (options?:
|
|
36458
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36438
36459
|
optionId: bigint;
|
|
36439
36460
|
id: string;
|
|
36440
36461
|
ownerAddr: Address;
|
|
@@ -36443,7 +36464,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36443
36464
|
expiresAt: number;
|
|
36444
36465
|
closed: boolean;
|
|
36445
36466
|
}[] | undefined, Error>>;
|
|
36446
|
-
fetchStatus:
|
|
36467
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36447
36468
|
promise: Promise<{
|
|
36448
36469
|
optionId: bigint;
|
|
36449
36470
|
id: string;
|
|
@@ -36485,7 +36506,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36485
36506
|
isRefetching: boolean;
|
|
36486
36507
|
isStale: boolean;
|
|
36487
36508
|
isEnabled: boolean;
|
|
36488
|
-
refetch: (options?:
|
|
36509
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36489
36510
|
optionId: bigint;
|
|
36490
36511
|
id: string;
|
|
36491
36512
|
ownerAddr: Address;
|
|
@@ -36494,7 +36515,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36494
36515
|
expiresAt: number;
|
|
36495
36516
|
closed: boolean;
|
|
36496
36517
|
}[] | undefined, Error>>;
|
|
36497
|
-
fetchStatus:
|
|
36518
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36498
36519
|
promise: Promise<{
|
|
36499
36520
|
optionId: bigint;
|
|
36500
36521
|
id: string;
|
|
@@ -36536,7 +36557,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36536
36557
|
isRefetching: boolean;
|
|
36537
36558
|
isStale: boolean;
|
|
36538
36559
|
isEnabled: boolean;
|
|
36539
|
-
refetch: (options?:
|
|
36560
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36540
36561
|
optionId: bigint;
|
|
36541
36562
|
id: string;
|
|
36542
36563
|
ownerAddr: Address;
|
|
@@ -36545,7 +36566,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36545
36566
|
expiresAt: number;
|
|
36546
36567
|
closed: boolean;
|
|
36547
36568
|
}[] | undefined, Error>>;
|
|
36548
|
-
fetchStatus:
|
|
36569
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36549
36570
|
promise: Promise<{
|
|
36550
36571
|
optionId: bigint;
|
|
36551
36572
|
id: string;
|
|
@@ -36587,7 +36608,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36587
36608
|
isRefetching: boolean;
|
|
36588
36609
|
isStale: boolean;
|
|
36589
36610
|
isEnabled: boolean;
|
|
36590
|
-
refetch: (options?:
|
|
36611
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36591
36612
|
optionId: bigint;
|
|
36592
36613
|
id: string;
|
|
36593
36614
|
ownerAddr: Address;
|
|
@@ -36596,7 +36617,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36596
36617
|
expiresAt: number;
|
|
36597
36618
|
closed: boolean;
|
|
36598
36619
|
}[] | undefined, Error>>;
|
|
36599
|
-
fetchStatus:
|
|
36620
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36600
36621
|
promise: Promise<{
|
|
36601
36622
|
optionId: bigint;
|
|
36602
36623
|
id: string;
|
|
@@ -36638,7 +36659,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36638
36659
|
isRefetching: boolean;
|
|
36639
36660
|
isStale: boolean;
|
|
36640
36661
|
isEnabled: boolean;
|
|
36641
|
-
refetch: (options?:
|
|
36662
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36642
36663
|
optionId: bigint;
|
|
36643
36664
|
id: string;
|
|
36644
36665
|
ownerAddr: Address;
|
|
@@ -36647,7 +36668,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36647
36668
|
expiresAt: number;
|
|
36648
36669
|
closed: boolean;
|
|
36649
36670
|
}[] | undefined, Error>>;
|
|
36650
|
-
fetchStatus:
|
|
36671
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36651
36672
|
promise: Promise<{
|
|
36652
36673
|
optionId: bigint;
|
|
36653
36674
|
id: string;
|
|
@@ -36689,7 +36710,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36689
36710
|
isRefetching: boolean;
|
|
36690
36711
|
isStale: boolean;
|
|
36691
36712
|
isEnabled: boolean;
|
|
36692
|
-
refetch: (options?:
|
|
36713
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36693
36714
|
optionId: bigint;
|
|
36694
36715
|
id: string;
|
|
36695
36716
|
ownerAddr: Address;
|
|
@@ -36698,7 +36719,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36698
36719
|
expiresAt: number;
|
|
36699
36720
|
closed: boolean;
|
|
36700
36721
|
}[] | undefined, Error>>;
|
|
36701
|
-
fetchStatus:
|
|
36722
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36702
36723
|
promise: Promise<{
|
|
36703
36724
|
optionId: bigint;
|
|
36704
36725
|
id: string;
|
|
@@ -36721,7 +36742,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
36721
36742
|
//#endregion
|
|
36722
36743
|
//#region src/hooks/operators/useOperatorPerms.d.ts
|
|
36723
36744
|
declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, operatorAddr?: Address) => {
|
|
36724
|
-
error:
|
|
36745
|
+
error: viem42.ReadContractErrorType;
|
|
36725
36746
|
isError: true;
|
|
36726
36747
|
isPending: false;
|
|
36727
36748
|
isLoading: false;
|
|
@@ -36733,7 +36754,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36733
36754
|
dataUpdatedAt: number;
|
|
36734
36755
|
errorUpdatedAt: number;
|
|
36735
36756
|
failureCount: number;
|
|
36736
|
-
failureReason:
|
|
36757
|
+
failureReason: viem42.ReadContractErrorType | null;
|
|
36737
36758
|
errorUpdateCount: number;
|
|
36738
36759
|
isFetched: boolean;
|
|
36739
36760
|
isFetchedAfterMount: boolean;
|
|
@@ -36743,10 +36764,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36743
36764
|
isRefetching: boolean;
|
|
36744
36765
|
isStale: boolean;
|
|
36745
36766
|
isEnabled: boolean;
|
|
36746
|
-
refetch: (options?:
|
|
36747
|
-
fetchStatus:
|
|
36767
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem42.ReadContractErrorType>>;
|
|
36768
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36748
36769
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36749
|
-
queryKey:
|
|
36770
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
36750
36771
|
data: {
|
|
36751
36772
|
canExtend: boolean | undefined;
|
|
36752
36773
|
canExercise: boolean | undefined;
|
|
@@ -36768,7 +36789,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36768
36789
|
dataUpdatedAt: number;
|
|
36769
36790
|
errorUpdatedAt: number;
|
|
36770
36791
|
failureCount: number;
|
|
36771
|
-
failureReason:
|
|
36792
|
+
failureReason: viem42.ReadContractErrorType | null;
|
|
36772
36793
|
errorUpdateCount: number;
|
|
36773
36794
|
isFetched: boolean;
|
|
36774
36795
|
isFetchedAfterMount: boolean;
|
|
@@ -36778,10 +36799,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36778
36799
|
isRefetching: boolean;
|
|
36779
36800
|
isStale: boolean;
|
|
36780
36801
|
isEnabled: boolean;
|
|
36781
|
-
refetch: (options?:
|
|
36782
|
-
fetchStatus:
|
|
36802
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem42.ReadContractErrorType>>;
|
|
36803
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36783
36804
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36784
|
-
queryKey:
|
|
36805
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
36785
36806
|
data: {
|
|
36786
36807
|
canExtend: boolean | undefined;
|
|
36787
36808
|
canExercise: boolean | undefined;
|
|
@@ -36791,7 +36812,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36791
36812
|
effectiveApproval: bigint;
|
|
36792
36813
|
};
|
|
36793
36814
|
} | {
|
|
36794
|
-
error:
|
|
36815
|
+
error: viem42.ReadContractErrorType;
|
|
36795
36816
|
isError: true;
|
|
36796
36817
|
isPending: false;
|
|
36797
36818
|
isLoading: false;
|
|
@@ -36803,7 +36824,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36803
36824
|
dataUpdatedAt: number;
|
|
36804
36825
|
errorUpdatedAt: number;
|
|
36805
36826
|
failureCount: number;
|
|
36806
|
-
failureReason:
|
|
36827
|
+
failureReason: viem42.ReadContractErrorType | null;
|
|
36807
36828
|
errorUpdateCount: number;
|
|
36808
36829
|
isFetched: boolean;
|
|
36809
36830
|
isFetchedAfterMount: boolean;
|
|
@@ -36813,10 +36834,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36813
36834
|
isRefetching: boolean;
|
|
36814
36835
|
isStale: boolean;
|
|
36815
36836
|
isEnabled: boolean;
|
|
36816
|
-
refetch: (options?:
|
|
36817
|
-
fetchStatus:
|
|
36837
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem42.ReadContractErrorType>>;
|
|
36838
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36818
36839
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36819
|
-
queryKey:
|
|
36840
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
36820
36841
|
data: {
|
|
36821
36842
|
canExtend: boolean | undefined;
|
|
36822
36843
|
canExercise: boolean | undefined;
|
|
@@ -36838,7 +36859,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36838
36859
|
dataUpdatedAt: number;
|
|
36839
36860
|
errorUpdatedAt: number;
|
|
36840
36861
|
failureCount: number;
|
|
36841
|
-
failureReason:
|
|
36862
|
+
failureReason: viem42.ReadContractErrorType | null;
|
|
36842
36863
|
errorUpdateCount: number;
|
|
36843
36864
|
isFetched: boolean;
|
|
36844
36865
|
isFetchedAfterMount: boolean;
|
|
@@ -36848,10 +36869,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36848
36869
|
isRefetching: boolean;
|
|
36849
36870
|
isStale: boolean;
|
|
36850
36871
|
isEnabled: boolean;
|
|
36851
|
-
refetch: (options?:
|
|
36852
|
-
fetchStatus:
|
|
36872
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem42.ReadContractErrorType>>;
|
|
36873
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36853
36874
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36854
|
-
queryKey:
|
|
36875
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
36855
36876
|
data: {
|
|
36856
36877
|
canExtend: boolean | undefined;
|
|
36857
36878
|
canExercise: boolean | undefined;
|
|
@@ -36872,7 +36893,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36872
36893
|
dataUpdatedAt: number;
|
|
36873
36894
|
errorUpdatedAt: number;
|
|
36874
36895
|
failureCount: number;
|
|
36875
|
-
failureReason:
|
|
36896
|
+
failureReason: viem42.ReadContractErrorType | null;
|
|
36876
36897
|
errorUpdateCount: number;
|
|
36877
36898
|
isFetched: boolean;
|
|
36878
36899
|
isFetchedAfterMount: boolean;
|
|
@@ -36883,10 +36904,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36883
36904
|
isRefetching: boolean;
|
|
36884
36905
|
isStale: boolean;
|
|
36885
36906
|
isEnabled: boolean;
|
|
36886
|
-
refetch: (options?:
|
|
36887
|
-
fetchStatus:
|
|
36907
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem42.ReadContractErrorType>>;
|
|
36908
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36888
36909
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36889
|
-
queryKey:
|
|
36910
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
36890
36911
|
data: {
|
|
36891
36912
|
canExtend: boolean | undefined;
|
|
36892
36913
|
canExercise: boolean | undefined;
|
|
@@ -36908,7 +36929,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36908
36929
|
dataUpdatedAt: number;
|
|
36909
36930
|
errorUpdatedAt: number;
|
|
36910
36931
|
failureCount: number;
|
|
36911
|
-
failureReason:
|
|
36932
|
+
failureReason: viem42.ReadContractErrorType | null;
|
|
36912
36933
|
errorUpdateCount: number;
|
|
36913
36934
|
isFetched: boolean;
|
|
36914
36935
|
isFetchedAfterMount: boolean;
|
|
@@ -36918,10 +36939,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36918
36939
|
isRefetching: boolean;
|
|
36919
36940
|
isStale: boolean;
|
|
36920
36941
|
isEnabled: boolean;
|
|
36921
|
-
refetch: (options?:
|
|
36922
|
-
fetchStatus:
|
|
36942
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem42.ReadContractErrorType>>;
|
|
36943
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36923
36944
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36924
|
-
queryKey:
|
|
36945
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
36925
36946
|
data: {
|
|
36926
36947
|
canExtend: boolean | undefined;
|
|
36927
36948
|
canExercise: boolean | undefined;
|
|
@@ -36970,7 +36991,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36970
36991
|
isRefetching: boolean;
|
|
36971
36992
|
isStale: boolean;
|
|
36972
36993
|
isEnabled: boolean;
|
|
36973
|
-
refetch: (options?:
|
|
36994
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
36974
36995
|
spendingApproval: bigint;
|
|
36975
36996
|
operatorAddr: string;
|
|
36976
36997
|
__typename: "UserMarketOperator";
|
|
@@ -36984,7 +37005,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36984
37005
|
address: string;
|
|
36985
37006
|
} | null;
|
|
36986
37007
|
}[] | undefined, Error>>;
|
|
36987
|
-
fetchStatus:
|
|
37008
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
36988
37009
|
promise: Promise<{
|
|
36989
37010
|
spendingApproval: bigint;
|
|
36990
37011
|
operatorAddr: string;
|
|
@@ -37036,7 +37057,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37036
37057
|
isRefetching: boolean;
|
|
37037
37058
|
isStale: boolean;
|
|
37038
37059
|
isEnabled: boolean;
|
|
37039
|
-
refetch: (options?:
|
|
37060
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37040
37061
|
spendingApproval: bigint;
|
|
37041
37062
|
operatorAddr: string;
|
|
37042
37063
|
__typename: "UserMarketOperator";
|
|
@@ -37050,7 +37071,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37050
37071
|
address: string;
|
|
37051
37072
|
} | null;
|
|
37052
37073
|
}[] | undefined, Error>>;
|
|
37053
|
-
fetchStatus:
|
|
37074
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37054
37075
|
promise: Promise<{
|
|
37055
37076
|
spendingApproval: bigint;
|
|
37056
37077
|
operatorAddr: string;
|
|
@@ -37102,7 +37123,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37102
37123
|
isRefetching: boolean;
|
|
37103
37124
|
isStale: boolean;
|
|
37104
37125
|
isEnabled: boolean;
|
|
37105
|
-
refetch: (options?:
|
|
37126
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37106
37127
|
spendingApproval: bigint;
|
|
37107
37128
|
operatorAddr: string;
|
|
37108
37129
|
__typename: "UserMarketOperator";
|
|
@@ -37116,7 +37137,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37116
37137
|
address: string;
|
|
37117
37138
|
} | null;
|
|
37118
37139
|
}[] | undefined, Error>>;
|
|
37119
|
-
fetchStatus:
|
|
37140
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37120
37141
|
promise: Promise<{
|
|
37121
37142
|
spendingApproval: bigint;
|
|
37122
37143
|
operatorAddr: string;
|
|
@@ -37168,7 +37189,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37168
37189
|
isRefetching: boolean;
|
|
37169
37190
|
isStale: boolean;
|
|
37170
37191
|
isEnabled: boolean;
|
|
37171
|
-
refetch: (options?:
|
|
37192
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37172
37193
|
spendingApproval: bigint;
|
|
37173
37194
|
operatorAddr: string;
|
|
37174
37195
|
__typename: "UserMarketOperator";
|
|
@@ -37182,7 +37203,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37182
37203
|
address: string;
|
|
37183
37204
|
} | null;
|
|
37184
37205
|
}[] | undefined, Error>>;
|
|
37185
|
-
fetchStatus:
|
|
37206
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37186
37207
|
promise: Promise<{
|
|
37187
37208
|
spendingApproval: bigint;
|
|
37188
37209
|
operatorAddr: string;
|
|
@@ -37234,7 +37255,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37234
37255
|
isRefetching: boolean;
|
|
37235
37256
|
isStale: boolean;
|
|
37236
37257
|
isEnabled: boolean;
|
|
37237
|
-
refetch: (options?:
|
|
37258
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37238
37259
|
spendingApproval: bigint;
|
|
37239
37260
|
operatorAddr: string;
|
|
37240
37261
|
__typename: "UserMarketOperator";
|
|
@@ -37248,7 +37269,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37248
37269
|
address: string;
|
|
37249
37270
|
} | null;
|
|
37250
37271
|
}[] | undefined, Error>>;
|
|
37251
|
-
fetchStatus:
|
|
37272
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37252
37273
|
promise: Promise<{
|
|
37253
37274
|
spendingApproval: bigint;
|
|
37254
37275
|
operatorAddr: string;
|
|
@@ -37300,7 +37321,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37300
37321
|
isRefetching: boolean;
|
|
37301
37322
|
isStale: boolean;
|
|
37302
37323
|
isEnabled: boolean;
|
|
37303
|
-
refetch: (options?:
|
|
37324
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37304
37325
|
spendingApproval: bigint;
|
|
37305
37326
|
operatorAddr: string;
|
|
37306
37327
|
__typename: "UserMarketOperator";
|
|
@@ -37314,7 +37335,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
37314
37335
|
address: string;
|
|
37315
37336
|
} | null;
|
|
37316
37337
|
}[] | undefined, Error>>;
|
|
37317
|
-
fetchStatus:
|
|
37338
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37318
37339
|
promise: Promise<{
|
|
37319
37340
|
spendingApproval: bigint;
|
|
37320
37341
|
operatorAddr: string;
|
|
@@ -37390,7 +37411,7 @@ declare const useCurrentPrice: (poolAddr?: Address) => {
|
|
|
37390
37411
|
//#endregion
|
|
37391
37412
|
//#region src/hooks/pool/useCurrentTick.d.ts
|
|
37392
37413
|
declare const useCurrentTick: (poolAddr?: Address) => {
|
|
37393
|
-
error:
|
|
37414
|
+
error: viem42.ReadContractErrorType;
|
|
37394
37415
|
isError: true;
|
|
37395
37416
|
isPending: false;
|
|
37396
37417
|
isLoading: false;
|
|
@@ -37402,7 +37423,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37402
37423
|
dataUpdatedAt: number;
|
|
37403
37424
|
errorUpdatedAt: number;
|
|
37404
37425
|
failureCount: number;
|
|
37405
|
-
failureReason:
|
|
37426
|
+
failureReason: viem42.ReadContractErrorType | null;
|
|
37406
37427
|
errorUpdateCount: number;
|
|
37407
37428
|
isFetched: boolean;
|
|
37408
37429
|
isFetchedAfterMount: boolean;
|
|
@@ -37412,18 +37433,18 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37412
37433
|
isRefetching: boolean;
|
|
37413
37434
|
isStale: boolean;
|
|
37414
37435
|
isEnabled: boolean;
|
|
37415
|
-
refetch: (options?:
|
|
37436
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37416
37437
|
exact: number;
|
|
37417
37438
|
rounded: number | undefined;
|
|
37418
37439
|
sqrtPriceX96: bigint;
|
|
37419
|
-
},
|
|
37420
|
-
fetchStatus:
|
|
37440
|
+
}, viem42.ReadContractErrorType>>;
|
|
37441
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37421
37442
|
promise: Promise<{
|
|
37422
37443
|
exact: number;
|
|
37423
37444
|
rounded: number | undefined;
|
|
37424
37445
|
sqrtPriceX96: bigint;
|
|
37425
37446
|
}>;
|
|
37426
|
-
queryKey:
|
|
37447
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37427
37448
|
exact: number | undefined;
|
|
37428
37449
|
rounded: number | undefined;
|
|
37429
37450
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -37440,7 +37461,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37440
37461
|
dataUpdatedAt: number;
|
|
37441
37462
|
errorUpdatedAt: number;
|
|
37442
37463
|
failureCount: number;
|
|
37443
|
-
failureReason:
|
|
37464
|
+
failureReason: viem42.ReadContractErrorType | null;
|
|
37444
37465
|
errorUpdateCount: number;
|
|
37445
37466
|
isFetched: boolean;
|
|
37446
37467
|
isFetchedAfterMount: boolean;
|
|
@@ -37450,23 +37471,23 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37450
37471
|
isRefetching: boolean;
|
|
37451
37472
|
isStale: boolean;
|
|
37452
37473
|
isEnabled: boolean;
|
|
37453
|
-
refetch: (options?:
|
|
37474
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37454
37475
|
exact: number;
|
|
37455
37476
|
rounded: number | undefined;
|
|
37456
37477
|
sqrtPriceX96: bigint;
|
|
37457
|
-
},
|
|
37458
|
-
fetchStatus:
|
|
37478
|
+
}, viem42.ReadContractErrorType>>;
|
|
37479
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37459
37480
|
promise: Promise<{
|
|
37460
37481
|
exact: number;
|
|
37461
37482
|
rounded: number | undefined;
|
|
37462
37483
|
sqrtPriceX96: bigint;
|
|
37463
37484
|
}>;
|
|
37464
|
-
queryKey:
|
|
37485
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37465
37486
|
exact: number | undefined;
|
|
37466
37487
|
rounded: number | undefined;
|
|
37467
37488
|
sqrtPriceX96: bigint | undefined;
|
|
37468
37489
|
} | {
|
|
37469
|
-
error:
|
|
37490
|
+
error: viem42.ReadContractErrorType;
|
|
37470
37491
|
isError: true;
|
|
37471
37492
|
isPending: false;
|
|
37472
37493
|
isLoading: false;
|
|
@@ -37478,7 +37499,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37478
37499
|
dataUpdatedAt: number;
|
|
37479
37500
|
errorUpdatedAt: number;
|
|
37480
37501
|
failureCount: number;
|
|
37481
|
-
failureReason:
|
|
37502
|
+
failureReason: viem42.ReadContractErrorType | null;
|
|
37482
37503
|
errorUpdateCount: number;
|
|
37483
37504
|
isFetched: boolean;
|
|
37484
37505
|
isFetchedAfterMount: boolean;
|
|
@@ -37488,18 +37509,18 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37488
37509
|
isRefetching: boolean;
|
|
37489
37510
|
isStale: boolean;
|
|
37490
37511
|
isEnabled: boolean;
|
|
37491
|
-
refetch: (options?:
|
|
37512
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37492
37513
|
exact: number;
|
|
37493
37514
|
rounded: number | undefined;
|
|
37494
37515
|
sqrtPriceX96: bigint;
|
|
37495
|
-
},
|
|
37496
|
-
fetchStatus:
|
|
37516
|
+
}, viem42.ReadContractErrorType>>;
|
|
37517
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37497
37518
|
promise: Promise<{
|
|
37498
37519
|
exact: number;
|
|
37499
37520
|
rounded: number | undefined;
|
|
37500
37521
|
sqrtPriceX96: bigint;
|
|
37501
37522
|
}>;
|
|
37502
|
-
queryKey:
|
|
37523
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37503
37524
|
exact: number | undefined;
|
|
37504
37525
|
rounded: number | undefined;
|
|
37505
37526
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -37516,7 +37537,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37516
37537
|
dataUpdatedAt: number;
|
|
37517
37538
|
errorUpdatedAt: number;
|
|
37518
37539
|
failureCount: number;
|
|
37519
|
-
failureReason:
|
|
37540
|
+
failureReason: viem42.ReadContractErrorType | null;
|
|
37520
37541
|
errorUpdateCount: number;
|
|
37521
37542
|
isFetched: boolean;
|
|
37522
37543
|
isFetchedAfterMount: boolean;
|
|
@@ -37526,18 +37547,18 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37526
37547
|
isRefetching: boolean;
|
|
37527
37548
|
isStale: boolean;
|
|
37528
37549
|
isEnabled: boolean;
|
|
37529
|
-
refetch: (options?:
|
|
37550
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37530
37551
|
exact: number;
|
|
37531
37552
|
rounded: number | undefined;
|
|
37532
37553
|
sqrtPriceX96: bigint;
|
|
37533
|
-
},
|
|
37534
|
-
fetchStatus:
|
|
37554
|
+
}, viem42.ReadContractErrorType>>;
|
|
37555
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37535
37556
|
promise: Promise<{
|
|
37536
37557
|
exact: number;
|
|
37537
37558
|
rounded: number | undefined;
|
|
37538
37559
|
sqrtPriceX96: bigint;
|
|
37539
37560
|
}>;
|
|
37540
|
-
queryKey:
|
|
37561
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37541
37562
|
exact: number | undefined;
|
|
37542
37563
|
rounded: number | undefined;
|
|
37543
37564
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -37553,7 +37574,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37553
37574
|
dataUpdatedAt: number;
|
|
37554
37575
|
errorUpdatedAt: number;
|
|
37555
37576
|
failureCount: number;
|
|
37556
|
-
failureReason:
|
|
37577
|
+
failureReason: viem42.ReadContractErrorType | null;
|
|
37557
37578
|
errorUpdateCount: number;
|
|
37558
37579
|
isFetched: boolean;
|
|
37559
37580
|
isFetchedAfterMount: boolean;
|
|
@@ -37564,18 +37585,18 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37564
37585
|
isRefetching: boolean;
|
|
37565
37586
|
isStale: boolean;
|
|
37566
37587
|
isEnabled: boolean;
|
|
37567
|
-
refetch: (options?:
|
|
37588
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37568
37589
|
exact: number;
|
|
37569
37590
|
rounded: number | undefined;
|
|
37570
37591
|
sqrtPriceX96: bigint;
|
|
37571
|
-
},
|
|
37572
|
-
fetchStatus:
|
|
37592
|
+
}, viem42.ReadContractErrorType>>;
|
|
37593
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37573
37594
|
promise: Promise<{
|
|
37574
37595
|
exact: number;
|
|
37575
37596
|
rounded: number | undefined;
|
|
37576
37597
|
sqrtPriceX96: bigint;
|
|
37577
37598
|
}>;
|
|
37578
|
-
queryKey:
|
|
37599
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37579
37600
|
exact: number | undefined;
|
|
37580
37601
|
rounded: number | undefined;
|
|
37581
37602
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -37592,7 +37613,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37592
37613
|
dataUpdatedAt: number;
|
|
37593
37614
|
errorUpdatedAt: number;
|
|
37594
37615
|
failureCount: number;
|
|
37595
|
-
failureReason:
|
|
37616
|
+
failureReason: viem42.ReadContractErrorType | null;
|
|
37596
37617
|
errorUpdateCount: number;
|
|
37597
37618
|
isFetched: boolean;
|
|
37598
37619
|
isFetchedAfterMount: boolean;
|
|
@@ -37602,18 +37623,18 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37602
37623
|
isRefetching: boolean;
|
|
37603
37624
|
isStale: boolean;
|
|
37604
37625
|
isEnabled: boolean;
|
|
37605
|
-
refetch: (options?:
|
|
37626
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<{
|
|
37606
37627
|
exact: number;
|
|
37607
37628
|
rounded: number | undefined;
|
|
37608
37629
|
sqrtPriceX96: bigint;
|
|
37609
|
-
},
|
|
37610
|
-
fetchStatus:
|
|
37630
|
+
}, viem42.ReadContractErrorType>>;
|
|
37631
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37611
37632
|
promise: Promise<{
|
|
37612
37633
|
exact: number;
|
|
37613
37634
|
rounded: number | undefined;
|
|
37614
37635
|
sqrtPriceX96: bigint;
|
|
37615
37636
|
}>;
|
|
37616
|
-
queryKey:
|
|
37637
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37617
37638
|
exact: number | undefined;
|
|
37618
37639
|
rounded: number | undefined;
|
|
37619
37640
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -37663,7 +37684,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
37663
37684
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
37664
37685
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
37665
37686
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
37666
|
-
error:
|
|
37687
|
+
error: viem42.ReadContractErrorType;
|
|
37667
37688
|
isError: true;
|
|
37668
37689
|
isPending: false;
|
|
37669
37690
|
isLoading: false;
|
|
@@ -37675,7 +37696,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37675
37696
|
dataUpdatedAt: number;
|
|
37676
37697
|
errorUpdatedAt: number;
|
|
37677
37698
|
failureCount: number;
|
|
37678
|
-
failureReason:
|
|
37699
|
+
failureReason: viem42.ReadContractErrorType | null;
|
|
37679
37700
|
errorUpdateCount: number;
|
|
37680
37701
|
isFetched: boolean;
|
|
37681
37702
|
isFetchedAfterMount: boolean;
|
|
@@ -37685,7 +37706,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37685
37706
|
isRefetching: boolean;
|
|
37686
37707
|
isStale: boolean;
|
|
37687
37708
|
isEnabled: boolean;
|
|
37688
|
-
refetch: (options?:
|
|
37709
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly {
|
|
37689
37710
|
tickLower: number;
|
|
37690
37711
|
tickUpper: number;
|
|
37691
37712
|
prevTickLower: number;
|
|
@@ -37695,8 +37716,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37695
37716
|
totalAmount1: bigint;
|
|
37696
37717
|
borrowedAmount0: bigint;
|
|
37697
37718
|
borrowedAmount1: bigint;
|
|
37698
|
-
}[],
|
|
37699
|
-
fetchStatus:
|
|
37719
|
+
}[], viem42.ReadContractErrorType>>;
|
|
37720
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37700
37721
|
promise: Promise<readonly {
|
|
37701
37722
|
tickLower: number;
|
|
37702
37723
|
tickUpper: number;
|
|
@@ -37708,7 +37729,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37708
37729
|
borrowedAmount0: bigint;
|
|
37709
37730
|
borrowedAmount1: bigint;
|
|
37710
37731
|
}[]>;
|
|
37711
|
-
queryKey:
|
|
37732
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37712
37733
|
data: readonly {
|
|
37713
37734
|
tickLower: number;
|
|
37714
37735
|
tickUpper: number;
|
|
@@ -37733,7 +37754,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37733
37754
|
dataUpdatedAt: number;
|
|
37734
37755
|
errorUpdatedAt: number;
|
|
37735
37756
|
failureCount: number;
|
|
37736
|
-
failureReason:
|
|
37757
|
+
failureReason: viem42.ReadContractErrorType | null;
|
|
37737
37758
|
errorUpdateCount: number;
|
|
37738
37759
|
isFetched: boolean;
|
|
37739
37760
|
isFetchedAfterMount: boolean;
|
|
@@ -37743,7 +37764,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37743
37764
|
isRefetching: boolean;
|
|
37744
37765
|
isStale: boolean;
|
|
37745
37766
|
isEnabled: boolean;
|
|
37746
|
-
refetch: (options?:
|
|
37767
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly {
|
|
37747
37768
|
tickLower: number;
|
|
37748
37769
|
tickUpper: number;
|
|
37749
37770
|
prevTickLower: number;
|
|
@@ -37753,8 +37774,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37753
37774
|
totalAmount1: bigint;
|
|
37754
37775
|
borrowedAmount0: bigint;
|
|
37755
37776
|
borrowedAmount1: bigint;
|
|
37756
|
-
}[],
|
|
37757
|
-
fetchStatus:
|
|
37777
|
+
}[], viem42.ReadContractErrorType>>;
|
|
37778
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37758
37779
|
promise: Promise<readonly {
|
|
37759
37780
|
tickLower: number;
|
|
37760
37781
|
tickUpper: number;
|
|
@@ -37766,7 +37787,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37766
37787
|
borrowedAmount0: bigint;
|
|
37767
37788
|
borrowedAmount1: bigint;
|
|
37768
37789
|
}[]>;
|
|
37769
|
-
queryKey:
|
|
37790
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37770
37791
|
data: readonly {
|
|
37771
37792
|
tickLower: number;
|
|
37772
37793
|
tickUpper: number;
|
|
@@ -37779,7 +37800,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37779
37800
|
borrowedAmount1: bigint;
|
|
37780
37801
|
}[];
|
|
37781
37802
|
} | {
|
|
37782
|
-
error:
|
|
37803
|
+
error: viem42.ReadContractErrorType;
|
|
37783
37804
|
isError: true;
|
|
37784
37805
|
isPending: false;
|
|
37785
37806
|
isLoading: false;
|
|
@@ -37791,7 +37812,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37791
37812
|
dataUpdatedAt: number;
|
|
37792
37813
|
errorUpdatedAt: number;
|
|
37793
37814
|
failureCount: number;
|
|
37794
|
-
failureReason:
|
|
37815
|
+
failureReason: viem42.ReadContractErrorType | null;
|
|
37795
37816
|
errorUpdateCount: number;
|
|
37796
37817
|
isFetched: boolean;
|
|
37797
37818
|
isFetchedAfterMount: boolean;
|
|
@@ -37801,7 +37822,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37801
37822
|
isRefetching: boolean;
|
|
37802
37823
|
isStale: boolean;
|
|
37803
37824
|
isEnabled: boolean;
|
|
37804
|
-
refetch: (options?:
|
|
37825
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly {
|
|
37805
37826
|
tickLower: number;
|
|
37806
37827
|
tickUpper: number;
|
|
37807
37828
|
prevTickLower: number;
|
|
@@ -37811,8 +37832,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37811
37832
|
totalAmount1: bigint;
|
|
37812
37833
|
borrowedAmount0: bigint;
|
|
37813
37834
|
borrowedAmount1: bigint;
|
|
37814
|
-
}[],
|
|
37815
|
-
fetchStatus:
|
|
37835
|
+
}[], viem42.ReadContractErrorType>>;
|
|
37836
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37816
37837
|
promise: Promise<readonly {
|
|
37817
37838
|
tickLower: number;
|
|
37818
37839
|
tickUpper: number;
|
|
@@ -37824,7 +37845,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37824
37845
|
borrowedAmount0: bigint;
|
|
37825
37846
|
borrowedAmount1: bigint;
|
|
37826
37847
|
}[]>;
|
|
37827
|
-
queryKey:
|
|
37848
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37828
37849
|
data: readonly {
|
|
37829
37850
|
tickLower: number;
|
|
37830
37851
|
tickUpper: number;
|
|
@@ -37849,7 +37870,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37849
37870
|
dataUpdatedAt: number;
|
|
37850
37871
|
errorUpdatedAt: number;
|
|
37851
37872
|
failureCount: number;
|
|
37852
|
-
failureReason:
|
|
37873
|
+
failureReason: viem42.ReadContractErrorType | null;
|
|
37853
37874
|
errorUpdateCount: number;
|
|
37854
37875
|
isFetched: boolean;
|
|
37855
37876
|
isFetchedAfterMount: boolean;
|
|
@@ -37859,7 +37880,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37859
37880
|
isRefetching: boolean;
|
|
37860
37881
|
isStale: boolean;
|
|
37861
37882
|
isEnabled: boolean;
|
|
37862
|
-
refetch: (options?:
|
|
37883
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly {
|
|
37863
37884
|
tickLower: number;
|
|
37864
37885
|
tickUpper: number;
|
|
37865
37886
|
prevTickLower: number;
|
|
@@ -37869,8 +37890,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37869
37890
|
totalAmount1: bigint;
|
|
37870
37891
|
borrowedAmount0: bigint;
|
|
37871
37892
|
borrowedAmount1: bigint;
|
|
37872
|
-
}[],
|
|
37873
|
-
fetchStatus:
|
|
37893
|
+
}[], viem42.ReadContractErrorType>>;
|
|
37894
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37874
37895
|
promise: Promise<readonly {
|
|
37875
37896
|
tickLower: number;
|
|
37876
37897
|
tickUpper: number;
|
|
@@ -37882,7 +37903,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37882
37903
|
borrowedAmount0: bigint;
|
|
37883
37904
|
borrowedAmount1: bigint;
|
|
37884
37905
|
}[]>;
|
|
37885
|
-
queryKey:
|
|
37906
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37886
37907
|
data: readonly {
|
|
37887
37908
|
tickLower: number;
|
|
37888
37909
|
tickUpper: number;
|
|
@@ -37906,7 +37927,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37906
37927
|
dataUpdatedAt: number;
|
|
37907
37928
|
errorUpdatedAt: number;
|
|
37908
37929
|
failureCount: number;
|
|
37909
|
-
failureReason:
|
|
37930
|
+
failureReason: viem42.ReadContractErrorType | null;
|
|
37910
37931
|
errorUpdateCount: number;
|
|
37911
37932
|
isFetched: boolean;
|
|
37912
37933
|
isFetchedAfterMount: boolean;
|
|
@@ -37917,7 +37938,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37917
37938
|
isRefetching: boolean;
|
|
37918
37939
|
isStale: boolean;
|
|
37919
37940
|
isEnabled: boolean;
|
|
37920
|
-
refetch: (options?:
|
|
37941
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly {
|
|
37921
37942
|
tickLower: number;
|
|
37922
37943
|
tickUpper: number;
|
|
37923
37944
|
prevTickLower: number;
|
|
@@ -37927,8 +37948,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37927
37948
|
totalAmount1: bigint;
|
|
37928
37949
|
borrowedAmount0: bigint;
|
|
37929
37950
|
borrowedAmount1: bigint;
|
|
37930
|
-
}[],
|
|
37931
|
-
fetchStatus:
|
|
37951
|
+
}[], viem42.ReadContractErrorType>>;
|
|
37952
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37932
37953
|
promise: Promise<readonly {
|
|
37933
37954
|
tickLower: number;
|
|
37934
37955
|
tickUpper: number;
|
|
@@ -37940,7 +37961,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37940
37961
|
borrowedAmount0: bigint;
|
|
37941
37962
|
borrowedAmount1: bigint;
|
|
37942
37963
|
}[]>;
|
|
37943
|
-
queryKey:
|
|
37964
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
37944
37965
|
data: readonly {
|
|
37945
37966
|
tickLower: number;
|
|
37946
37967
|
tickUpper: number;
|
|
@@ -37965,7 +37986,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37965
37986
|
dataUpdatedAt: number;
|
|
37966
37987
|
errorUpdatedAt: number;
|
|
37967
37988
|
failureCount: number;
|
|
37968
|
-
failureReason:
|
|
37989
|
+
failureReason: viem42.ReadContractErrorType | null;
|
|
37969
37990
|
errorUpdateCount: number;
|
|
37970
37991
|
isFetched: boolean;
|
|
37971
37992
|
isFetchedAfterMount: boolean;
|
|
@@ -37975,7 +37996,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37975
37996
|
isRefetching: boolean;
|
|
37976
37997
|
isStale: boolean;
|
|
37977
37998
|
isEnabled: boolean;
|
|
37978
|
-
refetch: (options?:
|
|
37999
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly {
|
|
37979
38000
|
tickLower: number;
|
|
37980
38001
|
tickUpper: number;
|
|
37981
38002
|
prevTickLower: number;
|
|
@@ -37985,8 +38006,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37985
38006
|
totalAmount1: bigint;
|
|
37986
38007
|
borrowedAmount0: bigint;
|
|
37987
38008
|
borrowedAmount1: bigint;
|
|
37988
|
-
}[],
|
|
37989
|
-
fetchStatus:
|
|
38009
|
+
}[], viem42.ReadContractErrorType>>;
|
|
38010
|
+
fetchStatus: _tanstack_query_core41.FetchStatus;
|
|
37990
38011
|
promise: Promise<readonly {
|
|
37991
38012
|
tickLower: number;
|
|
37992
38013
|
tickUpper: number;
|
|
@@ -37998,7 +38019,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37998
38019
|
borrowedAmount0: bigint;
|
|
37999
38020
|
borrowedAmount1: bigint;
|
|
38000
38021
|
}[]>;
|
|
38001
|
-
queryKey:
|
|
38022
|
+
queryKey: _tanstack_query_core41.QueryKey;
|
|
38002
38023
|
data: readonly {
|
|
38003
38024
|
tickLower: number;
|
|
38004
38025
|
tickUpper: number;
|
|
@@ -38049,14 +38070,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
38049
38070
|
borrowedAmount0: Amount;
|
|
38050
38071
|
borrowedAmount1: Amount;
|
|
38051
38072
|
blocksCount: bigint;
|
|
38052
|
-
refetch: (options?:
|
|
38073
|
+
refetch: (options?: _tanstack_query_core41.RefetchOptions) => Promise<_tanstack_query_core41.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem42.ReadContractErrorType>>;
|
|
38053
38074
|
};
|
|
38054
38075
|
//#endregion
|
|
38055
38076
|
//#region src/hooks/useLens.d.ts
|
|
38056
38077
|
declare const useLens: () => {
|
|
38057
38078
|
timelockLens: {
|
|
38058
38079
|
read: {
|
|
38059
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
38080
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
38060
38081
|
readonly type: "function";
|
|
38061
38082
|
readonly name: "batchGetRefTick";
|
|
38062
38083
|
readonly inputs: readonly [{
|
|
@@ -38663,7 +38684,7 @@ declare const useLens: () => {
|
|
|
38663
38684
|
}];
|
|
38664
38685
|
readonly stateMutability: "view";
|
|
38665
38686
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
38666
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
38687
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
38667
38688
|
readonly type: "function";
|
|
38668
38689
|
readonly name: "batchGetRefTick";
|
|
38669
38690
|
readonly inputs: readonly [{
|
|
@@ -39280,7 +39301,7 @@ declare const useLens: () => {
|
|
|
39280
39301
|
borrowedAmount0: bigint;
|
|
39281
39302
|
borrowedAmount1: bigint;
|
|
39282
39303
|
}[]>;
|
|
39283
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
39304
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
39284
39305
|
readonly type: "function";
|
|
39285
39306
|
readonly name: "batchGetRefTick";
|
|
39286
39307
|
readonly inputs: readonly [{
|
|
@@ -39897,7 +39918,7 @@ declare const useLens: () => {
|
|
|
39897
39918
|
expiresAt: number;
|
|
39898
39919
|
liquidities: readonly bigint[];
|
|
39899
39920
|
}[], bigint, boolean]>;
|
|
39900
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
39921
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
39901
39922
|
readonly type: "function";
|
|
39902
39923
|
readonly name: "batchGetRefTick";
|
|
39903
39924
|
readonly inputs: readonly [{
|
|
@@ -40504,7 +40525,7 @@ declare const useLens: () => {
|
|
|
40504
40525
|
}];
|
|
40505
40526
|
readonly stateMutability: "view";
|
|
40506
40527
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
40507
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
40528
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
40508
40529
|
readonly type: "function";
|
|
40509
40530
|
readonly name: "batchGetRefTick";
|
|
40510
40531
|
readonly inputs: readonly [{
|
|
@@ -41124,7 +41145,7 @@ declare const useLens: () => {
|
|
|
41124
41145
|
payoutAssetName: string;
|
|
41125
41146
|
optionsCount: bigint;
|
|
41126
41147
|
}>;
|
|
41127
|
-
getMaxATMSizes: (args: readonly [`0x${string}`, number], options?:
|
|
41148
|
+
getMaxATMSizes: (args: readonly [`0x${string}`, number], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
41128
41149
|
readonly type: "function";
|
|
41129
41150
|
readonly name: "batchGetRefTick";
|
|
41130
41151
|
readonly inputs: readonly [{
|
|
@@ -41731,7 +41752,7 @@ declare const useLens: () => {
|
|
|
41731
41752
|
}];
|
|
41732
41753
|
readonly stateMutability: "view";
|
|
41733
41754
|
}], "getMaxATMSizes", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
41734
|
-
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?:
|
|
41755
|
+
getMaxBorrowable0: (args: readonly [`0x${string}`, number, number], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
41735
41756
|
readonly type: "function";
|
|
41736
41757
|
readonly name: "batchGetRefTick";
|
|
41737
41758
|
readonly inputs: readonly [{
|
|
@@ -42338,7 +42359,7 @@ declare const useLens: () => {
|
|
|
42338
42359
|
}];
|
|
42339
42360
|
readonly stateMutability: "view";
|
|
42340
42361
|
}], "getMaxBorrowable0", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
42341
|
-
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?:
|
|
42362
|
+
getMaxBorrowable1: (args: readonly [`0x${string}`, number, number], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
42342
42363
|
readonly type: "function";
|
|
42343
42364
|
readonly name: "batchGetRefTick";
|
|
42344
42365
|
readonly inputs: readonly [{
|
|
@@ -42945,7 +42966,7 @@ declare const useLens: () => {
|
|
|
42945
42966
|
}];
|
|
42946
42967
|
readonly stateMutability: "view";
|
|
42947
42968
|
}], "getMaxBorrowable1", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
42948
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
42969
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
42949
42970
|
readonly type: "function";
|
|
42950
42971
|
readonly name: "batchGetRefTick";
|
|
42951
42972
|
readonly inputs: readonly [{
|
|
@@ -43562,7 +43583,7 @@ declare const useLens: () => {
|
|
|
43562
43583
|
expiresAt: number;
|
|
43563
43584
|
liquidities: readonly bigint[];
|
|
43564
43585
|
}>;
|
|
43565
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
43586
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
43566
43587
|
readonly type: "function";
|
|
43567
43588
|
readonly name: "batchGetRefTick";
|
|
43568
43589
|
readonly inputs: readonly [{
|
|
@@ -44179,7 +44200,7 @@ declare const useLens: () => {
|
|
|
44179
44200
|
expiresAt: number;
|
|
44180
44201
|
liquidities: readonly bigint[];
|
|
44181
44202
|
}[]>;
|
|
44182
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
44203
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
44183
44204
|
readonly type: "function";
|
|
44184
44205
|
readonly name: "batchGetRefTick";
|
|
44185
44206
|
readonly inputs: readonly [{
|
|
@@ -44797,7 +44818,7 @@ declare const useLens: () => {
|
|
|
44797
44818
|
tickSpacing: number;
|
|
44798
44819
|
fee: number;
|
|
44799
44820
|
}>;
|
|
44800
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
44821
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
44801
44822
|
readonly type: "function";
|
|
44802
44823
|
readonly name: "batchGetRefTick";
|
|
44803
44824
|
readonly inputs: readonly [{
|
|
@@ -45404,7 +45425,7 @@ declare const useLens: () => {
|
|
|
45404
45425
|
}];
|
|
45405
45426
|
readonly stateMutability: "view";
|
|
45406
45427
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
45407
|
-
getTokenData: (args: readonly [`0x${string}`], options?:
|
|
45428
|
+
getTokenData: (args: readonly [`0x${string}`], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
45408
45429
|
readonly type: "function";
|
|
45409
45430
|
readonly name: "batchGetRefTick";
|
|
45410
45431
|
readonly inputs: readonly [{
|
|
@@ -46015,7 +46036,7 @@ declare const useLens: () => {
|
|
|
46015
46036
|
symbol: string;
|
|
46016
46037
|
name: string;
|
|
46017
46038
|
}>;
|
|
46018
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
46039
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
46019
46040
|
readonly type: "function";
|
|
46020
46041
|
readonly name: "batchGetRefTick";
|
|
46021
46042
|
readonly inputs: readonly [{
|
|
@@ -46632,7 +46653,7 @@ declare const useLens: () => {
|
|
|
46632
46653
|
expiresAt: number;
|
|
46633
46654
|
liquidities: readonly bigint[];
|
|
46634
46655
|
}[], bigint, boolean]>;
|
|
46635
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
46656
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
46636
46657
|
readonly type: "function";
|
|
46637
46658
|
readonly name: "batchGetRefTick";
|
|
46638
46659
|
readonly inputs: readonly [{
|
|
@@ -47851,7 +47872,7 @@ declare const useLens: () => {
|
|
|
47851
47872
|
} | undefined;
|
|
47852
47873
|
uniswapLens: {
|
|
47853
47874
|
read: {
|
|
47854
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
47875
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
47855
47876
|
readonly type: "function";
|
|
47856
47877
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
47857
47878
|
readonly inputs: readonly [{
|
|
@@ -48472,7 +48493,7 @@ declare const useLens: () => {
|
|
|
48472
48493
|
}];
|
|
48473
48494
|
readonly stateMutability: "pure";
|
|
48474
48495
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
48475
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
48496
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
48476
48497
|
readonly type: "function";
|
|
48477
48498
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
48478
48499
|
readonly inputs: readonly [{
|
|
@@ -49093,7 +49114,7 @@ declare const useLens: () => {
|
|
|
49093
49114
|
}];
|
|
49094
49115
|
readonly stateMutability: "pure";
|
|
49095
49116
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
49096
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
49117
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
49097
49118
|
readonly type: "function";
|
|
49098
49119
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49099
49120
|
readonly inputs: readonly [{
|
|
@@ -49714,7 +49735,7 @@ declare const useLens: () => {
|
|
|
49714
49735
|
}];
|
|
49715
49736
|
readonly stateMutability: "pure";
|
|
49716
49737
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
49717
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
49738
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
49718
49739
|
readonly type: "function";
|
|
49719
49740
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
49720
49741
|
readonly inputs: readonly [{
|
|
@@ -50335,7 +50356,7 @@ declare const useLens: () => {
|
|
|
50335
50356
|
}];
|
|
50336
50357
|
readonly stateMutability: "pure";
|
|
50337
50358
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
50338
|
-
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?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
50339
50360
|
readonly type: "function";
|
|
50340
50361
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50341
50362
|
readonly inputs: readonly [{
|
|
@@ -50956,7 +50977,7 @@ declare const useLens: () => {
|
|
|
50956
50977
|
}];
|
|
50957
50978
|
readonly stateMutability: "pure";
|
|
50958
50979
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
50959
|
-
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?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
50960
50981
|
readonly type: "function";
|
|
50961
50982
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
50962
50983
|
readonly inputs: readonly [{
|
|
@@ -51577,7 +51598,7 @@ declare const useLens: () => {
|
|
|
51577
51598
|
}];
|
|
51578
51599
|
readonly stateMutability: "pure";
|
|
51579
51600
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
51580
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
51601
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
51581
51602
|
readonly type: "function";
|
|
51582
51603
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
51583
51604
|
readonly inputs: readonly [{
|
|
@@ -52198,7 +52219,7 @@ declare const useLens: () => {
|
|
|
52198
52219
|
}];
|
|
52199
52220
|
readonly stateMutability: "pure";
|
|
52200
52221
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52201
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
52222
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
52202
52223
|
readonly type: "function";
|
|
52203
52224
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52204
52225
|
readonly inputs: readonly [{
|
|
@@ -52819,7 +52840,7 @@ declare const useLens: () => {
|
|
|
52819
52840
|
}];
|
|
52820
52841
|
readonly stateMutability: "pure";
|
|
52821
52842
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
52822
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
52843
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
52823
52844
|
readonly type: "function";
|
|
52824
52845
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
52825
52846
|
readonly inputs: readonly [{
|
|
@@ -53440,7 +53461,7 @@ declare const useLens: () => {
|
|
|
53440
53461
|
}];
|
|
53441
53462
|
readonly stateMutability: "pure";
|
|
53442
53463
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
53443
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
53464
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
53444
53465
|
readonly type: "function";
|
|
53445
53466
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
53446
53467
|
readonly inputs: readonly [{
|
|
@@ -54061,7 +54082,7 @@ declare const useLens: () => {
|
|
|
54061
54082
|
}];
|
|
54062
54083
|
readonly stateMutability: "pure";
|
|
54063
54084
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
54064
|
-
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?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
54065
54086
|
readonly type: "function";
|
|
54066
54087
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54067
54088
|
readonly inputs: readonly [{
|
|
@@ -54682,7 +54703,7 @@ declare const useLens: () => {
|
|
|
54682
54703
|
}];
|
|
54683
54704
|
readonly stateMutability: "pure";
|
|
54684
54705
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
54685
|
-
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?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
54686
54707
|
readonly type: "function";
|
|
54687
54708
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
54688
54709
|
readonly inputs: readonly [{
|
|
@@ -55303,7 +55324,7 @@ declare const useLens: () => {
|
|
|
55303
55324
|
}];
|
|
55304
55325
|
readonly stateMutability: "pure";
|
|
55305
55326
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
55306
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
55327
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
55307
55328
|
readonly type: "function";
|
|
55308
55329
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55309
55330
|
readonly inputs: readonly [{
|
|
@@ -55924,7 +55945,7 @@ declare const useLens: () => {
|
|
|
55924
55945
|
}];
|
|
55925
55946
|
readonly stateMutability: "pure";
|
|
55926
55947
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
55927
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
55948
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
55928
55949
|
readonly type: "function";
|
|
55929
55950
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
55930
55951
|
readonly inputs: readonly [{
|
|
@@ -56545,7 +56566,7 @@ declare const useLens: () => {
|
|
|
56545
56566
|
}];
|
|
56546
56567
|
readonly stateMutability: "pure";
|
|
56547
56568
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
56548
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
56569
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
56549
56570
|
readonly type: "function";
|
|
56550
56571
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
56551
56572
|
readonly inputs: readonly [{
|
|
@@ -57166,7 +57187,7 @@ declare const useLens: () => {
|
|
|
57166
57187
|
}];
|
|
57167
57188
|
readonly stateMutability: "pure";
|
|
57168
57189
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
57169
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
57190
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
57170
57191
|
readonly type: "function";
|
|
57171
57192
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57172
57193
|
readonly inputs: readonly [{
|
|
@@ -57787,7 +57808,7 @@ declare const useLens: () => {
|
|
|
57787
57808
|
}];
|
|
57788
57809
|
readonly stateMutability: "pure";
|
|
57789
57810
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
57790
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
57811
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
57791
57812
|
readonly type: "function";
|
|
57792
57813
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
57793
57814
|
readonly inputs: readonly [{
|
|
@@ -58408,7 +58429,7 @@ declare const useLens: () => {
|
|
|
58408
58429
|
}];
|
|
58409
58430
|
readonly stateMutability: "pure";
|
|
58410
58431
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
58411
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
58432
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
58412
58433
|
readonly type: "function";
|
|
58413
58434
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
58414
58435
|
readonly inputs: readonly [{
|
|
@@ -59029,7 +59050,7 @@ declare const useLens: () => {
|
|
|
59029
59050
|
}];
|
|
59030
59051
|
readonly stateMutability: "pure";
|
|
59031
59052
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
59032
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
59053
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
59033
59054
|
readonly type: "function";
|
|
59034
59055
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59035
59056
|
readonly inputs: readonly [{
|
|
@@ -59650,7 +59671,7 @@ declare const useLens: () => {
|
|
|
59650
59671
|
}];
|
|
59651
59672
|
readonly stateMutability: "pure";
|
|
59652
59673
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
59653
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
59674
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
59654
59675
|
readonly type: "function";
|
|
59655
59676
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
59656
59677
|
readonly inputs: readonly [{
|
|
@@ -60271,7 +60292,7 @@ declare const useLens: () => {
|
|
|
60271
60292
|
}];
|
|
60272
60293
|
readonly stateMutability: "pure";
|
|
60273
60294
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60274
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
60295
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
60275
60296
|
readonly type: "function";
|
|
60276
60297
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60277
60298
|
readonly inputs: readonly [{
|
|
@@ -60892,7 +60913,7 @@ declare const useLens: () => {
|
|
|
60892
60913
|
}];
|
|
60893
60914
|
readonly stateMutability: "pure";
|
|
60894
60915
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
60895
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
60916
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
60896
60917
|
readonly type: "function";
|
|
60897
60918
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
60898
60919
|
readonly inputs: readonly [{
|
|
@@ -61513,7 +61534,7 @@ declare const useLens: () => {
|
|
|
61513
61534
|
}];
|
|
61514
61535
|
readonly stateMutability: "pure";
|
|
61515
61536
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
61516
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
61537
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
61517
61538
|
readonly type: "function";
|
|
61518
61539
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
61519
61540
|
readonly inputs: readonly [{
|
|
@@ -62134,7 +62155,7 @@ declare const useLens: () => {
|
|
|
62134
62155
|
}];
|
|
62135
62156
|
readonly stateMutability: "pure";
|
|
62136
62157
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
62137
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
62158
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
62138
62159
|
readonly type: "function";
|
|
62139
62160
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
62140
62161
|
readonly inputs: readonly [{
|
|
@@ -62755,7 +62776,7 @@ declare const useLens: () => {
|
|
|
62755
62776
|
}];
|
|
62756
62777
|
readonly stateMutability: "pure";
|
|
62757
62778
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
62758
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
62779
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
62759
62780
|
readonly type: "function";
|
|
62760
62781
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
62761
62782
|
readonly inputs: readonly [{
|
|
@@ -63376,7 +63397,7 @@ declare const useLens: () => {
|
|
|
63376
63397
|
}];
|
|
63377
63398
|
readonly stateMutability: "pure";
|
|
63378
63399
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
63379
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
63400
|
+
getPriceAtTick: (args: readonly [number], options?: viem42.Prettify<viem42.UnionOmit<viem42.ReadContractParameters<readonly [{
|
|
63380
63401
|
readonly type: "function";
|
|
63381
63402
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
63382
63403
|
readonly inputs: readonly [{
|
|
@@ -64632,5 +64653,5 @@ declare const useApproval: () => {
|
|
|
64632
64653
|
reset: () => void;
|
|
64633
64654
|
};
|
|
64634
64655
|
//#endregion
|
|
64635
|
-
export { OptionEvent as $, roundTickDown as A,
|
|
64636
|
-
//# sourceMappingURL=client-
|
|
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-CZdmjIOb.d.ts.map
|