timelock-sdk 0.0.107 → 0.0.109
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-CgsSS_2P.d.cts → client-61tvmrlq.d.cts} +2 -5
- package/dist/{client-BbT_pl5p.d.ts → client-BcsbWPvK.d.ts} +145 -148
- package/dist/client.cjs +9 -2
- 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 +9 -2
- package/dist/client.js.map +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
|
@@ -4,10 +4,10 @@ import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem"
|
|
|
4
4
|
import Big from "big.js";
|
|
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
|
|
10
|
+
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
11
11
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
12
12
|
|
|
13
13
|
//#region src/generated/graphql.d.ts
|
|
@@ -31872,7 +31872,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31872
31872
|
isRefetching: boolean;
|
|
31873
31873
|
isStale: boolean;
|
|
31874
31874
|
isEnabled: boolean;
|
|
31875
|
-
refetch: (options?:
|
|
31875
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
31876
31876
|
optionId: bigint;
|
|
31877
31877
|
marketAddr: Address;
|
|
31878
31878
|
ownerAddr: Address;
|
|
@@ -31903,7 +31903,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31903
31903
|
address: string;
|
|
31904
31904
|
} | null;
|
|
31905
31905
|
}[], Error>>;
|
|
31906
|
-
fetchStatus:
|
|
31906
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
31907
31907
|
promise: Promise<{
|
|
31908
31908
|
optionId: bigint;
|
|
31909
31909
|
marketAddr: Address;
|
|
@@ -31989,7 +31989,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
31989
31989
|
isRefetching: boolean;
|
|
31990
31990
|
isStale: boolean;
|
|
31991
31991
|
isEnabled: boolean;
|
|
31992
|
-
refetch: (options?:
|
|
31992
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
31993
31993
|
optionId: bigint;
|
|
31994
31994
|
marketAddr: Address;
|
|
31995
31995
|
ownerAddr: Address;
|
|
@@ -32020,7 +32020,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32020
32020
|
address: string;
|
|
32021
32021
|
} | null;
|
|
32022
32022
|
}[], Error>>;
|
|
32023
|
-
fetchStatus:
|
|
32023
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32024
32024
|
promise: Promise<{
|
|
32025
32025
|
optionId: bigint;
|
|
32026
32026
|
marketAddr: Address;
|
|
@@ -32106,7 +32106,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32106
32106
|
isRefetching: boolean;
|
|
32107
32107
|
isStale: boolean;
|
|
32108
32108
|
isEnabled: boolean;
|
|
32109
|
-
refetch: (options?:
|
|
32109
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32110
32110
|
optionId: bigint;
|
|
32111
32111
|
marketAddr: Address;
|
|
32112
32112
|
ownerAddr: Address;
|
|
@@ -32137,7 +32137,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32137
32137
|
address: string;
|
|
32138
32138
|
} | null;
|
|
32139
32139
|
}[], Error>>;
|
|
32140
|
-
fetchStatus:
|
|
32140
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32141
32141
|
promise: Promise<{
|
|
32142
32142
|
optionId: bigint;
|
|
32143
32143
|
marketAddr: Address;
|
|
@@ -32223,7 +32223,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32223
32223
|
isRefetching: boolean;
|
|
32224
32224
|
isStale: boolean;
|
|
32225
32225
|
isEnabled: boolean;
|
|
32226
|
-
refetch: (options?:
|
|
32226
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32227
32227
|
optionId: bigint;
|
|
32228
32228
|
marketAddr: Address;
|
|
32229
32229
|
ownerAddr: Address;
|
|
@@ -32254,7 +32254,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32254
32254
|
address: string;
|
|
32255
32255
|
} | null;
|
|
32256
32256
|
}[], Error>>;
|
|
32257
|
-
fetchStatus:
|
|
32257
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32258
32258
|
promise: Promise<{
|
|
32259
32259
|
optionId: bigint;
|
|
32260
32260
|
marketAddr: Address;
|
|
@@ -32340,7 +32340,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32340
32340
|
isRefetching: boolean;
|
|
32341
32341
|
isStale: boolean;
|
|
32342
32342
|
isEnabled: boolean;
|
|
32343
|
-
refetch: (options?:
|
|
32343
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32344
32344
|
optionId: bigint;
|
|
32345
32345
|
marketAddr: Address;
|
|
32346
32346
|
ownerAddr: Address;
|
|
@@ -32371,7 +32371,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32371
32371
|
address: string;
|
|
32372
32372
|
} | null;
|
|
32373
32373
|
}[], Error>>;
|
|
32374
|
-
fetchStatus:
|
|
32374
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32375
32375
|
promise: Promise<{
|
|
32376
32376
|
optionId: bigint;
|
|
32377
32377
|
marketAddr: Address;
|
|
@@ -32457,7 +32457,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32457
32457
|
isRefetching: boolean;
|
|
32458
32458
|
isStale: boolean;
|
|
32459
32459
|
isEnabled: boolean;
|
|
32460
|
-
refetch: (options?:
|
|
32460
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32461
32461
|
optionId: bigint;
|
|
32462
32462
|
marketAddr: Address;
|
|
32463
32463
|
ownerAddr: Address;
|
|
@@ -32488,7 +32488,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
32488
32488
|
address: string;
|
|
32489
32489
|
} | null;
|
|
32490
32490
|
}[], Error>>;
|
|
32491
|
-
fetchStatus:
|
|
32491
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32492
32492
|
promise: Promise<{
|
|
32493
32493
|
optionId: bigint;
|
|
32494
32494
|
marketAddr: Address;
|
|
@@ -32575,7 +32575,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32575
32575
|
isRefetching: boolean;
|
|
32576
32576
|
isStale: boolean;
|
|
32577
32577
|
isEnabled: boolean;
|
|
32578
|
-
refetch: (options?:
|
|
32578
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32579
32579
|
optionId: bigint;
|
|
32580
32580
|
marketAddr: Address;
|
|
32581
32581
|
ownerAddr: Address;
|
|
@@ -32606,7 +32606,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32606
32606
|
address: string;
|
|
32607
32607
|
} | null;
|
|
32608
32608
|
}[], Error>>;
|
|
32609
|
-
fetchStatus:
|
|
32609
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32610
32610
|
promise: Promise<{
|
|
32611
32611
|
optionId: bigint;
|
|
32612
32612
|
marketAddr: Address;
|
|
@@ -32692,7 +32692,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32692
32692
|
isRefetching: boolean;
|
|
32693
32693
|
isStale: boolean;
|
|
32694
32694
|
isEnabled: boolean;
|
|
32695
|
-
refetch: (options?:
|
|
32695
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32696
32696
|
optionId: bigint;
|
|
32697
32697
|
marketAddr: Address;
|
|
32698
32698
|
ownerAddr: Address;
|
|
@@ -32723,7 +32723,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32723
32723
|
address: string;
|
|
32724
32724
|
} | null;
|
|
32725
32725
|
}[], Error>>;
|
|
32726
|
-
fetchStatus:
|
|
32726
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32727
32727
|
promise: Promise<{
|
|
32728
32728
|
optionId: bigint;
|
|
32729
32729
|
marketAddr: Address;
|
|
@@ -32809,7 +32809,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32809
32809
|
isRefetching: boolean;
|
|
32810
32810
|
isStale: boolean;
|
|
32811
32811
|
isEnabled: boolean;
|
|
32812
|
-
refetch: (options?:
|
|
32812
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32813
32813
|
optionId: bigint;
|
|
32814
32814
|
marketAddr: Address;
|
|
32815
32815
|
ownerAddr: Address;
|
|
@@ -32840,7 +32840,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32840
32840
|
address: string;
|
|
32841
32841
|
} | null;
|
|
32842
32842
|
}[], Error>>;
|
|
32843
|
-
fetchStatus:
|
|
32843
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32844
32844
|
promise: Promise<{
|
|
32845
32845
|
optionId: bigint;
|
|
32846
32846
|
marketAddr: Address;
|
|
@@ -32926,7 +32926,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32926
32926
|
isRefetching: boolean;
|
|
32927
32927
|
isStale: boolean;
|
|
32928
32928
|
isEnabled: boolean;
|
|
32929
|
-
refetch: (options?:
|
|
32929
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
32930
32930
|
optionId: bigint;
|
|
32931
32931
|
marketAddr: Address;
|
|
32932
32932
|
ownerAddr: Address;
|
|
@@ -32957,7 +32957,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
32957
32957
|
address: string;
|
|
32958
32958
|
} | null;
|
|
32959
32959
|
}[], Error>>;
|
|
32960
|
-
fetchStatus:
|
|
32960
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
32961
32961
|
promise: Promise<{
|
|
32962
32962
|
optionId: bigint;
|
|
32963
32963
|
marketAddr: Address;
|
|
@@ -33043,7 +33043,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33043
33043
|
isRefetching: boolean;
|
|
33044
33044
|
isStale: boolean;
|
|
33045
33045
|
isEnabled: boolean;
|
|
33046
|
-
refetch: (options?:
|
|
33046
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33047
33047
|
optionId: bigint;
|
|
33048
33048
|
marketAddr: Address;
|
|
33049
33049
|
ownerAddr: Address;
|
|
@@ -33074,7 +33074,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33074
33074
|
address: string;
|
|
33075
33075
|
} | null;
|
|
33076
33076
|
}[], Error>>;
|
|
33077
|
-
fetchStatus:
|
|
33077
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33078
33078
|
promise: Promise<{
|
|
33079
33079
|
optionId: bigint;
|
|
33080
33080
|
marketAddr: Address;
|
|
@@ -33160,7 +33160,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33160
33160
|
isRefetching: boolean;
|
|
33161
33161
|
isStale: boolean;
|
|
33162
33162
|
isEnabled: boolean;
|
|
33163
|
-
refetch: (options?:
|
|
33163
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33164
33164
|
optionId: bigint;
|
|
33165
33165
|
marketAddr: Address;
|
|
33166
33166
|
ownerAddr: Address;
|
|
@@ -33191,7 +33191,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33191
33191
|
address: string;
|
|
33192
33192
|
} | null;
|
|
33193
33193
|
}[], Error>>;
|
|
33194
|
-
fetchStatus:
|
|
33194
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33195
33195
|
promise: Promise<{
|
|
33196
33196
|
optionId: bigint;
|
|
33197
33197
|
marketAddr: Address;
|
|
@@ -33278,7 +33278,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33278
33278
|
isRefetching: boolean;
|
|
33279
33279
|
isStale: boolean;
|
|
33280
33280
|
isEnabled: boolean;
|
|
33281
|
-
refetch: (options?:
|
|
33281
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33282
33282
|
optionId: bigint;
|
|
33283
33283
|
marketAddr: Address;
|
|
33284
33284
|
ownerAddr: Address;
|
|
@@ -33309,7 +33309,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33309
33309
|
address: string;
|
|
33310
33310
|
} | null;
|
|
33311
33311
|
}[], Error>>;
|
|
33312
|
-
fetchStatus:
|
|
33312
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33313
33313
|
promise: Promise<{
|
|
33314
33314
|
optionId: bigint;
|
|
33315
33315
|
marketAddr: Address;
|
|
@@ -33395,7 +33395,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33395
33395
|
isRefetching: boolean;
|
|
33396
33396
|
isStale: boolean;
|
|
33397
33397
|
isEnabled: boolean;
|
|
33398
|
-
refetch: (options?:
|
|
33398
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33399
33399
|
optionId: bigint;
|
|
33400
33400
|
marketAddr: Address;
|
|
33401
33401
|
ownerAddr: Address;
|
|
@@ -33426,7 +33426,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33426
33426
|
address: string;
|
|
33427
33427
|
} | null;
|
|
33428
33428
|
}[], Error>>;
|
|
33429
|
-
fetchStatus:
|
|
33429
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33430
33430
|
promise: Promise<{
|
|
33431
33431
|
optionId: bigint;
|
|
33432
33432
|
marketAddr: Address;
|
|
@@ -33512,7 +33512,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33512
33512
|
isRefetching: boolean;
|
|
33513
33513
|
isStale: boolean;
|
|
33514
33514
|
isEnabled: boolean;
|
|
33515
|
-
refetch: (options?:
|
|
33515
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33516
33516
|
optionId: bigint;
|
|
33517
33517
|
marketAddr: Address;
|
|
33518
33518
|
ownerAddr: Address;
|
|
@@ -33543,7 +33543,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33543
33543
|
address: string;
|
|
33544
33544
|
} | null;
|
|
33545
33545
|
}[], Error>>;
|
|
33546
|
-
fetchStatus:
|
|
33546
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33547
33547
|
promise: Promise<{
|
|
33548
33548
|
optionId: bigint;
|
|
33549
33549
|
marketAddr: Address;
|
|
@@ -33629,7 +33629,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33629
33629
|
isRefetching: boolean;
|
|
33630
33630
|
isStale: boolean;
|
|
33631
33631
|
isEnabled: boolean;
|
|
33632
|
-
refetch: (options?:
|
|
33632
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33633
33633
|
optionId: bigint;
|
|
33634
33634
|
marketAddr: Address;
|
|
33635
33635
|
ownerAddr: Address;
|
|
@@ -33660,7 +33660,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33660
33660
|
address: string;
|
|
33661
33661
|
} | null;
|
|
33662
33662
|
}[], Error>>;
|
|
33663
|
-
fetchStatus:
|
|
33663
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33664
33664
|
promise: Promise<{
|
|
33665
33665
|
optionId: bigint;
|
|
33666
33666
|
marketAddr: Address;
|
|
@@ -33746,7 +33746,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33746
33746
|
isRefetching: boolean;
|
|
33747
33747
|
isStale: boolean;
|
|
33748
33748
|
isEnabled: boolean;
|
|
33749
|
-
refetch: (options?:
|
|
33749
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33750
33750
|
optionId: bigint;
|
|
33751
33751
|
marketAddr: Address;
|
|
33752
33752
|
ownerAddr: Address;
|
|
@@ -33777,7 +33777,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33777
33777
|
address: string;
|
|
33778
33778
|
} | null;
|
|
33779
33779
|
}[], Error>>;
|
|
33780
|
-
fetchStatus:
|
|
33780
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33781
33781
|
promise: Promise<{
|
|
33782
33782
|
optionId: bigint;
|
|
33783
33783
|
marketAddr: Address;
|
|
@@ -33863,7 +33863,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33863
33863
|
isRefetching: boolean;
|
|
33864
33864
|
isStale: boolean;
|
|
33865
33865
|
isEnabled: boolean;
|
|
33866
|
-
refetch: (options?:
|
|
33866
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
33867
33867
|
optionId: bigint;
|
|
33868
33868
|
marketAddr: Address;
|
|
33869
33869
|
ownerAddr: Address;
|
|
@@ -33894,7 +33894,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33894
33894
|
address: string;
|
|
33895
33895
|
} | null;
|
|
33896
33896
|
}[], Error>>;
|
|
33897
|
-
fetchStatus:
|
|
33897
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
33898
33898
|
promise: Promise<{
|
|
33899
33899
|
optionId: bigint;
|
|
33900
33900
|
marketAddr: Address;
|
|
@@ -33960,7 +33960,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
33960
33960
|
};
|
|
33961
33961
|
//#endregion
|
|
33962
33962
|
//#region src/hooks/options/useExerciseOption.d.ts
|
|
33963
|
-
declare const useExerciseOption: (marketAddr?: Address) =>
|
|
33963
|
+
declare const useExerciseOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
33964
33964
|
option: OptionData;
|
|
33965
33965
|
liquidities: readonly bigint[];
|
|
33966
33966
|
}, unknown>;
|
|
@@ -34016,7 +34016,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
34016
34016
|
};
|
|
34017
34017
|
//#endregion
|
|
34018
34018
|
//#region src/hooks/options/useMintOption.d.ts
|
|
34019
|
-
declare const useMintOption: (marketAddr?: Address) =>
|
|
34019
|
+
declare const useMintOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
34020
34020
|
optionType: "CALL" | "PUT";
|
|
34021
34021
|
amount: bigint;
|
|
34022
34022
|
duration: number;
|
|
@@ -34041,7 +34041,7 @@ declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "C
|
|
|
34041
34041
|
};
|
|
34042
34042
|
//#endregion
|
|
34043
34043
|
//#region src/hooks/options/useExtendOption.d.ts
|
|
34044
|
-
declare const useExtendOption: (marketAddr?: Address) =>
|
|
34044
|
+
declare const useExtendOption: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
34045
34045
|
option: OptionData;
|
|
34046
34046
|
duration: number;
|
|
34047
34047
|
}, unknown>;
|
|
@@ -34071,7 +34071,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34071
34071
|
isRefetching: boolean;
|
|
34072
34072
|
isStale: boolean;
|
|
34073
34073
|
isEnabled: boolean;
|
|
34074
|
-
refetch: (options?:
|
|
34074
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
34075
34075
|
type: "mint";
|
|
34076
34076
|
data: {
|
|
34077
34077
|
id: string;
|
|
@@ -34110,7 +34110,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34110
34110
|
transactionHash: string;
|
|
34111
34111
|
};
|
|
34112
34112
|
})[], Error>>;
|
|
34113
|
-
fetchStatus:
|
|
34113
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34114
34114
|
promise: Promise<({
|
|
34115
34115
|
type: "mint";
|
|
34116
34116
|
data: {
|
|
@@ -34212,7 +34212,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34212
34212
|
isRefetching: boolean;
|
|
34213
34213
|
isStale: boolean;
|
|
34214
34214
|
isEnabled: boolean;
|
|
34215
|
-
refetch: (options?:
|
|
34215
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
34216
34216
|
type: "mint";
|
|
34217
34217
|
data: {
|
|
34218
34218
|
id: string;
|
|
@@ -34251,7 +34251,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34251
34251
|
transactionHash: string;
|
|
34252
34252
|
};
|
|
34253
34253
|
})[], Error>>;
|
|
34254
|
-
fetchStatus:
|
|
34254
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34255
34255
|
promise: Promise<({
|
|
34256
34256
|
type: "mint";
|
|
34257
34257
|
data: {
|
|
@@ -34353,7 +34353,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34353
34353
|
isRefetching: boolean;
|
|
34354
34354
|
isStale: boolean;
|
|
34355
34355
|
isEnabled: boolean;
|
|
34356
|
-
refetch: (options?:
|
|
34356
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
34357
34357
|
type: "mint";
|
|
34358
34358
|
data: {
|
|
34359
34359
|
id: string;
|
|
@@ -34392,7 +34392,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34392
34392
|
transactionHash: string;
|
|
34393
34393
|
};
|
|
34394
34394
|
})[], Error>>;
|
|
34395
|
-
fetchStatus:
|
|
34395
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34396
34396
|
promise: Promise<({
|
|
34397
34397
|
type: "mint";
|
|
34398
34398
|
data: {
|
|
@@ -34494,7 +34494,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34494
34494
|
isRefetching: boolean;
|
|
34495
34495
|
isStale: boolean;
|
|
34496
34496
|
isEnabled: boolean;
|
|
34497
|
-
refetch: (options?:
|
|
34497
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
34498
34498
|
type: "mint";
|
|
34499
34499
|
data: {
|
|
34500
34500
|
id: string;
|
|
@@ -34533,7 +34533,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34533
34533
|
transactionHash: string;
|
|
34534
34534
|
};
|
|
34535
34535
|
})[], Error>>;
|
|
34536
|
-
fetchStatus:
|
|
34536
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34537
34537
|
promise: Promise<({
|
|
34538
34538
|
type: "mint";
|
|
34539
34539
|
data: {
|
|
@@ -34635,7 +34635,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34635
34635
|
isRefetching: boolean;
|
|
34636
34636
|
isStale: boolean;
|
|
34637
34637
|
isEnabled: boolean;
|
|
34638
|
-
refetch: (options?:
|
|
34638
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
34639
34639
|
type: "mint";
|
|
34640
34640
|
data: {
|
|
34641
34641
|
id: string;
|
|
@@ -34674,7 +34674,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34674
34674
|
transactionHash: string;
|
|
34675
34675
|
};
|
|
34676
34676
|
})[], Error>>;
|
|
34677
|
-
fetchStatus:
|
|
34677
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34678
34678
|
promise: Promise<({
|
|
34679
34679
|
type: "mint";
|
|
34680
34680
|
data: {
|
|
@@ -34776,7 +34776,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34776
34776
|
isRefetching: boolean;
|
|
34777
34777
|
isStale: boolean;
|
|
34778
34778
|
isEnabled: boolean;
|
|
34779
|
-
refetch: (options?:
|
|
34779
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
|
|
34780
34780
|
type: "mint";
|
|
34781
34781
|
data: {
|
|
34782
34782
|
id: string;
|
|
@@ -34815,7 +34815,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34815
34815
|
transactionHash: string;
|
|
34816
34816
|
};
|
|
34817
34817
|
})[], Error>>;
|
|
34818
|
-
fetchStatus:
|
|
34818
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
34819
34819
|
promise: Promise<({
|
|
34820
34820
|
type: "mint";
|
|
34821
34821
|
data: {
|
|
@@ -34897,7 +34897,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
34897
34897
|
};
|
|
34898
34898
|
//#endregion
|
|
34899
34899
|
//#region src/hooks/perps/useMintPerp.d.ts
|
|
34900
|
-
declare const useMintPerp: (marketAddr?: Address) =>
|
|
34900
|
+
declare const useMintPerp: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<void, Error, {
|
|
34901
34901
|
optionType: "CALL" | "PUT";
|
|
34902
34902
|
amount: bigint;
|
|
34903
34903
|
duration: number;
|
|
@@ -34952,16 +34952,13 @@ declare class PerpsOperator {
|
|
|
34952
34952
|
}
|
|
34953
34953
|
//#endregion
|
|
34954
34954
|
//#region src/hooks/perps/useClosePerp.d.ts
|
|
34955
|
-
declare const useClosePerp: () =>
|
|
34956
|
-
txHash: string;
|
|
34957
|
-
optionId: bigint;
|
|
34958
|
-
}, Error, ExercisePerpBody, unknown>;
|
|
34955
|
+
declare const useClosePerp: () => _tanstack_react_query0.UseMutationResult<void, Error, ExercisePerpBody, unknown>;
|
|
34959
34956
|
//#endregion
|
|
34960
34957
|
//#region src/hooks/perps/usePerpsOperator.d.ts
|
|
34961
34958
|
declare const usePerpsOperator: () => {
|
|
34962
34959
|
operator: PerpsOperator | undefined;
|
|
34963
34960
|
address: `0x${string}` | undefined;
|
|
34964
|
-
signMessage:
|
|
34961
|
+
signMessage: _tanstack_react_query0.UseMutationResult<void, Error, void, unknown>;
|
|
34965
34962
|
};
|
|
34966
34963
|
//#endregion
|
|
34967
34964
|
//#region src/hooks/perps/useUserPerps.d.ts
|
|
@@ -34988,7 +34985,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34988
34985
|
isRefetching: boolean;
|
|
34989
34986
|
isStale: boolean;
|
|
34990
34987
|
isEnabled: boolean;
|
|
34991
|
-
refetch: (options?:
|
|
34988
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
34992
34989
|
optionId: bigint;
|
|
34993
34990
|
id: string;
|
|
34994
34991
|
ownerAddr: Address;
|
|
@@ -34997,7 +34994,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
34997
34994
|
expiresAt: number;
|
|
34998
34995
|
closed: boolean;
|
|
34999
34996
|
}[] | undefined, Error>>;
|
|
35000
|
-
fetchStatus:
|
|
34997
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35001
34998
|
promise: Promise<{
|
|
35002
34999
|
optionId: bigint;
|
|
35003
35000
|
id: string;
|
|
@@ -35039,7 +35036,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35039
35036
|
isRefetching: boolean;
|
|
35040
35037
|
isStale: boolean;
|
|
35041
35038
|
isEnabled: boolean;
|
|
35042
|
-
refetch: (options?:
|
|
35039
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35043
35040
|
optionId: bigint;
|
|
35044
35041
|
id: string;
|
|
35045
35042
|
ownerAddr: Address;
|
|
@@ -35048,7 +35045,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35048
35045
|
expiresAt: number;
|
|
35049
35046
|
closed: boolean;
|
|
35050
35047
|
}[] | undefined, Error>>;
|
|
35051
|
-
fetchStatus:
|
|
35048
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35052
35049
|
promise: Promise<{
|
|
35053
35050
|
optionId: bigint;
|
|
35054
35051
|
id: string;
|
|
@@ -35090,7 +35087,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35090
35087
|
isRefetching: boolean;
|
|
35091
35088
|
isStale: boolean;
|
|
35092
35089
|
isEnabled: boolean;
|
|
35093
|
-
refetch: (options?:
|
|
35090
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35094
35091
|
optionId: bigint;
|
|
35095
35092
|
id: string;
|
|
35096
35093
|
ownerAddr: Address;
|
|
@@ -35099,7 +35096,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35099
35096
|
expiresAt: number;
|
|
35100
35097
|
closed: boolean;
|
|
35101
35098
|
}[] | undefined, Error>>;
|
|
35102
|
-
fetchStatus:
|
|
35099
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35103
35100
|
promise: Promise<{
|
|
35104
35101
|
optionId: bigint;
|
|
35105
35102
|
id: string;
|
|
@@ -35141,7 +35138,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35141
35138
|
isRefetching: boolean;
|
|
35142
35139
|
isStale: boolean;
|
|
35143
35140
|
isEnabled: boolean;
|
|
35144
|
-
refetch: (options?:
|
|
35141
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35145
35142
|
optionId: bigint;
|
|
35146
35143
|
id: string;
|
|
35147
35144
|
ownerAddr: Address;
|
|
@@ -35150,7 +35147,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35150
35147
|
expiresAt: number;
|
|
35151
35148
|
closed: boolean;
|
|
35152
35149
|
}[] | undefined, Error>>;
|
|
35153
|
-
fetchStatus:
|
|
35150
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35154
35151
|
promise: Promise<{
|
|
35155
35152
|
optionId: bigint;
|
|
35156
35153
|
id: string;
|
|
@@ -35192,7 +35189,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35192
35189
|
isRefetching: boolean;
|
|
35193
35190
|
isStale: boolean;
|
|
35194
35191
|
isEnabled: boolean;
|
|
35195
|
-
refetch: (options?:
|
|
35192
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35196
35193
|
optionId: bigint;
|
|
35197
35194
|
id: string;
|
|
35198
35195
|
ownerAddr: Address;
|
|
@@ -35201,7 +35198,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35201
35198
|
expiresAt: number;
|
|
35202
35199
|
closed: boolean;
|
|
35203
35200
|
}[] | undefined, Error>>;
|
|
35204
|
-
fetchStatus:
|
|
35201
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35205
35202
|
promise: Promise<{
|
|
35206
35203
|
optionId: bigint;
|
|
35207
35204
|
id: string;
|
|
@@ -35243,7 +35240,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35243
35240
|
isRefetching: boolean;
|
|
35244
35241
|
isStale: boolean;
|
|
35245
35242
|
isEnabled: boolean;
|
|
35246
|
-
refetch: (options?:
|
|
35243
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35247
35244
|
optionId: bigint;
|
|
35248
35245
|
id: string;
|
|
35249
35246
|
ownerAddr: Address;
|
|
@@ -35252,7 +35249,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
35252
35249
|
expiresAt: number;
|
|
35253
35250
|
closed: boolean;
|
|
35254
35251
|
}[] | undefined, Error>>;
|
|
35255
|
-
fetchStatus:
|
|
35252
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35256
35253
|
promise: Promise<{
|
|
35257
35254
|
optionId: bigint;
|
|
35258
35255
|
id: string;
|
|
@@ -35295,7 +35292,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35295
35292
|
isRefetching: boolean;
|
|
35296
35293
|
isStale: boolean;
|
|
35297
35294
|
isEnabled: boolean;
|
|
35298
|
-
refetch: (options?:
|
|
35295
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35299
35296
|
optionId: bigint;
|
|
35300
35297
|
id: string;
|
|
35301
35298
|
ownerAddr: Address;
|
|
@@ -35304,7 +35301,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35304
35301
|
expiresAt: number;
|
|
35305
35302
|
closed: boolean;
|
|
35306
35303
|
}[] | undefined, Error>>;
|
|
35307
|
-
fetchStatus:
|
|
35304
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35308
35305
|
promise: Promise<{
|
|
35309
35306
|
optionId: bigint;
|
|
35310
35307
|
id: string;
|
|
@@ -35346,7 +35343,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35346
35343
|
isRefetching: boolean;
|
|
35347
35344
|
isStale: boolean;
|
|
35348
35345
|
isEnabled: boolean;
|
|
35349
|
-
refetch: (options?:
|
|
35346
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35350
35347
|
optionId: bigint;
|
|
35351
35348
|
id: string;
|
|
35352
35349
|
ownerAddr: Address;
|
|
@@ -35355,7 +35352,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35355
35352
|
expiresAt: number;
|
|
35356
35353
|
closed: boolean;
|
|
35357
35354
|
}[] | undefined, Error>>;
|
|
35358
|
-
fetchStatus:
|
|
35355
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35359
35356
|
promise: Promise<{
|
|
35360
35357
|
optionId: bigint;
|
|
35361
35358
|
id: string;
|
|
@@ -35397,7 +35394,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35397
35394
|
isRefetching: boolean;
|
|
35398
35395
|
isStale: boolean;
|
|
35399
35396
|
isEnabled: boolean;
|
|
35400
|
-
refetch: (options?:
|
|
35397
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35401
35398
|
optionId: bigint;
|
|
35402
35399
|
id: string;
|
|
35403
35400
|
ownerAddr: Address;
|
|
@@ -35406,7 +35403,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35406
35403
|
expiresAt: number;
|
|
35407
35404
|
closed: boolean;
|
|
35408
35405
|
}[] | undefined, Error>>;
|
|
35409
|
-
fetchStatus:
|
|
35406
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35410
35407
|
promise: Promise<{
|
|
35411
35408
|
optionId: bigint;
|
|
35412
35409
|
id: string;
|
|
@@ -35448,7 +35445,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35448
35445
|
isRefetching: boolean;
|
|
35449
35446
|
isStale: boolean;
|
|
35450
35447
|
isEnabled: boolean;
|
|
35451
|
-
refetch: (options?:
|
|
35448
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35452
35449
|
optionId: bigint;
|
|
35453
35450
|
id: string;
|
|
35454
35451
|
ownerAddr: Address;
|
|
@@ -35457,7 +35454,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35457
35454
|
expiresAt: number;
|
|
35458
35455
|
closed: boolean;
|
|
35459
35456
|
}[] | undefined, Error>>;
|
|
35460
|
-
fetchStatus:
|
|
35457
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35461
35458
|
promise: Promise<{
|
|
35462
35459
|
optionId: bigint;
|
|
35463
35460
|
id: string;
|
|
@@ -35499,7 +35496,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35499
35496
|
isRefetching: boolean;
|
|
35500
35497
|
isStale: boolean;
|
|
35501
35498
|
isEnabled: boolean;
|
|
35502
|
-
refetch: (options?:
|
|
35499
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35503
35500
|
optionId: bigint;
|
|
35504
35501
|
id: string;
|
|
35505
35502
|
ownerAddr: Address;
|
|
@@ -35508,7 +35505,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35508
35505
|
expiresAt: number;
|
|
35509
35506
|
closed: boolean;
|
|
35510
35507
|
}[] | undefined, Error>>;
|
|
35511
|
-
fetchStatus:
|
|
35508
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35512
35509
|
promise: Promise<{
|
|
35513
35510
|
optionId: bigint;
|
|
35514
35511
|
id: string;
|
|
@@ -35550,7 +35547,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35550
35547
|
isRefetching: boolean;
|
|
35551
35548
|
isStale: boolean;
|
|
35552
35549
|
isEnabled: boolean;
|
|
35553
|
-
refetch: (options?:
|
|
35550
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35554
35551
|
optionId: bigint;
|
|
35555
35552
|
id: string;
|
|
35556
35553
|
ownerAddr: Address;
|
|
@@ -35559,7 +35556,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35559
35556
|
expiresAt: number;
|
|
35560
35557
|
closed: boolean;
|
|
35561
35558
|
}[] | undefined, Error>>;
|
|
35562
|
-
fetchStatus:
|
|
35559
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35563
35560
|
promise: Promise<{
|
|
35564
35561
|
optionId: bigint;
|
|
35565
35562
|
id: string;
|
|
@@ -35602,7 +35599,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35602
35599
|
isRefetching: boolean;
|
|
35603
35600
|
isStale: boolean;
|
|
35604
35601
|
isEnabled: boolean;
|
|
35605
|
-
refetch: (options?:
|
|
35602
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35606
35603
|
optionId: bigint;
|
|
35607
35604
|
id: string;
|
|
35608
35605
|
ownerAddr: Address;
|
|
@@ -35611,7 +35608,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35611
35608
|
expiresAt: number;
|
|
35612
35609
|
closed: boolean;
|
|
35613
35610
|
}[] | undefined, Error>>;
|
|
35614
|
-
fetchStatus:
|
|
35611
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35615
35612
|
promise: Promise<{
|
|
35616
35613
|
optionId: bigint;
|
|
35617
35614
|
id: string;
|
|
@@ -35653,7 +35650,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35653
35650
|
isRefetching: boolean;
|
|
35654
35651
|
isStale: boolean;
|
|
35655
35652
|
isEnabled: boolean;
|
|
35656
|
-
refetch: (options?:
|
|
35653
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35657
35654
|
optionId: bigint;
|
|
35658
35655
|
id: string;
|
|
35659
35656
|
ownerAddr: Address;
|
|
@@ -35662,7 +35659,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35662
35659
|
expiresAt: number;
|
|
35663
35660
|
closed: boolean;
|
|
35664
35661
|
}[] | undefined, Error>>;
|
|
35665
|
-
fetchStatus:
|
|
35662
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35666
35663
|
promise: Promise<{
|
|
35667
35664
|
optionId: bigint;
|
|
35668
35665
|
id: string;
|
|
@@ -35704,7 +35701,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35704
35701
|
isRefetching: boolean;
|
|
35705
35702
|
isStale: boolean;
|
|
35706
35703
|
isEnabled: boolean;
|
|
35707
|
-
refetch: (options?:
|
|
35704
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35708
35705
|
optionId: bigint;
|
|
35709
35706
|
id: string;
|
|
35710
35707
|
ownerAddr: Address;
|
|
@@ -35713,7 +35710,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35713
35710
|
expiresAt: number;
|
|
35714
35711
|
closed: boolean;
|
|
35715
35712
|
}[] | undefined, Error>>;
|
|
35716
|
-
fetchStatus:
|
|
35713
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35717
35714
|
promise: Promise<{
|
|
35718
35715
|
optionId: bigint;
|
|
35719
35716
|
id: string;
|
|
@@ -35755,7 +35752,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35755
35752
|
isRefetching: boolean;
|
|
35756
35753
|
isStale: boolean;
|
|
35757
35754
|
isEnabled: boolean;
|
|
35758
|
-
refetch: (options?:
|
|
35755
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35759
35756
|
optionId: bigint;
|
|
35760
35757
|
id: string;
|
|
35761
35758
|
ownerAddr: Address;
|
|
@@ -35764,7 +35761,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35764
35761
|
expiresAt: number;
|
|
35765
35762
|
closed: boolean;
|
|
35766
35763
|
}[] | undefined, Error>>;
|
|
35767
|
-
fetchStatus:
|
|
35764
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35768
35765
|
promise: Promise<{
|
|
35769
35766
|
optionId: bigint;
|
|
35770
35767
|
id: string;
|
|
@@ -35806,7 +35803,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35806
35803
|
isRefetching: boolean;
|
|
35807
35804
|
isStale: boolean;
|
|
35808
35805
|
isEnabled: boolean;
|
|
35809
|
-
refetch: (options?:
|
|
35806
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35810
35807
|
optionId: bigint;
|
|
35811
35808
|
id: string;
|
|
35812
35809
|
ownerAddr: Address;
|
|
@@ -35815,7 +35812,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35815
35812
|
expiresAt: number;
|
|
35816
35813
|
closed: boolean;
|
|
35817
35814
|
}[] | undefined, Error>>;
|
|
35818
|
-
fetchStatus:
|
|
35815
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35819
35816
|
promise: Promise<{
|
|
35820
35817
|
optionId: bigint;
|
|
35821
35818
|
id: string;
|
|
@@ -35857,7 +35854,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35857
35854
|
isRefetching: boolean;
|
|
35858
35855
|
isStale: boolean;
|
|
35859
35856
|
isEnabled: boolean;
|
|
35860
|
-
refetch: (options?:
|
|
35857
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
35861
35858
|
optionId: bigint;
|
|
35862
35859
|
id: string;
|
|
35863
35860
|
ownerAddr: Address;
|
|
@@ -35866,7 +35863,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
35866
35863
|
expiresAt: number;
|
|
35867
35864
|
closed: boolean;
|
|
35868
35865
|
}[] | undefined, Error>>;
|
|
35869
|
-
fetchStatus:
|
|
35866
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35870
35867
|
promise: Promise<{
|
|
35871
35868
|
optionId: bigint;
|
|
35872
35869
|
id: string;
|
|
@@ -35911,10 +35908,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35911
35908
|
isRefetching: boolean;
|
|
35912
35909
|
isStale: boolean;
|
|
35913
35910
|
isEnabled: boolean;
|
|
35914
|
-
refetch: (options?:
|
|
35915
|
-
fetchStatus:
|
|
35911
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35912
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35916
35913
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35917
|
-
queryKey:
|
|
35914
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35918
35915
|
data: {
|
|
35919
35916
|
canExtend: boolean;
|
|
35920
35917
|
canExercise: boolean;
|
|
@@ -35945,10 +35942,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35945
35942
|
isRefetching: boolean;
|
|
35946
35943
|
isStale: boolean;
|
|
35947
35944
|
isEnabled: boolean;
|
|
35948
|
-
refetch: (options?:
|
|
35949
|
-
fetchStatus:
|
|
35945
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35946
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35950
35947
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35951
|
-
queryKey:
|
|
35948
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35952
35949
|
data: {
|
|
35953
35950
|
canExtend: boolean;
|
|
35954
35951
|
canExercise: boolean;
|
|
@@ -35979,10 +35976,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
35979
35976
|
isRefetching: boolean;
|
|
35980
35977
|
isStale: boolean;
|
|
35981
35978
|
isEnabled: boolean;
|
|
35982
|
-
refetch: (options?:
|
|
35983
|
-
fetchStatus:
|
|
35979
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
35980
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
35984
35981
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
35985
|
-
queryKey:
|
|
35982
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
35986
35983
|
data: {
|
|
35987
35984
|
canExtend: boolean;
|
|
35988
35985
|
canExercise: boolean;
|
|
@@ -36013,10 +36010,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36013
36010
|
isRefetching: boolean;
|
|
36014
36011
|
isStale: boolean;
|
|
36015
36012
|
isEnabled: boolean;
|
|
36016
|
-
refetch: (options?:
|
|
36017
|
-
fetchStatus:
|
|
36013
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
36014
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36018
36015
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36019
|
-
queryKey:
|
|
36016
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36020
36017
|
data: {
|
|
36021
36018
|
canExtend: boolean;
|
|
36022
36019
|
canExercise: boolean;
|
|
@@ -36047,10 +36044,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36047
36044
|
isRefetching: boolean;
|
|
36048
36045
|
isStale: boolean;
|
|
36049
36046
|
isEnabled: boolean;
|
|
36050
|
-
refetch: (options?:
|
|
36051
|
-
fetchStatus:
|
|
36047
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
36048
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36052
36049
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36053
|
-
queryKey:
|
|
36050
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36054
36051
|
data: {
|
|
36055
36052
|
canExtend: boolean;
|
|
36056
36053
|
canExercise: boolean;
|
|
@@ -36081,10 +36078,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
36081
36078
|
isRefetching: boolean;
|
|
36082
36079
|
isStale: boolean;
|
|
36083
36080
|
isEnabled: boolean;
|
|
36084
|
-
refetch: (options?:
|
|
36085
|
-
fetchStatus:
|
|
36081
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
36082
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36086
36083
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
36087
|
-
queryKey:
|
|
36084
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36088
36085
|
data: {
|
|
36089
36086
|
canExtend: boolean;
|
|
36090
36087
|
canExercise: boolean;
|
|
@@ -36132,7 +36129,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36132
36129
|
isRefetching: boolean;
|
|
36133
36130
|
isStale: boolean;
|
|
36134
36131
|
isEnabled: boolean;
|
|
36135
|
-
refetch: (options?:
|
|
36132
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36136
36133
|
spendingApproval: bigint;
|
|
36137
36134
|
operatorAddr: string;
|
|
36138
36135
|
__typename: "UserMarketOperator";
|
|
@@ -36146,7 +36143,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36146
36143
|
address: string;
|
|
36147
36144
|
} | null;
|
|
36148
36145
|
}[] | undefined, Error>>;
|
|
36149
|
-
fetchStatus:
|
|
36146
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36150
36147
|
promise: Promise<{
|
|
36151
36148
|
spendingApproval: bigint;
|
|
36152
36149
|
operatorAddr: string;
|
|
@@ -36198,7 +36195,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36198
36195
|
isRefetching: boolean;
|
|
36199
36196
|
isStale: boolean;
|
|
36200
36197
|
isEnabled: boolean;
|
|
36201
|
-
refetch: (options?:
|
|
36198
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36202
36199
|
spendingApproval: bigint;
|
|
36203
36200
|
operatorAddr: string;
|
|
36204
36201
|
__typename: "UserMarketOperator";
|
|
@@ -36212,7 +36209,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36212
36209
|
address: string;
|
|
36213
36210
|
} | null;
|
|
36214
36211
|
}[] | undefined, Error>>;
|
|
36215
|
-
fetchStatus:
|
|
36212
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36216
36213
|
promise: Promise<{
|
|
36217
36214
|
spendingApproval: bigint;
|
|
36218
36215
|
operatorAddr: string;
|
|
@@ -36264,7 +36261,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36264
36261
|
isRefetching: boolean;
|
|
36265
36262
|
isStale: boolean;
|
|
36266
36263
|
isEnabled: boolean;
|
|
36267
|
-
refetch: (options?:
|
|
36264
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36268
36265
|
spendingApproval: bigint;
|
|
36269
36266
|
operatorAddr: string;
|
|
36270
36267
|
__typename: "UserMarketOperator";
|
|
@@ -36278,7 +36275,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36278
36275
|
address: string;
|
|
36279
36276
|
} | null;
|
|
36280
36277
|
}[] | undefined, Error>>;
|
|
36281
|
-
fetchStatus:
|
|
36278
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36282
36279
|
promise: Promise<{
|
|
36283
36280
|
spendingApproval: bigint;
|
|
36284
36281
|
operatorAddr: string;
|
|
@@ -36330,7 +36327,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36330
36327
|
isRefetching: boolean;
|
|
36331
36328
|
isStale: boolean;
|
|
36332
36329
|
isEnabled: boolean;
|
|
36333
|
-
refetch: (options?:
|
|
36330
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36334
36331
|
spendingApproval: bigint;
|
|
36335
36332
|
operatorAddr: string;
|
|
36336
36333
|
__typename: "UserMarketOperator";
|
|
@@ -36344,7 +36341,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36344
36341
|
address: string;
|
|
36345
36342
|
} | null;
|
|
36346
36343
|
}[] | undefined, Error>>;
|
|
36347
|
-
fetchStatus:
|
|
36344
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36348
36345
|
promise: Promise<{
|
|
36349
36346
|
spendingApproval: bigint;
|
|
36350
36347
|
operatorAddr: string;
|
|
@@ -36396,7 +36393,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36396
36393
|
isRefetching: boolean;
|
|
36397
36394
|
isStale: boolean;
|
|
36398
36395
|
isEnabled: boolean;
|
|
36399
|
-
refetch: (options?:
|
|
36396
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36400
36397
|
spendingApproval: bigint;
|
|
36401
36398
|
operatorAddr: string;
|
|
36402
36399
|
__typename: "UserMarketOperator";
|
|
@@ -36410,7 +36407,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36410
36407
|
address: string;
|
|
36411
36408
|
} | null;
|
|
36412
36409
|
}[] | undefined, Error>>;
|
|
36413
|
-
fetchStatus:
|
|
36410
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36414
36411
|
promise: Promise<{
|
|
36415
36412
|
spendingApproval: bigint;
|
|
36416
36413
|
operatorAddr: string;
|
|
@@ -36462,7 +36459,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36462
36459
|
isRefetching: boolean;
|
|
36463
36460
|
isStale: boolean;
|
|
36464
36461
|
isEnabled: boolean;
|
|
36465
|
-
refetch: (options?:
|
|
36462
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
36466
36463
|
spendingApproval: bigint;
|
|
36467
36464
|
operatorAddr: string;
|
|
36468
36465
|
__typename: "UserMarketOperator";
|
|
@@ -36476,7 +36473,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36476
36473
|
address: string;
|
|
36477
36474
|
} | null;
|
|
36478
36475
|
}[] | undefined, Error>>;
|
|
36479
|
-
fetchStatus:
|
|
36476
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36480
36477
|
promise: Promise<{
|
|
36481
36478
|
spendingApproval: bigint;
|
|
36482
36479
|
operatorAddr: string;
|
|
@@ -36494,7 +36491,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
36494
36491
|
};
|
|
36495
36492
|
//#endregion
|
|
36496
36493
|
//#region src/hooks/operators/useSetOperatorPerms.d.ts
|
|
36497
|
-
declare const useSetOperatorPerms: (marketAddr?: Address) =>
|
|
36494
|
+
declare const useSetOperatorPerms: (marketAddr?: Address) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
36498
36495
|
operator: Address;
|
|
36499
36496
|
canExtend: boolean;
|
|
36500
36497
|
canExercise: boolean;
|
|
@@ -36570,7 +36567,7 @@ declare const usePoolData: (poolAddr?: Address) => Partial<NonUndefined<{
|
|
|
36570
36567
|
declare const usePriceAtTick: (tick?: number, poolAddr?: Address) => Amount | undefined;
|
|
36571
36568
|
//#endregion
|
|
36572
36569
|
//#region src/hooks/pool/usePriceHistory.d.ts
|
|
36573
|
-
declare const usePriceHistory: (pool: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) =>
|
|
36570
|
+
declare const usePriceHistory: (pool: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query0.UseQueryResult<PriceDataPoint[], Error>;
|
|
36574
36571
|
//#endregion
|
|
36575
36572
|
//#region src/hooks/vault/useBurnLiquidity.d.ts
|
|
36576
36573
|
interface BurnPosition {
|
|
@@ -36614,7 +36611,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36614
36611
|
isRefetching: boolean;
|
|
36615
36612
|
isStale: boolean;
|
|
36616
36613
|
isEnabled: boolean;
|
|
36617
|
-
refetch: (options?:
|
|
36614
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36618
36615
|
tickLower: number;
|
|
36619
36616
|
tickUpper: number;
|
|
36620
36617
|
prevTickLower: number;
|
|
@@ -36625,7 +36622,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36625
36622
|
borrowedAmount0: bigint;
|
|
36626
36623
|
borrowedAmount1: bigint;
|
|
36627
36624
|
}[], viem0.ReadContractErrorType>>;
|
|
36628
|
-
fetchStatus:
|
|
36625
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36629
36626
|
promise: Promise<readonly {
|
|
36630
36627
|
tickLower: number;
|
|
36631
36628
|
tickUpper: number;
|
|
@@ -36637,7 +36634,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36637
36634
|
borrowedAmount0: bigint;
|
|
36638
36635
|
borrowedAmount1: bigint;
|
|
36639
36636
|
}[]>;
|
|
36640
|
-
queryKey:
|
|
36637
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36641
36638
|
data: readonly {
|
|
36642
36639
|
tickLower: number;
|
|
36643
36640
|
tickUpper: number;
|
|
@@ -36672,7 +36669,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36672
36669
|
isRefetching: boolean;
|
|
36673
36670
|
isStale: boolean;
|
|
36674
36671
|
isEnabled: boolean;
|
|
36675
|
-
refetch: (options?:
|
|
36672
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36676
36673
|
tickLower: number;
|
|
36677
36674
|
tickUpper: number;
|
|
36678
36675
|
prevTickLower: number;
|
|
@@ -36683,7 +36680,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36683
36680
|
borrowedAmount0: bigint;
|
|
36684
36681
|
borrowedAmount1: bigint;
|
|
36685
36682
|
}[], viem0.ReadContractErrorType>>;
|
|
36686
|
-
fetchStatus:
|
|
36683
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36687
36684
|
promise: Promise<readonly {
|
|
36688
36685
|
tickLower: number;
|
|
36689
36686
|
tickUpper: number;
|
|
@@ -36695,7 +36692,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36695
36692
|
borrowedAmount0: bigint;
|
|
36696
36693
|
borrowedAmount1: bigint;
|
|
36697
36694
|
}[]>;
|
|
36698
|
-
queryKey:
|
|
36695
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36699
36696
|
data: readonly {
|
|
36700
36697
|
tickLower: number;
|
|
36701
36698
|
tickUpper: number;
|
|
@@ -36730,7 +36727,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36730
36727
|
isRefetching: boolean;
|
|
36731
36728
|
isStale: boolean;
|
|
36732
36729
|
isEnabled: boolean;
|
|
36733
|
-
refetch: (options?:
|
|
36730
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36734
36731
|
tickLower: number;
|
|
36735
36732
|
tickUpper: number;
|
|
36736
36733
|
prevTickLower: number;
|
|
@@ -36741,7 +36738,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36741
36738
|
borrowedAmount0: bigint;
|
|
36742
36739
|
borrowedAmount1: bigint;
|
|
36743
36740
|
}[], viem0.ReadContractErrorType>>;
|
|
36744
|
-
fetchStatus:
|
|
36741
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36745
36742
|
promise: Promise<readonly {
|
|
36746
36743
|
tickLower: number;
|
|
36747
36744
|
tickUpper: number;
|
|
@@ -36753,7 +36750,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36753
36750
|
borrowedAmount0: bigint;
|
|
36754
36751
|
borrowedAmount1: bigint;
|
|
36755
36752
|
}[]>;
|
|
36756
|
-
queryKey:
|
|
36753
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36757
36754
|
data: readonly {
|
|
36758
36755
|
tickLower: number;
|
|
36759
36756
|
tickUpper: number;
|
|
@@ -36788,7 +36785,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36788
36785
|
isRefetching: boolean;
|
|
36789
36786
|
isStale: boolean;
|
|
36790
36787
|
isEnabled: boolean;
|
|
36791
|
-
refetch: (options?:
|
|
36788
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36792
36789
|
tickLower: number;
|
|
36793
36790
|
tickUpper: number;
|
|
36794
36791
|
prevTickLower: number;
|
|
@@ -36799,7 +36796,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36799
36796
|
borrowedAmount0: bigint;
|
|
36800
36797
|
borrowedAmount1: bigint;
|
|
36801
36798
|
}[], viem0.ReadContractErrorType>>;
|
|
36802
|
-
fetchStatus:
|
|
36799
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36803
36800
|
promise: Promise<readonly {
|
|
36804
36801
|
tickLower: number;
|
|
36805
36802
|
tickUpper: number;
|
|
@@ -36811,7 +36808,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36811
36808
|
borrowedAmount0: bigint;
|
|
36812
36809
|
borrowedAmount1: bigint;
|
|
36813
36810
|
}[]>;
|
|
36814
|
-
queryKey:
|
|
36811
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36815
36812
|
data: readonly {
|
|
36816
36813
|
tickLower: number;
|
|
36817
36814
|
tickUpper: number;
|
|
@@ -36846,7 +36843,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36846
36843
|
isRefetching: boolean;
|
|
36847
36844
|
isStale: boolean;
|
|
36848
36845
|
isEnabled: boolean;
|
|
36849
|
-
refetch: (options?:
|
|
36846
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36850
36847
|
tickLower: number;
|
|
36851
36848
|
tickUpper: number;
|
|
36852
36849
|
prevTickLower: number;
|
|
@@ -36857,7 +36854,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36857
36854
|
borrowedAmount0: bigint;
|
|
36858
36855
|
borrowedAmount1: bigint;
|
|
36859
36856
|
}[], viem0.ReadContractErrorType>>;
|
|
36860
|
-
fetchStatus:
|
|
36857
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36861
36858
|
promise: Promise<readonly {
|
|
36862
36859
|
tickLower: number;
|
|
36863
36860
|
tickUpper: number;
|
|
@@ -36869,7 +36866,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36869
36866
|
borrowedAmount0: bigint;
|
|
36870
36867
|
borrowedAmount1: bigint;
|
|
36871
36868
|
}[]>;
|
|
36872
|
-
queryKey:
|
|
36869
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36873
36870
|
data: readonly {
|
|
36874
36871
|
tickLower: number;
|
|
36875
36872
|
tickUpper: number;
|
|
@@ -36904,7 +36901,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36904
36901
|
isRefetching: boolean;
|
|
36905
36902
|
isStale: boolean;
|
|
36906
36903
|
isEnabled: boolean;
|
|
36907
|
-
refetch: (options?:
|
|
36904
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
|
|
36908
36905
|
tickLower: number;
|
|
36909
36906
|
tickUpper: number;
|
|
36910
36907
|
prevTickLower: number;
|
|
@@ -36915,7 +36912,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36915
36912
|
borrowedAmount0: bigint;
|
|
36916
36913
|
borrowedAmount1: bigint;
|
|
36917
36914
|
}[], viem0.ReadContractErrorType>>;
|
|
36918
|
-
fetchStatus:
|
|
36915
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
36919
36916
|
promise: Promise<readonly {
|
|
36920
36917
|
tickLower: number;
|
|
36921
36918
|
tickUpper: number;
|
|
@@ -36927,7 +36924,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
36927
36924
|
borrowedAmount0: bigint;
|
|
36928
36925
|
borrowedAmount1: bigint;
|
|
36929
36926
|
}[]>;
|
|
36930
|
-
queryKey:
|
|
36927
|
+
queryKey: _tanstack_query_core0.QueryKey;
|
|
36931
36928
|
data: readonly {
|
|
36932
36929
|
tickLower: number;
|
|
36933
36930
|
tickUpper: number;
|
|
@@ -36953,7 +36950,7 @@ interface MintPositionParams {
|
|
|
36953
36950
|
tickUpper: number;
|
|
36954
36951
|
liquidity: bigint;
|
|
36955
36952
|
}
|
|
36956
|
-
declare const useMintLiquidity: (vaultAddr?: Address) =>
|
|
36953
|
+
declare const useMintLiquidity: (vaultAddr?: Address) => _tanstack_react_query0.UseMutationResult<void, Error, MintPositionParams | MintPositionParams[], unknown>;
|
|
36957
36954
|
//#endregion
|
|
36958
36955
|
//#region src/hooks/vault/useVaultData.d.ts
|
|
36959
36956
|
declare const useVaultData: (vaultAddr?: Address) => {
|
|
@@ -36978,7 +36975,7 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
36978
36975
|
borrowedAmount0: Amount;
|
|
36979
36976
|
borrowedAmount1: Amount;
|
|
36980
36977
|
blocksCount: bigint;
|
|
36981
|
-
refetch: (options?:
|
|
36978
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
|
|
36982
36979
|
};
|
|
36983
36980
|
//#endregion
|
|
36984
36981
|
//#region src/hooks/useLens.d.ts
|
|
@@ -62854,4 +62851,4 @@ declare const useApproval: () => {
|
|
|
62854
62851
|
};
|
|
62855
62852
|
//#endregion
|
|
62856
62853
|
export { formatCondensed as $, PriceDataPoint as A, usePerpsOperator as B, liquiditiesToAmount1 as C, getErc20 as Ct, token0ToToken1 as D, timelockLenses as Dt, roundTickUp as E, getUniswapMathLens as Et, useUserOperators as F, useExtendOption as G, useMintPerp as H, useOperatorPerms as I, useMintOption as J, useOptionPremium as K, useActiveUserPerps as L, getCurrentPrice as M, getPriceHistory as N, token1ToToken0 as O, uniswapMathLenses as Ot, useSetOperatorPerms as P, formatAmount as Q, useClosedUserPerps as R, liquiditiesToAmount0 as S, UniswapMathLens as St, roundTickDown as T, getTimelockMarket as Tt, OptionTimelineData as U, useClosePerp as V, useOptionTimeline as W, Amount as X, useMaxPositionSize as Y, EMPTY_ARRAY as Z, PRICE_PRECISION as _, useCurrentMarket as _t, batchGetAmountsFromLiquidity as a, unscalePrice as at, getPriceAtTick as b, TimelockMarket as bt, useLiquidityBlocks as c, wrapPrice as ct, usePriceAtTick as d, useMarketData as dt, formatUSD as et, UniswapPoolData as f, useExerciseOption as ft, getPayoutAtTick as g, TimelockProvider as gt, useCurrentPrice as h, useClosedUserOptions as ht, useVaultData as i, unscaleAmount as it, PriceResolution as j, PriceData as k, useBurnLiquidity as l, wrapPriceUnscaled as lt, useCurrentTick as m, useActiveUserOptions as mt, useLens as n, scaleAmount as nt, useMintLiquidity as o, wrapAmount as ot, usePoolData as p, OptionData as pt, useOptionPnl as q, useVaultTVL as r, scalePrice as rt, LiquidityBlockData as s, wrapAmountUnscaled as st, useApproval as t, formatVagueAmount as tt, usePriceHistory as u, zero as ut, getAmountsFromLiquidity as v, useTimelockConfig as vt, liquiditiesToAmounts as w, getTimelockLens as wt, getTickAtPrice as x, TimelockMarketData as xt, getNearestValidStrikeTick as y, TimelockLens as yt, useUserPerps as z };
|
|
62857
|
-
//# sourceMappingURL=client-
|
|
62854
|
+
//# sourceMappingURL=client-BcsbWPvK.d.ts.map
|