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-Be6lFJcD.cjs";
|
|
2
|
+
import * as viem178 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
|
-
import Big from "big.js";
|
|
5
|
-
import JSBI from "jsbi";
|
|
6
4
|
import React, { ReactNode } from "react";
|
|
5
|
+
import "graphql";
|
|
7
6
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
8
7
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
9
8
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
10
|
-
import "graphql";
|
|
11
9
|
import * as _tanstack_query_core23 from "@tanstack/query-core";
|
|
10
|
+
import Big from "big.js";
|
|
11
|
+
import JSBI from "jsbi";
|
|
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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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: viem178.Prettify<viem178.UnionOmit<viem178.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], viem178.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem178.EstimateContractGasReturnType>;
|
|
1499
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem178.Prettify<viem178.UnionOmit<viem178.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], viem178.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem178.EstimateContractGasReturnType>;
|
|
1678
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem178.Prettify<viem178.UnionOmit<viem178.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], viem178.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem178.EstimateContractGasReturnType>;
|
|
1857
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem178.Prettify<viem178.UnionOmit<viem178.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], viem178.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem178.EstimateContractGasReturnType>;
|
|
2036
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem178.Prettify<viem178.UnionOmit<viem178.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], viem178.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem178.EstimateContractGasReturnType>;
|
|
2202
2215
|
} & {
|
|
2203
|
-
approve: (args: readonly [`0x${string}`, bigint], options:
|
|
2216
|
+
approve: (args: readonly [`0x${string}`, bigint], options: viem178.Prettify<viem178.UnionOmit<viem178.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], viem178.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem178.EstimateContractGasReturnType>;
|
|
2395
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem178.Prettify<viem178.UnionOmit<viem178.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], viem178.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem178.EstimateContractGasReturnType>;
|
|
2574
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem178.Prettify<viem178.UnionOmit<viem178.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], viem178.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem178.EstimateContractGasReturnType>;
|
|
2753
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem178.Prettify<viem178.UnionOmit<viem178.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], viem178.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem178.EstimateContractGasReturnType>;
|
|
2932
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem178.Prettify<viem178.UnionOmit<viem178.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], viem178.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem178.EstimateContractGasReturnType>;
|
|
3098
3111
|
};
|
|
3099
3112
|
simulate: {
|
|
3100
|
-
approve: <chainOverride extends
|
|
3113
|
+
approve: <chainOverride extends viem178.Chain | undefined = undefined, accountOverride extends viem178.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem178.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], viem178.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem178.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], viem178.Chain | undefined, viem178.Account | undefined, chainOverride, accountOverride>>;
|
|
3470
|
+
decreaseAllowance: <chainOverride extends viem178.Chain | undefined = undefined, accountOverride extends viem178.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem178.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], viem178.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem178.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], viem178.Chain | undefined, viem178.Account | undefined, chainOverride, accountOverride>>;
|
|
3827
|
+
increaseAllowance: <chainOverride extends viem178.Chain | undefined = undefined, accountOverride extends viem178.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem178.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], viem178.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem178.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], viem178.Chain | undefined, viem178.Account | undefined, chainOverride, accountOverride>>;
|
|
4184
|
+
transfer: <chainOverride extends viem178.Chain | undefined = undefined, accountOverride extends viem178.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem178.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], viem178.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem178.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], viem178.Chain | undefined, viem178.Account | undefined, chainOverride, accountOverride>>;
|
|
4541
|
+
transferFrom: <chainOverride extends viem178.Chain | undefined = undefined, accountOverride extends viem178.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem178.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], viem178.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem178.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], viem178.Chain | undefined, viem178.Account | undefined, chainOverride, accountOverride>>;
|
|
4885
4898
|
};
|
|
4886
4899
|
write: {
|
|
4887
|
-
approve: <chainOverride extends
|
|
4900
|
+
approve: <chainOverride extends viem178.Chain | undefined, options extends (viem178.UnionOmit<viem178.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], viem178.Chain | undefined, viem178.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<viem178.WriteContractReturnType>;
|
|
5079
|
+
decreaseAllowance: <chainOverride extends viem178.Chain | undefined, options extends (viem178.UnionOmit<viem178.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], viem178.Chain | undefined, viem178.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<viem178.WriteContractReturnType>;
|
|
5258
|
+
increaseAllowance: <chainOverride extends viem178.Chain | undefined, options extends (viem178.UnionOmit<viem178.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], viem178.Chain | undefined, viem178.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<viem178.WriteContractReturnType>;
|
|
5437
|
+
transfer: <chainOverride extends viem178.Chain | undefined, options extends (viem178.UnionOmit<viem178.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], viem178.Chain | undefined, viem178.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<viem178.WriteContractReturnType>;
|
|
5616
|
+
transferFrom: <chainOverride extends viem178.Chain | undefined, options extends (viem178.UnionOmit<viem178.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], viem178.Chain | undefined, viem178.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<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.ReadContractParameters<readonly [{
|
|
31316
31329
|
readonly type: "function";
|
|
31317
31330
|
readonly name: "batchGetRefTick";
|
|
31318
31331
|
readonly inputs: readonly [{
|
|
@@ -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: viem178.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: viem178.ReadContractErrorType | null;
|
|
34729
34750
|
errorUpdateCount: number;
|
|
34730
34751
|
isFetched: boolean;
|
|
34731
34752
|
isFetchedAfterMount: boolean;
|
|
@@ -34735,7 +34756,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34735
34756
|
isRefetching: boolean;
|
|
34736
34757
|
isStale: boolean;
|
|
34737
34758
|
isEnabled: boolean;
|
|
34738
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint],
|
|
34759
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint], viem178.ReadContractErrorType>>;
|
|
34739
34760
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
34740
34761
|
promise: Promise<readonly [bigint, bigint]>;
|
|
34741
34762
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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: viem178.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?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint],
|
|
34788
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint], viem178.ReadContractErrorType>>;
|
|
34768
34789
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
34769
34790
|
promise: Promise<readonly [bigint, bigint]>;
|
|
34770
34791
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
34771
34792
|
maxCallSize: Amount | undefined;
|
|
34772
34793
|
maxPutSize: Amount | undefined;
|
|
34773
34794
|
} | {
|
|
34774
|
-
error:
|
|
34795
|
+
error: viem178.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: viem178.ReadContractErrorType | null;
|
|
34787
34808
|
errorUpdateCount: number;
|
|
34788
34809
|
isFetched: boolean;
|
|
34789
34810
|
isFetchedAfterMount: boolean;
|
|
@@ -34793,7 +34814,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34793
34814
|
isRefetching: boolean;
|
|
34794
34815
|
isStale: boolean;
|
|
34795
34816
|
isEnabled: boolean;
|
|
34796
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint],
|
|
34817
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint], viem178.ReadContractErrorType>>;
|
|
34797
34818
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
34798
34819
|
promise: Promise<readonly [bigint, bigint]>;
|
|
34799
34820
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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: viem178.ReadContractErrorType | null;
|
|
34816
34837
|
errorUpdateCount: number;
|
|
34817
34838
|
isFetched: boolean;
|
|
34818
34839
|
isFetchedAfterMount: boolean;
|
|
@@ -34822,7 +34843,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34822
34843
|
isRefetching: boolean;
|
|
34823
34844
|
isStale: boolean;
|
|
34824
34845
|
isEnabled: boolean;
|
|
34825
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint],
|
|
34846
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint], viem178.ReadContractErrorType>>;
|
|
34826
34847
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
34827
34848
|
promise: Promise<readonly [bigint, bigint]>;
|
|
34828
34849
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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: viem178.ReadContractErrorType | null;
|
|
34844
34865
|
errorUpdateCount: number;
|
|
34845
34866
|
isFetched: boolean;
|
|
34846
34867
|
isFetchedAfterMount: boolean;
|
|
@@ -34851,7 +34872,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34851
34872
|
isRefetching: boolean;
|
|
34852
34873
|
isStale: boolean;
|
|
34853
34874
|
isEnabled: boolean;
|
|
34854
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint],
|
|
34875
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint], viem178.ReadContractErrorType>>;
|
|
34855
34876
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
34856
34877
|
promise: Promise<readonly [bigint, bigint]>;
|
|
34857
34878
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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: viem178.ReadContractErrorType | null;
|
|
34874
34895
|
errorUpdateCount: number;
|
|
34875
34896
|
isFetched: boolean;
|
|
34876
34897
|
isFetchedAfterMount: boolean;
|
|
@@ -34880,7 +34901,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
34880
34901
|
isRefetching: boolean;
|
|
34881
34902
|
isStale: boolean;
|
|
34882
34903
|
isEnabled: boolean;
|
|
34883
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint],
|
|
34904
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint], viem178.ReadContractErrorType>>;
|
|
34884
34905
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
34885
34906
|
promise: Promise<readonly [bigint, bigint]>;
|
|
34886
34907
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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: viem178.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: viem178.ReadContractErrorType | null;
|
|
36737
36758
|
errorUpdateCount: number;
|
|
36738
36759
|
isFetched: boolean;
|
|
36739
36760
|
isFetchedAfterMount: boolean;
|
|
@@ -36743,7 +36764,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36743
36764
|
isRefetching: boolean;
|
|
36744
36765
|
isStale: boolean;
|
|
36745
36766
|
isEnabled: boolean;
|
|
36746
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
36767
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem178.ReadContractErrorType>>;
|
|
36747
36768
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
36748
36769
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36749
36770
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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: viem178.ReadContractErrorType | null;
|
|
36772
36793
|
errorUpdateCount: number;
|
|
36773
36794
|
isFetched: boolean;
|
|
36774
36795
|
isFetchedAfterMount: boolean;
|
|
@@ -36778,7 +36799,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36778
36799
|
isRefetching: boolean;
|
|
36779
36800
|
isStale: boolean;
|
|
36780
36801
|
isEnabled: boolean;
|
|
36781
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
36802
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem178.ReadContractErrorType>>;
|
|
36782
36803
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
36783
36804
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36784
36805
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -36791,7 +36812,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36791
36812
|
effectiveApproval: bigint;
|
|
36792
36813
|
};
|
|
36793
36814
|
} | {
|
|
36794
|
-
error:
|
|
36815
|
+
error: viem178.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: viem178.ReadContractErrorType | null;
|
|
36807
36828
|
errorUpdateCount: number;
|
|
36808
36829
|
isFetched: boolean;
|
|
36809
36830
|
isFetchedAfterMount: boolean;
|
|
@@ -36813,7 +36834,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36813
36834
|
isRefetching: boolean;
|
|
36814
36835
|
isStale: boolean;
|
|
36815
36836
|
isEnabled: boolean;
|
|
36816
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
36837
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem178.ReadContractErrorType>>;
|
|
36817
36838
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
36818
36839
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36819
36840
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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: viem178.ReadContractErrorType | null;
|
|
36842
36863
|
errorUpdateCount: number;
|
|
36843
36864
|
isFetched: boolean;
|
|
36844
36865
|
isFetchedAfterMount: boolean;
|
|
@@ -36848,7 +36869,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36848
36869
|
isRefetching: boolean;
|
|
36849
36870
|
isStale: boolean;
|
|
36850
36871
|
isEnabled: boolean;
|
|
36851
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
36872
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem178.ReadContractErrorType>>;
|
|
36852
36873
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
36853
36874
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36854
36875
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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: viem178.ReadContractErrorType | null;
|
|
36876
36897
|
errorUpdateCount: number;
|
|
36877
36898
|
isFetched: boolean;
|
|
36878
36899
|
isFetchedAfterMount: boolean;
|
|
@@ -36883,7 +36904,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36883
36904
|
isRefetching: boolean;
|
|
36884
36905
|
isStale: boolean;
|
|
36885
36906
|
isEnabled: boolean;
|
|
36886
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
36907
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem178.ReadContractErrorType>>;
|
|
36887
36908
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
36888
36909
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36889
36910
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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: viem178.ReadContractErrorType | null;
|
|
36912
36933
|
errorUpdateCount: number;
|
|
36913
36934
|
isFetched: boolean;
|
|
36914
36935
|
isFetchedAfterMount: boolean;
|
|
@@ -36918,7 +36939,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36918
36939
|
isRefetching: boolean;
|
|
36919
36940
|
isStale: boolean;
|
|
36920
36941
|
isEnabled: boolean;
|
|
36921
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint],
|
|
36942
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem178.ReadContractErrorType>>;
|
|
36922
36943
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
36923
36944
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36924
36945
|
queryKey: _tanstack_query_core23.QueryKey;
|
|
@@ -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: viem178.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: viem178.ReadContractErrorType | null;
|
|
37406
37427
|
errorUpdateCount: number;
|
|
37407
37428
|
isFetched: boolean;
|
|
37408
37429
|
isFetchedAfterMount: boolean;
|
|
@@ -37416,7 +37437,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37416
37437
|
exact: number;
|
|
37417
37438
|
rounded: number | undefined;
|
|
37418
37439
|
sqrtPriceX96: bigint;
|
|
37419
|
-
},
|
|
37440
|
+
}, viem178.ReadContractErrorType>>;
|
|
37420
37441
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
37421
37442
|
promise: Promise<{
|
|
37422
37443
|
exact: number;
|
|
@@ -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: viem178.ReadContractErrorType | null;
|
|
37444
37465
|
errorUpdateCount: number;
|
|
37445
37466
|
isFetched: boolean;
|
|
37446
37467
|
isFetchedAfterMount: boolean;
|
|
@@ -37454,7 +37475,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37454
37475
|
exact: number;
|
|
37455
37476
|
rounded: number | undefined;
|
|
37456
37477
|
sqrtPriceX96: bigint;
|
|
37457
|
-
},
|
|
37478
|
+
}, viem178.ReadContractErrorType>>;
|
|
37458
37479
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
37459
37480
|
promise: Promise<{
|
|
37460
37481
|
exact: number;
|
|
@@ -37466,7 +37487,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37466
37487
|
rounded: number | undefined;
|
|
37467
37488
|
sqrtPriceX96: bigint | undefined;
|
|
37468
37489
|
} | {
|
|
37469
|
-
error:
|
|
37490
|
+
error: viem178.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: viem178.ReadContractErrorType | null;
|
|
37482
37503
|
errorUpdateCount: number;
|
|
37483
37504
|
isFetched: boolean;
|
|
37484
37505
|
isFetchedAfterMount: boolean;
|
|
@@ -37492,7 +37513,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37492
37513
|
exact: number;
|
|
37493
37514
|
rounded: number | undefined;
|
|
37494
37515
|
sqrtPriceX96: bigint;
|
|
37495
|
-
},
|
|
37516
|
+
}, viem178.ReadContractErrorType>>;
|
|
37496
37517
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
37497
37518
|
promise: Promise<{
|
|
37498
37519
|
exact: number;
|
|
@@ -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: viem178.ReadContractErrorType | null;
|
|
37520
37541
|
errorUpdateCount: number;
|
|
37521
37542
|
isFetched: boolean;
|
|
37522
37543
|
isFetchedAfterMount: boolean;
|
|
@@ -37530,7 +37551,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37530
37551
|
exact: number;
|
|
37531
37552
|
rounded: number | undefined;
|
|
37532
37553
|
sqrtPriceX96: bigint;
|
|
37533
|
-
},
|
|
37554
|
+
}, viem178.ReadContractErrorType>>;
|
|
37534
37555
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
37535
37556
|
promise: Promise<{
|
|
37536
37557
|
exact: number;
|
|
@@ -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: viem178.ReadContractErrorType | null;
|
|
37557
37578
|
errorUpdateCount: number;
|
|
37558
37579
|
isFetched: boolean;
|
|
37559
37580
|
isFetchedAfterMount: boolean;
|
|
@@ -37568,7 +37589,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37568
37589
|
exact: number;
|
|
37569
37590
|
rounded: number | undefined;
|
|
37570
37591
|
sqrtPriceX96: bigint;
|
|
37571
|
-
},
|
|
37592
|
+
}, viem178.ReadContractErrorType>>;
|
|
37572
37593
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
37573
37594
|
promise: Promise<{
|
|
37574
37595
|
exact: number;
|
|
@@ -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: viem178.ReadContractErrorType | null;
|
|
37596
37617
|
errorUpdateCount: number;
|
|
37597
37618
|
isFetched: boolean;
|
|
37598
37619
|
isFetchedAfterMount: boolean;
|
|
@@ -37606,7 +37627,7 @@ declare const useCurrentTick: (poolAddr?: Address) => {
|
|
|
37606
37627
|
exact: number;
|
|
37607
37628
|
rounded: number | undefined;
|
|
37608
37629
|
sqrtPriceX96: bigint;
|
|
37609
|
-
},
|
|
37630
|
+
}, viem178.ReadContractErrorType>>;
|
|
37610
37631
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
37611
37632
|
promise: Promise<{
|
|
37612
37633
|
exact: number;
|
|
@@ -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: viem178.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: viem178.ReadContractErrorType | null;
|
|
37679
37700
|
errorUpdateCount: number;
|
|
37680
37701
|
isFetched: boolean;
|
|
37681
37702
|
isFetchedAfterMount: boolean;
|
|
@@ -37695,7 +37716,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37695
37716
|
totalAmount1: bigint;
|
|
37696
37717
|
borrowedAmount0: bigint;
|
|
37697
37718
|
borrowedAmount1: bigint;
|
|
37698
|
-
}[],
|
|
37719
|
+
}[], viem178.ReadContractErrorType>>;
|
|
37699
37720
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
37700
37721
|
promise: Promise<readonly {
|
|
37701
37722
|
tickLower: 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: viem178.ReadContractErrorType | null;
|
|
37737
37758
|
errorUpdateCount: number;
|
|
37738
37759
|
isFetched: boolean;
|
|
37739
37760
|
isFetchedAfterMount: boolean;
|
|
@@ -37753,7 +37774,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37753
37774
|
totalAmount1: bigint;
|
|
37754
37775
|
borrowedAmount0: bigint;
|
|
37755
37776
|
borrowedAmount1: bigint;
|
|
37756
|
-
}[],
|
|
37777
|
+
}[], viem178.ReadContractErrorType>>;
|
|
37757
37778
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
37758
37779
|
promise: Promise<readonly {
|
|
37759
37780
|
tickLower: number;
|
|
@@ -37779,7 +37800,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37779
37800
|
borrowedAmount1: bigint;
|
|
37780
37801
|
}[];
|
|
37781
37802
|
} | {
|
|
37782
|
-
error:
|
|
37803
|
+
error: viem178.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: viem178.ReadContractErrorType | null;
|
|
37795
37816
|
errorUpdateCount: number;
|
|
37796
37817
|
isFetched: boolean;
|
|
37797
37818
|
isFetchedAfterMount: boolean;
|
|
@@ -37811,7 +37832,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37811
37832
|
totalAmount1: bigint;
|
|
37812
37833
|
borrowedAmount0: bigint;
|
|
37813
37834
|
borrowedAmount1: bigint;
|
|
37814
|
-
}[],
|
|
37835
|
+
}[], viem178.ReadContractErrorType>>;
|
|
37815
37836
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
37816
37837
|
promise: Promise<readonly {
|
|
37817
37838
|
tickLower: 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: viem178.ReadContractErrorType | null;
|
|
37853
37874
|
errorUpdateCount: number;
|
|
37854
37875
|
isFetched: boolean;
|
|
37855
37876
|
isFetchedAfterMount: boolean;
|
|
@@ -37869,7 +37890,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37869
37890
|
totalAmount1: bigint;
|
|
37870
37891
|
borrowedAmount0: bigint;
|
|
37871
37892
|
borrowedAmount1: bigint;
|
|
37872
|
-
}[],
|
|
37893
|
+
}[], viem178.ReadContractErrorType>>;
|
|
37873
37894
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
37874
37895
|
promise: Promise<readonly {
|
|
37875
37896
|
tickLower: 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: viem178.ReadContractErrorType | null;
|
|
37910
37931
|
errorUpdateCount: number;
|
|
37911
37932
|
isFetched: boolean;
|
|
37912
37933
|
isFetchedAfterMount: boolean;
|
|
@@ -37927,7 +37948,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37927
37948
|
totalAmount1: bigint;
|
|
37928
37949
|
borrowedAmount0: bigint;
|
|
37929
37950
|
borrowedAmount1: bigint;
|
|
37930
|
-
}[],
|
|
37951
|
+
}[], viem178.ReadContractErrorType>>;
|
|
37931
37952
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
37932
37953
|
promise: Promise<readonly {
|
|
37933
37954
|
tickLower: 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: viem178.ReadContractErrorType | null;
|
|
37969
37990
|
errorUpdateCount: number;
|
|
37970
37991
|
isFetched: boolean;
|
|
37971
37992
|
isFetchedAfterMount: boolean;
|
|
@@ -37985,7 +38006,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
37985
38006
|
totalAmount1: bigint;
|
|
37986
38007
|
borrowedAmount0: bigint;
|
|
37987
38008
|
borrowedAmount1: bigint;
|
|
37988
|
-
}[],
|
|
38009
|
+
}[], viem178.ReadContractErrorType>>;
|
|
37989
38010
|
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
37990
38011
|
promise: Promise<readonly {
|
|
37991
38012
|
tickLower: 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?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
38073
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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?: viem178.Prettify<viem178.UnionOmit<viem178.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-CJcTIGGv.d.cts.map
|