timelock-sdk 0.0.77 → 0.0.78
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.cjs +73 -0
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +851 -1
- package/dist/client.d.ts +984 -134
- package/dist/client.js +73 -1
- package/dist/client.js.map +1 -1
- package/dist/{index-BdBPLPWm.d.ts → index-CdkTrz02.d.ts} +92 -92
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "./uniswapMathLens-C54iWXpi.js";
|
|
2
|
-
import { A as UniswapMathLens, k as TimelockMarketData, p as Amount } from "./index-
|
|
3
|
-
import * as
|
|
2
|
+
import { A as UniswapMathLens, k as TimelockMarketData, p as Amount } from "./index-CdkTrz02.js";
|
|
3
|
+
import * as viem367 from "viem";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
6
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
7
|
-
import * as
|
|
7
|
+
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
8
8
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
9
9
|
import "graphql";
|
|
10
|
-
import * as
|
|
11
|
-
import * as
|
|
10
|
+
import * as _tanstack_query_core17 from "@tanstack/query-core";
|
|
11
|
+
import * as _wagmi_core0 from "@wagmi/core";
|
|
12
12
|
|
|
13
13
|
//#region src/generated/graphql.d.ts
|
|
14
14
|
type Exact<T extends {
|
|
@@ -264,7 +264,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
264
264
|
isRefetching: boolean;
|
|
265
265
|
isStale: boolean;
|
|
266
266
|
isEnabled: boolean;
|
|
267
|
-
refetch: (options?:
|
|
267
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
268
268
|
optionId: bigint;
|
|
269
269
|
marketAddr: Address;
|
|
270
270
|
ownerAddr: Address;
|
|
@@ -295,7 +295,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
295
295
|
address: string;
|
|
296
296
|
} | null;
|
|
297
297
|
}[], Error>>;
|
|
298
|
-
fetchStatus:
|
|
298
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
299
299
|
promise: Promise<{
|
|
300
300
|
optionId: bigint;
|
|
301
301
|
marketAddr: Address;
|
|
@@ -381,7 +381,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
381
381
|
isRefetching: boolean;
|
|
382
382
|
isStale: boolean;
|
|
383
383
|
isEnabled: boolean;
|
|
384
|
-
refetch: (options?:
|
|
384
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
385
385
|
optionId: bigint;
|
|
386
386
|
marketAddr: Address;
|
|
387
387
|
ownerAddr: Address;
|
|
@@ -412,7 +412,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
412
412
|
address: string;
|
|
413
413
|
} | null;
|
|
414
414
|
}[], Error>>;
|
|
415
|
-
fetchStatus:
|
|
415
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
416
416
|
promise: Promise<{
|
|
417
417
|
optionId: bigint;
|
|
418
418
|
marketAddr: Address;
|
|
@@ -498,7 +498,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
498
498
|
isRefetching: boolean;
|
|
499
499
|
isStale: boolean;
|
|
500
500
|
isEnabled: boolean;
|
|
501
|
-
refetch: (options?:
|
|
501
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
502
502
|
optionId: bigint;
|
|
503
503
|
marketAddr: Address;
|
|
504
504
|
ownerAddr: Address;
|
|
@@ -529,7 +529,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
529
529
|
address: string;
|
|
530
530
|
} | null;
|
|
531
531
|
}[], Error>>;
|
|
532
|
-
fetchStatus:
|
|
532
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
533
533
|
promise: Promise<{
|
|
534
534
|
optionId: bigint;
|
|
535
535
|
marketAddr: Address;
|
|
@@ -615,7 +615,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
615
615
|
isRefetching: boolean;
|
|
616
616
|
isStale: boolean;
|
|
617
617
|
isEnabled: boolean;
|
|
618
|
-
refetch: (options?:
|
|
618
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
619
619
|
optionId: bigint;
|
|
620
620
|
marketAddr: Address;
|
|
621
621
|
ownerAddr: Address;
|
|
@@ -646,7 +646,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
646
646
|
address: string;
|
|
647
647
|
} | null;
|
|
648
648
|
}[], Error>>;
|
|
649
|
-
fetchStatus:
|
|
649
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
650
650
|
promise: Promise<{
|
|
651
651
|
optionId: bigint;
|
|
652
652
|
marketAddr: Address;
|
|
@@ -732,7 +732,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
732
732
|
isRefetching: boolean;
|
|
733
733
|
isStale: boolean;
|
|
734
734
|
isEnabled: boolean;
|
|
735
|
-
refetch: (options?:
|
|
735
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
736
736
|
optionId: bigint;
|
|
737
737
|
marketAddr: Address;
|
|
738
738
|
ownerAddr: Address;
|
|
@@ -763,7 +763,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
763
763
|
address: string;
|
|
764
764
|
} | null;
|
|
765
765
|
}[], Error>>;
|
|
766
|
-
fetchStatus:
|
|
766
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
767
767
|
promise: Promise<{
|
|
768
768
|
optionId: bigint;
|
|
769
769
|
marketAddr: Address;
|
|
@@ -849,7 +849,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
849
849
|
isRefetching: boolean;
|
|
850
850
|
isStale: boolean;
|
|
851
851
|
isEnabled: boolean;
|
|
852
|
-
refetch: (options?:
|
|
852
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
853
853
|
optionId: bigint;
|
|
854
854
|
marketAddr: Address;
|
|
855
855
|
ownerAddr: Address;
|
|
@@ -880,7 +880,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
880
880
|
address: string;
|
|
881
881
|
} | null;
|
|
882
882
|
}[], Error>>;
|
|
883
|
-
fetchStatus:
|
|
883
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
884
884
|
promise: Promise<{
|
|
885
885
|
optionId: bigint;
|
|
886
886
|
marketAddr: Address;
|
|
@@ -967,7 +967,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
967
967
|
isRefetching: boolean;
|
|
968
968
|
isStale: boolean;
|
|
969
969
|
isEnabled: boolean;
|
|
970
|
-
refetch: (options?:
|
|
970
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
971
971
|
optionId: bigint;
|
|
972
972
|
marketAddr: Address;
|
|
973
973
|
ownerAddr: Address;
|
|
@@ -998,7 +998,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
998
998
|
address: string;
|
|
999
999
|
} | null;
|
|
1000
1000
|
}[], Error>>;
|
|
1001
|
-
fetchStatus:
|
|
1001
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
1002
1002
|
promise: Promise<{
|
|
1003
1003
|
optionId: bigint;
|
|
1004
1004
|
marketAddr: Address;
|
|
@@ -1084,7 +1084,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1084
1084
|
isRefetching: boolean;
|
|
1085
1085
|
isStale: boolean;
|
|
1086
1086
|
isEnabled: boolean;
|
|
1087
|
-
refetch: (options?:
|
|
1087
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
1088
1088
|
optionId: bigint;
|
|
1089
1089
|
marketAddr: Address;
|
|
1090
1090
|
ownerAddr: Address;
|
|
@@ -1115,7 +1115,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1115
1115
|
address: string;
|
|
1116
1116
|
} | null;
|
|
1117
1117
|
}[], Error>>;
|
|
1118
|
-
fetchStatus:
|
|
1118
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
1119
1119
|
promise: Promise<{
|
|
1120
1120
|
optionId: bigint;
|
|
1121
1121
|
marketAddr: Address;
|
|
@@ -1201,7 +1201,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1201
1201
|
isRefetching: boolean;
|
|
1202
1202
|
isStale: boolean;
|
|
1203
1203
|
isEnabled: boolean;
|
|
1204
|
-
refetch: (options?:
|
|
1204
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
1205
1205
|
optionId: bigint;
|
|
1206
1206
|
marketAddr: Address;
|
|
1207
1207
|
ownerAddr: Address;
|
|
@@ -1232,7 +1232,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1232
1232
|
address: string;
|
|
1233
1233
|
} | null;
|
|
1234
1234
|
}[], Error>>;
|
|
1235
|
-
fetchStatus:
|
|
1235
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
1236
1236
|
promise: Promise<{
|
|
1237
1237
|
optionId: bigint;
|
|
1238
1238
|
marketAddr: Address;
|
|
@@ -1318,7 +1318,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1318
1318
|
isRefetching: boolean;
|
|
1319
1319
|
isStale: boolean;
|
|
1320
1320
|
isEnabled: boolean;
|
|
1321
|
-
refetch: (options?:
|
|
1321
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
1322
1322
|
optionId: bigint;
|
|
1323
1323
|
marketAddr: Address;
|
|
1324
1324
|
ownerAddr: Address;
|
|
@@ -1349,7 +1349,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1349
1349
|
address: string;
|
|
1350
1350
|
} | null;
|
|
1351
1351
|
}[], Error>>;
|
|
1352
|
-
fetchStatus:
|
|
1352
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
1353
1353
|
promise: Promise<{
|
|
1354
1354
|
optionId: bigint;
|
|
1355
1355
|
marketAddr: Address;
|
|
@@ -1435,7 +1435,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1435
1435
|
isRefetching: boolean;
|
|
1436
1436
|
isStale: boolean;
|
|
1437
1437
|
isEnabled: boolean;
|
|
1438
|
-
refetch: (options?:
|
|
1438
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
1439
1439
|
optionId: bigint;
|
|
1440
1440
|
marketAddr: Address;
|
|
1441
1441
|
ownerAddr: Address;
|
|
@@ -1466,7 +1466,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1466
1466
|
address: string;
|
|
1467
1467
|
} | null;
|
|
1468
1468
|
}[], Error>>;
|
|
1469
|
-
fetchStatus:
|
|
1469
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
1470
1470
|
promise: Promise<{
|
|
1471
1471
|
optionId: bigint;
|
|
1472
1472
|
marketAddr: Address;
|
|
@@ -1552,7 +1552,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1552
1552
|
isRefetching: boolean;
|
|
1553
1553
|
isStale: boolean;
|
|
1554
1554
|
isEnabled: boolean;
|
|
1555
|
-
refetch: (options?:
|
|
1555
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
1556
1556
|
optionId: bigint;
|
|
1557
1557
|
marketAddr: Address;
|
|
1558
1558
|
ownerAddr: Address;
|
|
@@ -1583,7 +1583,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1583
1583
|
address: string;
|
|
1584
1584
|
} | null;
|
|
1585
1585
|
}[], Error>>;
|
|
1586
|
-
fetchStatus:
|
|
1586
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
1587
1587
|
promise: Promise<{
|
|
1588
1588
|
optionId: bigint;
|
|
1589
1589
|
marketAddr: Address;
|
|
@@ -1670,7 +1670,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1670
1670
|
isRefetching: boolean;
|
|
1671
1671
|
isStale: boolean;
|
|
1672
1672
|
isEnabled: boolean;
|
|
1673
|
-
refetch: (options?:
|
|
1673
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
1674
1674
|
optionId: bigint;
|
|
1675
1675
|
marketAddr: Address;
|
|
1676
1676
|
ownerAddr: Address;
|
|
@@ -1701,7 +1701,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1701
1701
|
address: string;
|
|
1702
1702
|
} | null;
|
|
1703
1703
|
}[], Error>>;
|
|
1704
|
-
fetchStatus:
|
|
1704
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
1705
1705
|
promise: Promise<{
|
|
1706
1706
|
optionId: bigint;
|
|
1707
1707
|
marketAddr: Address;
|
|
@@ -1787,7 +1787,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1787
1787
|
isRefetching: boolean;
|
|
1788
1788
|
isStale: boolean;
|
|
1789
1789
|
isEnabled: boolean;
|
|
1790
|
-
refetch: (options?:
|
|
1790
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
1791
1791
|
optionId: bigint;
|
|
1792
1792
|
marketAddr: Address;
|
|
1793
1793
|
ownerAddr: Address;
|
|
@@ -1818,7 +1818,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1818
1818
|
address: string;
|
|
1819
1819
|
} | null;
|
|
1820
1820
|
}[], Error>>;
|
|
1821
|
-
fetchStatus:
|
|
1821
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
1822
1822
|
promise: Promise<{
|
|
1823
1823
|
optionId: bigint;
|
|
1824
1824
|
marketAddr: Address;
|
|
@@ -1904,7 +1904,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1904
1904
|
isRefetching: boolean;
|
|
1905
1905
|
isStale: boolean;
|
|
1906
1906
|
isEnabled: boolean;
|
|
1907
|
-
refetch: (options?:
|
|
1907
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
1908
1908
|
optionId: bigint;
|
|
1909
1909
|
marketAddr: Address;
|
|
1910
1910
|
ownerAddr: Address;
|
|
@@ -1935,7 +1935,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
1935
1935
|
address: string;
|
|
1936
1936
|
} | null;
|
|
1937
1937
|
}[], Error>>;
|
|
1938
|
-
fetchStatus:
|
|
1938
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
1939
1939
|
promise: Promise<{
|
|
1940
1940
|
optionId: bigint;
|
|
1941
1941
|
marketAddr: Address;
|
|
@@ -2021,7 +2021,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
2021
2021
|
isRefetching: boolean;
|
|
2022
2022
|
isStale: boolean;
|
|
2023
2023
|
isEnabled: boolean;
|
|
2024
|
-
refetch: (options?:
|
|
2024
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
2025
2025
|
optionId: bigint;
|
|
2026
2026
|
marketAddr: Address;
|
|
2027
2027
|
ownerAddr: Address;
|
|
@@ -2052,7 +2052,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
2052
2052
|
address: string;
|
|
2053
2053
|
} | null;
|
|
2054
2054
|
}[], Error>>;
|
|
2055
|
-
fetchStatus:
|
|
2055
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2056
2056
|
promise: Promise<{
|
|
2057
2057
|
optionId: bigint;
|
|
2058
2058
|
marketAddr: Address;
|
|
@@ -2138,7 +2138,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
2138
2138
|
isRefetching: boolean;
|
|
2139
2139
|
isStale: boolean;
|
|
2140
2140
|
isEnabled: boolean;
|
|
2141
|
-
refetch: (options?:
|
|
2141
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
2142
2142
|
optionId: bigint;
|
|
2143
2143
|
marketAddr: Address;
|
|
2144
2144
|
ownerAddr: Address;
|
|
@@ -2169,7 +2169,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
2169
2169
|
address: string;
|
|
2170
2170
|
} | null;
|
|
2171
2171
|
}[], Error>>;
|
|
2172
|
-
fetchStatus:
|
|
2172
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2173
2173
|
promise: Promise<{
|
|
2174
2174
|
optionId: bigint;
|
|
2175
2175
|
marketAddr: Address;
|
|
@@ -2255,7 +2255,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
2255
2255
|
isRefetching: boolean;
|
|
2256
2256
|
isStale: boolean;
|
|
2257
2257
|
isEnabled: boolean;
|
|
2258
|
-
refetch: (options?:
|
|
2258
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
2259
2259
|
optionId: bigint;
|
|
2260
2260
|
marketAddr: Address;
|
|
2261
2261
|
ownerAddr: Address;
|
|
@@ -2286,7 +2286,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
2286
2286
|
address: string;
|
|
2287
2287
|
} | null;
|
|
2288
2288
|
}[], Error>>;
|
|
2289
|
-
fetchStatus:
|
|
2289
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2290
2290
|
promise: Promise<{
|
|
2291
2291
|
optionId: bigint;
|
|
2292
2292
|
marketAddr: Address;
|
|
@@ -2352,7 +2352,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
2352
2352
|
};
|
|
2353
2353
|
//#endregion
|
|
2354
2354
|
//#region src/hooks/market/useExerciseOption.d.ts
|
|
2355
|
-
declare const useExerciseOption: (marketAddr?: Address) =>
|
|
2355
|
+
declare const useExerciseOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
2356
2356
|
option: OptionData;
|
|
2357
2357
|
liquidities: readonly bigint[];
|
|
2358
2358
|
}, unknown>;
|
|
@@ -2386,7 +2386,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
2386
2386
|
};
|
|
2387
2387
|
//#endregion
|
|
2388
2388
|
//#region src/hooks/market/useMintOption.d.ts
|
|
2389
|
-
declare const useMintOption: (marketAddr?: Address) =>
|
|
2389
|
+
declare const useMintOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
2390
2390
|
optionType: "CALL" | "PUT";
|
|
2391
2391
|
amount: bigint;
|
|
2392
2392
|
duration: number;
|
|
@@ -2411,7 +2411,7 @@ declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "C
|
|
|
2411
2411
|
};
|
|
2412
2412
|
//#endregion
|
|
2413
2413
|
//#region src/hooks/market/useExtendOption.d.ts
|
|
2414
|
-
declare const useExtendOption: (marketAddr?: Address) =>
|
|
2414
|
+
declare const useExtendOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
2415
2415
|
option: OptionData;
|
|
2416
2416
|
duration: number;
|
|
2417
2417
|
}, unknown>;
|
|
@@ -2454,7 +2454,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2454
2454
|
isRefetching: boolean;
|
|
2455
2455
|
isStale: boolean;
|
|
2456
2456
|
isEnabled: boolean;
|
|
2457
|
-
refetch: (options?:
|
|
2457
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
2458
2458
|
spendingApproval: bigint;
|
|
2459
2459
|
operatorAddr: string;
|
|
2460
2460
|
__typename: "UserMarketOperator";
|
|
@@ -2468,7 +2468,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2468
2468
|
address: string;
|
|
2469
2469
|
} | null;
|
|
2470
2470
|
}[] | undefined, Error>>;
|
|
2471
|
-
fetchStatus:
|
|
2471
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2472
2472
|
promise: Promise<{
|
|
2473
2473
|
spendingApproval: bigint;
|
|
2474
2474
|
operatorAddr: string;
|
|
@@ -2520,7 +2520,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2520
2520
|
isRefetching: boolean;
|
|
2521
2521
|
isStale: boolean;
|
|
2522
2522
|
isEnabled: boolean;
|
|
2523
|
-
refetch: (options?:
|
|
2523
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
2524
2524
|
spendingApproval: bigint;
|
|
2525
2525
|
operatorAddr: string;
|
|
2526
2526
|
__typename: "UserMarketOperator";
|
|
@@ -2534,7 +2534,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2534
2534
|
address: string;
|
|
2535
2535
|
} | null;
|
|
2536
2536
|
}[] | undefined, Error>>;
|
|
2537
|
-
fetchStatus:
|
|
2537
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2538
2538
|
promise: Promise<{
|
|
2539
2539
|
spendingApproval: bigint;
|
|
2540
2540
|
operatorAddr: string;
|
|
@@ -2586,7 +2586,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2586
2586
|
isRefetching: boolean;
|
|
2587
2587
|
isStale: boolean;
|
|
2588
2588
|
isEnabled: boolean;
|
|
2589
|
-
refetch: (options?:
|
|
2589
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
2590
2590
|
spendingApproval: bigint;
|
|
2591
2591
|
operatorAddr: string;
|
|
2592
2592
|
__typename: "UserMarketOperator";
|
|
@@ -2600,7 +2600,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2600
2600
|
address: string;
|
|
2601
2601
|
} | null;
|
|
2602
2602
|
}[] | undefined, Error>>;
|
|
2603
|
-
fetchStatus:
|
|
2603
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2604
2604
|
promise: Promise<{
|
|
2605
2605
|
spendingApproval: bigint;
|
|
2606
2606
|
operatorAddr: string;
|
|
@@ -2652,7 +2652,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2652
2652
|
isRefetching: boolean;
|
|
2653
2653
|
isStale: boolean;
|
|
2654
2654
|
isEnabled: boolean;
|
|
2655
|
-
refetch: (options?:
|
|
2655
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
2656
2656
|
spendingApproval: bigint;
|
|
2657
2657
|
operatorAddr: string;
|
|
2658
2658
|
__typename: "UserMarketOperator";
|
|
@@ -2666,7 +2666,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2666
2666
|
address: string;
|
|
2667
2667
|
} | null;
|
|
2668
2668
|
}[] | undefined, Error>>;
|
|
2669
|
-
fetchStatus:
|
|
2669
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2670
2670
|
promise: Promise<{
|
|
2671
2671
|
spendingApproval: bigint;
|
|
2672
2672
|
operatorAddr: string;
|
|
@@ -2718,7 +2718,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2718
2718
|
isRefetching: boolean;
|
|
2719
2719
|
isStale: boolean;
|
|
2720
2720
|
isEnabled: boolean;
|
|
2721
|
-
refetch: (options?:
|
|
2721
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
2722
2722
|
spendingApproval: bigint;
|
|
2723
2723
|
operatorAddr: string;
|
|
2724
2724
|
__typename: "UserMarketOperator";
|
|
@@ -2732,7 +2732,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2732
2732
|
address: string;
|
|
2733
2733
|
} | null;
|
|
2734
2734
|
}[] | undefined, Error>>;
|
|
2735
|
-
fetchStatus:
|
|
2735
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2736
2736
|
promise: Promise<{
|
|
2737
2737
|
spendingApproval: bigint;
|
|
2738
2738
|
operatorAddr: string;
|
|
@@ -2784,7 +2784,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2784
2784
|
isRefetching: boolean;
|
|
2785
2785
|
isStale: boolean;
|
|
2786
2786
|
isEnabled: boolean;
|
|
2787
|
-
refetch: (options?:
|
|
2787
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<{
|
|
2788
2788
|
spendingApproval: bigint;
|
|
2789
2789
|
operatorAddr: string;
|
|
2790
2790
|
__typename: "UserMarketOperator";
|
|
@@ -2798,7 +2798,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2798
2798
|
address: string;
|
|
2799
2799
|
} | null;
|
|
2800
2800
|
}[] | undefined, Error>>;
|
|
2801
|
-
fetchStatus:
|
|
2801
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2802
2802
|
promise: Promise<{
|
|
2803
2803
|
spendingApproval: bigint;
|
|
2804
2804
|
operatorAddr: string;
|
|
@@ -2816,7 +2816,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2816
2816
|
};
|
|
2817
2817
|
//#endregion
|
|
2818
2818
|
//#region src/hooks/market/useSetOperatorPerms.d.ts
|
|
2819
|
-
declare const useSetOperatorPerms: (marketAddr?: Address) =>
|
|
2819
|
+
declare const useSetOperatorPerms: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
2820
2820
|
operator: Address;
|
|
2821
2821
|
canExtend: boolean;
|
|
2822
2822
|
canExercise: boolean;
|
|
@@ -2825,6 +2825,856 @@ declare const useSetOperatorPerms: (marketAddr?: Address) => _tanstack_react_que
|
|
|
2825
2825
|
spendingApproval: bigint;
|
|
2826
2826
|
}, unknown>;
|
|
2827
2827
|
//#endregion
|
|
2828
|
+
//#region src/hooks/market/useOptionTimeline.d.ts
|
|
2829
|
+
type OptionTimelineData = ReturnType<typeof useOptionTimeline>['data'];
|
|
2830
|
+
declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
2831
|
+
error: Error;
|
|
2832
|
+
isError: true;
|
|
2833
|
+
isPending: false;
|
|
2834
|
+
isLoading: false;
|
|
2835
|
+
isLoadingError: false;
|
|
2836
|
+
isRefetchError: true;
|
|
2837
|
+
isSuccess: false;
|
|
2838
|
+
isPlaceholderData: false;
|
|
2839
|
+
status: "error";
|
|
2840
|
+
dataUpdatedAt: number;
|
|
2841
|
+
errorUpdatedAt: number;
|
|
2842
|
+
failureCount: number;
|
|
2843
|
+
failureReason: Error | null;
|
|
2844
|
+
errorUpdateCount: number;
|
|
2845
|
+
isFetched: boolean;
|
|
2846
|
+
isFetchedAfterMount: boolean;
|
|
2847
|
+
isFetching: boolean;
|
|
2848
|
+
isInitialLoading: boolean;
|
|
2849
|
+
isPaused: boolean;
|
|
2850
|
+
isRefetching: boolean;
|
|
2851
|
+
isStale: boolean;
|
|
2852
|
+
isEnabled: boolean;
|
|
2853
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
2854
|
+
type: "mint";
|
|
2855
|
+
data: {
|
|
2856
|
+
id: string;
|
|
2857
|
+
optionType: 0 | 1;
|
|
2858
|
+
strikeTick: number;
|
|
2859
|
+
currentTick: number;
|
|
2860
|
+
expiresAt: Date;
|
|
2861
|
+
premium: bigint;
|
|
2862
|
+
protocolFee: bigint;
|
|
2863
|
+
liquidities: bigint[];
|
|
2864
|
+
timestamp: Date;
|
|
2865
|
+
blockNumber: bigint;
|
|
2866
|
+
transactionHash: string;
|
|
2867
|
+
};
|
|
2868
|
+
} | {
|
|
2869
|
+
type: "exercise";
|
|
2870
|
+
data: {
|
|
2871
|
+
id: string;
|
|
2872
|
+
liquidities: bigint[];
|
|
2873
|
+
currentTick: number;
|
|
2874
|
+
payout: bigint;
|
|
2875
|
+
timestamp: Date;
|
|
2876
|
+
blockNumber: bigint;
|
|
2877
|
+
transactionHash: string;
|
|
2878
|
+
};
|
|
2879
|
+
} | {
|
|
2880
|
+
type: "extend";
|
|
2881
|
+
data: {
|
|
2882
|
+
id: string;
|
|
2883
|
+
premium: bigint;
|
|
2884
|
+
protocolFee: bigint;
|
|
2885
|
+
currentTick: number;
|
|
2886
|
+
addedDuration: bigint;
|
|
2887
|
+
timestamp: Date;
|
|
2888
|
+
blockNumber: bigint;
|
|
2889
|
+
transactionHash: string;
|
|
2890
|
+
};
|
|
2891
|
+
})[], Error>>;
|
|
2892
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2893
|
+
promise: Promise<({
|
|
2894
|
+
type: "mint";
|
|
2895
|
+
data: {
|
|
2896
|
+
id: string;
|
|
2897
|
+
optionType: 0 | 1;
|
|
2898
|
+
strikeTick: number;
|
|
2899
|
+
currentTick: number;
|
|
2900
|
+
expiresAt: Date;
|
|
2901
|
+
premium: bigint;
|
|
2902
|
+
protocolFee: bigint;
|
|
2903
|
+
liquidities: bigint[];
|
|
2904
|
+
timestamp: Date;
|
|
2905
|
+
blockNumber: bigint;
|
|
2906
|
+
transactionHash: string;
|
|
2907
|
+
};
|
|
2908
|
+
} | {
|
|
2909
|
+
type: "exercise";
|
|
2910
|
+
data: {
|
|
2911
|
+
id: string;
|
|
2912
|
+
liquidities: bigint[];
|
|
2913
|
+
currentTick: number;
|
|
2914
|
+
payout: bigint;
|
|
2915
|
+
timestamp: Date;
|
|
2916
|
+
blockNumber: bigint;
|
|
2917
|
+
transactionHash: string;
|
|
2918
|
+
};
|
|
2919
|
+
} | {
|
|
2920
|
+
type: "extend";
|
|
2921
|
+
data: {
|
|
2922
|
+
id: string;
|
|
2923
|
+
premium: bigint;
|
|
2924
|
+
protocolFee: bigint;
|
|
2925
|
+
currentTick: number;
|
|
2926
|
+
addedDuration: bigint;
|
|
2927
|
+
timestamp: Date;
|
|
2928
|
+
blockNumber: bigint;
|
|
2929
|
+
transactionHash: string;
|
|
2930
|
+
};
|
|
2931
|
+
})[]>;
|
|
2932
|
+
data: ({
|
|
2933
|
+
type: "mint";
|
|
2934
|
+
data: {
|
|
2935
|
+
id: string;
|
|
2936
|
+
optionType: 0 | 1;
|
|
2937
|
+
strikeTick: number;
|
|
2938
|
+
currentTick: number;
|
|
2939
|
+
expiresAt: Date;
|
|
2940
|
+
premium: bigint;
|
|
2941
|
+
protocolFee: bigint;
|
|
2942
|
+
liquidities: bigint[];
|
|
2943
|
+
timestamp: Date;
|
|
2944
|
+
blockNumber: bigint;
|
|
2945
|
+
transactionHash: string;
|
|
2946
|
+
};
|
|
2947
|
+
} | {
|
|
2948
|
+
type: "exercise";
|
|
2949
|
+
data: {
|
|
2950
|
+
id: string;
|
|
2951
|
+
liquidities: bigint[];
|
|
2952
|
+
currentTick: number;
|
|
2953
|
+
payout: bigint;
|
|
2954
|
+
timestamp: Date;
|
|
2955
|
+
blockNumber: bigint;
|
|
2956
|
+
transactionHash: string;
|
|
2957
|
+
};
|
|
2958
|
+
} | {
|
|
2959
|
+
type: "extend";
|
|
2960
|
+
data: {
|
|
2961
|
+
id: string;
|
|
2962
|
+
premium: bigint;
|
|
2963
|
+
protocolFee: bigint;
|
|
2964
|
+
currentTick: number;
|
|
2965
|
+
addedDuration: bigint;
|
|
2966
|
+
timestamp: Date;
|
|
2967
|
+
blockNumber: bigint;
|
|
2968
|
+
transactionHash: string;
|
|
2969
|
+
};
|
|
2970
|
+
})[];
|
|
2971
|
+
} | {
|
|
2972
|
+
error: null;
|
|
2973
|
+
isError: false;
|
|
2974
|
+
isPending: false;
|
|
2975
|
+
isLoading: false;
|
|
2976
|
+
isLoadingError: false;
|
|
2977
|
+
isRefetchError: false;
|
|
2978
|
+
isSuccess: true;
|
|
2979
|
+
isPlaceholderData: false;
|
|
2980
|
+
status: "success";
|
|
2981
|
+
dataUpdatedAt: number;
|
|
2982
|
+
errorUpdatedAt: number;
|
|
2983
|
+
failureCount: number;
|
|
2984
|
+
failureReason: Error | null;
|
|
2985
|
+
errorUpdateCount: number;
|
|
2986
|
+
isFetched: boolean;
|
|
2987
|
+
isFetchedAfterMount: boolean;
|
|
2988
|
+
isFetching: boolean;
|
|
2989
|
+
isInitialLoading: boolean;
|
|
2990
|
+
isPaused: boolean;
|
|
2991
|
+
isRefetching: boolean;
|
|
2992
|
+
isStale: boolean;
|
|
2993
|
+
isEnabled: boolean;
|
|
2994
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
2995
|
+
type: "mint";
|
|
2996
|
+
data: {
|
|
2997
|
+
id: string;
|
|
2998
|
+
optionType: 0 | 1;
|
|
2999
|
+
strikeTick: number;
|
|
3000
|
+
currentTick: number;
|
|
3001
|
+
expiresAt: Date;
|
|
3002
|
+
premium: bigint;
|
|
3003
|
+
protocolFee: bigint;
|
|
3004
|
+
liquidities: bigint[];
|
|
3005
|
+
timestamp: Date;
|
|
3006
|
+
blockNumber: bigint;
|
|
3007
|
+
transactionHash: string;
|
|
3008
|
+
};
|
|
3009
|
+
} | {
|
|
3010
|
+
type: "exercise";
|
|
3011
|
+
data: {
|
|
3012
|
+
id: string;
|
|
3013
|
+
liquidities: bigint[];
|
|
3014
|
+
currentTick: number;
|
|
3015
|
+
payout: bigint;
|
|
3016
|
+
timestamp: Date;
|
|
3017
|
+
blockNumber: bigint;
|
|
3018
|
+
transactionHash: string;
|
|
3019
|
+
};
|
|
3020
|
+
} | {
|
|
3021
|
+
type: "extend";
|
|
3022
|
+
data: {
|
|
3023
|
+
id: string;
|
|
3024
|
+
premium: bigint;
|
|
3025
|
+
protocolFee: bigint;
|
|
3026
|
+
currentTick: number;
|
|
3027
|
+
addedDuration: bigint;
|
|
3028
|
+
timestamp: Date;
|
|
3029
|
+
blockNumber: bigint;
|
|
3030
|
+
transactionHash: string;
|
|
3031
|
+
};
|
|
3032
|
+
})[], Error>>;
|
|
3033
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3034
|
+
promise: Promise<({
|
|
3035
|
+
type: "mint";
|
|
3036
|
+
data: {
|
|
3037
|
+
id: string;
|
|
3038
|
+
optionType: 0 | 1;
|
|
3039
|
+
strikeTick: number;
|
|
3040
|
+
currentTick: number;
|
|
3041
|
+
expiresAt: Date;
|
|
3042
|
+
premium: bigint;
|
|
3043
|
+
protocolFee: bigint;
|
|
3044
|
+
liquidities: bigint[];
|
|
3045
|
+
timestamp: Date;
|
|
3046
|
+
blockNumber: bigint;
|
|
3047
|
+
transactionHash: string;
|
|
3048
|
+
};
|
|
3049
|
+
} | {
|
|
3050
|
+
type: "exercise";
|
|
3051
|
+
data: {
|
|
3052
|
+
id: string;
|
|
3053
|
+
liquidities: bigint[];
|
|
3054
|
+
currentTick: number;
|
|
3055
|
+
payout: bigint;
|
|
3056
|
+
timestamp: Date;
|
|
3057
|
+
blockNumber: bigint;
|
|
3058
|
+
transactionHash: string;
|
|
3059
|
+
};
|
|
3060
|
+
} | {
|
|
3061
|
+
type: "extend";
|
|
3062
|
+
data: {
|
|
3063
|
+
id: string;
|
|
3064
|
+
premium: bigint;
|
|
3065
|
+
protocolFee: bigint;
|
|
3066
|
+
currentTick: number;
|
|
3067
|
+
addedDuration: bigint;
|
|
3068
|
+
timestamp: Date;
|
|
3069
|
+
blockNumber: bigint;
|
|
3070
|
+
transactionHash: string;
|
|
3071
|
+
};
|
|
3072
|
+
})[]>;
|
|
3073
|
+
data: ({
|
|
3074
|
+
type: "mint";
|
|
3075
|
+
data: {
|
|
3076
|
+
id: string;
|
|
3077
|
+
optionType: 0 | 1;
|
|
3078
|
+
strikeTick: number;
|
|
3079
|
+
currentTick: number;
|
|
3080
|
+
expiresAt: Date;
|
|
3081
|
+
premium: bigint;
|
|
3082
|
+
protocolFee: bigint;
|
|
3083
|
+
liquidities: bigint[];
|
|
3084
|
+
timestamp: Date;
|
|
3085
|
+
blockNumber: bigint;
|
|
3086
|
+
transactionHash: string;
|
|
3087
|
+
};
|
|
3088
|
+
} | {
|
|
3089
|
+
type: "exercise";
|
|
3090
|
+
data: {
|
|
3091
|
+
id: string;
|
|
3092
|
+
liquidities: bigint[];
|
|
3093
|
+
currentTick: number;
|
|
3094
|
+
payout: bigint;
|
|
3095
|
+
timestamp: Date;
|
|
3096
|
+
blockNumber: bigint;
|
|
3097
|
+
transactionHash: string;
|
|
3098
|
+
};
|
|
3099
|
+
} | {
|
|
3100
|
+
type: "extend";
|
|
3101
|
+
data: {
|
|
3102
|
+
id: string;
|
|
3103
|
+
premium: bigint;
|
|
3104
|
+
protocolFee: bigint;
|
|
3105
|
+
currentTick: number;
|
|
3106
|
+
addedDuration: bigint;
|
|
3107
|
+
timestamp: Date;
|
|
3108
|
+
blockNumber: bigint;
|
|
3109
|
+
transactionHash: string;
|
|
3110
|
+
};
|
|
3111
|
+
})[];
|
|
3112
|
+
} | {
|
|
3113
|
+
error: Error;
|
|
3114
|
+
isError: true;
|
|
3115
|
+
isPending: false;
|
|
3116
|
+
isLoading: false;
|
|
3117
|
+
isLoadingError: true;
|
|
3118
|
+
isRefetchError: false;
|
|
3119
|
+
isSuccess: false;
|
|
3120
|
+
isPlaceholderData: false;
|
|
3121
|
+
status: "error";
|
|
3122
|
+
dataUpdatedAt: number;
|
|
3123
|
+
errorUpdatedAt: number;
|
|
3124
|
+
failureCount: number;
|
|
3125
|
+
failureReason: Error | null;
|
|
3126
|
+
errorUpdateCount: number;
|
|
3127
|
+
isFetched: boolean;
|
|
3128
|
+
isFetchedAfterMount: boolean;
|
|
3129
|
+
isFetching: boolean;
|
|
3130
|
+
isInitialLoading: boolean;
|
|
3131
|
+
isPaused: boolean;
|
|
3132
|
+
isRefetching: boolean;
|
|
3133
|
+
isStale: boolean;
|
|
3134
|
+
isEnabled: boolean;
|
|
3135
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
3136
|
+
type: "mint";
|
|
3137
|
+
data: {
|
|
3138
|
+
id: string;
|
|
3139
|
+
optionType: 0 | 1;
|
|
3140
|
+
strikeTick: number;
|
|
3141
|
+
currentTick: number;
|
|
3142
|
+
expiresAt: Date;
|
|
3143
|
+
premium: bigint;
|
|
3144
|
+
protocolFee: bigint;
|
|
3145
|
+
liquidities: bigint[];
|
|
3146
|
+
timestamp: Date;
|
|
3147
|
+
blockNumber: bigint;
|
|
3148
|
+
transactionHash: string;
|
|
3149
|
+
};
|
|
3150
|
+
} | {
|
|
3151
|
+
type: "exercise";
|
|
3152
|
+
data: {
|
|
3153
|
+
id: string;
|
|
3154
|
+
liquidities: bigint[];
|
|
3155
|
+
currentTick: number;
|
|
3156
|
+
payout: bigint;
|
|
3157
|
+
timestamp: Date;
|
|
3158
|
+
blockNumber: bigint;
|
|
3159
|
+
transactionHash: string;
|
|
3160
|
+
};
|
|
3161
|
+
} | {
|
|
3162
|
+
type: "extend";
|
|
3163
|
+
data: {
|
|
3164
|
+
id: string;
|
|
3165
|
+
premium: bigint;
|
|
3166
|
+
protocolFee: bigint;
|
|
3167
|
+
currentTick: number;
|
|
3168
|
+
addedDuration: bigint;
|
|
3169
|
+
timestamp: Date;
|
|
3170
|
+
blockNumber: bigint;
|
|
3171
|
+
transactionHash: string;
|
|
3172
|
+
};
|
|
3173
|
+
})[], Error>>;
|
|
3174
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3175
|
+
promise: Promise<({
|
|
3176
|
+
type: "mint";
|
|
3177
|
+
data: {
|
|
3178
|
+
id: string;
|
|
3179
|
+
optionType: 0 | 1;
|
|
3180
|
+
strikeTick: number;
|
|
3181
|
+
currentTick: number;
|
|
3182
|
+
expiresAt: Date;
|
|
3183
|
+
premium: bigint;
|
|
3184
|
+
protocolFee: bigint;
|
|
3185
|
+
liquidities: bigint[];
|
|
3186
|
+
timestamp: Date;
|
|
3187
|
+
blockNumber: bigint;
|
|
3188
|
+
transactionHash: string;
|
|
3189
|
+
};
|
|
3190
|
+
} | {
|
|
3191
|
+
type: "exercise";
|
|
3192
|
+
data: {
|
|
3193
|
+
id: string;
|
|
3194
|
+
liquidities: bigint[];
|
|
3195
|
+
currentTick: number;
|
|
3196
|
+
payout: bigint;
|
|
3197
|
+
timestamp: Date;
|
|
3198
|
+
blockNumber: bigint;
|
|
3199
|
+
transactionHash: string;
|
|
3200
|
+
};
|
|
3201
|
+
} | {
|
|
3202
|
+
type: "extend";
|
|
3203
|
+
data: {
|
|
3204
|
+
id: string;
|
|
3205
|
+
premium: bigint;
|
|
3206
|
+
protocolFee: bigint;
|
|
3207
|
+
currentTick: number;
|
|
3208
|
+
addedDuration: bigint;
|
|
3209
|
+
timestamp: Date;
|
|
3210
|
+
blockNumber: bigint;
|
|
3211
|
+
transactionHash: string;
|
|
3212
|
+
};
|
|
3213
|
+
})[]>;
|
|
3214
|
+
data: ({
|
|
3215
|
+
type: "mint";
|
|
3216
|
+
data: {
|
|
3217
|
+
id: string;
|
|
3218
|
+
optionType: 0 | 1;
|
|
3219
|
+
strikeTick: number;
|
|
3220
|
+
currentTick: number;
|
|
3221
|
+
expiresAt: Date;
|
|
3222
|
+
premium: bigint;
|
|
3223
|
+
protocolFee: bigint;
|
|
3224
|
+
liquidities: bigint[];
|
|
3225
|
+
timestamp: Date;
|
|
3226
|
+
blockNumber: bigint;
|
|
3227
|
+
transactionHash: string;
|
|
3228
|
+
};
|
|
3229
|
+
} | {
|
|
3230
|
+
type: "exercise";
|
|
3231
|
+
data: {
|
|
3232
|
+
id: string;
|
|
3233
|
+
liquidities: bigint[];
|
|
3234
|
+
currentTick: number;
|
|
3235
|
+
payout: bigint;
|
|
3236
|
+
timestamp: Date;
|
|
3237
|
+
blockNumber: bigint;
|
|
3238
|
+
transactionHash: string;
|
|
3239
|
+
};
|
|
3240
|
+
} | {
|
|
3241
|
+
type: "extend";
|
|
3242
|
+
data: {
|
|
3243
|
+
id: string;
|
|
3244
|
+
premium: bigint;
|
|
3245
|
+
protocolFee: bigint;
|
|
3246
|
+
currentTick: number;
|
|
3247
|
+
addedDuration: bigint;
|
|
3248
|
+
timestamp: Date;
|
|
3249
|
+
blockNumber: bigint;
|
|
3250
|
+
transactionHash: string;
|
|
3251
|
+
};
|
|
3252
|
+
})[];
|
|
3253
|
+
} | {
|
|
3254
|
+
error: null;
|
|
3255
|
+
isError: false;
|
|
3256
|
+
isPending: true;
|
|
3257
|
+
isLoading: true;
|
|
3258
|
+
isLoadingError: false;
|
|
3259
|
+
isRefetchError: false;
|
|
3260
|
+
isSuccess: false;
|
|
3261
|
+
isPlaceholderData: false;
|
|
3262
|
+
status: "pending";
|
|
3263
|
+
dataUpdatedAt: number;
|
|
3264
|
+
errorUpdatedAt: number;
|
|
3265
|
+
failureCount: number;
|
|
3266
|
+
failureReason: Error | null;
|
|
3267
|
+
errorUpdateCount: number;
|
|
3268
|
+
isFetched: boolean;
|
|
3269
|
+
isFetchedAfterMount: boolean;
|
|
3270
|
+
isFetching: boolean;
|
|
3271
|
+
isInitialLoading: boolean;
|
|
3272
|
+
isPaused: boolean;
|
|
3273
|
+
isRefetching: boolean;
|
|
3274
|
+
isStale: boolean;
|
|
3275
|
+
isEnabled: boolean;
|
|
3276
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
3277
|
+
type: "mint";
|
|
3278
|
+
data: {
|
|
3279
|
+
id: string;
|
|
3280
|
+
optionType: 0 | 1;
|
|
3281
|
+
strikeTick: number;
|
|
3282
|
+
currentTick: number;
|
|
3283
|
+
expiresAt: Date;
|
|
3284
|
+
premium: bigint;
|
|
3285
|
+
protocolFee: bigint;
|
|
3286
|
+
liquidities: bigint[];
|
|
3287
|
+
timestamp: Date;
|
|
3288
|
+
blockNumber: bigint;
|
|
3289
|
+
transactionHash: string;
|
|
3290
|
+
};
|
|
3291
|
+
} | {
|
|
3292
|
+
type: "exercise";
|
|
3293
|
+
data: {
|
|
3294
|
+
id: string;
|
|
3295
|
+
liquidities: bigint[];
|
|
3296
|
+
currentTick: number;
|
|
3297
|
+
payout: bigint;
|
|
3298
|
+
timestamp: Date;
|
|
3299
|
+
blockNumber: bigint;
|
|
3300
|
+
transactionHash: string;
|
|
3301
|
+
};
|
|
3302
|
+
} | {
|
|
3303
|
+
type: "extend";
|
|
3304
|
+
data: {
|
|
3305
|
+
id: string;
|
|
3306
|
+
premium: bigint;
|
|
3307
|
+
protocolFee: bigint;
|
|
3308
|
+
currentTick: number;
|
|
3309
|
+
addedDuration: bigint;
|
|
3310
|
+
timestamp: Date;
|
|
3311
|
+
blockNumber: bigint;
|
|
3312
|
+
transactionHash: string;
|
|
3313
|
+
};
|
|
3314
|
+
})[], Error>>;
|
|
3315
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3316
|
+
promise: Promise<({
|
|
3317
|
+
type: "mint";
|
|
3318
|
+
data: {
|
|
3319
|
+
id: string;
|
|
3320
|
+
optionType: 0 | 1;
|
|
3321
|
+
strikeTick: number;
|
|
3322
|
+
currentTick: number;
|
|
3323
|
+
expiresAt: Date;
|
|
3324
|
+
premium: bigint;
|
|
3325
|
+
protocolFee: bigint;
|
|
3326
|
+
liquidities: bigint[];
|
|
3327
|
+
timestamp: Date;
|
|
3328
|
+
blockNumber: bigint;
|
|
3329
|
+
transactionHash: string;
|
|
3330
|
+
};
|
|
3331
|
+
} | {
|
|
3332
|
+
type: "exercise";
|
|
3333
|
+
data: {
|
|
3334
|
+
id: string;
|
|
3335
|
+
liquidities: bigint[];
|
|
3336
|
+
currentTick: number;
|
|
3337
|
+
payout: bigint;
|
|
3338
|
+
timestamp: Date;
|
|
3339
|
+
blockNumber: bigint;
|
|
3340
|
+
transactionHash: string;
|
|
3341
|
+
};
|
|
3342
|
+
} | {
|
|
3343
|
+
type: "extend";
|
|
3344
|
+
data: {
|
|
3345
|
+
id: string;
|
|
3346
|
+
premium: bigint;
|
|
3347
|
+
protocolFee: bigint;
|
|
3348
|
+
currentTick: number;
|
|
3349
|
+
addedDuration: bigint;
|
|
3350
|
+
timestamp: Date;
|
|
3351
|
+
blockNumber: bigint;
|
|
3352
|
+
transactionHash: string;
|
|
3353
|
+
};
|
|
3354
|
+
})[]>;
|
|
3355
|
+
data: ({
|
|
3356
|
+
type: "mint";
|
|
3357
|
+
data: {
|
|
3358
|
+
id: string;
|
|
3359
|
+
optionType: 0 | 1;
|
|
3360
|
+
strikeTick: number;
|
|
3361
|
+
currentTick: number;
|
|
3362
|
+
expiresAt: Date;
|
|
3363
|
+
premium: bigint;
|
|
3364
|
+
protocolFee: bigint;
|
|
3365
|
+
liquidities: bigint[];
|
|
3366
|
+
timestamp: Date;
|
|
3367
|
+
blockNumber: bigint;
|
|
3368
|
+
transactionHash: string;
|
|
3369
|
+
};
|
|
3370
|
+
} | {
|
|
3371
|
+
type: "exercise";
|
|
3372
|
+
data: {
|
|
3373
|
+
id: string;
|
|
3374
|
+
liquidities: bigint[];
|
|
3375
|
+
currentTick: number;
|
|
3376
|
+
payout: bigint;
|
|
3377
|
+
timestamp: Date;
|
|
3378
|
+
blockNumber: bigint;
|
|
3379
|
+
transactionHash: string;
|
|
3380
|
+
};
|
|
3381
|
+
} | {
|
|
3382
|
+
type: "extend";
|
|
3383
|
+
data: {
|
|
3384
|
+
id: string;
|
|
3385
|
+
premium: bigint;
|
|
3386
|
+
protocolFee: bigint;
|
|
3387
|
+
currentTick: number;
|
|
3388
|
+
addedDuration: bigint;
|
|
3389
|
+
timestamp: Date;
|
|
3390
|
+
blockNumber: bigint;
|
|
3391
|
+
transactionHash: string;
|
|
3392
|
+
};
|
|
3393
|
+
})[];
|
|
3394
|
+
} | {
|
|
3395
|
+
error: null;
|
|
3396
|
+
isError: false;
|
|
3397
|
+
isPending: true;
|
|
3398
|
+
isLoadingError: false;
|
|
3399
|
+
isRefetchError: false;
|
|
3400
|
+
isSuccess: false;
|
|
3401
|
+
isPlaceholderData: false;
|
|
3402
|
+
status: "pending";
|
|
3403
|
+
dataUpdatedAt: number;
|
|
3404
|
+
errorUpdatedAt: number;
|
|
3405
|
+
failureCount: number;
|
|
3406
|
+
failureReason: Error | null;
|
|
3407
|
+
errorUpdateCount: number;
|
|
3408
|
+
isFetched: boolean;
|
|
3409
|
+
isFetchedAfterMount: boolean;
|
|
3410
|
+
isFetching: boolean;
|
|
3411
|
+
isLoading: boolean;
|
|
3412
|
+
isInitialLoading: boolean;
|
|
3413
|
+
isPaused: boolean;
|
|
3414
|
+
isRefetching: boolean;
|
|
3415
|
+
isStale: boolean;
|
|
3416
|
+
isEnabled: boolean;
|
|
3417
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
3418
|
+
type: "mint";
|
|
3419
|
+
data: {
|
|
3420
|
+
id: string;
|
|
3421
|
+
optionType: 0 | 1;
|
|
3422
|
+
strikeTick: number;
|
|
3423
|
+
currentTick: number;
|
|
3424
|
+
expiresAt: Date;
|
|
3425
|
+
premium: bigint;
|
|
3426
|
+
protocolFee: bigint;
|
|
3427
|
+
liquidities: bigint[];
|
|
3428
|
+
timestamp: Date;
|
|
3429
|
+
blockNumber: bigint;
|
|
3430
|
+
transactionHash: string;
|
|
3431
|
+
};
|
|
3432
|
+
} | {
|
|
3433
|
+
type: "exercise";
|
|
3434
|
+
data: {
|
|
3435
|
+
id: string;
|
|
3436
|
+
liquidities: bigint[];
|
|
3437
|
+
currentTick: number;
|
|
3438
|
+
payout: bigint;
|
|
3439
|
+
timestamp: Date;
|
|
3440
|
+
blockNumber: bigint;
|
|
3441
|
+
transactionHash: string;
|
|
3442
|
+
};
|
|
3443
|
+
} | {
|
|
3444
|
+
type: "extend";
|
|
3445
|
+
data: {
|
|
3446
|
+
id: string;
|
|
3447
|
+
premium: bigint;
|
|
3448
|
+
protocolFee: bigint;
|
|
3449
|
+
currentTick: number;
|
|
3450
|
+
addedDuration: bigint;
|
|
3451
|
+
timestamp: Date;
|
|
3452
|
+
blockNumber: bigint;
|
|
3453
|
+
transactionHash: string;
|
|
3454
|
+
};
|
|
3455
|
+
})[], Error>>;
|
|
3456
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3457
|
+
promise: Promise<({
|
|
3458
|
+
type: "mint";
|
|
3459
|
+
data: {
|
|
3460
|
+
id: string;
|
|
3461
|
+
optionType: 0 | 1;
|
|
3462
|
+
strikeTick: number;
|
|
3463
|
+
currentTick: number;
|
|
3464
|
+
expiresAt: Date;
|
|
3465
|
+
premium: bigint;
|
|
3466
|
+
protocolFee: bigint;
|
|
3467
|
+
liquidities: bigint[];
|
|
3468
|
+
timestamp: Date;
|
|
3469
|
+
blockNumber: bigint;
|
|
3470
|
+
transactionHash: string;
|
|
3471
|
+
};
|
|
3472
|
+
} | {
|
|
3473
|
+
type: "exercise";
|
|
3474
|
+
data: {
|
|
3475
|
+
id: string;
|
|
3476
|
+
liquidities: bigint[];
|
|
3477
|
+
currentTick: number;
|
|
3478
|
+
payout: bigint;
|
|
3479
|
+
timestamp: Date;
|
|
3480
|
+
blockNumber: bigint;
|
|
3481
|
+
transactionHash: string;
|
|
3482
|
+
};
|
|
3483
|
+
} | {
|
|
3484
|
+
type: "extend";
|
|
3485
|
+
data: {
|
|
3486
|
+
id: string;
|
|
3487
|
+
premium: bigint;
|
|
3488
|
+
protocolFee: bigint;
|
|
3489
|
+
currentTick: number;
|
|
3490
|
+
addedDuration: bigint;
|
|
3491
|
+
timestamp: Date;
|
|
3492
|
+
blockNumber: bigint;
|
|
3493
|
+
transactionHash: string;
|
|
3494
|
+
};
|
|
3495
|
+
})[]>;
|
|
3496
|
+
data: ({
|
|
3497
|
+
type: "mint";
|
|
3498
|
+
data: {
|
|
3499
|
+
id: string;
|
|
3500
|
+
optionType: 0 | 1;
|
|
3501
|
+
strikeTick: number;
|
|
3502
|
+
currentTick: number;
|
|
3503
|
+
expiresAt: Date;
|
|
3504
|
+
premium: bigint;
|
|
3505
|
+
protocolFee: bigint;
|
|
3506
|
+
liquidities: bigint[];
|
|
3507
|
+
timestamp: Date;
|
|
3508
|
+
blockNumber: bigint;
|
|
3509
|
+
transactionHash: string;
|
|
3510
|
+
};
|
|
3511
|
+
} | {
|
|
3512
|
+
type: "exercise";
|
|
3513
|
+
data: {
|
|
3514
|
+
id: string;
|
|
3515
|
+
liquidities: bigint[];
|
|
3516
|
+
currentTick: number;
|
|
3517
|
+
payout: bigint;
|
|
3518
|
+
timestamp: Date;
|
|
3519
|
+
blockNumber: bigint;
|
|
3520
|
+
transactionHash: string;
|
|
3521
|
+
};
|
|
3522
|
+
} | {
|
|
3523
|
+
type: "extend";
|
|
3524
|
+
data: {
|
|
3525
|
+
id: string;
|
|
3526
|
+
premium: bigint;
|
|
3527
|
+
protocolFee: bigint;
|
|
3528
|
+
currentTick: number;
|
|
3529
|
+
addedDuration: bigint;
|
|
3530
|
+
timestamp: Date;
|
|
3531
|
+
blockNumber: bigint;
|
|
3532
|
+
transactionHash: string;
|
|
3533
|
+
};
|
|
3534
|
+
})[];
|
|
3535
|
+
} | {
|
|
3536
|
+
isError: false;
|
|
3537
|
+
error: null;
|
|
3538
|
+
isPending: false;
|
|
3539
|
+
isLoading: false;
|
|
3540
|
+
isLoadingError: false;
|
|
3541
|
+
isRefetchError: false;
|
|
3542
|
+
isSuccess: true;
|
|
3543
|
+
isPlaceholderData: true;
|
|
3544
|
+
status: "success";
|
|
3545
|
+
dataUpdatedAt: number;
|
|
3546
|
+
errorUpdatedAt: number;
|
|
3547
|
+
failureCount: number;
|
|
3548
|
+
failureReason: Error | null;
|
|
3549
|
+
errorUpdateCount: number;
|
|
3550
|
+
isFetched: boolean;
|
|
3551
|
+
isFetchedAfterMount: boolean;
|
|
3552
|
+
isFetching: boolean;
|
|
3553
|
+
isInitialLoading: boolean;
|
|
3554
|
+
isPaused: boolean;
|
|
3555
|
+
isRefetching: boolean;
|
|
3556
|
+
isStale: boolean;
|
|
3557
|
+
isEnabled: boolean;
|
|
3558
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<({
|
|
3559
|
+
type: "mint";
|
|
3560
|
+
data: {
|
|
3561
|
+
id: string;
|
|
3562
|
+
optionType: 0 | 1;
|
|
3563
|
+
strikeTick: number;
|
|
3564
|
+
currentTick: number;
|
|
3565
|
+
expiresAt: Date;
|
|
3566
|
+
premium: bigint;
|
|
3567
|
+
protocolFee: bigint;
|
|
3568
|
+
liquidities: bigint[];
|
|
3569
|
+
timestamp: Date;
|
|
3570
|
+
blockNumber: bigint;
|
|
3571
|
+
transactionHash: string;
|
|
3572
|
+
};
|
|
3573
|
+
} | {
|
|
3574
|
+
type: "exercise";
|
|
3575
|
+
data: {
|
|
3576
|
+
id: string;
|
|
3577
|
+
liquidities: bigint[];
|
|
3578
|
+
currentTick: number;
|
|
3579
|
+
payout: bigint;
|
|
3580
|
+
timestamp: Date;
|
|
3581
|
+
blockNumber: bigint;
|
|
3582
|
+
transactionHash: string;
|
|
3583
|
+
};
|
|
3584
|
+
} | {
|
|
3585
|
+
type: "extend";
|
|
3586
|
+
data: {
|
|
3587
|
+
id: string;
|
|
3588
|
+
premium: bigint;
|
|
3589
|
+
protocolFee: bigint;
|
|
3590
|
+
currentTick: number;
|
|
3591
|
+
addedDuration: bigint;
|
|
3592
|
+
timestamp: Date;
|
|
3593
|
+
blockNumber: bigint;
|
|
3594
|
+
transactionHash: string;
|
|
3595
|
+
};
|
|
3596
|
+
})[], Error>>;
|
|
3597
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3598
|
+
promise: Promise<({
|
|
3599
|
+
type: "mint";
|
|
3600
|
+
data: {
|
|
3601
|
+
id: string;
|
|
3602
|
+
optionType: 0 | 1;
|
|
3603
|
+
strikeTick: number;
|
|
3604
|
+
currentTick: number;
|
|
3605
|
+
expiresAt: Date;
|
|
3606
|
+
premium: bigint;
|
|
3607
|
+
protocolFee: bigint;
|
|
3608
|
+
liquidities: bigint[];
|
|
3609
|
+
timestamp: Date;
|
|
3610
|
+
blockNumber: bigint;
|
|
3611
|
+
transactionHash: string;
|
|
3612
|
+
};
|
|
3613
|
+
} | {
|
|
3614
|
+
type: "exercise";
|
|
3615
|
+
data: {
|
|
3616
|
+
id: string;
|
|
3617
|
+
liquidities: bigint[];
|
|
3618
|
+
currentTick: number;
|
|
3619
|
+
payout: bigint;
|
|
3620
|
+
timestamp: Date;
|
|
3621
|
+
blockNumber: bigint;
|
|
3622
|
+
transactionHash: string;
|
|
3623
|
+
};
|
|
3624
|
+
} | {
|
|
3625
|
+
type: "extend";
|
|
3626
|
+
data: {
|
|
3627
|
+
id: string;
|
|
3628
|
+
premium: bigint;
|
|
3629
|
+
protocolFee: bigint;
|
|
3630
|
+
currentTick: number;
|
|
3631
|
+
addedDuration: bigint;
|
|
3632
|
+
timestamp: Date;
|
|
3633
|
+
blockNumber: bigint;
|
|
3634
|
+
transactionHash: string;
|
|
3635
|
+
};
|
|
3636
|
+
})[]>;
|
|
3637
|
+
data: ({
|
|
3638
|
+
type: "mint";
|
|
3639
|
+
data: {
|
|
3640
|
+
id: string;
|
|
3641
|
+
optionType: 0 | 1;
|
|
3642
|
+
strikeTick: number;
|
|
3643
|
+
currentTick: number;
|
|
3644
|
+
expiresAt: Date;
|
|
3645
|
+
premium: bigint;
|
|
3646
|
+
protocolFee: bigint;
|
|
3647
|
+
liquidities: bigint[];
|
|
3648
|
+
timestamp: Date;
|
|
3649
|
+
blockNumber: bigint;
|
|
3650
|
+
transactionHash: string;
|
|
3651
|
+
};
|
|
3652
|
+
} | {
|
|
3653
|
+
type: "exercise";
|
|
3654
|
+
data: {
|
|
3655
|
+
id: string;
|
|
3656
|
+
liquidities: bigint[];
|
|
3657
|
+
currentTick: number;
|
|
3658
|
+
payout: bigint;
|
|
3659
|
+
timestamp: Date;
|
|
3660
|
+
blockNumber: bigint;
|
|
3661
|
+
transactionHash: string;
|
|
3662
|
+
};
|
|
3663
|
+
} | {
|
|
3664
|
+
type: "extend";
|
|
3665
|
+
data: {
|
|
3666
|
+
id: string;
|
|
3667
|
+
premium: bigint;
|
|
3668
|
+
protocolFee: bigint;
|
|
3669
|
+
currentTick: number;
|
|
3670
|
+
addedDuration: bigint;
|
|
3671
|
+
timestamp: Date;
|
|
3672
|
+
blockNumber: bigint;
|
|
3673
|
+
transactionHash: string;
|
|
3674
|
+
};
|
|
3675
|
+
})[];
|
|
3676
|
+
};
|
|
3677
|
+
//#endregion
|
|
2828
3678
|
//#region src/hooks/pool/useCurrentPrice.d.ts
|
|
2829
3679
|
declare const useCurrentPrice: (poolAddr?: Address) => {
|
|
2830
3680
|
currentPrice: Amount | undefined;
|
|
@@ -2867,7 +3717,7 @@ interface PriceDataPoint {
|
|
|
2867
3717
|
type PriceResolution = '1m' | '5m' | '15m' | '1h' | '4h' | '1d';
|
|
2868
3718
|
//#endregion
|
|
2869
3719
|
//#region src/hooks/pool/usePriceHistory.d.ts
|
|
2870
|
-
declare const usePriceHistory: (pool: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) =>
|
|
3720
|
+
declare const usePriceHistory: (pool: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query0.UseQueryResult<PriceDataPoint[], Error>;
|
|
2871
3721
|
//#endregion
|
|
2872
3722
|
//#region src/hooks/vault/useBurnLiquidity.d.ts
|
|
2873
3723
|
interface BurnPosition {
|
|
@@ -2882,14 +3732,14 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
2882
3732
|
isPending: boolean;
|
|
2883
3733
|
isConfirming: boolean;
|
|
2884
3734
|
isSuccess: boolean;
|
|
2885
|
-
error:
|
|
3735
|
+
error: _wagmi_core0.WriteContractErrorType | null;
|
|
2886
3736
|
isLoading: boolean;
|
|
2887
3737
|
};
|
|
2888
3738
|
//#endregion
|
|
2889
3739
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
2890
3740
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
2891
3741
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
2892
|
-
error:
|
|
3742
|
+
error: viem367.ReadContractErrorType;
|
|
2893
3743
|
isError: true;
|
|
2894
3744
|
isPending: false;
|
|
2895
3745
|
isLoading: false;
|
|
@@ -2901,7 +3751,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2901
3751
|
dataUpdatedAt: number;
|
|
2902
3752
|
errorUpdatedAt: number;
|
|
2903
3753
|
failureCount: number;
|
|
2904
|
-
failureReason:
|
|
3754
|
+
failureReason: viem367.ReadContractErrorType | null;
|
|
2905
3755
|
errorUpdateCount: number;
|
|
2906
3756
|
isFetched: boolean;
|
|
2907
3757
|
isFetchedAfterMount: boolean;
|
|
@@ -2911,7 +3761,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2911
3761
|
isRefetching: boolean;
|
|
2912
3762
|
isStale: boolean;
|
|
2913
3763
|
isEnabled: boolean;
|
|
2914
|
-
refetch: (options?:
|
|
3764
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
2915
3765
|
tickLower: number;
|
|
2916
3766
|
tickUpper: number;
|
|
2917
3767
|
prevTickLower: number;
|
|
@@ -2921,8 +3771,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2921
3771
|
totalAmount1: bigint;
|
|
2922
3772
|
borrowedAmount0: bigint;
|
|
2923
3773
|
borrowedAmount1: bigint;
|
|
2924
|
-
}[],
|
|
2925
|
-
fetchStatus:
|
|
3774
|
+
}[], viem367.ReadContractErrorType>>;
|
|
3775
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2926
3776
|
promise: Promise<readonly {
|
|
2927
3777
|
tickLower: number;
|
|
2928
3778
|
tickUpper: number;
|
|
@@ -2934,7 +3784,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2934
3784
|
borrowedAmount0: bigint;
|
|
2935
3785
|
borrowedAmount1: bigint;
|
|
2936
3786
|
}[]>;
|
|
2937
|
-
queryKey:
|
|
3787
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
2938
3788
|
data: readonly {
|
|
2939
3789
|
tickLower: number;
|
|
2940
3790
|
tickUpper: number;
|
|
@@ -2959,7 +3809,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2959
3809
|
dataUpdatedAt: number;
|
|
2960
3810
|
errorUpdatedAt: number;
|
|
2961
3811
|
failureCount: number;
|
|
2962
|
-
failureReason:
|
|
3812
|
+
failureReason: viem367.ReadContractErrorType | null;
|
|
2963
3813
|
errorUpdateCount: number;
|
|
2964
3814
|
isFetched: boolean;
|
|
2965
3815
|
isFetchedAfterMount: boolean;
|
|
@@ -2969,7 +3819,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2969
3819
|
isRefetching: boolean;
|
|
2970
3820
|
isStale: boolean;
|
|
2971
3821
|
isEnabled: boolean;
|
|
2972
|
-
refetch: (options?:
|
|
3822
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
2973
3823
|
tickLower: number;
|
|
2974
3824
|
tickUpper: number;
|
|
2975
3825
|
prevTickLower: number;
|
|
@@ -2979,8 +3829,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2979
3829
|
totalAmount1: bigint;
|
|
2980
3830
|
borrowedAmount0: bigint;
|
|
2981
3831
|
borrowedAmount1: bigint;
|
|
2982
|
-
}[],
|
|
2983
|
-
fetchStatus:
|
|
3832
|
+
}[], viem367.ReadContractErrorType>>;
|
|
3833
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
2984
3834
|
promise: Promise<readonly {
|
|
2985
3835
|
tickLower: number;
|
|
2986
3836
|
tickUpper: number;
|
|
@@ -2992,7 +3842,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2992
3842
|
borrowedAmount0: bigint;
|
|
2993
3843
|
borrowedAmount1: bigint;
|
|
2994
3844
|
}[]>;
|
|
2995
|
-
queryKey:
|
|
3845
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
2996
3846
|
data: readonly {
|
|
2997
3847
|
tickLower: number;
|
|
2998
3848
|
tickUpper: number;
|
|
@@ -3005,7 +3855,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3005
3855
|
borrowedAmount1: bigint;
|
|
3006
3856
|
}[];
|
|
3007
3857
|
} | {
|
|
3008
|
-
error:
|
|
3858
|
+
error: viem367.ReadContractErrorType;
|
|
3009
3859
|
isError: true;
|
|
3010
3860
|
isPending: false;
|
|
3011
3861
|
isLoading: false;
|
|
@@ -3017,7 +3867,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3017
3867
|
dataUpdatedAt: number;
|
|
3018
3868
|
errorUpdatedAt: number;
|
|
3019
3869
|
failureCount: number;
|
|
3020
|
-
failureReason:
|
|
3870
|
+
failureReason: viem367.ReadContractErrorType | null;
|
|
3021
3871
|
errorUpdateCount: number;
|
|
3022
3872
|
isFetched: boolean;
|
|
3023
3873
|
isFetchedAfterMount: boolean;
|
|
@@ -3027,7 +3877,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3027
3877
|
isRefetching: boolean;
|
|
3028
3878
|
isStale: boolean;
|
|
3029
3879
|
isEnabled: boolean;
|
|
3030
|
-
refetch: (options?:
|
|
3880
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
3031
3881
|
tickLower: number;
|
|
3032
3882
|
tickUpper: number;
|
|
3033
3883
|
prevTickLower: number;
|
|
@@ -3037,8 +3887,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3037
3887
|
totalAmount1: bigint;
|
|
3038
3888
|
borrowedAmount0: bigint;
|
|
3039
3889
|
borrowedAmount1: bigint;
|
|
3040
|
-
}[],
|
|
3041
|
-
fetchStatus:
|
|
3890
|
+
}[], viem367.ReadContractErrorType>>;
|
|
3891
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3042
3892
|
promise: Promise<readonly {
|
|
3043
3893
|
tickLower: number;
|
|
3044
3894
|
tickUpper: number;
|
|
@@ -3050,7 +3900,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3050
3900
|
borrowedAmount0: bigint;
|
|
3051
3901
|
borrowedAmount1: bigint;
|
|
3052
3902
|
}[]>;
|
|
3053
|
-
queryKey:
|
|
3903
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
3054
3904
|
data: readonly {
|
|
3055
3905
|
tickLower: number;
|
|
3056
3906
|
tickUpper: number;
|
|
@@ -3075,7 +3925,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3075
3925
|
dataUpdatedAt: number;
|
|
3076
3926
|
errorUpdatedAt: number;
|
|
3077
3927
|
failureCount: number;
|
|
3078
|
-
failureReason:
|
|
3928
|
+
failureReason: viem367.ReadContractErrorType | null;
|
|
3079
3929
|
errorUpdateCount: number;
|
|
3080
3930
|
isFetched: boolean;
|
|
3081
3931
|
isFetchedAfterMount: boolean;
|
|
@@ -3085,7 +3935,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3085
3935
|
isRefetching: boolean;
|
|
3086
3936
|
isStale: boolean;
|
|
3087
3937
|
isEnabled: boolean;
|
|
3088
|
-
refetch: (options?:
|
|
3938
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
3089
3939
|
tickLower: number;
|
|
3090
3940
|
tickUpper: number;
|
|
3091
3941
|
prevTickLower: number;
|
|
@@ -3095,8 +3945,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3095
3945
|
totalAmount1: bigint;
|
|
3096
3946
|
borrowedAmount0: bigint;
|
|
3097
3947
|
borrowedAmount1: bigint;
|
|
3098
|
-
}[],
|
|
3099
|
-
fetchStatus:
|
|
3948
|
+
}[], viem367.ReadContractErrorType>>;
|
|
3949
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3100
3950
|
promise: Promise<readonly {
|
|
3101
3951
|
tickLower: number;
|
|
3102
3952
|
tickUpper: number;
|
|
@@ -3108,7 +3958,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3108
3958
|
borrowedAmount0: bigint;
|
|
3109
3959
|
borrowedAmount1: bigint;
|
|
3110
3960
|
}[]>;
|
|
3111
|
-
queryKey:
|
|
3961
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
3112
3962
|
data: readonly {
|
|
3113
3963
|
tickLower: number;
|
|
3114
3964
|
tickUpper: number;
|
|
@@ -3132,7 +3982,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3132
3982
|
dataUpdatedAt: number;
|
|
3133
3983
|
errorUpdatedAt: number;
|
|
3134
3984
|
failureCount: number;
|
|
3135
|
-
failureReason:
|
|
3985
|
+
failureReason: viem367.ReadContractErrorType | null;
|
|
3136
3986
|
errorUpdateCount: number;
|
|
3137
3987
|
isFetched: boolean;
|
|
3138
3988
|
isFetchedAfterMount: boolean;
|
|
@@ -3143,7 +3993,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3143
3993
|
isRefetching: boolean;
|
|
3144
3994
|
isStale: boolean;
|
|
3145
3995
|
isEnabled: boolean;
|
|
3146
|
-
refetch: (options?:
|
|
3996
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
3147
3997
|
tickLower: number;
|
|
3148
3998
|
tickUpper: number;
|
|
3149
3999
|
prevTickLower: number;
|
|
@@ -3153,8 +4003,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3153
4003
|
totalAmount1: bigint;
|
|
3154
4004
|
borrowedAmount0: bigint;
|
|
3155
4005
|
borrowedAmount1: bigint;
|
|
3156
|
-
}[],
|
|
3157
|
-
fetchStatus:
|
|
4006
|
+
}[], viem367.ReadContractErrorType>>;
|
|
4007
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3158
4008
|
promise: Promise<readonly {
|
|
3159
4009
|
tickLower: number;
|
|
3160
4010
|
tickUpper: number;
|
|
@@ -3166,7 +4016,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3166
4016
|
borrowedAmount0: bigint;
|
|
3167
4017
|
borrowedAmount1: bigint;
|
|
3168
4018
|
}[]>;
|
|
3169
|
-
queryKey:
|
|
4019
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
3170
4020
|
data: readonly {
|
|
3171
4021
|
tickLower: number;
|
|
3172
4022
|
tickUpper: number;
|
|
@@ -3191,7 +4041,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3191
4041
|
dataUpdatedAt: number;
|
|
3192
4042
|
errorUpdatedAt: number;
|
|
3193
4043
|
failureCount: number;
|
|
3194
|
-
failureReason:
|
|
4044
|
+
failureReason: viem367.ReadContractErrorType | null;
|
|
3195
4045
|
errorUpdateCount: number;
|
|
3196
4046
|
isFetched: boolean;
|
|
3197
4047
|
isFetchedAfterMount: boolean;
|
|
@@ -3201,7 +4051,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3201
4051
|
isRefetching: boolean;
|
|
3202
4052
|
isStale: boolean;
|
|
3203
4053
|
isEnabled: boolean;
|
|
3204
|
-
refetch: (options?:
|
|
4054
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly {
|
|
3205
4055
|
tickLower: number;
|
|
3206
4056
|
tickUpper: number;
|
|
3207
4057
|
prevTickLower: number;
|
|
@@ -3211,8 +4061,8 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3211
4061
|
totalAmount1: bigint;
|
|
3212
4062
|
borrowedAmount0: bigint;
|
|
3213
4063
|
borrowedAmount1: bigint;
|
|
3214
|
-
}[],
|
|
3215
|
-
fetchStatus:
|
|
4064
|
+
}[], viem367.ReadContractErrorType>>;
|
|
4065
|
+
fetchStatus: _tanstack_query_core17.FetchStatus;
|
|
3216
4066
|
promise: Promise<readonly {
|
|
3217
4067
|
tickLower: number;
|
|
3218
4068
|
tickUpper: number;
|
|
@@ -3224,7 +4074,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3224
4074
|
borrowedAmount0: bigint;
|
|
3225
4075
|
borrowedAmount1: bigint;
|
|
3226
4076
|
}[]>;
|
|
3227
|
-
queryKey:
|
|
4077
|
+
queryKey: _tanstack_query_core17.QueryKey;
|
|
3228
4078
|
data: readonly {
|
|
3229
4079
|
tickLower: number;
|
|
3230
4080
|
tickUpper: number;
|
|
@@ -3257,7 +4107,7 @@ declare const useMintLiquidity: (vaultAddr?: Address) => {
|
|
|
3257
4107
|
isPending: boolean;
|
|
3258
4108
|
isConfirming: boolean;
|
|
3259
4109
|
isSuccess: boolean;
|
|
3260
|
-
error:
|
|
4110
|
+
error: _wagmi_core0.WriteContractErrorType | null;
|
|
3261
4111
|
isLoading: boolean;
|
|
3262
4112
|
};
|
|
3263
4113
|
//#endregion
|
|
@@ -3284,14 +4134,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
3284
4134
|
borrowedAmount0: Amount;
|
|
3285
4135
|
borrowedAmount1: Amount;
|
|
3286
4136
|
blocksCount: bigint;
|
|
3287
|
-
refetch: (options?:
|
|
4137
|
+
refetch: (options?: _tanstack_query_core17.RefetchOptions) => Promise<_tanstack_query_core17.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem367.ReadContractErrorType>>;
|
|
3288
4138
|
};
|
|
3289
4139
|
//#endregion
|
|
3290
4140
|
//#region src/hooks/useLens.d.ts
|
|
3291
4141
|
declare const useLens: () => {
|
|
3292
4142
|
timelockLens: {
|
|
3293
4143
|
read: {
|
|
3294
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
4144
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
3295
4145
|
readonly type: "function";
|
|
3296
4146
|
readonly name: "batchGetRefTick";
|
|
3297
4147
|
readonly inputs: readonly [{
|
|
@@ -3965,7 +4815,7 @@ declare const useLens: () => {
|
|
|
3965
4815
|
}];
|
|
3966
4816
|
readonly stateMutability: "view";
|
|
3967
4817
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
3968
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
4818
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
3969
4819
|
readonly type: "function";
|
|
3970
4820
|
readonly name: "batchGetRefTick";
|
|
3971
4821
|
readonly inputs: readonly [{
|
|
@@ -4649,7 +5499,7 @@ declare const useLens: () => {
|
|
|
4649
5499
|
borrowedAmount0: bigint;
|
|
4650
5500
|
borrowedAmount1: bigint;
|
|
4651
5501
|
}[]>;
|
|
4652
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
5502
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
4653
5503
|
readonly type: "function";
|
|
4654
5504
|
readonly name: "batchGetRefTick";
|
|
4655
5505
|
readonly inputs: readonly [{
|
|
@@ -5340,7 +6190,7 @@ declare const useLens: () => {
|
|
|
5340
6190
|
expiresAt: number;
|
|
5341
6191
|
liquidities: readonly bigint[];
|
|
5342
6192
|
}[], bigint, boolean]>;
|
|
5343
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
6193
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
5344
6194
|
readonly type: "function";
|
|
5345
6195
|
readonly name: "batchGetRefTick";
|
|
5346
6196
|
readonly inputs: readonly [{
|
|
@@ -6014,7 +6864,7 @@ declare const useLens: () => {
|
|
|
6014
6864
|
}];
|
|
6015
6865
|
readonly stateMutability: "view";
|
|
6016
6866
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
6017
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
6867
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
6018
6868
|
readonly type: "function";
|
|
6019
6869
|
readonly name: "batchGetRefTick";
|
|
6020
6870
|
readonly inputs: readonly [{
|
|
@@ -6701,7 +7551,7 @@ declare const useLens: () => {
|
|
|
6701
7551
|
payoutAssetName: string;
|
|
6702
7552
|
optionsCount: bigint;
|
|
6703
7553
|
}>;
|
|
6704
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
7554
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
6705
7555
|
readonly type: "function";
|
|
6706
7556
|
readonly name: "batchGetRefTick";
|
|
6707
7557
|
readonly inputs: readonly [{
|
|
@@ -7375,7 +8225,7 @@ declare const useLens: () => {
|
|
|
7375
8225
|
}];
|
|
7376
8226
|
readonly stateMutability: "view";
|
|
7377
8227
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
7378
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
8228
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
7379
8229
|
readonly type: "function";
|
|
7380
8230
|
readonly name: "batchGetRefTick";
|
|
7381
8231
|
readonly inputs: readonly [{
|
|
@@ -8049,7 +8899,7 @@ declare const useLens: () => {
|
|
|
8049
8899
|
}];
|
|
8050
8900
|
readonly stateMutability: "view";
|
|
8051
8901
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
8052
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
8902
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
8053
8903
|
readonly type: "function";
|
|
8054
8904
|
readonly name: "batchGetRefTick";
|
|
8055
8905
|
readonly inputs: readonly [{
|
|
@@ -8740,7 +9590,7 @@ declare const useLens: () => {
|
|
|
8740
9590
|
expiresAt: number;
|
|
8741
9591
|
liquidities: readonly bigint[];
|
|
8742
9592
|
}>;
|
|
8743
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
9593
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
8744
9594
|
readonly type: "function";
|
|
8745
9595
|
readonly name: "batchGetRefTick";
|
|
8746
9596
|
readonly inputs: readonly [{
|
|
@@ -9431,7 +10281,7 @@ declare const useLens: () => {
|
|
|
9431
10281
|
expiresAt: number;
|
|
9432
10282
|
liquidities: readonly bigint[];
|
|
9433
10283
|
}[]>;
|
|
9434
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
10284
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
9435
10285
|
readonly type: "function";
|
|
9436
10286
|
readonly name: "batchGetRefTick";
|
|
9437
10287
|
readonly inputs: readonly [{
|
|
@@ -10116,7 +10966,7 @@ declare const useLens: () => {
|
|
|
10116
10966
|
tickSpacing: number;
|
|
10117
10967
|
fee: number;
|
|
10118
10968
|
}>;
|
|
10119
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
10969
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
10120
10970
|
readonly type: "function";
|
|
10121
10971
|
readonly name: "batchGetRefTick";
|
|
10122
10972
|
readonly inputs: readonly [{
|
|
@@ -10790,7 +11640,7 @@ declare const useLens: () => {
|
|
|
10790
11640
|
}];
|
|
10791
11641
|
readonly stateMutability: "view";
|
|
10792
11642
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
10793
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
11643
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
10794
11644
|
readonly type: "function";
|
|
10795
11645
|
readonly name: "batchGetRefTick";
|
|
10796
11646
|
readonly inputs: readonly [{
|
|
@@ -11481,7 +12331,7 @@ declare const useLens: () => {
|
|
|
11481
12331
|
expiresAt: number;
|
|
11482
12332
|
liquidities: readonly bigint[];
|
|
11483
12333
|
}[], bigint, boolean]>;
|
|
11484
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
12334
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
11485
12335
|
readonly type: "function";
|
|
11486
12336
|
readonly name: "batchGetRefTick";
|
|
11487
12337
|
readonly inputs: readonly [{
|
|
@@ -12834,7 +13684,7 @@ declare const useLens: () => {
|
|
|
12834
13684
|
} | undefined;
|
|
12835
13685
|
uniswapLens: {
|
|
12836
13686
|
read: {
|
|
12837
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
13687
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
12838
13688
|
readonly type: "function";
|
|
12839
13689
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12840
13690
|
readonly inputs: readonly [{
|
|
@@ -13455,7 +14305,7 @@ declare const useLens: () => {
|
|
|
13455
14305
|
}];
|
|
13456
14306
|
readonly stateMutability: "pure";
|
|
13457
14307
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13458
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
14308
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
13459
14309
|
readonly type: "function";
|
|
13460
14310
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13461
14311
|
readonly inputs: readonly [{
|
|
@@ -14076,7 +14926,7 @@ declare const useLens: () => {
|
|
|
14076
14926
|
}];
|
|
14077
14927
|
readonly stateMutability: "pure";
|
|
14078
14928
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14079
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
14929
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
14080
14930
|
readonly type: "function";
|
|
14081
14931
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14082
14932
|
readonly inputs: readonly [{
|
|
@@ -14697,7 +15547,7 @@ declare const useLens: () => {
|
|
|
14697
15547
|
}];
|
|
14698
15548
|
readonly stateMutability: "pure";
|
|
14699
15549
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14700
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
15550
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
14701
15551
|
readonly type: "function";
|
|
14702
15552
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14703
15553
|
readonly inputs: readonly [{
|
|
@@ -15318,7 +16168,7 @@ declare const useLens: () => {
|
|
|
15318
16168
|
}];
|
|
15319
16169
|
readonly stateMutability: "pure";
|
|
15320
16170
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
15321
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
16171
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
15322
16172
|
readonly type: "function";
|
|
15323
16173
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15324
16174
|
readonly inputs: readonly [{
|
|
@@ -15939,7 +16789,7 @@ declare const useLens: () => {
|
|
|
15939
16789
|
}];
|
|
15940
16790
|
readonly stateMutability: "pure";
|
|
15941
16791
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
15942
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
16792
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
15943
16793
|
readonly type: "function";
|
|
15944
16794
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15945
16795
|
readonly inputs: readonly [{
|
|
@@ -16560,7 +17410,7 @@ declare const useLens: () => {
|
|
|
16560
17410
|
}];
|
|
16561
17411
|
readonly stateMutability: "pure";
|
|
16562
17412
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16563
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
17413
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
16564
17414
|
readonly type: "function";
|
|
16565
17415
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16566
17416
|
readonly inputs: readonly [{
|
|
@@ -17181,7 +18031,7 @@ declare const useLens: () => {
|
|
|
17181
18031
|
}];
|
|
17182
18032
|
readonly stateMutability: "pure";
|
|
17183
18033
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17184
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
18034
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
17185
18035
|
readonly type: "function";
|
|
17186
18036
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17187
18037
|
readonly inputs: readonly [{
|
|
@@ -17802,7 +18652,7 @@ declare const useLens: () => {
|
|
|
17802
18652
|
}];
|
|
17803
18653
|
readonly stateMutability: "pure";
|
|
17804
18654
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17805
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
18655
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
17806
18656
|
readonly type: "function";
|
|
17807
18657
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17808
18658
|
readonly inputs: readonly [{
|
|
@@ -18423,7 +19273,7 @@ declare const useLens: () => {
|
|
|
18423
19273
|
}];
|
|
18424
19274
|
readonly stateMutability: "pure";
|
|
18425
19275
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18426
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
19276
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
18427
19277
|
readonly type: "function";
|
|
18428
19278
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18429
19279
|
readonly inputs: readonly [{
|
|
@@ -19044,7 +19894,7 @@ declare const useLens: () => {
|
|
|
19044
19894
|
}];
|
|
19045
19895
|
readonly stateMutability: "pure";
|
|
19046
19896
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19047
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
19897
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
19048
19898
|
readonly type: "function";
|
|
19049
19899
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19050
19900
|
readonly inputs: readonly [{
|
|
@@ -19665,7 +20515,7 @@ declare const useLens: () => {
|
|
|
19665
20515
|
}];
|
|
19666
20516
|
readonly stateMutability: "pure";
|
|
19667
20517
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19668
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
20518
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
19669
20519
|
readonly type: "function";
|
|
19670
20520
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19671
20521
|
readonly inputs: readonly [{
|
|
@@ -20286,7 +21136,7 @@ declare const useLens: () => {
|
|
|
20286
21136
|
}];
|
|
20287
21137
|
readonly stateMutability: "pure";
|
|
20288
21138
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20289
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
21139
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
20290
21140
|
readonly type: "function";
|
|
20291
21141
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20292
21142
|
readonly inputs: readonly [{
|
|
@@ -20907,7 +21757,7 @@ declare const useLens: () => {
|
|
|
20907
21757
|
}];
|
|
20908
21758
|
readonly stateMutability: "pure";
|
|
20909
21759
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20910
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
21760
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
20911
21761
|
readonly type: "function";
|
|
20912
21762
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20913
21763
|
readonly inputs: readonly [{
|
|
@@ -21528,7 +22378,7 @@ declare const useLens: () => {
|
|
|
21528
22378
|
}];
|
|
21529
22379
|
readonly stateMutability: "pure";
|
|
21530
22380
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21531
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
22381
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
21532
22382
|
readonly type: "function";
|
|
21533
22383
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21534
22384
|
readonly inputs: readonly [{
|
|
@@ -22149,7 +22999,7 @@ declare const useLens: () => {
|
|
|
22149
22999
|
}];
|
|
22150
23000
|
readonly stateMutability: "pure";
|
|
22151
23001
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22152
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
23002
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
22153
23003
|
readonly type: "function";
|
|
22154
23004
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22155
23005
|
readonly inputs: readonly [{
|
|
@@ -22770,7 +23620,7 @@ declare const useLens: () => {
|
|
|
22770
23620
|
}];
|
|
22771
23621
|
readonly stateMutability: "pure";
|
|
22772
23622
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22773
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
23623
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
22774
23624
|
readonly type: "function";
|
|
22775
23625
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22776
23626
|
readonly inputs: readonly [{
|
|
@@ -23391,7 +24241,7 @@ declare const useLens: () => {
|
|
|
23391
24241
|
}];
|
|
23392
24242
|
readonly stateMutability: "pure";
|
|
23393
24243
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23394
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
24244
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
23395
24245
|
readonly type: "function";
|
|
23396
24246
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23397
24247
|
readonly inputs: readonly [{
|
|
@@ -24012,7 +24862,7 @@ declare const useLens: () => {
|
|
|
24012
24862
|
}];
|
|
24013
24863
|
readonly stateMutability: "pure";
|
|
24014
24864
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
24015
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
24865
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
24016
24866
|
readonly type: "function";
|
|
24017
24867
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24018
24868
|
readonly inputs: readonly [{
|
|
@@ -24633,7 +25483,7 @@ declare const useLens: () => {
|
|
|
24633
25483
|
}];
|
|
24634
25484
|
readonly stateMutability: "pure";
|
|
24635
25485
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
24636
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
25486
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
24637
25487
|
readonly type: "function";
|
|
24638
25488
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24639
25489
|
readonly inputs: readonly [{
|
|
@@ -25254,7 +26104,7 @@ declare const useLens: () => {
|
|
|
25254
26104
|
}];
|
|
25255
26105
|
readonly stateMutability: "pure";
|
|
25256
26106
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25257
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
26107
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
25258
26108
|
readonly type: "function";
|
|
25259
26109
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25260
26110
|
readonly inputs: readonly [{
|
|
@@ -25875,7 +26725,7 @@ declare const useLens: () => {
|
|
|
25875
26725
|
}];
|
|
25876
26726
|
readonly stateMutability: "pure";
|
|
25877
26727
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25878
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
26728
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
25879
26729
|
readonly type: "function";
|
|
25880
26730
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25881
26731
|
readonly inputs: readonly [{
|
|
@@ -26496,7 +27346,7 @@ declare const useLens: () => {
|
|
|
26496
27346
|
}];
|
|
26497
27347
|
readonly stateMutability: "pure";
|
|
26498
27348
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26499
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
27349
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
26500
27350
|
readonly type: "function";
|
|
26501
27351
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26502
27352
|
readonly inputs: readonly [{
|
|
@@ -27117,7 +27967,7 @@ declare const useLens: () => {
|
|
|
27117
27967
|
}];
|
|
27118
27968
|
readonly stateMutability: "pure";
|
|
27119
27969
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27120
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
27970
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
27121
27971
|
readonly type: "function";
|
|
27122
27972
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27123
27973
|
readonly inputs: readonly [{
|
|
@@ -27738,7 +28588,7 @@ declare const useLens: () => {
|
|
|
27738
28588
|
}];
|
|
27739
28589
|
readonly stateMutability: "pure";
|
|
27740
28590
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27741
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
28591
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
27742
28592
|
readonly type: "function";
|
|
27743
28593
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27744
28594
|
readonly inputs: readonly [{
|
|
@@ -28359,7 +29209,7 @@ declare const useLens: () => {
|
|
|
28359
29209
|
}];
|
|
28360
29210
|
readonly stateMutability: "pure";
|
|
28361
29211
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28362
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
29212
|
+
getPriceAtTick: (args: readonly [number], options?: viem367.Prettify<viem367.UnionOmit<viem367.ReadContractParameters<readonly [{
|
|
28363
29213
|
readonly type: "function";
|
|
28364
29214
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28365
29215
|
readonly inputs: readonly [{
|
|
@@ -29611,9 +30461,9 @@ declare const useApproval: () => {
|
|
|
29611
30461
|
askForApproval: (tokenAddress: Address, spenderAddress: Address, amount: bigint) => Promise<void>;
|
|
29612
30462
|
hash: `0x${string}` | undefined;
|
|
29613
30463
|
isPending: boolean;
|
|
29614
|
-
error:
|
|
30464
|
+
error: _wagmi_core0.WriteContractErrorType | null;
|
|
29615
30465
|
reset: () => void;
|
|
29616
30466
|
};
|
|
29617
30467
|
//#endregion
|
|
29618
|
-
export { LiquidityBlockData, OptionData, TimelockMarketProvider, UniswapPoolData, batchGetAmountsFromLiquidity, useActiveUserOptions, useApproval, useBurnLiquidity, useClosedUserOptions, useCurrentMarket, useCurrentPrice, useCurrentTick, useExerciseOption, useExtendOption, useLens, useLiquidityBlocks, useMarketData, useMaxPositionSize, useMintLiquidity, useMintOption, useOptionPnl, useOptionPremium, usePoolData, usePriceAtTick, usePriceHistory, useSetOperatorPerms, useTimelockConfig, useUserOperators, useVaultData, useVaultTVL };
|
|
30468
|
+
export { LiquidityBlockData, OptionData, OptionTimelineData, TimelockMarketProvider, UniswapPoolData, batchGetAmountsFromLiquidity, useActiveUserOptions, useApproval, useBurnLiquidity, useClosedUserOptions, useCurrentMarket, useCurrentPrice, useCurrentTick, useExerciseOption, useExtendOption, useLens, useLiquidityBlocks, useMarketData, useMaxPositionSize, useMintLiquidity, useMintOption, useOptionPnl, useOptionPremium, useOptionTimeline, usePoolData, usePriceAtTick, usePriceHistory, useSetOperatorPerms, useTimelockConfig, useUserOperators, useVaultData, useVaultTVL };
|
|
29619
30469
|
//# sourceMappingURL=client.d.ts.map
|