timelock-sdk 0.0.20 → 0.0.22
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/abis.cjs +1 -1
- package/dist/abis.d.cts +1 -1
- package/dist/abis.d.ts +1 -1
- package/dist/abis.js +1 -1
- package/dist/client.cjs +7 -3
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +170 -113
- package/dist/client.d.ts +170 -113
- package/dist/client.js +7 -3
- package/dist/client.js.map +1 -1
- package/dist/{index-8U83cr4t.d.cts → index-Dej2kIqj.d.cts} +154 -98
- package/dist/{index-BtLyBBZa.d.ts → index-v8akdN5J.d.ts} +154 -98
- package/dist/{numberUtils-DP-pDRRs.js → numberUtils-CAMznXR5.js} +3 -3
- package/dist/{numberUtils-DP-pDRRs.js.map → numberUtils-CAMznXR5.js.map} +1 -1
- package/dist/{numberUtils-B7BwWYfb.cjs → numberUtils-DOUvJfQD.cjs} +3 -3
- package/dist/{numberUtils-B7BwWYfb.cjs.map → numberUtils-DOUvJfQD.cjs.map} +1 -1
- package/dist/{optionsMarket-BsK9z8z4.cjs → optionsMarket-Br-bjuSA.cjs} +6 -1
- package/dist/optionsMarket-Br-bjuSA.cjs.map +1 -0
- package/dist/{optionsMarket-BsJTpwtl.js → optionsMarket-DyBxHplR.js} +6 -1
- package/dist/optionsMarket-DyBxHplR.js.map +1 -0
- package/dist/package.cjs +2 -2
- package/dist/package.d.cts +2 -2
- package/dist/package.d.ts +2 -2
- package/dist/package.js +2 -2
- package/dist/{uniswapMathLens-CsZDhwII.d.cts → uniswapMathLens-B1MIL2yT.d.cts} +5 -1
- package/dist/{uniswapMathLens-SWLgAikn.d.ts → uniswapMathLens-MrB_VfJB.d.ts} +5 -1
- package/package.json +1 -1
- package/dist/optionsMarket-BsJTpwtl.js.map +0 -1
- package/dist/optionsMarket-BsK9z8z4.cjs.map +0 -1
package/dist/client.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./uniswapMathLens-
|
|
2
|
-
import { Amount, TimelockMarketData, UniswapMathLens } from "./index-
|
|
3
|
-
import * as
|
|
1
|
+
import "./uniswapMathLens-MrB_VfJB.js";
|
|
2
|
+
import { Amount, TimelockMarketData, UniswapMathLens } from "./index-v8akdN5J.js";
|
|
3
|
+
import * as viem249 from "viem";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
6
|
import { GraphQLClient } from "graphql-request";
|
|
7
7
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
8
8
|
import "graphql";
|
|
9
9
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
10
|
-
import * as
|
|
10
|
+
import * as _tanstack_query_core25 from "@tanstack/query-core";
|
|
11
11
|
|
|
12
12
|
//#region src/generated/graphql.d.ts
|
|
13
13
|
type Exact<T extends {
|
|
@@ -255,7 +255,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
255
255
|
isRefetching: boolean;
|
|
256
256
|
isStale: boolean;
|
|
257
257
|
isEnabled: boolean;
|
|
258
|
-
refetch: (options?:
|
|
258
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<{
|
|
259
259
|
id: bigint;
|
|
260
260
|
marketAddr: Address;
|
|
261
261
|
optionType: "CALL" | "PUT";
|
|
@@ -283,7 +283,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
283
283
|
transactionHash: string;
|
|
284
284
|
} | null;
|
|
285
285
|
}[] | undefined, Error>>;
|
|
286
|
-
fetchStatus:
|
|
286
|
+
fetchStatus: _tanstack_query_core25.FetchStatus;
|
|
287
287
|
promise: Promise<{
|
|
288
288
|
id: bigint;
|
|
289
289
|
marketAddr: Address;
|
|
@@ -363,7 +363,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
363
363
|
isRefetching: boolean;
|
|
364
364
|
isStale: boolean;
|
|
365
365
|
isEnabled: boolean;
|
|
366
|
-
refetch: (options?:
|
|
366
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<{
|
|
367
367
|
id: bigint;
|
|
368
368
|
marketAddr: Address;
|
|
369
369
|
optionType: "CALL" | "PUT";
|
|
@@ -391,7 +391,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
391
391
|
transactionHash: string;
|
|
392
392
|
} | null;
|
|
393
393
|
}[] | undefined, Error>>;
|
|
394
|
-
fetchStatus:
|
|
394
|
+
fetchStatus: _tanstack_query_core25.FetchStatus;
|
|
395
395
|
promise: Promise<{
|
|
396
396
|
id: bigint;
|
|
397
397
|
marketAddr: Address;
|
|
@@ -471,7 +471,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
471
471
|
isRefetching: boolean;
|
|
472
472
|
isStale: boolean;
|
|
473
473
|
isEnabled: boolean;
|
|
474
|
-
refetch: (options?:
|
|
474
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<{
|
|
475
475
|
id: bigint;
|
|
476
476
|
marketAddr: Address;
|
|
477
477
|
optionType: "CALL" | "PUT";
|
|
@@ -499,7 +499,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
499
499
|
transactionHash: string;
|
|
500
500
|
} | null;
|
|
501
501
|
}[] | undefined, Error>>;
|
|
502
|
-
fetchStatus:
|
|
502
|
+
fetchStatus: _tanstack_query_core25.FetchStatus;
|
|
503
503
|
promise: Promise<{
|
|
504
504
|
id: bigint;
|
|
505
505
|
marketAddr: Address;
|
|
@@ -579,7 +579,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
579
579
|
isRefetching: boolean;
|
|
580
580
|
isStale: boolean;
|
|
581
581
|
isEnabled: boolean;
|
|
582
|
-
refetch: (options?:
|
|
582
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<{
|
|
583
583
|
id: bigint;
|
|
584
584
|
marketAddr: Address;
|
|
585
585
|
optionType: "CALL" | "PUT";
|
|
@@ -607,7 +607,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
607
607
|
transactionHash: string;
|
|
608
608
|
} | null;
|
|
609
609
|
}[] | undefined, Error>>;
|
|
610
|
-
fetchStatus:
|
|
610
|
+
fetchStatus: _tanstack_query_core25.FetchStatus;
|
|
611
611
|
promise: Promise<{
|
|
612
612
|
id: bigint;
|
|
613
613
|
marketAddr: Address;
|
|
@@ -687,7 +687,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
687
687
|
isRefetching: boolean;
|
|
688
688
|
isStale: boolean;
|
|
689
689
|
isEnabled: boolean;
|
|
690
|
-
refetch: (options?:
|
|
690
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<{
|
|
691
691
|
id: bigint;
|
|
692
692
|
marketAddr: Address;
|
|
693
693
|
optionType: "CALL" | "PUT";
|
|
@@ -715,7 +715,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
715
715
|
transactionHash: string;
|
|
716
716
|
} | null;
|
|
717
717
|
}[] | undefined, Error>>;
|
|
718
|
-
fetchStatus:
|
|
718
|
+
fetchStatus: _tanstack_query_core25.FetchStatus;
|
|
719
719
|
promise: Promise<{
|
|
720
720
|
id: bigint;
|
|
721
721
|
marketAddr: Address;
|
|
@@ -795,7 +795,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
795
795
|
isRefetching: boolean;
|
|
796
796
|
isStale: boolean;
|
|
797
797
|
isEnabled: boolean;
|
|
798
|
-
refetch: (options?:
|
|
798
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<{
|
|
799
799
|
id: bigint;
|
|
800
800
|
marketAddr: Address;
|
|
801
801
|
optionType: "CALL" | "PUT";
|
|
@@ -823,7 +823,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
|
|
|
823
823
|
transactionHash: string;
|
|
824
824
|
} | null;
|
|
825
825
|
}[] | undefined, Error>>;
|
|
826
|
-
fetchStatus:
|
|
826
|
+
fetchStatus: _tanstack_query_core25.FetchStatus;
|
|
827
827
|
promise: Promise<{
|
|
828
828
|
id: bigint;
|
|
829
829
|
marketAddr: Address;
|
|
@@ -904,7 +904,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
904
904
|
isRefetching: boolean;
|
|
905
905
|
isStale: boolean;
|
|
906
906
|
isEnabled: boolean;
|
|
907
|
-
refetch: (options?:
|
|
907
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<{
|
|
908
908
|
id: bigint;
|
|
909
909
|
marketAddr: Address;
|
|
910
910
|
optionType: "CALL" | "PUT";
|
|
@@ -932,7 +932,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
932
932
|
transactionHash: string;
|
|
933
933
|
} | null;
|
|
934
934
|
}[] | undefined, Error>>;
|
|
935
|
-
fetchStatus:
|
|
935
|
+
fetchStatus: _tanstack_query_core25.FetchStatus;
|
|
936
936
|
promise: Promise<{
|
|
937
937
|
id: bigint;
|
|
938
938
|
marketAddr: Address;
|
|
@@ -1012,7 +1012,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1012
1012
|
isRefetching: boolean;
|
|
1013
1013
|
isStale: boolean;
|
|
1014
1014
|
isEnabled: boolean;
|
|
1015
|
-
refetch: (options?:
|
|
1015
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<{
|
|
1016
1016
|
id: bigint;
|
|
1017
1017
|
marketAddr: Address;
|
|
1018
1018
|
optionType: "CALL" | "PUT";
|
|
@@ -1040,7 +1040,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1040
1040
|
transactionHash: string;
|
|
1041
1041
|
} | null;
|
|
1042
1042
|
}[] | undefined, Error>>;
|
|
1043
|
-
fetchStatus:
|
|
1043
|
+
fetchStatus: _tanstack_query_core25.FetchStatus;
|
|
1044
1044
|
promise: Promise<{
|
|
1045
1045
|
id: bigint;
|
|
1046
1046
|
marketAddr: Address;
|
|
@@ -1120,7 +1120,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1120
1120
|
isRefetching: boolean;
|
|
1121
1121
|
isStale: boolean;
|
|
1122
1122
|
isEnabled: boolean;
|
|
1123
|
-
refetch: (options?:
|
|
1123
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<{
|
|
1124
1124
|
id: bigint;
|
|
1125
1125
|
marketAddr: Address;
|
|
1126
1126
|
optionType: "CALL" | "PUT";
|
|
@@ -1148,7 +1148,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1148
1148
|
transactionHash: string;
|
|
1149
1149
|
} | null;
|
|
1150
1150
|
}[] | undefined, Error>>;
|
|
1151
|
-
fetchStatus:
|
|
1151
|
+
fetchStatus: _tanstack_query_core25.FetchStatus;
|
|
1152
1152
|
promise: Promise<{
|
|
1153
1153
|
id: bigint;
|
|
1154
1154
|
marketAddr: Address;
|
|
@@ -1228,7 +1228,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1228
1228
|
isRefetching: boolean;
|
|
1229
1229
|
isStale: boolean;
|
|
1230
1230
|
isEnabled: boolean;
|
|
1231
|
-
refetch: (options?:
|
|
1231
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<{
|
|
1232
1232
|
id: bigint;
|
|
1233
1233
|
marketAddr: Address;
|
|
1234
1234
|
optionType: "CALL" | "PUT";
|
|
@@ -1256,7 +1256,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1256
1256
|
transactionHash: string;
|
|
1257
1257
|
} | null;
|
|
1258
1258
|
}[] | undefined, Error>>;
|
|
1259
|
-
fetchStatus:
|
|
1259
|
+
fetchStatus: _tanstack_query_core25.FetchStatus;
|
|
1260
1260
|
promise: Promise<{
|
|
1261
1261
|
id: bigint;
|
|
1262
1262
|
marketAddr: Address;
|
|
@@ -1336,7 +1336,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1336
1336
|
isRefetching: boolean;
|
|
1337
1337
|
isStale: boolean;
|
|
1338
1338
|
isEnabled: boolean;
|
|
1339
|
-
refetch: (options?:
|
|
1339
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<{
|
|
1340
1340
|
id: bigint;
|
|
1341
1341
|
marketAddr: Address;
|
|
1342
1342
|
optionType: "CALL" | "PUT";
|
|
@@ -1364,7 +1364,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1364
1364
|
transactionHash: string;
|
|
1365
1365
|
} | null;
|
|
1366
1366
|
}[] | undefined, Error>>;
|
|
1367
|
-
fetchStatus:
|
|
1367
|
+
fetchStatus: _tanstack_query_core25.FetchStatus;
|
|
1368
1368
|
promise: Promise<{
|
|
1369
1369
|
id: bigint;
|
|
1370
1370
|
marketAddr: Address;
|
|
@@ -1444,7 +1444,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1444
1444
|
isRefetching: boolean;
|
|
1445
1445
|
isStale: boolean;
|
|
1446
1446
|
isEnabled: boolean;
|
|
1447
|
-
refetch: (options?:
|
|
1447
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<{
|
|
1448
1448
|
id: bigint;
|
|
1449
1449
|
marketAddr: Address;
|
|
1450
1450
|
optionType: "CALL" | "PUT";
|
|
@@ -1472,7 +1472,7 @@ declare const useActiveUserOptions: (user?: string) => {
|
|
|
1472
1472
|
transactionHash: string;
|
|
1473
1473
|
} | null;
|
|
1474
1474
|
}[] | undefined, Error>>;
|
|
1475
|
-
fetchStatus:
|
|
1475
|
+
fetchStatus: _tanstack_query_core25.FetchStatus;
|
|
1476
1476
|
promise: Promise<{
|
|
1477
1477
|
id: bigint;
|
|
1478
1478
|
marketAddr: Address;
|
|
@@ -1553,7 +1553,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1553
1553
|
isRefetching: boolean;
|
|
1554
1554
|
isStale: boolean;
|
|
1555
1555
|
isEnabled: boolean;
|
|
1556
|
-
refetch: (options?:
|
|
1556
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<{
|
|
1557
1557
|
id: bigint;
|
|
1558
1558
|
marketAddr: Address;
|
|
1559
1559
|
optionType: "CALL" | "PUT";
|
|
@@ -1581,7 +1581,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1581
1581
|
transactionHash: string;
|
|
1582
1582
|
} | null;
|
|
1583
1583
|
}[] | undefined, Error>>;
|
|
1584
|
-
fetchStatus:
|
|
1584
|
+
fetchStatus: _tanstack_query_core25.FetchStatus;
|
|
1585
1585
|
promise: Promise<{
|
|
1586
1586
|
id: bigint;
|
|
1587
1587
|
marketAddr: Address;
|
|
@@ -1661,7 +1661,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1661
1661
|
isRefetching: boolean;
|
|
1662
1662
|
isStale: boolean;
|
|
1663
1663
|
isEnabled: boolean;
|
|
1664
|
-
refetch: (options?:
|
|
1664
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<{
|
|
1665
1665
|
id: bigint;
|
|
1666
1666
|
marketAddr: Address;
|
|
1667
1667
|
optionType: "CALL" | "PUT";
|
|
@@ -1689,7 +1689,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1689
1689
|
transactionHash: string;
|
|
1690
1690
|
} | null;
|
|
1691
1691
|
}[] | undefined, Error>>;
|
|
1692
|
-
fetchStatus:
|
|
1692
|
+
fetchStatus: _tanstack_query_core25.FetchStatus;
|
|
1693
1693
|
promise: Promise<{
|
|
1694
1694
|
id: bigint;
|
|
1695
1695
|
marketAddr: Address;
|
|
@@ -1769,7 +1769,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1769
1769
|
isRefetching: boolean;
|
|
1770
1770
|
isStale: boolean;
|
|
1771
1771
|
isEnabled: boolean;
|
|
1772
|
-
refetch: (options?:
|
|
1772
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<{
|
|
1773
1773
|
id: bigint;
|
|
1774
1774
|
marketAddr: Address;
|
|
1775
1775
|
optionType: "CALL" | "PUT";
|
|
@@ -1797,7 +1797,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1797
1797
|
transactionHash: string;
|
|
1798
1798
|
} | null;
|
|
1799
1799
|
}[] | undefined, Error>>;
|
|
1800
|
-
fetchStatus:
|
|
1800
|
+
fetchStatus: _tanstack_query_core25.FetchStatus;
|
|
1801
1801
|
promise: Promise<{
|
|
1802
1802
|
id: bigint;
|
|
1803
1803
|
marketAddr: Address;
|
|
@@ -1877,7 +1877,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1877
1877
|
isRefetching: boolean;
|
|
1878
1878
|
isStale: boolean;
|
|
1879
1879
|
isEnabled: boolean;
|
|
1880
|
-
refetch: (options?:
|
|
1880
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<{
|
|
1881
1881
|
id: bigint;
|
|
1882
1882
|
marketAddr: Address;
|
|
1883
1883
|
optionType: "CALL" | "PUT";
|
|
@@ -1905,7 +1905,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1905
1905
|
transactionHash: string;
|
|
1906
1906
|
} | null;
|
|
1907
1907
|
}[] | undefined, Error>>;
|
|
1908
|
-
fetchStatus:
|
|
1908
|
+
fetchStatus: _tanstack_query_core25.FetchStatus;
|
|
1909
1909
|
promise: Promise<{
|
|
1910
1910
|
id: bigint;
|
|
1911
1911
|
marketAddr: Address;
|
|
@@ -1985,7 +1985,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
1985
1985
|
isRefetching: boolean;
|
|
1986
1986
|
isStale: boolean;
|
|
1987
1987
|
isEnabled: boolean;
|
|
1988
|
-
refetch: (options?:
|
|
1988
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<{
|
|
1989
1989
|
id: bigint;
|
|
1990
1990
|
marketAddr: Address;
|
|
1991
1991
|
optionType: "CALL" | "PUT";
|
|
@@ -2013,7 +2013,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2013
2013
|
transactionHash: string;
|
|
2014
2014
|
} | null;
|
|
2015
2015
|
}[] | undefined, Error>>;
|
|
2016
|
-
fetchStatus:
|
|
2016
|
+
fetchStatus: _tanstack_query_core25.FetchStatus;
|
|
2017
2017
|
promise: Promise<{
|
|
2018
2018
|
id: bigint;
|
|
2019
2019
|
marketAddr: Address;
|
|
@@ -2093,7 +2093,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2093
2093
|
isRefetching: boolean;
|
|
2094
2094
|
isStale: boolean;
|
|
2095
2095
|
isEnabled: boolean;
|
|
2096
|
-
refetch: (options?:
|
|
2096
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<{
|
|
2097
2097
|
id: bigint;
|
|
2098
2098
|
marketAddr: Address;
|
|
2099
2099
|
optionType: "CALL" | "PUT";
|
|
@@ -2121,7 +2121,7 @@ declare const useClosedUserOptions: (user?: string) => {
|
|
|
2121
2121
|
transactionHash: string;
|
|
2122
2122
|
} | null;
|
|
2123
2123
|
}[] | undefined, Error>>;
|
|
2124
|
-
fetchStatus:
|
|
2124
|
+
fetchStatus: _tanstack_query_core25.FetchStatus;
|
|
2125
2125
|
promise: Promise<{
|
|
2126
2126
|
id: bigint;
|
|
2127
2127
|
marketAddr: Address;
|
|
@@ -2234,7 +2234,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
2234
2234
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
2235
2235
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
2236
2236
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
2237
|
-
error:
|
|
2237
|
+
error: viem249.ReadContractErrorType;
|
|
2238
2238
|
isError: true;
|
|
2239
2239
|
isPending: false;
|
|
2240
2240
|
isLoading: false;
|
|
@@ -2246,7 +2246,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2246
2246
|
dataUpdatedAt: number;
|
|
2247
2247
|
errorUpdatedAt: number;
|
|
2248
2248
|
failureCount: number;
|
|
2249
|
-
failureReason:
|
|
2249
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2250
2250
|
errorUpdateCount: number;
|
|
2251
2251
|
isFetched: boolean;
|
|
2252
2252
|
isFetchedAfterMount: boolean;
|
|
@@ -2256,7 +2256,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2256
2256
|
isRefetching: boolean;
|
|
2257
2257
|
isStale: boolean;
|
|
2258
2258
|
isEnabled: boolean;
|
|
2259
|
-
refetch: (options?:
|
|
2259
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<readonly {
|
|
2260
2260
|
tickLower: number;
|
|
2261
2261
|
tickUpper: number;
|
|
2262
2262
|
prevTickLower: number;
|
|
@@ -2266,8 +2266,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2266
2266
|
totalAmount1: bigint;
|
|
2267
2267
|
borrowedAmount0: bigint;
|
|
2268
2268
|
borrowedAmount1: bigint;
|
|
2269
|
-
}[],
|
|
2270
|
-
fetchStatus:
|
|
2269
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2270
|
+
fetchStatus: _tanstack_query_core25.FetchStatus;
|
|
2271
2271
|
promise: Promise<readonly {
|
|
2272
2272
|
tickLower: number;
|
|
2273
2273
|
tickUpper: number;
|
|
@@ -2279,7 +2279,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2279
2279
|
borrowedAmount0: bigint;
|
|
2280
2280
|
borrowedAmount1: bigint;
|
|
2281
2281
|
}[]>;
|
|
2282
|
-
queryKey:
|
|
2282
|
+
queryKey: _tanstack_query_core25.QueryKey;
|
|
2283
2283
|
data: readonly {
|
|
2284
2284
|
tickLower: number;
|
|
2285
2285
|
tickUpper: number;
|
|
@@ -2304,7 +2304,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2304
2304
|
dataUpdatedAt: number;
|
|
2305
2305
|
errorUpdatedAt: number;
|
|
2306
2306
|
failureCount: number;
|
|
2307
|
-
failureReason:
|
|
2307
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2308
2308
|
errorUpdateCount: number;
|
|
2309
2309
|
isFetched: boolean;
|
|
2310
2310
|
isFetchedAfterMount: boolean;
|
|
@@ -2314,7 +2314,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2314
2314
|
isRefetching: boolean;
|
|
2315
2315
|
isStale: boolean;
|
|
2316
2316
|
isEnabled: boolean;
|
|
2317
|
-
refetch: (options?:
|
|
2317
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<readonly {
|
|
2318
2318
|
tickLower: number;
|
|
2319
2319
|
tickUpper: number;
|
|
2320
2320
|
prevTickLower: number;
|
|
@@ -2324,8 +2324,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2324
2324
|
totalAmount1: bigint;
|
|
2325
2325
|
borrowedAmount0: bigint;
|
|
2326
2326
|
borrowedAmount1: bigint;
|
|
2327
|
-
}[],
|
|
2328
|
-
fetchStatus:
|
|
2327
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2328
|
+
fetchStatus: _tanstack_query_core25.FetchStatus;
|
|
2329
2329
|
promise: Promise<readonly {
|
|
2330
2330
|
tickLower: number;
|
|
2331
2331
|
tickUpper: number;
|
|
@@ -2337,7 +2337,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2337
2337
|
borrowedAmount0: bigint;
|
|
2338
2338
|
borrowedAmount1: bigint;
|
|
2339
2339
|
}[]>;
|
|
2340
|
-
queryKey:
|
|
2340
|
+
queryKey: _tanstack_query_core25.QueryKey;
|
|
2341
2341
|
data: readonly {
|
|
2342
2342
|
tickLower: number;
|
|
2343
2343
|
tickUpper: number;
|
|
@@ -2350,7 +2350,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2350
2350
|
borrowedAmount1: bigint;
|
|
2351
2351
|
}[];
|
|
2352
2352
|
} | {
|
|
2353
|
-
error:
|
|
2353
|
+
error: viem249.ReadContractErrorType;
|
|
2354
2354
|
isError: true;
|
|
2355
2355
|
isPending: false;
|
|
2356
2356
|
isLoading: false;
|
|
@@ -2362,7 +2362,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2362
2362
|
dataUpdatedAt: number;
|
|
2363
2363
|
errorUpdatedAt: number;
|
|
2364
2364
|
failureCount: number;
|
|
2365
|
-
failureReason:
|
|
2365
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2366
2366
|
errorUpdateCount: number;
|
|
2367
2367
|
isFetched: boolean;
|
|
2368
2368
|
isFetchedAfterMount: boolean;
|
|
@@ -2372,7 +2372,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2372
2372
|
isRefetching: boolean;
|
|
2373
2373
|
isStale: boolean;
|
|
2374
2374
|
isEnabled: boolean;
|
|
2375
|
-
refetch: (options?:
|
|
2375
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<readonly {
|
|
2376
2376
|
tickLower: number;
|
|
2377
2377
|
tickUpper: number;
|
|
2378
2378
|
prevTickLower: number;
|
|
@@ -2382,8 +2382,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2382
2382
|
totalAmount1: bigint;
|
|
2383
2383
|
borrowedAmount0: bigint;
|
|
2384
2384
|
borrowedAmount1: bigint;
|
|
2385
|
-
}[],
|
|
2386
|
-
fetchStatus:
|
|
2385
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2386
|
+
fetchStatus: _tanstack_query_core25.FetchStatus;
|
|
2387
2387
|
promise: Promise<readonly {
|
|
2388
2388
|
tickLower: number;
|
|
2389
2389
|
tickUpper: number;
|
|
@@ -2395,7 +2395,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2395
2395
|
borrowedAmount0: bigint;
|
|
2396
2396
|
borrowedAmount1: bigint;
|
|
2397
2397
|
}[]>;
|
|
2398
|
-
queryKey:
|
|
2398
|
+
queryKey: _tanstack_query_core25.QueryKey;
|
|
2399
2399
|
data: readonly {
|
|
2400
2400
|
tickLower: number;
|
|
2401
2401
|
tickUpper: number;
|
|
@@ -2420,7 +2420,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2420
2420
|
dataUpdatedAt: number;
|
|
2421
2421
|
errorUpdatedAt: number;
|
|
2422
2422
|
failureCount: number;
|
|
2423
|
-
failureReason:
|
|
2423
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2424
2424
|
errorUpdateCount: number;
|
|
2425
2425
|
isFetched: boolean;
|
|
2426
2426
|
isFetchedAfterMount: boolean;
|
|
@@ -2430,7 +2430,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2430
2430
|
isRefetching: boolean;
|
|
2431
2431
|
isStale: boolean;
|
|
2432
2432
|
isEnabled: boolean;
|
|
2433
|
-
refetch: (options?:
|
|
2433
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<readonly {
|
|
2434
2434
|
tickLower: number;
|
|
2435
2435
|
tickUpper: number;
|
|
2436
2436
|
prevTickLower: number;
|
|
@@ -2440,8 +2440,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2440
2440
|
totalAmount1: bigint;
|
|
2441
2441
|
borrowedAmount0: bigint;
|
|
2442
2442
|
borrowedAmount1: bigint;
|
|
2443
|
-
}[],
|
|
2444
|
-
fetchStatus:
|
|
2443
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2444
|
+
fetchStatus: _tanstack_query_core25.FetchStatus;
|
|
2445
2445
|
promise: Promise<readonly {
|
|
2446
2446
|
tickLower: number;
|
|
2447
2447
|
tickUpper: number;
|
|
@@ -2453,7 +2453,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2453
2453
|
borrowedAmount0: bigint;
|
|
2454
2454
|
borrowedAmount1: bigint;
|
|
2455
2455
|
}[]>;
|
|
2456
|
-
queryKey:
|
|
2456
|
+
queryKey: _tanstack_query_core25.QueryKey;
|
|
2457
2457
|
data: readonly {
|
|
2458
2458
|
tickLower: number;
|
|
2459
2459
|
tickUpper: number;
|
|
@@ -2477,7 +2477,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2477
2477
|
dataUpdatedAt: number;
|
|
2478
2478
|
errorUpdatedAt: number;
|
|
2479
2479
|
failureCount: number;
|
|
2480
|
-
failureReason:
|
|
2480
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2481
2481
|
errorUpdateCount: number;
|
|
2482
2482
|
isFetched: boolean;
|
|
2483
2483
|
isFetchedAfterMount: boolean;
|
|
@@ -2488,7 +2488,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2488
2488
|
isRefetching: boolean;
|
|
2489
2489
|
isStale: boolean;
|
|
2490
2490
|
isEnabled: boolean;
|
|
2491
|
-
refetch: (options?:
|
|
2491
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<readonly {
|
|
2492
2492
|
tickLower: number;
|
|
2493
2493
|
tickUpper: number;
|
|
2494
2494
|
prevTickLower: number;
|
|
@@ -2498,8 +2498,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2498
2498
|
totalAmount1: bigint;
|
|
2499
2499
|
borrowedAmount0: bigint;
|
|
2500
2500
|
borrowedAmount1: bigint;
|
|
2501
|
-
}[],
|
|
2502
|
-
fetchStatus:
|
|
2501
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2502
|
+
fetchStatus: _tanstack_query_core25.FetchStatus;
|
|
2503
2503
|
promise: Promise<readonly {
|
|
2504
2504
|
tickLower: number;
|
|
2505
2505
|
tickUpper: number;
|
|
@@ -2511,7 +2511,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2511
2511
|
borrowedAmount0: bigint;
|
|
2512
2512
|
borrowedAmount1: bigint;
|
|
2513
2513
|
}[]>;
|
|
2514
|
-
queryKey:
|
|
2514
|
+
queryKey: _tanstack_query_core25.QueryKey;
|
|
2515
2515
|
data: readonly {
|
|
2516
2516
|
tickLower: number;
|
|
2517
2517
|
tickUpper: number;
|
|
@@ -2536,7 +2536,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2536
2536
|
dataUpdatedAt: number;
|
|
2537
2537
|
errorUpdatedAt: number;
|
|
2538
2538
|
failureCount: number;
|
|
2539
|
-
failureReason:
|
|
2539
|
+
failureReason: viem249.ReadContractErrorType | null;
|
|
2540
2540
|
errorUpdateCount: number;
|
|
2541
2541
|
isFetched: boolean;
|
|
2542
2542
|
isFetchedAfterMount: boolean;
|
|
@@ -2546,7 +2546,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2546
2546
|
isRefetching: boolean;
|
|
2547
2547
|
isStale: boolean;
|
|
2548
2548
|
isEnabled: boolean;
|
|
2549
|
-
refetch: (options?:
|
|
2549
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<readonly {
|
|
2550
2550
|
tickLower: number;
|
|
2551
2551
|
tickUpper: number;
|
|
2552
2552
|
prevTickLower: number;
|
|
@@ -2556,8 +2556,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2556
2556
|
totalAmount1: bigint;
|
|
2557
2557
|
borrowedAmount0: bigint;
|
|
2558
2558
|
borrowedAmount1: bigint;
|
|
2559
|
-
}[],
|
|
2560
|
-
fetchStatus:
|
|
2559
|
+
}[], viem249.ReadContractErrorType>>;
|
|
2560
|
+
fetchStatus: _tanstack_query_core25.FetchStatus;
|
|
2561
2561
|
promise: Promise<readonly {
|
|
2562
2562
|
tickLower: number;
|
|
2563
2563
|
tickUpper: number;
|
|
@@ -2569,7 +2569,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2569
2569
|
borrowedAmount0: bigint;
|
|
2570
2570
|
borrowedAmount1: bigint;
|
|
2571
2571
|
}[]>;
|
|
2572
|
-
queryKey:
|
|
2572
|
+
queryKey: _tanstack_query_core25.QueryKey;
|
|
2573
2573
|
data: readonly {
|
|
2574
2574
|
tickLower: number;
|
|
2575
2575
|
tickUpper: number;
|
|
@@ -2619,14 +2619,15 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
2619
2619
|
totalAmount1: Amount | undefined;
|
|
2620
2620
|
borrowedAmount0: Amount | undefined;
|
|
2621
2621
|
borrowedAmount1: Amount | undefined;
|
|
2622
|
-
|
|
2622
|
+
blocksCount: bigint | undefined;
|
|
2623
|
+
refetch: (options?: _tanstack_query_core25.RefetchOptions) => Promise<_tanstack_query_core25.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem249.ReadContractErrorType>>;
|
|
2623
2624
|
};
|
|
2624
2625
|
//#endregion
|
|
2625
2626
|
//#region src/hooks/useLens.d.ts
|
|
2626
2627
|
declare const useLens: () => {
|
|
2627
2628
|
uniswapLens: {
|
|
2628
2629
|
read: {
|
|
2629
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
2630
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
2630
2631
|
readonly type: "function";
|
|
2631
2632
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
2632
2633
|
readonly inputs: readonly [{
|
|
@@ -3247,7 +3248,7 @@ declare const useLens: () => {
|
|
|
3247
3248
|
}];
|
|
3248
3249
|
readonly stateMutability: "pure";
|
|
3249
3250
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
3250
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
3251
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
3251
3252
|
readonly type: "function";
|
|
3252
3253
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
3253
3254
|
readonly inputs: readonly [{
|
|
@@ -3868,7 +3869,7 @@ declare const useLens: () => {
|
|
|
3868
3869
|
}];
|
|
3869
3870
|
readonly stateMutability: "pure";
|
|
3870
3871
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
3871
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
3872
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
3872
3873
|
readonly type: "function";
|
|
3873
3874
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
3874
3875
|
readonly inputs: readonly [{
|
|
@@ -4489,7 +4490,7 @@ declare const useLens: () => {
|
|
|
4489
4490
|
}];
|
|
4490
4491
|
readonly stateMutability: "pure";
|
|
4491
4492
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
4492
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
4493
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
4493
4494
|
readonly type: "function";
|
|
4494
4495
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
4495
4496
|
readonly inputs: readonly [{
|
|
@@ -5110,7 +5111,7 @@ declare const useLens: () => {
|
|
|
5110
5111
|
}];
|
|
5111
5112
|
readonly stateMutability: "pure";
|
|
5112
5113
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
5113
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
5114
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
5114
5115
|
readonly type: "function";
|
|
5115
5116
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
5116
5117
|
readonly inputs: readonly [{
|
|
@@ -5731,7 +5732,7 @@ declare const useLens: () => {
|
|
|
5731
5732
|
}];
|
|
5732
5733
|
readonly stateMutability: "pure";
|
|
5733
5734
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
5734
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
5735
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
5735
5736
|
readonly type: "function";
|
|
5736
5737
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
5737
5738
|
readonly inputs: readonly [{
|
|
@@ -6352,7 +6353,7 @@ declare const useLens: () => {
|
|
|
6352
6353
|
}];
|
|
6353
6354
|
readonly stateMutability: "pure";
|
|
6354
6355
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
6355
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
6356
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
6356
6357
|
readonly type: "function";
|
|
6357
6358
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6358
6359
|
readonly inputs: readonly [{
|
|
@@ -6973,7 +6974,7 @@ declare const useLens: () => {
|
|
|
6973
6974
|
}];
|
|
6974
6975
|
readonly stateMutability: "pure";
|
|
6975
6976
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
6976
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
6977
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
6977
6978
|
readonly type: "function";
|
|
6978
6979
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
6979
6980
|
readonly inputs: readonly [{
|
|
@@ -7594,7 +7595,7 @@ declare const useLens: () => {
|
|
|
7594
7595
|
}];
|
|
7595
7596
|
readonly stateMutability: "pure";
|
|
7596
7597
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
7597
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
7598
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
7598
7599
|
readonly type: "function";
|
|
7599
7600
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
7600
7601
|
readonly inputs: readonly [{
|
|
@@ -8215,7 +8216,7 @@ declare const useLens: () => {
|
|
|
8215
8216
|
}];
|
|
8216
8217
|
readonly stateMutability: "pure";
|
|
8217
8218
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
8218
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
8219
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
8219
8220
|
readonly type: "function";
|
|
8220
8221
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8221
8222
|
readonly inputs: readonly [{
|
|
@@ -8836,7 +8837,7 @@ declare const useLens: () => {
|
|
|
8836
8837
|
}];
|
|
8837
8838
|
readonly stateMutability: "pure";
|
|
8838
8839
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
8839
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
8840
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
8840
8841
|
readonly type: "function";
|
|
8841
8842
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
8842
8843
|
readonly inputs: readonly [{
|
|
@@ -9457,7 +9458,7 @@ declare const useLens: () => {
|
|
|
9457
9458
|
}];
|
|
9458
9459
|
readonly stateMutability: "pure";
|
|
9459
9460
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
9460
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
9461
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
9461
9462
|
readonly type: "function";
|
|
9462
9463
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
9463
9464
|
readonly inputs: readonly [{
|
|
@@ -10078,7 +10079,7 @@ declare const useLens: () => {
|
|
|
10078
10079
|
}];
|
|
10079
10080
|
readonly stateMutability: "pure";
|
|
10080
10081
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10081
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
10082
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
10082
10083
|
readonly type: "function";
|
|
10083
10084
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10084
10085
|
readonly inputs: readonly [{
|
|
@@ -10699,7 +10700,7 @@ declare const useLens: () => {
|
|
|
10699
10700
|
}];
|
|
10700
10701
|
readonly stateMutability: "pure";
|
|
10701
10702
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
10702
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
10703
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
10703
10704
|
readonly type: "function";
|
|
10704
10705
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
10705
10706
|
readonly inputs: readonly [{
|
|
@@ -11320,7 +11321,7 @@ declare const useLens: () => {
|
|
|
11320
11321
|
}];
|
|
11321
11322
|
readonly stateMutability: "pure";
|
|
11322
11323
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
11323
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
11324
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
11324
11325
|
readonly type: "function";
|
|
11325
11326
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11326
11327
|
readonly inputs: readonly [{
|
|
@@ -11941,7 +11942,7 @@ declare const useLens: () => {
|
|
|
11941
11942
|
}];
|
|
11942
11943
|
readonly stateMutability: "pure";
|
|
11943
11944
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
11944
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
11945
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
11945
11946
|
readonly type: "function";
|
|
11946
11947
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
11947
11948
|
readonly inputs: readonly [{
|
|
@@ -12562,7 +12563,7 @@ declare const useLens: () => {
|
|
|
12562
12563
|
}];
|
|
12563
12564
|
readonly stateMutability: "pure";
|
|
12564
12565
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
12565
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
12566
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
12566
12567
|
readonly type: "function";
|
|
12567
12568
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12568
12569
|
readonly inputs: readonly [{
|
|
@@ -13183,7 +13184,7 @@ declare const useLens: () => {
|
|
|
13183
13184
|
}];
|
|
13184
13185
|
readonly stateMutability: "pure";
|
|
13185
13186
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
13186
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
13187
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
13187
13188
|
readonly type: "function";
|
|
13188
13189
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13189
13190
|
readonly inputs: readonly [{
|
|
@@ -13804,7 +13805,7 @@ declare const useLens: () => {
|
|
|
13804
13805
|
}];
|
|
13805
13806
|
readonly stateMutability: "pure";
|
|
13806
13807
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
13807
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
13808
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
13808
13809
|
readonly type: "function";
|
|
13809
13810
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13810
13811
|
readonly inputs: readonly [{
|
|
@@ -14425,7 +14426,7 @@ declare const useLens: () => {
|
|
|
14425
14426
|
}];
|
|
14426
14427
|
readonly stateMutability: "pure";
|
|
14427
14428
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
14428
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
14429
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
14429
14430
|
readonly type: "function";
|
|
14430
14431
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14431
14432
|
readonly inputs: readonly [{
|
|
@@ -15046,7 +15047,7 @@ declare const useLens: () => {
|
|
|
15046
15047
|
}];
|
|
15047
15048
|
readonly stateMutability: "pure";
|
|
15048
15049
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15049
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
15050
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
15050
15051
|
readonly type: "function";
|
|
15051
15052
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15052
15053
|
readonly inputs: readonly [{
|
|
@@ -15667,7 +15668,7 @@ declare const useLens: () => {
|
|
|
15667
15668
|
}];
|
|
15668
15669
|
readonly stateMutability: "pure";
|
|
15669
15670
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15670
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
15671
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
15671
15672
|
readonly type: "function";
|
|
15672
15673
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15673
15674
|
readonly inputs: readonly [{
|
|
@@ -16288,7 +16289,7 @@ declare const useLens: () => {
|
|
|
16288
16289
|
}];
|
|
16289
16290
|
readonly stateMutability: "pure";
|
|
16290
16291
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
16291
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
16292
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
16292
16293
|
readonly type: "function";
|
|
16293
16294
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16294
16295
|
readonly inputs: readonly [{
|
|
@@ -16909,7 +16910,7 @@ declare const useLens: () => {
|
|
|
16909
16910
|
}];
|
|
16910
16911
|
readonly stateMutability: "pure";
|
|
16911
16912
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
16912
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
16913
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
16913
16914
|
readonly type: "function";
|
|
16914
16915
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16915
16916
|
readonly inputs: readonly [{
|
|
@@ -17530,7 +17531,7 @@ declare const useLens: () => {
|
|
|
17530
17531
|
}];
|
|
17531
17532
|
readonly stateMutability: "pure";
|
|
17532
17533
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
17533
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
17534
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
17534
17535
|
readonly type: "function";
|
|
17535
17536
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17536
17537
|
readonly inputs: readonly [{
|
|
@@ -18151,7 +18152,7 @@ declare const useLens: () => {
|
|
|
18151
18152
|
}];
|
|
18152
18153
|
readonly stateMutability: "pure";
|
|
18153
18154
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
18154
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
18155
|
+
getPriceAtTick: (args: readonly [number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
18155
18156
|
readonly type: "function";
|
|
18156
18157
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18157
18158
|
readonly inputs: readonly [{
|
|
@@ -19398,7 +19399,7 @@ declare const useLens: () => {
|
|
|
19398
19399
|
} | undefined;
|
|
19399
19400
|
timelockLens: {
|
|
19400
19401
|
read: {
|
|
19401
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
19402
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
19402
19403
|
readonly type: "function";
|
|
19403
19404
|
readonly name: "batchGetRefTick";
|
|
19404
19405
|
readonly inputs: readonly [{
|
|
@@ -20097,10 +20098,14 @@ declare const useLens: () => {
|
|
|
20097
20098
|
readonly name: "tvl1";
|
|
20098
20099
|
readonly type: "uint256";
|
|
20099
20100
|
readonly internalType: "uint256";
|
|
20101
|
+
}, {
|
|
20102
|
+
readonly name: "blocksCount";
|
|
20103
|
+
readonly type: "uint256";
|
|
20104
|
+
readonly internalType: "uint256";
|
|
20100
20105
|
}];
|
|
20101
20106
|
readonly stateMutability: "view";
|
|
20102
20107
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
20103
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
20108
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
20104
20109
|
readonly type: "function";
|
|
20105
20110
|
readonly name: "batchGetRefTick";
|
|
20106
20111
|
readonly inputs: readonly [{
|
|
@@ -20799,6 +20804,10 @@ declare const useLens: () => {
|
|
|
20799
20804
|
readonly name: "tvl1";
|
|
20800
20805
|
readonly type: "uint256";
|
|
20801
20806
|
readonly internalType: "uint256";
|
|
20807
|
+
}, {
|
|
20808
|
+
readonly name: "blocksCount";
|
|
20809
|
+
readonly type: "uint256";
|
|
20810
|
+
readonly internalType: "uint256";
|
|
20802
20811
|
}];
|
|
20803
20812
|
readonly stateMutability: "view";
|
|
20804
20813
|
}], "getAllBlocks", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly {
|
|
@@ -20812,7 +20821,7 @@ declare const useLens: () => {
|
|
|
20812
20821
|
borrowedAmount0: bigint;
|
|
20813
20822
|
borrowedAmount1: bigint;
|
|
20814
20823
|
}[]>;
|
|
20815
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
20824
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
20816
20825
|
readonly type: "function";
|
|
20817
20826
|
readonly name: "batchGetRefTick";
|
|
20818
20827
|
readonly inputs: readonly [{
|
|
@@ -21511,6 +21520,10 @@ declare const useLens: () => {
|
|
|
21511
21520
|
readonly name: "tvl1";
|
|
21512
21521
|
readonly type: "uint256";
|
|
21513
21522
|
readonly internalType: "uint256";
|
|
21523
|
+
}, {
|
|
21524
|
+
readonly name: "blocksCount";
|
|
21525
|
+
readonly type: "uint256";
|
|
21526
|
+
readonly internalType: "uint256";
|
|
21514
21527
|
}];
|
|
21515
21528
|
readonly stateMutability: "view";
|
|
21516
21529
|
}], "getExpiredOptions", readonly [`0x${string}`, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly {
|
|
@@ -21533,7 +21546,7 @@ declare const useLens: () => {
|
|
|
21533
21546
|
createdAt: bigint;
|
|
21534
21547
|
liquidities: readonly bigint[];
|
|
21535
21548
|
}[], bigint, boolean]>;
|
|
21536
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
21549
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
21537
21550
|
readonly type: "function";
|
|
21538
21551
|
readonly name: "batchGetRefTick";
|
|
21539
21552
|
readonly inputs: readonly [{
|
|
@@ -22232,10 +22245,14 @@ declare const useLens: () => {
|
|
|
22232
22245
|
readonly name: "tvl1";
|
|
22233
22246
|
readonly type: "uint256";
|
|
22234
22247
|
readonly internalType: "uint256";
|
|
22248
|
+
}, {
|
|
22249
|
+
readonly name: "blocksCount";
|
|
22250
|
+
readonly type: "uint256";
|
|
22251
|
+
readonly internalType: "uint256";
|
|
22235
22252
|
}];
|
|
22236
22253
|
readonly stateMutability: "view";
|
|
22237
22254
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
22238
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
22255
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
22239
22256
|
readonly type: "function";
|
|
22240
22257
|
readonly name: "batchGetRefTick";
|
|
22241
22258
|
readonly inputs: readonly [{
|
|
@@ -22934,6 +22951,10 @@ declare const useLens: () => {
|
|
|
22934
22951
|
readonly name: "tvl1";
|
|
22935
22952
|
readonly type: "uint256";
|
|
22936
22953
|
readonly internalType: "uint256";
|
|
22954
|
+
}, {
|
|
22955
|
+
readonly name: "blocksCount";
|
|
22956
|
+
readonly type: "uint256";
|
|
22957
|
+
readonly internalType: "uint256";
|
|
22937
22958
|
}];
|
|
22938
22959
|
readonly stateMutability: "view";
|
|
22939
22960
|
}], "getMarketData", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<{
|
|
@@ -22950,7 +22971,7 @@ declare const useLens: () => {
|
|
|
22950
22971
|
payoutAssetName: string;
|
|
22951
22972
|
optionsCount: bigint;
|
|
22952
22973
|
}>;
|
|
22953
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
22974
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
22954
22975
|
readonly type: "function";
|
|
22955
22976
|
readonly name: "batchGetRefTick";
|
|
22956
22977
|
readonly inputs: readonly [{
|
|
@@ -23649,10 +23670,14 @@ declare const useLens: () => {
|
|
|
23649
23670
|
readonly name: "tvl1";
|
|
23650
23671
|
readonly type: "uint256";
|
|
23651
23672
|
readonly internalType: "uint256";
|
|
23673
|
+
}, {
|
|
23674
|
+
readonly name: "blocksCount";
|
|
23675
|
+
readonly type: "uint256";
|
|
23676
|
+
readonly internalType: "uint256";
|
|
23652
23677
|
}];
|
|
23653
23678
|
readonly stateMutability: "view";
|
|
23654
23679
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
23655
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
23680
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
23656
23681
|
readonly type: "function";
|
|
23657
23682
|
readonly name: "batchGetRefTick";
|
|
23658
23683
|
readonly inputs: readonly [{
|
|
@@ -24351,10 +24376,14 @@ declare const useLens: () => {
|
|
|
24351
24376
|
readonly name: "tvl1";
|
|
24352
24377
|
readonly type: "uint256";
|
|
24353
24378
|
readonly internalType: "uint256";
|
|
24379
|
+
}, {
|
|
24380
|
+
readonly name: "blocksCount";
|
|
24381
|
+
readonly type: "uint256";
|
|
24382
|
+
readonly internalType: "uint256";
|
|
24354
24383
|
}];
|
|
24355
24384
|
readonly stateMutability: "view";
|
|
24356
24385
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
24357
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
24386
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
24358
24387
|
readonly type: "function";
|
|
24359
24388
|
readonly name: "batchGetRefTick";
|
|
24360
24389
|
readonly inputs: readonly [{
|
|
@@ -25053,6 +25082,10 @@ declare const useLens: () => {
|
|
|
25053
25082
|
readonly name: "tvl1";
|
|
25054
25083
|
readonly type: "uint256";
|
|
25055
25084
|
readonly internalType: "uint256";
|
|
25085
|
+
}, {
|
|
25086
|
+
readonly name: "blocksCount";
|
|
25087
|
+
readonly type: "uint256";
|
|
25088
|
+
readonly internalType: "uint256";
|
|
25056
25089
|
}];
|
|
25057
25090
|
readonly stateMutability: "view";
|
|
25058
25091
|
}], "getOptionData", readonly [`0x${string}`, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<{
|
|
@@ -25075,7 +25108,7 @@ declare const useLens: () => {
|
|
|
25075
25108
|
createdAt: bigint;
|
|
25076
25109
|
liquidities: readonly bigint[];
|
|
25077
25110
|
}>;
|
|
25078
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
25111
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
25079
25112
|
readonly type: "function";
|
|
25080
25113
|
readonly name: "batchGetRefTick";
|
|
25081
25114
|
readonly inputs: readonly [{
|
|
@@ -25774,6 +25807,10 @@ declare const useLens: () => {
|
|
|
25774
25807
|
readonly name: "tvl1";
|
|
25775
25808
|
readonly type: "uint256";
|
|
25776
25809
|
readonly internalType: "uint256";
|
|
25810
|
+
}, {
|
|
25811
|
+
readonly name: "blocksCount";
|
|
25812
|
+
readonly type: "uint256";
|
|
25813
|
+
readonly internalType: "uint256";
|
|
25777
25814
|
}];
|
|
25778
25815
|
readonly stateMutability: "view";
|
|
25779
25816
|
}], "getOptionsData", readonly [`0x${string}`, readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly {
|
|
@@ -25796,7 +25833,7 @@ declare const useLens: () => {
|
|
|
25796
25833
|
createdAt: bigint;
|
|
25797
25834
|
liquidities: readonly bigint[];
|
|
25798
25835
|
}[]>;
|
|
25799
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
25836
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
25800
25837
|
readonly type: "function";
|
|
25801
25838
|
readonly name: "batchGetRefTick";
|
|
25802
25839
|
readonly inputs: readonly [{
|
|
@@ -26495,6 +26532,10 @@ declare const useLens: () => {
|
|
|
26495
26532
|
readonly name: "tvl1";
|
|
26496
26533
|
readonly type: "uint256";
|
|
26497
26534
|
readonly internalType: "uint256";
|
|
26535
|
+
}, {
|
|
26536
|
+
readonly name: "blocksCount";
|
|
26537
|
+
readonly type: "uint256";
|
|
26538
|
+
readonly internalType: "uint256";
|
|
26498
26539
|
}];
|
|
26499
26540
|
readonly stateMutability: "view";
|
|
26500
26541
|
}], "getPoolData", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<{
|
|
@@ -26509,7 +26550,7 @@ declare const useLens: () => {
|
|
|
26509
26550
|
tickSpacing: number;
|
|
26510
26551
|
fee: number;
|
|
26511
26552
|
}>;
|
|
26512
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
26553
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
26513
26554
|
readonly type: "function";
|
|
26514
26555
|
readonly name: "batchGetRefTick";
|
|
26515
26556
|
readonly inputs: readonly [{
|
|
@@ -27208,10 +27249,14 @@ declare const useLens: () => {
|
|
|
27208
27249
|
readonly name: "tvl1";
|
|
27209
27250
|
readonly type: "uint256";
|
|
27210
27251
|
readonly internalType: "uint256";
|
|
27252
|
+
}, {
|
|
27253
|
+
readonly name: "blocksCount";
|
|
27254
|
+
readonly type: "uint256";
|
|
27255
|
+
readonly internalType: "uint256";
|
|
27211
27256
|
}];
|
|
27212
27257
|
readonly stateMutability: "view";
|
|
27213
27258
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
27214
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
27259
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
27215
27260
|
readonly type: "function";
|
|
27216
27261
|
readonly name: "batchGetRefTick";
|
|
27217
27262
|
readonly inputs: readonly [{
|
|
@@ -27910,6 +27955,10 @@ declare const useLens: () => {
|
|
|
27910
27955
|
readonly name: "tvl1";
|
|
27911
27956
|
readonly type: "uint256";
|
|
27912
27957
|
readonly internalType: "uint256";
|
|
27958
|
+
}, {
|
|
27959
|
+
readonly name: "blocksCount";
|
|
27960
|
+
readonly type: "uint256";
|
|
27961
|
+
readonly internalType: "uint256";
|
|
27913
27962
|
}];
|
|
27914
27963
|
readonly stateMutability: "view";
|
|
27915
27964
|
}], "getUserOptions", readonly [`0x${string}`, `0x${string}`, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly {
|
|
@@ -27932,7 +27981,7 @@ declare const useLens: () => {
|
|
|
27932
27981
|
createdAt: bigint;
|
|
27933
27982
|
liquidities: readonly bigint[];
|
|
27934
27983
|
}[], bigint, boolean]>;
|
|
27935
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
27984
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem249.Prettify<viem249.UnionOmit<viem249.ReadContractParameters<readonly [{
|
|
27936
27985
|
readonly type: "function";
|
|
27937
27986
|
readonly name: "batchGetRefTick";
|
|
27938
27987
|
readonly inputs: readonly [{
|
|
@@ -28631,9 +28680,13 @@ declare const useLens: () => {
|
|
|
28631
28680
|
readonly name: "tvl1";
|
|
28632
28681
|
readonly type: "uint256";
|
|
28633
28682
|
readonly internalType: "uint256";
|
|
28683
|
+
}, {
|
|
28684
|
+
readonly name: "blocksCount";
|
|
28685
|
+
readonly type: "uint256";
|
|
28686
|
+
readonly internalType: "uint256";
|
|
28634
28687
|
}];
|
|
28635
28688
|
readonly stateMutability: "view";
|
|
28636
|
-
}], "getVaultTVL", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint, bigint, bigint, bigint, bigint]>;
|
|
28689
|
+
}], "getVaultTVL", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint]>;
|
|
28637
28690
|
};
|
|
28638
28691
|
address: `0x${string}`;
|
|
28639
28692
|
abi: readonly [{
|
|
@@ -29335,6 +29388,10 @@ declare const useLens: () => {
|
|
|
29335
29388
|
readonly name: "tvl1";
|
|
29336
29389
|
readonly type: "uint256";
|
|
29337
29390
|
readonly internalType: "uint256";
|
|
29391
|
+
}, {
|
|
29392
|
+
readonly name: "blocksCount";
|
|
29393
|
+
readonly type: "uint256";
|
|
29394
|
+
readonly internalType: "uint256";
|
|
29338
29395
|
}];
|
|
29339
29396
|
readonly stateMutability: "view";
|
|
29340
29397
|
}];
|