timelock-sdk 0.0.79 → 0.0.80
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-D9QtRxOF.d.ts → client-D_t-2-g5.d.cts} +248 -240
- package/dist/{client-h7lO3ik2.d.cts → client-euowNGgz.d.ts} +104 -96
- package/dist/client.cjs +2 -77
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +1 -76
- package/dist/client.js.map +1 -1
- package/dist/{optionUtils-CI-AZi8X.js → optionUtils-CoIk8zAr.js} +97 -2
- package/dist/optionUtils-CoIk8zAr.js.map +1 -0
- package/dist/{optionUtils-CDD_7qmy.cjs → optionUtils-DAjhbiQ5.cjs} +108 -1
- package/dist/optionUtils-DAjhbiQ5.cjs.map +1 -0
- package/dist/package.cjs +3 -1
- package/dist/package.d.cts +2 -2
- package/dist/package.d.ts +2 -2
- package/dist/package.js +2 -2
- package/package.json +1 -1
- package/dist/optionUtils-CDD_7qmy.cjs.map +0 -1
- package/dist/optionUtils-CI-AZi8X.js.map +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-
|
|
1
|
+
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-C54iWXpi.js";
|
|
2
2
|
import * as viem0 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, PublicClient } from "viem";
|
|
4
|
+
import Big from "big.js";
|
|
4
5
|
import React, { ReactNode } from "react";
|
|
5
|
-
import "graphql";
|
|
6
6
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
7
7
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
8
8
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import * as
|
|
9
|
+
import "graphql";
|
|
10
|
+
import * as _tanstack_query_core35 from "@tanstack/query-core";
|
|
11
|
+
import * as _wagmi_core0 from "@wagmi/core";
|
|
12
12
|
|
|
13
13
|
//#region src/lib/contracts.d.ts
|
|
14
14
|
type TimelockMarket = GetContractReturnType<typeof optionsMarketAbi, Client, Address>;
|
|
@@ -32325,7 +32325,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32325
32325
|
isRefetching: boolean;
|
|
32326
32326
|
isStale: boolean;
|
|
32327
32327
|
isEnabled: boolean;
|
|
32328
|
-
refetch: (options?:
|
|
32328
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<{
|
|
32329
32329
|
optionId: bigint;
|
|
32330
32330
|
marketAddr: Address;
|
|
32331
32331
|
ownerAddr: Address;
|
|
@@ -32356,7 +32356,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32356
32356
|
address: string;
|
|
32357
32357
|
} | null;
|
|
32358
32358
|
}[], Error>>;
|
|
32359
|
-
fetchStatus:
|
|
32359
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
32360
32360
|
promise: Promise<{
|
|
32361
32361
|
optionId: bigint;
|
|
32362
32362
|
marketAddr: Address;
|
|
@@ -32442,7 +32442,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32442
32442
|
isRefetching: boolean;
|
|
32443
32443
|
isStale: boolean;
|
|
32444
32444
|
isEnabled: boolean;
|
|
32445
|
-
refetch: (options?:
|
|
32445
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<{
|
|
32446
32446
|
optionId: bigint;
|
|
32447
32447
|
marketAddr: Address;
|
|
32448
32448
|
ownerAddr: Address;
|
|
@@ -32473,7 +32473,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32473
32473
|
address: string;
|
|
32474
32474
|
} | null;
|
|
32475
32475
|
}[], Error>>;
|
|
32476
|
-
fetchStatus:
|
|
32476
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
32477
32477
|
promise: Promise<{
|
|
32478
32478
|
optionId: bigint;
|
|
32479
32479
|
marketAddr: Address;
|
|
@@ -32559,7 +32559,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32559
32559
|
isRefetching: boolean;
|
|
32560
32560
|
isStale: boolean;
|
|
32561
32561
|
isEnabled: boolean;
|
|
32562
|
-
refetch: (options?:
|
|
32562
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<{
|
|
32563
32563
|
optionId: bigint;
|
|
32564
32564
|
marketAddr: Address;
|
|
32565
32565
|
ownerAddr: Address;
|
|
@@ -32590,7 +32590,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32590
32590
|
address: string;
|
|
32591
32591
|
} | null;
|
|
32592
32592
|
}[], Error>>;
|
|
32593
|
-
fetchStatus:
|
|
32593
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
32594
32594
|
promise: Promise<{
|
|
32595
32595
|
optionId: bigint;
|
|
32596
32596
|
marketAddr: Address;
|
|
@@ -32676,7 +32676,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32676
32676
|
isRefetching: boolean;
|
|
32677
32677
|
isStale: boolean;
|
|
32678
32678
|
isEnabled: boolean;
|
|
32679
|
-
refetch: (options?:
|
|
32679
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<{
|
|
32680
32680
|
optionId: bigint;
|
|
32681
32681
|
marketAddr: Address;
|
|
32682
32682
|
ownerAddr: Address;
|
|
@@ -32707,7 +32707,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32707
32707
|
address: string;
|
|
32708
32708
|
} | null;
|
|
32709
32709
|
}[], Error>>;
|
|
32710
|
-
fetchStatus:
|
|
32710
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
32711
32711
|
promise: Promise<{
|
|
32712
32712
|
optionId: bigint;
|
|
32713
32713
|
marketAddr: Address;
|
|
@@ -32793,7 +32793,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32793
32793
|
isRefetching: boolean;
|
|
32794
32794
|
isStale: boolean;
|
|
32795
32795
|
isEnabled: boolean;
|
|
32796
|
-
refetch: (options?:
|
|
32796
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<{
|
|
32797
32797
|
optionId: bigint;
|
|
32798
32798
|
marketAddr: Address;
|
|
32799
32799
|
ownerAddr: Address;
|
|
@@ -32824,7 +32824,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32824
32824
|
address: string;
|
|
32825
32825
|
} | null;
|
|
32826
32826
|
}[], Error>>;
|
|
32827
|
-
fetchStatus:
|
|
32827
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
32828
32828
|
promise: Promise<{
|
|
32829
32829
|
optionId: bigint;
|
|
32830
32830
|
marketAddr: Address;
|
|
@@ -32910,7 +32910,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32910
32910
|
isRefetching: boolean;
|
|
32911
32911
|
isStale: boolean;
|
|
32912
32912
|
isEnabled: boolean;
|
|
32913
|
-
refetch: (options?:
|
|
32913
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<{
|
|
32914
32914
|
optionId: bigint;
|
|
32915
32915
|
marketAddr: Address;
|
|
32916
32916
|
ownerAddr: Address;
|
|
@@ -32941,7 +32941,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32941
32941
|
address: string;
|
|
32942
32942
|
} | null;
|
|
32943
32943
|
}[], Error>>;
|
|
32944
|
-
fetchStatus:
|
|
32944
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
32945
32945
|
promise: Promise<{
|
|
32946
32946
|
optionId: bigint;
|
|
32947
32947
|
marketAddr: Address;
|
|
@@ -33028,7 +33028,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33028
33028
|
isRefetching: boolean;
|
|
33029
33029
|
isStale: boolean;
|
|
33030
33030
|
isEnabled: boolean;
|
|
33031
|
-
refetch: (options?:
|
|
33031
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<{
|
|
33032
33032
|
optionId: bigint;
|
|
33033
33033
|
marketAddr: Address;
|
|
33034
33034
|
ownerAddr: Address;
|
|
@@ -33059,7 +33059,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33059
33059
|
address: string;
|
|
33060
33060
|
} | null;
|
|
33061
33061
|
}[], Error>>;
|
|
33062
|
-
fetchStatus:
|
|
33062
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
33063
33063
|
promise: Promise<{
|
|
33064
33064
|
optionId: bigint;
|
|
33065
33065
|
marketAddr: Address;
|
|
@@ -33145,7 +33145,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33145
33145
|
isRefetching: boolean;
|
|
33146
33146
|
isStale: boolean;
|
|
33147
33147
|
isEnabled: boolean;
|
|
33148
|
-
refetch: (options?:
|
|
33148
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<{
|
|
33149
33149
|
optionId: bigint;
|
|
33150
33150
|
marketAddr: Address;
|
|
33151
33151
|
ownerAddr: Address;
|
|
@@ -33176,7 +33176,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33176
33176
|
address: string;
|
|
33177
33177
|
} | null;
|
|
33178
33178
|
}[], Error>>;
|
|
33179
|
-
fetchStatus:
|
|
33179
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
33180
33180
|
promise: Promise<{
|
|
33181
33181
|
optionId: bigint;
|
|
33182
33182
|
marketAddr: Address;
|
|
@@ -33262,7 +33262,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33262
33262
|
isRefetching: boolean;
|
|
33263
33263
|
isStale: boolean;
|
|
33264
33264
|
isEnabled: boolean;
|
|
33265
|
-
refetch: (options?:
|
|
33265
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<{
|
|
33266
33266
|
optionId: bigint;
|
|
33267
33267
|
marketAddr: Address;
|
|
33268
33268
|
ownerAddr: Address;
|
|
@@ -33293,7 +33293,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33293
33293
|
address: string;
|
|
33294
33294
|
} | null;
|
|
33295
33295
|
}[], Error>>;
|
|
33296
|
-
fetchStatus:
|
|
33296
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
33297
33297
|
promise: Promise<{
|
|
33298
33298
|
optionId: bigint;
|
|
33299
33299
|
marketAddr: Address;
|
|
@@ -33379,7 +33379,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33379
33379
|
isRefetching: boolean;
|
|
33380
33380
|
isStale: boolean;
|
|
33381
33381
|
isEnabled: boolean;
|
|
33382
|
-
refetch: (options?:
|
|
33382
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<{
|
|
33383
33383
|
optionId: bigint;
|
|
33384
33384
|
marketAddr: Address;
|
|
33385
33385
|
ownerAddr: Address;
|
|
@@ -33410,7 +33410,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33410
33410
|
address: string;
|
|
33411
33411
|
} | null;
|
|
33412
33412
|
}[], Error>>;
|
|
33413
|
-
fetchStatus:
|
|
33413
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
33414
33414
|
promise: Promise<{
|
|
33415
33415
|
optionId: bigint;
|
|
33416
33416
|
marketAddr: Address;
|
|
@@ -33496,7 +33496,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33496
33496
|
isRefetching: boolean;
|
|
33497
33497
|
isStale: boolean;
|
|
33498
33498
|
isEnabled: boolean;
|
|
33499
|
-
refetch: (options?:
|
|
33499
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<{
|
|
33500
33500
|
optionId: bigint;
|
|
33501
33501
|
marketAddr: Address;
|
|
33502
33502
|
ownerAddr: Address;
|
|
@@ -33527,7 +33527,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33527
33527
|
address: string;
|
|
33528
33528
|
} | null;
|
|
33529
33529
|
}[], Error>>;
|
|
33530
|
-
fetchStatus:
|
|
33530
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
33531
33531
|
promise: Promise<{
|
|
33532
33532
|
optionId: bigint;
|
|
33533
33533
|
marketAddr: Address;
|
|
@@ -33613,7 +33613,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33613
33613
|
isRefetching: boolean;
|
|
33614
33614
|
isStale: boolean;
|
|
33615
33615
|
isEnabled: boolean;
|
|
33616
|
-
refetch: (options?:
|
|
33616
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<{
|
|
33617
33617
|
optionId: bigint;
|
|
33618
33618
|
marketAddr: Address;
|
|
33619
33619
|
ownerAddr: Address;
|
|
@@ -33644,7 +33644,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33644
33644
|
address: string;
|
|
33645
33645
|
} | null;
|
|
33646
33646
|
}[], Error>>;
|
|
33647
|
-
fetchStatus:
|
|
33647
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
33648
33648
|
promise: Promise<{
|
|
33649
33649
|
optionId: bigint;
|
|
33650
33650
|
marketAddr: Address;
|
|
@@ -33731,7 +33731,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33731
33731
|
isRefetching: boolean;
|
|
33732
33732
|
isStale: boolean;
|
|
33733
33733
|
isEnabled: boolean;
|
|
33734
|
-
refetch: (options?:
|
|
33734
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<{
|
|
33735
33735
|
optionId: bigint;
|
|
33736
33736
|
marketAddr: Address;
|
|
33737
33737
|
ownerAddr: Address;
|
|
@@ -33762,7 +33762,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33762
33762
|
address: string;
|
|
33763
33763
|
} | null;
|
|
33764
33764
|
}[], Error>>;
|
|
33765
|
-
fetchStatus:
|
|
33765
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
33766
33766
|
promise: Promise<{
|
|
33767
33767
|
optionId: bigint;
|
|
33768
33768
|
marketAddr: Address;
|
|
@@ -33848,7 +33848,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33848
33848
|
isRefetching: boolean;
|
|
33849
33849
|
isStale: boolean;
|
|
33850
33850
|
isEnabled: boolean;
|
|
33851
|
-
refetch: (options?:
|
|
33851
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<{
|
|
33852
33852
|
optionId: bigint;
|
|
33853
33853
|
marketAddr: Address;
|
|
33854
33854
|
ownerAddr: Address;
|
|
@@ -33879,7 +33879,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33879
33879
|
address: string;
|
|
33880
33880
|
} | null;
|
|
33881
33881
|
}[], Error>>;
|
|
33882
|
-
fetchStatus:
|
|
33882
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
33883
33883
|
promise: Promise<{
|
|
33884
33884
|
optionId: bigint;
|
|
33885
33885
|
marketAddr: Address;
|
|
@@ -33965,7 +33965,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33965
33965
|
isRefetching: boolean;
|
|
33966
33966
|
isStale: boolean;
|
|
33967
33967
|
isEnabled: boolean;
|
|
33968
|
-
refetch: (options?:
|
|
33968
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<{
|
|
33969
33969
|
optionId: bigint;
|
|
33970
33970
|
marketAddr: Address;
|
|
33971
33971
|
ownerAddr: Address;
|
|
@@ -33996,7 +33996,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33996
33996
|
address: string;
|
|
33997
33997
|
} | null;
|
|
33998
33998
|
}[], Error>>;
|
|
33999
|
-
fetchStatus:
|
|
33999
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
34000
34000
|
promise: Promise<{
|
|
34001
34001
|
optionId: bigint;
|
|
34002
34002
|
marketAddr: Address;
|
|
@@ -34082,7 +34082,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34082
34082
|
isRefetching: boolean;
|
|
34083
34083
|
isStale: boolean;
|
|
34084
34084
|
isEnabled: boolean;
|
|
34085
|
-
refetch: (options?:
|
|
34085
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<{
|
|
34086
34086
|
optionId: bigint;
|
|
34087
34087
|
marketAddr: Address;
|
|
34088
34088
|
ownerAddr: Address;
|
|
@@ -34113,7 +34113,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34113
34113
|
address: string;
|
|
34114
34114
|
} | null;
|
|
34115
34115
|
}[], Error>>;
|
|
34116
|
-
fetchStatus:
|
|
34116
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
34117
34117
|
promise: Promise<{
|
|
34118
34118
|
optionId: bigint;
|
|
34119
34119
|
marketAddr: Address;
|
|
@@ -34199,7 +34199,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34199
34199
|
isRefetching: boolean;
|
|
34200
34200
|
isStale: boolean;
|
|
34201
34201
|
isEnabled: boolean;
|
|
34202
|
-
refetch: (options?:
|
|
34202
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<{
|
|
34203
34203
|
optionId: bigint;
|
|
34204
34204
|
marketAddr: Address;
|
|
34205
34205
|
ownerAddr: Address;
|
|
@@ -34230,7 +34230,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34230
34230
|
address: string;
|
|
34231
34231
|
} | null;
|
|
34232
34232
|
}[], Error>>;
|
|
34233
|
-
fetchStatus:
|
|
34233
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
34234
34234
|
promise: Promise<{
|
|
34235
34235
|
optionId: bigint;
|
|
34236
34236
|
marketAddr: Address;
|
|
@@ -34316,7 +34316,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34316
34316
|
isRefetching: boolean;
|
|
34317
34317
|
isStale: boolean;
|
|
34318
34318
|
isEnabled: boolean;
|
|
34319
|
-
refetch: (options?:
|
|
34319
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<{
|
|
34320
34320
|
optionId: bigint;
|
|
34321
34321
|
marketAddr: Address;
|
|
34322
34322
|
ownerAddr: Address;
|
|
@@ -34347,7 +34347,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
34347
34347
|
address: string;
|
|
34348
34348
|
} | null;
|
|
34349
34349
|
}[], Error>>;
|
|
34350
|
-
fetchStatus:
|
|
34350
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
34351
34351
|
promise: Promise<{
|
|
34352
34352
|
optionId: bigint;
|
|
34353
34353
|
marketAddr: Address;
|
|
@@ -34537,7 +34537,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
34537
34537
|
isRefetching: boolean;
|
|
34538
34538
|
isStale: boolean;
|
|
34539
34539
|
isEnabled: boolean;
|
|
34540
|
-
refetch: (options?:
|
|
34540
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<{
|
|
34541
34541
|
spendingApproval: bigint;
|
|
34542
34542
|
operatorAddr: string;
|
|
34543
34543
|
__typename: "UserMarketOperator";
|
|
@@ -34551,7 +34551,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
34551
34551
|
address: string;
|
|
34552
34552
|
} | null;
|
|
34553
34553
|
}[] | undefined, Error>>;
|
|
34554
|
-
fetchStatus:
|
|
34554
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
34555
34555
|
promise: Promise<{
|
|
34556
34556
|
spendingApproval: bigint;
|
|
34557
34557
|
operatorAddr: string;
|
|
@@ -34603,7 +34603,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
34603
34603
|
isRefetching: boolean;
|
|
34604
34604
|
isStale: boolean;
|
|
34605
34605
|
isEnabled: boolean;
|
|
34606
|
-
refetch: (options?:
|
|
34606
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<{
|
|
34607
34607
|
spendingApproval: bigint;
|
|
34608
34608
|
operatorAddr: string;
|
|
34609
34609
|
__typename: "UserMarketOperator";
|
|
@@ -34617,7 +34617,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
34617
34617
|
address: string;
|
|
34618
34618
|
} | null;
|
|
34619
34619
|
}[] | undefined, Error>>;
|
|
34620
|
-
fetchStatus:
|
|
34620
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
34621
34621
|
promise: Promise<{
|
|
34622
34622
|
spendingApproval: bigint;
|
|
34623
34623
|
operatorAddr: string;
|
|
@@ -34669,7 +34669,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
34669
34669
|
isRefetching: boolean;
|
|
34670
34670
|
isStale: boolean;
|
|
34671
34671
|
isEnabled: boolean;
|
|
34672
|
-
refetch: (options?:
|
|
34672
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<{
|
|
34673
34673
|
spendingApproval: bigint;
|
|
34674
34674
|
operatorAddr: string;
|
|
34675
34675
|
__typename: "UserMarketOperator";
|
|
@@ -34683,7 +34683,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
34683
34683
|
address: string;
|
|
34684
34684
|
} | null;
|
|
34685
34685
|
}[] | undefined, Error>>;
|
|
34686
|
-
fetchStatus:
|
|
34686
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
34687
34687
|
promise: Promise<{
|
|
34688
34688
|
spendingApproval: bigint;
|
|
34689
34689
|
operatorAddr: string;
|
|
@@ -34735,7 +34735,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
34735
34735
|
isRefetching: boolean;
|
|
34736
34736
|
isStale: boolean;
|
|
34737
34737
|
isEnabled: boolean;
|
|
34738
|
-
refetch: (options?:
|
|
34738
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<{
|
|
34739
34739
|
spendingApproval: bigint;
|
|
34740
34740
|
operatorAddr: string;
|
|
34741
34741
|
__typename: "UserMarketOperator";
|
|
@@ -34749,7 +34749,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
34749
34749
|
address: string;
|
|
34750
34750
|
} | null;
|
|
34751
34751
|
}[] | undefined, Error>>;
|
|
34752
|
-
fetchStatus:
|
|
34752
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
34753
34753
|
promise: Promise<{
|
|
34754
34754
|
spendingApproval: bigint;
|
|
34755
34755
|
operatorAddr: string;
|
|
@@ -34801,7 +34801,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
34801
34801
|
isRefetching: boolean;
|
|
34802
34802
|
isStale: boolean;
|
|
34803
34803
|
isEnabled: boolean;
|
|
34804
|
-
refetch: (options?:
|
|
34804
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<{
|
|
34805
34805
|
spendingApproval: bigint;
|
|
34806
34806
|
operatorAddr: string;
|
|
34807
34807
|
__typename: "UserMarketOperator";
|
|
@@ -34815,7 +34815,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
34815
34815
|
address: string;
|
|
34816
34816
|
} | null;
|
|
34817
34817
|
}[] | undefined, Error>>;
|
|
34818
|
-
fetchStatus:
|
|
34818
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
34819
34819
|
promise: Promise<{
|
|
34820
34820
|
spendingApproval: bigint;
|
|
34821
34821
|
operatorAddr: string;
|
|
@@ -34867,7 +34867,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
34867
34867
|
isRefetching: boolean;
|
|
34868
34868
|
isStale: boolean;
|
|
34869
34869
|
isEnabled: boolean;
|
|
34870
|
-
refetch: (options?:
|
|
34870
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<{
|
|
34871
34871
|
spendingApproval: bigint;
|
|
34872
34872
|
operatorAddr: string;
|
|
34873
34873
|
__typename: "UserMarketOperator";
|
|
@@ -34881,7 +34881,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
34881
34881
|
address: string;
|
|
34882
34882
|
} | null;
|
|
34883
34883
|
}[] | undefined, Error>>;
|
|
34884
|
-
fetchStatus:
|
|
34884
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
34885
34885
|
promise: Promise<{
|
|
34886
34886
|
spendingApproval: bigint;
|
|
34887
34887
|
operatorAddr: string;
|
|
@@ -34933,7 +34933,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34933
34933
|
isRefetching: boolean;
|
|
34934
34934
|
isStale: boolean;
|
|
34935
34935
|
isEnabled: boolean;
|
|
34936
|
-
refetch: (options?:
|
|
34936
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<({
|
|
34937
34937
|
type: "mint";
|
|
34938
34938
|
data: {
|
|
34939
34939
|
id: string;
|
|
@@ -34972,7 +34972,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34972
34972
|
transactionHash: string;
|
|
34973
34973
|
};
|
|
34974
34974
|
})[], Error>>;
|
|
34975
|
-
fetchStatus:
|
|
34975
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
34976
34976
|
promise: Promise<({
|
|
34977
34977
|
type: "mint";
|
|
34978
34978
|
data: {
|
|
@@ -35074,7 +35074,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35074
35074
|
isRefetching: boolean;
|
|
35075
35075
|
isStale: boolean;
|
|
35076
35076
|
isEnabled: boolean;
|
|
35077
|
-
refetch: (options?:
|
|
35077
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<({
|
|
35078
35078
|
type: "mint";
|
|
35079
35079
|
data: {
|
|
35080
35080
|
id: string;
|
|
@@ -35113,7 +35113,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35113
35113
|
transactionHash: string;
|
|
35114
35114
|
};
|
|
35115
35115
|
})[], Error>>;
|
|
35116
|
-
fetchStatus:
|
|
35116
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
35117
35117
|
promise: Promise<({
|
|
35118
35118
|
type: "mint";
|
|
35119
35119
|
data: {
|
|
@@ -35215,7 +35215,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35215
35215
|
isRefetching: boolean;
|
|
35216
35216
|
isStale: boolean;
|
|
35217
35217
|
isEnabled: boolean;
|
|
35218
|
-
refetch: (options?:
|
|
35218
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<({
|
|
35219
35219
|
type: "mint";
|
|
35220
35220
|
data: {
|
|
35221
35221
|
id: string;
|
|
@@ -35254,7 +35254,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35254
35254
|
transactionHash: string;
|
|
35255
35255
|
};
|
|
35256
35256
|
})[], Error>>;
|
|
35257
|
-
fetchStatus:
|
|
35257
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
35258
35258
|
promise: Promise<({
|
|
35259
35259
|
type: "mint";
|
|
35260
35260
|
data: {
|
|
@@ -35356,7 +35356,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35356
35356
|
isRefetching: boolean;
|
|
35357
35357
|
isStale: boolean;
|
|
35358
35358
|
isEnabled: boolean;
|
|
35359
|
-
refetch: (options?:
|
|
35359
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<({
|
|
35360
35360
|
type: "mint";
|
|
35361
35361
|
data: {
|
|
35362
35362
|
id: string;
|
|
@@ -35395,7 +35395,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35395
35395
|
transactionHash: string;
|
|
35396
35396
|
};
|
|
35397
35397
|
})[], Error>>;
|
|
35398
|
-
fetchStatus:
|
|
35398
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
35399
35399
|
promise: Promise<({
|
|
35400
35400
|
type: "mint";
|
|
35401
35401
|
data: {
|
|
@@ -35497,7 +35497,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35497
35497
|
isRefetching: boolean;
|
|
35498
35498
|
isStale: boolean;
|
|
35499
35499
|
isEnabled: boolean;
|
|
35500
|
-
refetch: (options?:
|
|
35500
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<({
|
|
35501
35501
|
type: "mint";
|
|
35502
35502
|
data: {
|
|
35503
35503
|
id: string;
|
|
@@ -35536,7 +35536,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35536
35536
|
transactionHash: string;
|
|
35537
35537
|
};
|
|
35538
35538
|
})[], Error>>;
|
|
35539
|
-
fetchStatus:
|
|
35539
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
35540
35540
|
promise: Promise<({
|
|
35541
35541
|
type: "mint";
|
|
35542
35542
|
data: {
|
|
@@ -35638,7 +35638,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35638
35638
|
isRefetching: boolean;
|
|
35639
35639
|
isStale: boolean;
|
|
35640
35640
|
isEnabled: boolean;
|
|
35641
|
-
refetch: (options?:
|
|
35641
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<({
|
|
35642
35642
|
type: "mint";
|
|
35643
35643
|
data: {
|
|
35644
35644
|
id: string;
|
|
@@ -35677,7 +35677,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35677
35677
|
transactionHash: string;
|
|
35678
35678
|
};
|
|
35679
35679
|
})[], Error>>;
|
|
35680
|
-
fetchStatus:
|
|
35680
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
35681
35681
|
promise: Promise<({
|
|
35682
35682
|
type: "mint";
|
|
35683
35683
|
data: {
|
|
@@ -35758,6 +35758,21 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
35758
35758
|
})[];
|
|
35759
35759
|
};
|
|
35760
35760
|
//#endregion
|
|
35761
|
+
//#region src/lib/price.d.ts
|
|
35762
|
+
interface PriceData {
|
|
35763
|
+
currentPrice: number;
|
|
35764
|
+
percentChange: number;
|
|
35765
|
+
poolAddress: string;
|
|
35766
|
+
timestamp: number;
|
|
35767
|
+
}
|
|
35768
|
+
interface PriceDataPoint {
|
|
35769
|
+
timestamp: Date;
|
|
35770
|
+
price: number;
|
|
35771
|
+
}
|
|
35772
|
+
type PriceResolution = '1m' | '5m' | '15m' | '1h' | '4h' | '1d';
|
|
35773
|
+
declare const getPriceHistory: (poolAddress: string, resolution: PriceResolution, start: Date, end: Date) => Promise<PriceDataPoint[]>;
|
|
35774
|
+
declare const getCurrentPrice: (poolAddress: string) => Promise<PriceData>;
|
|
35775
|
+
//#endregion
|
|
35761
35776
|
//#region src/lib/liquidityUtils.d.ts
|
|
35762
35777
|
declare const PRICE_PRECISION: bigint;
|
|
35763
35778
|
declare const getPriceAtTick: (tick: number) => bigint;
|
|
@@ -35809,13 +35824,6 @@ declare const usePoolData: (poolAddr?: Address) => Partial<NonUndefined<{
|
|
|
35809
35824
|
//#region src/hooks/pool/usePriceAtTick.d.ts
|
|
35810
35825
|
declare const usePriceAtTick: (tick?: number, poolAddr?: Address) => Amount | undefined;
|
|
35811
35826
|
//#endregion
|
|
35812
|
-
//#region src/lib/price.d.ts
|
|
35813
|
-
interface PriceDataPoint {
|
|
35814
|
-
timestamp: Date;
|
|
35815
|
-
price: number;
|
|
35816
|
-
}
|
|
35817
|
-
type PriceResolution = '1m' | '5m' | '15m' | '1h' | '4h' | '1d';
|
|
35818
|
-
//#endregion
|
|
35819
35827
|
//#region src/hooks/pool/usePriceHistory.d.ts
|
|
35820
35828
|
declare const usePriceHistory: (pool: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query0.UseQueryResult<PriceDataPoint[], Error>;
|
|
35821
35829
|
//#endregion
|
|
@@ -35832,7 +35840,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
35832
35840
|
isPending: boolean;
|
|
35833
35841
|
isConfirming: boolean;
|
|
35834
35842
|
isSuccess: boolean;
|
|
35835
|
-
error:
|
|
35843
|
+
error: _wagmi_core0.WriteContractErrorType | null;
|
|
35836
35844
|
isLoading: boolean;
|
|
35837
35845
|
};
|
|
35838
35846
|
//#endregion
|
|
@@ -35861,7 +35869,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35861
35869
|
isRefetching: boolean;
|
|
35862
35870
|
isStale: boolean;
|
|
35863
35871
|
isEnabled: boolean;
|
|
35864
|
-
refetch: (options?:
|
|
35872
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<readonly {
|
|
35865
35873
|
tickLower: number;
|
|
35866
35874
|
tickUpper: number;
|
|
35867
35875
|
prevTickLower: number;
|
|
@@ -35872,7 +35880,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35872
35880
|
borrowedAmount0: bigint;
|
|
35873
35881
|
borrowedAmount1: bigint;
|
|
35874
35882
|
}[], viem0.ReadContractErrorType>>;
|
|
35875
|
-
fetchStatus:
|
|
35883
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
35876
35884
|
promise: Promise<readonly {
|
|
35877
35885
|
tickLower: number;
|
|
35878
35886
|
tickUpper: number;
|
|
@@ -35884,7 +35892,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35884
35892
|
borrowedAmount0: bigint;
|
|
35885
35893
|
borrowedAmount1: bigint;
|
|
35886
35894
|
}[]>;
|
|
35887
|
-
queryKey:
|
|
35895
|
+
queryKey: _tanstack_query_core35.QueryKey;
|
|
35888
35896
|
data: readonly {
|
|
35889
35897
|
tickLower: number;
|
|
35890
35898
|
tickUpper: number;
|
|
@@ -35919,7 +35927,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35919
35927
|
isRefetching: boolean;
|
|
35920
35928
|
isStale: boolean;
|
|
35921
35929
|
isEnabled: boolean;
|
|
35922
|
-
refetch: (options?:
|
|
35930
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<readonly {
|
|
35923
35931
|
tickLower: number;
|
|
35924
35932
|
tickUpper: number;
|
|
35925
35933
|
prevTickLower: number;
|
|
@@ -35930,7 +35938,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35930
35938
|
borrowedAmount0: bigint;
|
|
35931
35939
|
borrowedAmount1: bigint;
|
|
35932
35940
|
}[], viem0.ReadContractErrorType>>;
|
|
35933
|
-
fetchStatus:
|
|
35941
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
35934
35942
|
promise: Promise<readonly {
|
|
35935
35943
|
tickLower: number;
|
|
35936
35944
|
tickUpper: number;
|
|
@@ -35942,7 +35950,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35942
35950
|
borrowedAmount0: bigint;
|
|
35943
35951
|
borrowedAmount1: bigint;
|
|
35944
35952
|
}[]>;
|
|
35945
|
-
queryKey:
|
|
35953
|
+
queryKey: _tanstack_query_core35.QueryKey;
|
|
35946
35954
|
data: readonly {
|
|
35947
35955
|
tickLower: number;
|
|
35948
35956
|
tickUpper: number;
|
|
@@ -35977,7 +35985,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35977
35985
|
isRefetching: boolean;
|
|
35978
35986
|
isStale: boolean;
|
|
35979
35987
|
isEnabled: boolean;
|
|
35980
|
-
refetch: (options?:
|
|
35988
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<readonly {
|
|
35981
35989
|
tickLower: number;
|
|
35982
35990
|
tickUpper: number;
|
|
35983
35991
|
prevTickLower: number;
|
|
@@ -35988,7 +35996,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
35988
35996
|
borrowedAmount0: bigint;
|
|
35989
35997
|
borrowedAmount1: bigint;
|
|
35990
35998
|
}[], viem0.ReadContractErrorType>>;
|
|
35991
|
-
fetchStatus:
|
|
35999
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
35992
36000
|
promise: Promise<readonly {
|
|
35993
36001
|
tickLower: number;
|
|
35994
36002
|
tickUpper: number;
|
|
@@ -36000,7 +36008,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36000
36008
|
borrowedAmount0: bigint;
|
|
36001
36009
|
borrowedAmount1: bigint;
|
|
36002
36010
|
}[]>;
|
|
36003
|
-
queryKey:
|
|
36011
|
+
queryKey: _tanstack_query_core35.QueryKey;
|
|
36004
36012
|
data: readonly {
|
|
36005
36013
|
tickLower: number;
|
|
36006
36014
|
tickUpper: number;
|
|
@@ -36035,7 +36043,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36035
36043
|
isRefetching: boolean;
|
|
36036
36044
|
isStale: boolean;
|
|
36037
36045
|
isEnabled: boolean;
|
|
36038
|
-
refetch: (options?:
|
|
36046
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<readonly {
|
|
36039
36047
|
tickLower: number;
|
|
36040
36048
|
tickUpper: number;
|
|
36041
36049
|
prevTickLower: number;
|
|
@@ -36046,7 +36054,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36046
36054
|
borrowedAmount0: bigint;
|
|
36047
36055
|
borrowedAmount1: bigint;
|
|
36048
36056
|
}[], viem0.ReadContractErrorType>>;
|
|
36049
|
-
fetchStatus:
|
|
36057
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
36050
36058
|
promise: Promise<readonly {
|
|
36051
36059
|
tickLower: number;
|
|
36052
36060
|
tickUpper: number;
|
|
@@ -36058,7 +36066,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36058
36066
|
borrowedAmount0: bigint;
|
|
36059
36067
|
borrowedAmount1: bigint;
|
|
36060
36068
|
}[]>;
|
|
36061
|
-
queryKey:
|
|
36069
|
+
queryKey: _tanstack_query_core35.QueryKey;
|
|
36062
36070
|
data: readonly {
|
|
36063
36071
|
tickLower: number;
|
|
36064
36072
|
tickUpper: number;
|
|
@@ -36093,7 +36101,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36093
36101
|
isRefetching: boolean;
|
|
36094
36102
|
isStale: boolean;
|
|
36095
36103
|
isEnabled: boolean;
|
|
36096
|
-
refetch: (options?:
|
|
36104
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<readonly {
|
|
36097
36105
|
tickLower: number;
|
|
36098
36106
|
tickUpper: number;
|
|
36099
36107
|
prevTickLower: number;
|
|
@@ -36104,7 +36112,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36104
36112
|
borrowedAmount0: bigint;
|
|
36105
36113
|
borrowedAmount1: bigint;
|
|
36106
36114
|
}[], viem0.ReadContractErrorType>>;
|
|
36107
|
-
fetchStatus:
|
|
36115
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
36108
36116
|
promise: Promise<readonly {
|
|
36109
36117
|
tickLower: number;
|
|
36110
36118
|
tickUpper: number;
|
|
@@ -36116,7 +36124,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36116
36124
|
borrowedAmount0: bigint;
|
|
36117
36125
|
borrowedAmount1: bigint;
|
|
36118
36126
|
}[]>;
|
|
36119
|
-
queryKey:
|
|
36127
|
+
queryKey: _tanstack_query_core35.QueryKey;
|
|
36120
36128
|
data: readonly {
|
|
36121
36129
|
tickLower: number;
|
|
36122
36130
|
tickUpper: number;
|
|
@@ -36151,7 +36159,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36151
36159
|
isRefetching: boolean;
|
|
36152
36160
|
isStale: boolean;
|
|
36153
36161
|
isEnabled: boolean;
|
|
36154
|
-
refetch: (options?:
|
|
36162
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<readonly {
|
|
36155
36163
|
tickLower: number;
|
|
36156
36164
|
tickUpper: number;
|
|
36157
36165
|
prevTickLower: number;
|
|
@@ -36162,7 +36170,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36162
36170
|
borrowedAmount0: bigint;
|
|
36163
36171
|
borrowedAmount1: bigint;
|
|
36164
36172
|
}[], viem0.ReadContractErrorType>>;
|
|
36165
|
-
fetchStatus:
|
|
36173
|
+
fetchStatus: _tanstack_query_core35.FetchStatus;
|
|
36166
36174
|
promise: Promise<readonly {
|
|
36167
36175
|
tickLower: number;
|
|
36168
36176
|
tickUpper: number;
|
|
@@ -36174,7 +36182,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36174
36182
|
borrowedAmount0: bigint;
|
|
36175
36183
|
borrowedAmount1: bigint;
|
|
36176
36184
|
}[]>;
|
|
36177
|
-
queryKey:
|
|
36185
|
+
queryKey: _tanstack_query_core35.QueryKey;
|
|
36178
36186
|
data: readonly {
|
|
36179
36187
|
tickLower: number;
|
|
36180
36188
|
tickUpper: number;
|
|
@@ -36207,7 +36215,7 @@ declare const useMintLiquidity: (vaultAddr?: Address) => {
|
|
|
36207
36215
|
isPending: boolean;
|
|
36208
36216
|
isConfirming: boolean;
|
|
36209
36217
|
isSuccess: boolean;
|
|
36210
|
-
error:
|
|
36218
|
+
error: _wagmi_core0.WriteContractErrorType | null;
|
|
36211
36219
|
isLoading: boolean;
|
|
36212
36220
|
};
|
|
36213
36221
|
//#endregion
|
|
@@ -36234,7 +36242,7 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
36234
36242
|
borrowedAmount0: Amount;
|
|
36235
36243
|
borrowedAmount1: Amount;
|
|
36236
36244
|
blocksCount: bigint;
|
|
36237
|
-
refetch: (options?:
|
|
36245
|
+
refetch: (options?: _tanstack_query_core35.RefetchOptions) => Promise<_tanstack_query_core35.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
|
|
36238
36246
|
};
|
|
36239
36247
|
//#endregion
|
|
36240
36248
|
//#region src/hooks/useLens.d.ts
|
|
@@ -62561,9 +62569,9 @@ declare const useApproval: () => {
|
|
|
62561
62569
|
askForApproval: (tokenAddress: Address, spenderAddress: Address, amount: bigint) => Promise<void>;
|
|
62562
62570
|
hash: `0x${string}` | undefined;
|
|
62563
62571
|
isPending: boolean;
|
|
62564
|
-
error:
|
|
62572
|
+
error: _wagmi_core0.WriteContractErrorType | null;
|
|
62565
62573
|
reset: () => void;
|
|
62566
62574
|
};
|
|
62567
62575
|
//#endregion
|
|
62568
|
-
export {
|
|
62569
|
-
//# sourceMappingURL=client-
|
|
62576
|
+
export { wrapAmount as $, PriceDataPoint as A, useOptionPnl as B, liquiditiesToAmount1 as C, token0ToToken1 as D, roundTickUp as E, useOptionTimeline as F, formatAmount as G, useMaxPositionSize as H, useSetOperatorPerms as I, formatVagueAmount as J, formatCondensed as K, useUserOperators as L, getCurrentPrice as M, getPriceHistory as N, token1ToToken0 as O, OptionTimelineData as P, unscalePrice as Q, useExtendOption as R, liquiditiesToAmount0 as S, roundTickDown as T, Amount as U, useMintOption as V, EMPTY_ARRAY as W, scalePrice as X, scaleAmount as Y, unscaleAmount as Z, PRICE_PRECISION as _, getTimelockLens as _t, batchGetAmountsFromLiquidity as a, useExerciseOption as at, getPriceAtTick as b, timelockLenses as bt, useLiquidityBlocks as c, useClosedUserOptions as ct, usePriceAtTick as d, useTimelockConfig as dt, wrapAmountUnscaled as et, UniswapPoolData as f, TimelockLens as ft, getPayoutAtTick as g, getErc20 as gt, useCurrentPrice as h, UniswapMathLens as ht, useVaultData as i, useMarketData as it, PriceResolution as j, PriceData as k, useBurnLiquidity as l, TimelockMarketProvider as lt, useCurrentTick as m, TimelockMarketData as mt, useLens as n, wrapPriceUnscaled as nt, useMintLiquidity as o, OptionData as ot, usePoolData as p, TimelockMarket as pt, formatUSD as q, useVaultTVL as r, zero as rt, LiquidityBlockData as s, useActiveUserOptions as st, useApproval as t, wrapPrice as tt, usePriceHistory as u, useCurrentMarket as ut, getAmountsFromLiquidity as v, getTimelockMarket as vt, liquiditiesToAmounts as w, getTickAtPrice as x, uniswapMathLenses as xt, getNearestValidStrikeTick as y, getUniswapMathLens as yt, useOptionPremium as z };
|
|
62577
|
+
//# sourceMappingURL=client-euowNGgz.d.ts.map
|