timelock-sdk 0.0.138 → 0.0.139
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-D1p2JAlj.d.ts → client-40kJVPoc.d.ts} +219 -204
- package/dist/{client-CP_QHL05.d.cts → client-DTyVaDKH.d.cts} +31 -16
- package/dist/client.cjs +39 -21
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +39 -21
- 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
|
@@ -8,7 +8,7 @@ import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
|
8
8
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
9
9
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
10
10
|
import "graphql";
|
|
11
|
-
import * as
|
|
11
|
+
import * as _tanstack_query_core23 from "@tanstack/query-core";
|
|
12
12
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
13
13
|
|
|
14
14
|
//#region src/generated/graphql.d.ts
|
|
@@ -131,7 +131,6 @@ type GetMarketDataQuery = {
|
|
|
131
131
|
id: string;
|
|
132
132
|
address: string;
|
|
133
133
|
vault: string;
|
|
134
|
-
pool: string;
|
|
135
134
|
tickSpacing: number;
|
|
136
135
|
optionAssetIsToken0: boolean;
|
|
137
136
|
optionAsset: string;
|
|
@@ -142,6 +141,11 @@ type GetMarketDataQuery = {
|
|
|
142
141
|
payoutAssetSymbol: string;
|
|
143
142
|
optionAssetName: string;
|
|
144
143
|
payoutAssetName: string;
|
|
144
|
+
poolManager: string;
|
|
145
|
+
currency0: string;
|
|
146
|
+
currency1: string;
|
|
147
|
+
fee: number;
|
|
148
|
+
hooks: string;
|
|
145
149
|
}>;
|
|
146
150
|
};
|
|
147
151
|
type GetMarketVolumeQueryVariables = Exact<{
|
|
@@ -37546,7 +37550,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
37546
37550
|
isRefetching: boolean;
|
|
37547
37551
|
isStale: boolean;
|
|
37548
37552
|
isEnabled: boolean;
|
|
37549
|
-
refetch: (options?:
|
|
37553
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
37550
37554
|
optionId: bigint;
|
|
37551
37555
|
marketAddr: Address;
|
|
37552
37556
|
ownerAddr: Address;
|
|
@@ -37576,7 +37580,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
37576
37580
|
address: string;
|
|
37577
37581
|
} | null;
|
|
37578
37582
|
}[], Error>>;
|
|
37579
|
-
fetchStatus:
|
|
37583
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
37580
37584
|
promise: Promise<{
|
|
37581
37585
|
optionId: bigint;
|
|
37582
37586
|
marketAddr: Address;
|
|
@@ -37660,7 +37664,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
37660
37664
|
isRefetching: boolean;
|
|
37661
37665
|
isStale: boolean;
|
|
37662
37666
|
isEnabled: boolean;
|
|
37663
|
-
refetch: (options?:
|
|
37667
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
37664
37668
|
optionId: bigint;
|
|
37665
37669
|
marketAddr: Address;
|
|
37666
37670
|
ownerAddr: Address;
|
|
@@ -37690,7 +37694,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
37690
37694
|
address: string;
|
|
37691
37695
|
} | null;
|
|
37692
37696
|
}[], Error>>;
|
|
37693
|
-
fetchStatus:
|
|
37697
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
37694
37698
|
promise: Promise<{
|
|
37695
37699
|
optionId: bigint;
|
|
37696
37700
|
marketAddr: Address;
|
|
@@ -37774,7 +37778,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
37774
37778
|
isRefetching: boolean;
|
|
37775
37779
|
isStale: boolean;
|
|
37776
37780
|
isEnabled: boolean;
|
|
37777
|
-
refetch: (options?:
|
|
37781
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
37778
37782
|
optionId: bigint;
|
|
37779
37783
|
marketAddr: Address;
|
|
37780
37784
|
ownerAddr: Address;
|
|
@@ -37804,7 +37808,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
37804
37808
|
address: string;
|
|
37805
37809
|
} | null;
|
|
37806
37810
|
}[], Error>>;
|
|
37807
|
-
fetchStatus:
|
|
37811
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
37808
37812
|
promise: Promise<{
|
|
37809
37813
|
optionId: bigint;
|
|
37810
37814
|
marketAddr: Address;
|
|
@@ -37888,7 +37892,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
37888
37892
|
isRefetching: boolean;
|
|
37889
37893
|
isStale: boolean;
|
|
37890
37894
|
isEnabled: boolean;
|
|
37891
|
-
refetch: (options?:
|
|
37895
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
37892
37896
|
optionId: bigint;
|
|
37893
37897
|
marketAddr: Address;
|
|
37894
37898
|
ownerAddr: Address;
|
|
@@ -37918,7 +37922,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
37918
37922
|
address: string;
|
|
37919
37923
|
} | null;
|
|
37920
37924
|
}[], Error>>;
|
|
37921
|
-
fetchStatus:
|
|
37925
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
37922
37926
|
promise: Promise<{
|
|
37923
37927
|
optionId: bigint;
|
|
37924
37928
|
marketAddr: Address;
|
|
@@ -38002,7 +38006,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
38002
38006
|
isRefetching: boolean;
|
|
38003
38007
|
isStale: boolean;
|
|
38004
38008
|
isEnabled: boolean;
|
|
38005
|
-
refetch: (options?:
|
|
38009
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
38006
38010
|
optionId: bigint;
|
|
38007
38011
|
marketAddr: Address;
|
|
38008
38012
|
ownerAddr: Address;
|
|
@@ -38032,7 +38036,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
38032
38036
|
address: string;
|
|
38033
38037
|
} | null;
|
|
38034
38038
|
}[], Error>>;
|
|
38035
|
-
fetchStatus:
|
|
38039
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
38036
38040
|
promise: Promise<{
|
|
38037
38041
|
optionId: bigint;
|
|
38038
38042
|
marketAddr: Address;
|
|
@@ -38116,7 +38120,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
38116
38120
|
isRefetching: boolean;
|
|
38117
38121
|
isStale: boolean;
|
|
38118
38122
|
isEnabled: boolean;
|
|
38119
|
-
refetch: (options?:
|
|
38123
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
38120
38124
|
optionId: bigint;
|
|
38121
38125
|
marketAddr: Address;
|
|
38122
38126
|
ownerAddr: Address;
|
|
@@ -38146,7 +38150,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
|
|
|
38146
38150
|
address: string;
|
|
38147
38151
|
} | null;
|
|
38148
38152
|
}[], Error>>;
|
|
38149
|
-
fetchStatus:
|
|
38153
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
38150
38154
|
promise: Promise<{
|
|
38151
38155
|
optionId: bigint;
|
|
38152
38156
|
marketAddr: Address;
|
|
@@ -38231,7 +38235,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38231
38235
|
isRefetching: boolean;
|
|
38232
38236
|
isStale: boolean;
|
|
38233
38237
|
isEnabled: boolean;
|
|
38234
|
-
refetch: (options?:
|
|
38238
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
38235
38239
|
optionId: bigint;
|
|
38236
38240
|
marketAddr: Address;
|
|
38237
38241
|
ownerAddr: Address;
|
|
@@ -38261,7 +38265,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38261
38265
|
address: string;
|
|
38262
38266
|
} | null;
|
|
38263
38267
|
}[], Error>>;
|
|
38264
|
-
fetchStatus:
|
|
38268
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
38265
38269
|
promise: Promise<{
|
|
38266
38270
|
optionId: bigint;
|
|
38267
38271
|
marketAddr: Address;
|
|
@@ -38345,7 +38349,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38345
38349
|
isRefetching: boolean;
|
|
38346
38350
|
isStale: boolean;
|
|
38347
38351
|
isEnabled: boolean;
|
|
38348
|
-
refetch: (options?:
|
|
38352
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
38349
38353
|
optionId: bigint;
|
|
38350
38354
|
marketAddr: Address;
|
|
38351
38355
|
ownerAddr: Address;
|
|
@@ -38375,7 +38379,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38375
38379
|
address: string;
|
|
38376
38380
|
} | null;
|
|
38377
38381
|
}[], Error>>;
|
|
38378
|
-
fetchStatus:
|
|
38382
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
38379
38383
|
promise: Promise<{
|
|
38380
38384
|
optionId: bigint;
|
|
38381
38385
|
marketAddr: Address;
|
|
@@ -38459,7 +38463,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38459
38463
|
isRefetching: boolean;
|
|
38460
38464
|
isStale: boolean;
|
|
38461
38465
|
isEnabled: boolean;
|
|
38462
|
-
refetch: (options?:
|
|
38466
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
38463
38467
|
optionId: bigint;
|
|
38464
38468
|
marketAddr: Address;
|
|
38465
38469
|
ownerAddr: Address;
|
|
@@ -38489,7 +38493,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38489
38493
|
address: string;
|
|
38490
38494
|
} | null;
|
|
38491
38495
|
}[], Error>>;
|
|
38492
|
-
fetchStatus:
|
|
38496
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
38493
38497
|
promise: Promise<{
|
|
38494
38498
|
optionId: bigint;
|
|
38495
38499
|
marketAddr: Address;
|
|
@@ -38573,7 +38577,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38573
38577
|
isRefetching: boolean;
|
|
38574
38578
|
isStale: boolean;
|
|
38575
38579
|
isEnabled: boolean;
|
|
38576
|
-
refetch: (options?:
|
|
38580
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
38577
38581
|
optionId: bigint;
|
|
38578
38582
|
marketAddr: Address;
|
|
38579
38583
|
ownerAddr: Address;
|
|
@@ -38603,7 +38607,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38603
38607
|
address: string;
|
|
38604
38608
|
} | null;
|
|
38605
38609
|
}[], Error>>;
|
|
38606
|
-
fetchStatus:
|
|
38610
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
38607
38611
|
promise: Promise<{
|
|
38608
38612
|
optionId: bigint;
|
|
38609
38613
|
marketAddr: Address;
|
|
@@ -38687,7 +38691,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38687
38691
|
isRefetching: boolean;
|
|
38688
38692
|
isStale: boolean;
|
|
38689
38693
|
isEnabled: boolean;
|
|
38690
|
-
refetch: (options?:
|
|
38694
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
38691
38695
|
optionId: bigint;
|
|
38692
38696
|
marketAddr: Address;
|
|
38693
38697
|
ownerAddr: Address;
|
|
@@ -38717,7 +38721,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38717
38721
|
address: string;
|
|
38718
38722
|
} | null;
|
|
38719
38723
|
}[], Error>>;
|
|
38720
|
-
fetchStatus:
|
|
38724
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
38721
38725
|
promise: Promise<{
|
|
38722
38726
|
optionId: bigint;
|
|
38723
38727
|
marketAddr: Address;
|
|
@@ -38801,7 +38805,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38801
38805
|
isRefetching: boolean;
|
|
38802
38806
|
isStale: boolean;
|
|
38803
38807
|
isEnabled: boolean;
|
|
38804
|
-
refetch: (options?:
|
|
38808
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
38805
38809
|
optionId: bigint;
|
|
38806
38810
|
marketAddr: Address;
|
|
38807
38811
|
ownerAddr: Address;
|
|
@@ -38831,7 +38835,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38831
38835
|
address: string;
|
|
38832
38836
|
} | null;
|
|
38833
38837
|
}[], Error>>;
|
|
38834
|
-
fetchStatus:
|
|
38838
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
38835
38839
|
promise: Promise<{
|
|
38836
38840
|
optionId: bigint;
|
|
38837
38841
|
marketAddr: Address;
|
|
@@ -38916,7 +38920,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38916
38920
|
isRefetching: boolean;
|
|
38917
38921
|
isStale: boolean;
|
|
38918
38922
|
isEnabled: boolean;
|
|
38919
|
-
refetch: (options?:
|
|
38923
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
38920
38924
|
optionId: bigint;
|
|
38921
38925
|
marketAddr: Address;
|
|
38922
38926
|
ownerAddr: Address;
|
|
@@ -38946,7 +38950,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
38946
38950
|
address: string;
|
|
38947
38951
|
} | null;
|
|
38948
38952
|
}[], Error>>;
|
|
38949
|
-
fetchStatus:
|
|
38953
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
38950
38954
|
promise: Promise<{
|
|
38951
38955
|
optionId: bigint;
|
|
38952
38956
|
marketAddr: Address;
|
|
@@ -39030,7 +39034,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
39030
39034
|
isRefetching: boolean;
|
|
39031
39035
|
isStale: boolean;
|
|
39032
39036
|
isEnabled: boolean;
|
|
39033
|
-
refetch: (options?:
|
|
39037
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
39034
39038
|
optionId: bigint;
|
|
39035
39039
|
marketAddr: Address;
|
|
39036
39040
|
ownerAddr: Address;
|
|
@@ -39060,7 +39064,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
39060
39064
|
address: string;
|
|
39061
39065
|
} | null;
|
|
39062
39066
|
}[], Error>>;
|
|
39063
|
-
fetchStatus:
|
|
39067
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
39064
39068
|
promise: Promise<{
|
|
39065
39069
|
optionId: bigint;
|
|
39066
39070
|
marketAddr: Address;
|
|
@@ -39144,7 +39148,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
39144
39148
|
isRefetching: boolean;
|
|
39145
39149
|
isStale: boolean;
|
|
39146
39150
|
isEnabled: boolean;
|
|
39147
|
-
refetch: (options?:
|
|
39151
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
39148
39152
|
optionId: bigint;
|
|
39149
39153
|
marketAddr: Address;
|
|
39150
39154
|
ownerAddr: Address;
|
|
@@ -39174,7 +39178,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
39174
39178
|
address: string;
|
|
39175
39179
|
} | null;
|
|
39176
39180
|
}[], Error>>;
|
|
39177
|
-
fetchStatus:
|
|
39181
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
39178
39182
|
promise: Promise<{
|
|
39179
39183
|
optionId: bigint;
|
|
39180
39184
|
marketAddr: Address;
|
|
@@ -39258,7 +39262,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
39258
39262
|
isRefetching: boolean;
|
|
39259
39263
|
isStale: boolean;
|
|
39260
39264
|
isEnabled: boolean;
|
|
39261
|
-
refetch: (options?:
|
|
39265
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
39262
39266
|
optionId: bigint;
|
|
39263
39267
|
marketAddr: Address;
|
|
39264
39268
|
ownerAddr: Address;
|
|
@@ -39288,7 +39292,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
39288
39292
|
address: string;
|
|
39289
39293
|
} | null;
|
|
39290
39294
|
}[], Error>>;
|
|
39291
|
-
fetchStatus:
|
|
39295
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
39292
39296
|
promise: Promise<{
|
|
39293
39297
|
optionId: bigint;
|
|
39294
39298
|
marketAddr: Address;
|
|
@@ -39372,7 +39376,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
39372
39376
|
isRefetching: boolean;
|
|
39373
39377
|
isStale: boolean;
|
|
39374
39378
|
isEnabled: boolean;
|
|
39375
|
-
refetch: (options?:
|
|
39379
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
39376
39380
|
optionId: bigint;
|
|
39377
39381
|
marketAddr: Address;
|
|
39378
39382
|
ownerAddr: Address;
|
|
@@ -39402,7 +39406,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
39402
39406
|
address: string;
|
|
39403
39407
|
} | null;
|
|
39404
39408
|
}[], Error>>;
|
|
39405
|
-
fetchStatus:
|
|
39409
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
39406
39410
|
promise: Promise<{
|
|
39407
39411
|
optionId: bigint;
|
|
39408
39412
|
marketAddr: Address;
|
|
@@ -39486,7 +39490,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
39486
39490
|
isRefetching: boolean;
|
|
39487
39491
|
isStale: boolean;
|
|
39488
39492
|
isEnabled: boolean;
|
|
39489
|
-
refetch: (options?:
|
|
39493
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
39490
39494
|
optionId: bigint;
|
|
39491
39495
|
marketAddr: Address;
|
|
39492
39496
|
ownerAddr: Address;
|
|
@@ -39516,7 +39520,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
39516
39520
|
address: string;
|
|
39517
39521
|
} | null;
|
|
39518
39522
|
}[], Error>>;
|
|
39519
|
-
fetchStatus:
|
|
39523
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
39520
39524
|
promise: Promise<{
|
|
39521
39525
|
optionId: bigint;
|
|
39522
39526
|
marketAddr: Address;
|
|
@@ -39588,7 +39592,14 @@ declare const useExerciseOption: (marketAddr?: Address) => _tanstack_react_query
|
|
|
39588
39592
|
//#region src/hooks/options/useMarketData.d.ts
|
|
39589
39593
|
declare const useMarketData: (marketAddr?: Address) => Partial<NonUndefinedGuard<{
|
|
39590
39594
|
address: Address;
|
|
39591
|
-
|
|
39595
|
+
poolManager: Address;
|
|
39596
|
+
poolKey: {
|
|
39597
|
+
currency0: Address;
|
|
39598
|
+
currency1: Address;
|
|
39599
|
+
fee: number;
|
|
39600
|
+
tickSpacing: number;
|
|
39601
|
+
hooks: Address;
|
|
39602
|
+
};
|
|
39592
39603
|
vault: Address;
|
|
39593
39604
|
optionAsset: Address;
|
|
39594
39605
|
payoutAsset: Address;
|
|
@@ -39602,6 +39613,10 @@ declare const useMarketData: (marketAddr?: Address) => Partial<NonUndefinedGuard
|
|
|
39602
39613
|
payoutAssetSymbol: string;
|
|
39603
39614
|
optionAssetName: string;
|
|
39604
39615
|
payoutAssetName: string;
|
|
39616
|
+
currency0: string;
|
|
39617
|
+
currency1: string;
|
|
39618
|
+
fee: number;
|
|
39619
|
+
hooks: string;
|
|
39605
39620
|
} | undefined>>;
|
|
39606
39621
|
//#endregion
|
|
39607
39622
|
//#region src/hooks/options/useMarketVolume.d.ts
|
|
@@ -39660,10 +39675,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39660
39675
|
isRefetching: boolean;
|
|
39661
39676
|
isStale: boolean;
|
|
39662
39677
|
isEnabled: boolean;
|
|
39663
|
-
refetch: (options?:
|
|
39664
|
-
fetchStatus:
|
|
39678
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint], viem0.ReadContractErrorType>>;
|
|
39679
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
39665
39680
|
promise: Promise<readonly [bigint, bigint]>;
|
|
39666
|
-
queryKey:
|
|
39681
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
39667
39682
|
maxCallSize: Amount | undefined;
|
|
39668
39683
|
maxPutSize: Amount | undefined;
|
|
39669
39684
|
} | {
|
|
@@ -39689,10 +39704,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39689
39704
|
isRefetching: boolean;
|
|
39690
39705
|
isStale: boolean;
|
|
39691
39706
|
isEnabled: boolean;
|
|
39692
|
-
refetch: (options?:
|
|
39693
|
-
fetchStatus:
|
|
39707
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint], viem0.ReadContractErrorType>>;
|
|
39708
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
39694
39709
|
promise: Promise<readonly [bigint, bigint]>;
|
|
39695
|
-
queryKey:
|
|
39710
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
39696
39711
|
maxCallSize: Amount | undefined;
|
|
39697
39712
|
maxPutSize: Amount | undefined;
|
|
39698
39713
|
} | {
|
|
@@ -39718,10 +39733,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39718
39733
|
isRefetching: boolean;
|
|
39719
39734
|
isStale: boolean;
|
|
39720
39735
|
isEnabled: boolean;
|
|
39721
|
-
refetch: (options?:
|
|
39722
|
-
fetchStatus:
|
|
39736
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint], viem0.ReadContractErrorType>>;
|
|
39737
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
39723
39738
|
promise: Promise<readonly [bigint, bigint]>;
|
|
39724
|
-
queryKey:
|
|
39739
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
39725
39740
|
maxCallSize: Amount | undefined;
|
|
39726
39741
|
maxPutSize: Amount | undefined;
|
|
39727
39742
|
} | {
|
|
@@ -39747,10 +39762,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39747
39762
|
isRefetching: boolean;
|
|
39748
39763
|
isStale: boolean;
|
|
39749
39764
|
isEnabled: boolean;
|
|
39750
|
-
refetch: (options?:
|
|
39751
|
-
fetchStatus:
|
|
39765
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint], viem0.ReadContractErrorType>>;
|
|
39766
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
39752
39767
|
promise: Promise<readonly [bigint, bigint]>;
|
|
39753
|
-
queryKey:
|
|
39768
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
39754
39769
|
maxCallSize: Amount | undefined;
|
|
39755
39770
|
maxPutSize: Amount | undefined;
|
|
39756
39771
|
} | {
|
|
@@ -39776,10 +39791,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39776
39791
|
isRefetching: boolean;
|
|
39777
39792
|
isStale: boolean;
|
|
39778
39793
|
isEnabled: boolean;
|
|
39779
|
-
refetch: (options?:
|
|
39780
|
-
fetchStatus:
|
|
39794
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint], viem0.ReadContractErrorType>>;
|
|
39795
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
39781
39796
|
promise: Promise<readonly [bigint, bigint]>;
|
|
39782
|
-
queryKey:
|
|
39797
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
39783
39798
|
maxCallSize: Amount | undefined;
|
|
39784
39799
|
maxPutSize: Amount | undefined;
|
|
39785
39800
|
} | {
|
|
@@ -39805,10 +39820,10 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, maxBorrowabl
|
|
|
39805
39820
|
isRefetching: boolean;
|
|
39806
39821
|
isStale: boolean;
|
|
39807
39822
|
isEnabled: boolean;
|
|
39808
|
-
refetch: (options?:
|
|
39809
|
-
fetchStatus:
|
|
39823
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint], viem0.ReadContractErrorType>>;
|
|
39824
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
39810
39825
|
promise: Promise<readonly [bigint, bigint]>;
|
|
39811
|
-
queryKey:
|
|
39826
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
39812
39827
|
maxCallSize: Amount | undefined;
|
|
39813
39828
|
maxPutSize: Amount | undefined;
|
|
39814
39829
|
};
|
|
@@ -39878,7 +39893,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
39878
39893
|
isRefetching: boolean;
|
|
39879
39894
|
isStale: boolean;
|
|
39880
39895
|
isEnabled: boolean;
|
|
39881
|
-
refetch: (options?:
|
|
39896
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<({
|
|
39882
39897
|
type: "mint";
|
|
39883
39898
|
data: {
|
|
39884
39899
|
id: string;
|
|
@@ -39917,7 +39932,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
39917
39932
|
transactionHash: string;
|
|
39918
39933
|
};
|
|
39919
39934
|
})[], Error>>;
|
|
39920
|
-
fetchStatus:
|
|
39935
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
39921
39936
|
promise: Promise<({
|
|
39922
39937
|
type: "mint";
|
|
39923
39938
|
data: {
|
|
@@ -40019,7 +40034,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
40019
40034
|
isRefetching: boolean;
|
|
40020
40035
|
isStale: boolean;
|
|
40021
40036
|
isEnabled: boolean;
|
|
40022
|
-
refetch: (options?:
|
|
40037
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<({
|
|
40023
40038
|
type: "mint";
|
|
40024
40039
|
data: {
|
|
40025
40040
|
id: string;
|
|
@@ -40058,7 +40073,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
40058
40073
|
transactionHash: string;
|
|
40059
40074
|
};
|
|
40060
40075
|
})[], Error>>;
|
|
40061
|
-
fetchStatus:
|
|
40076
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
40062
40077
|
promise: Promise<({
|
|
40063
40078
|
type: "mint";
|
|
40064
40079
|
data: {
|
|
@@ -40160,7 +40175,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
40160
40175
|
isRefetching: boolean;
|
|
40161
40176
|
isStale: boolean;
|
|
40162
40177
|
isEnabled: boolean;
|
|
40163
|
-
refetch: (options?:
|
|
40178
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<({
|
|
40164
40179
|
type: "mint";
|
|
40165
40180
|
data: {
|
|
40166
40181
|
id: string;
|
|
@@ -40199,7 +40214,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
40199
40214
|
transactionHash: string;
|
|
40200
40215
|
};
|
|
40201
40216
|
})[], Error>>;
|
|
40202
|
-
fetchStatus:
|
|
40217
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
40203
40218
|
promise: Promise<({
|
|
40204
40219
|
type: "mint";
|
|
40205
40220
|
data: {
|
|
@@ -40301,7 +40316,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
40301
40316
|
isRefetching: boolean;
|
|
40302
40317
|
isStale: boolean;
|
|
40303
40318
|
isEnabled: boolean;
|
|
40304
|
-
refetch: (options?:
|
|
40319
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<({
|
|
40305
40320
|
type: "mint";
|
|
40306
40321
|
data: {
|
|
40307
40322
|
id: string;
|
|
@@ -40340,7 +40355,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
40340
40355
|
transactionHash: string;
|
|
40341
40356
|
};
|
|
40342
40357
|
})[], Error>>;
|
|
40343
|
-
fetchStatus:
|
|
40358
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
40344
40359
|
promise: Promise<({
|
|
40345
40360
|
type: "mint";
|
|
40346
40361
|
data: {
|
|
@@ -40442,7 +40457,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
40442
40457
|
isRefetching: boolean;
|
|
40443
40458
|
isStale: boolean;
|
|
40444
40459
|
isEnabled: boolean;
|
|
40445
|
-
refetch: (options?:
|
|
40460
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<({
|
|
40446
40461
|
type: "mint";
|
|
40447
40462
|
data: {
|
|
40448
40463
|
id: string;
|
|
@@ -40481,7 +40496,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
40481
40496
|
transactionHash: string;
|
|
40482
40497
|
};
|
|
40483
40498
|
})[], Error>>;
|
|
40484
|
-
fetchStatus:
|
|
40499
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
40485
40500
|
promise: Promise<({
|
|
40486
40501
|
type: "mint";
|
|
40487
40502
|
data: {
|
|
@@ -40583,7 +40598,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
40583
40598
|
isRefetching: boolean;
|
|
40584
40599
|
isStale: boolean;
|
|
40585
40600
|
isEnabled: boolean;
|
|
40586
|
-
refetch: (options?:
|
|
40601
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<({
|
|
40587
40602
|
type: "mint";
|
|
40588
40603
|
data: {
|
|
40589
40604
|
id: string;
|
|
@@ -40622,7 +40637,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
40622
40637
|
transactionHash: string;
|
|
40623
40638
|
};
|
|
40624
40639
|
})[], Error>>;
|
|
40625
|
-
fetchStatus:
|
|
40640
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
40626
40641
|
promise: Promise<({
|
|
40627
40642
|
type: "mint";
|
|
40628
40643
|
data: {
|
|
@@ -40745,7 +40760,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
40745
40760
|
isRefetching: boolean;
|
|
40746
40761
|
isStale: boolean;
|
|
40747
40762
|
isEnabled: boolean;
|
|
40748
|
-
refetch: (options?:
|
|
40763
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
40749
40764
|
optionId: bigint;
|
|
40750
40765
|
id: string;
|
|
40751
40766
|
ownerAddr: Address;
|
|
@@ -40754,7 +40769,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
40754
40769
|
expiresAt: number;
|
|
40755
40770
|
closed: boolean;
|
|
40756
40771
|
}[] | undefined, Error>>;
|
|
40757
|
-
fetchStatus:
|
|
40772
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
40758
40773
|
promise: Promise<{
|
|
40759
40774
|
optionId: bigint;
|
|
40760
40775
|
id: string;
|
|
@@ -40796,7 +40811,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
40796
40811
|
isRefetching: boolean;
|
|
40797
40812
|
isStale: boolean;
|
|
40798
40813
|
isEnabled: boolean;
|
|
40799
|
-
refetch: (options?:
|
|
40814
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
40800
40815
|
optionId: bigint;
|
|
40801
40816
|
id: string;
|
|
40802
40817
|
ownerAddr: Address;
|
|
@@ -40805,7 +40820,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
40805
40820
|
expiresAt: number;
|
|
40806
40821
|
closed: boolean;
|
|
40807
40822
|
}[] | undefined, Error>>;
|
|
40808
|
-
fetchStatus:
|
|
40823
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
40809
40824
|
promise: Promise<{
|
|
40810
40825
|
optionId: bigint;
|
|
40811
40826
|
id: string;
|
|
@@ -40847,7 +40862,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
40847
40862
|
isRefetching: boolean;
|
|
40848
40863
|
isStale: boolean;
|
|
40849
40864
|
isEnabled: boolean;
|
|
40850
|
-
refetch: (options?:
|
|
40865
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
40851
40866
|
optionId: bigint;
|
|
40852
40867
|
id: string;
|
|
40853
40868
|
ownerAddr: Address;
|
|
@@ -40856,7 +40871,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
40856
40871
|
expiresAt: number;
|
|
40857
40872
|
closed: boolean;
|
|
40858
40873
|
}[] | undefined, Error>>;
|
|
40859
|
-
fetchStatus:
|
|
40874
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
40860
40875
|
promise: Promise<{
|
|
40861
40876
|
optionId: bigint;
|
|
40862
40877
|
id: string;
|
|
@@ -40898,7 +40913,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
40898
40913
|
isRefetching: boolean;
|
|
40899
40914
|
isStale: boolean;
|
|
40900
40915
|
isEnabled: boolean;
|
|
40901
|
-
refetch: (options?:
|
|
40916
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
40902
40917
|
optionId: bigint;
|
|
40903
40918
|
id: string;
|
|
40904
40919
|
ownerAddr: Address;
|
|
@@ -40907,7 +40922,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
40907
40922
|
expiresAt: number;
|
|
40908
40923
|
closed: boolean;
|
|
40909
40924
|
}[] | undefined, Error>>;
|
|
40910
|
-
fetchStatus:
|
|
40925
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
40911
40926
|
promise: Promise<{
|
|
40912
40927
|
optionId: bigint;
|
|
40913
40928
|
id: string;
|
|
@@ -40949,7 +40964,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
40949
40964
|
isRefetching: boolean;
|
|
40950
40965
|
isStale: boolean;
|
|
40951
40966
|
isEnabled: boolean;
|
|
40952
|
-
refetch: (options?:
|
|
40967
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
40953
40968
|
optionId: bigint;
|
|
40954
40969
|
id: string;
|
|
40955
40970
|
ownerAddr: Address;
|
|
@@ -40958,7 +40973,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
40958
40973
|
expiresAt: number;
|
|
40959
40974
|
closed: boolean;
|
|
40960
40975
|
}[] | undefined, Error>>;
|
|
40961
|
-
fetchStatus:
|
|
40976
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
40962
40977
|
promise: Promise<{
|
|
40963
40978
|
optionId: bigint;
|
|
40964
40979
|
id: string;
|
|
@@ -41000,7 +41015,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
41000
41015
|
isRefetching: boolean;
|
|
41001
41016
|
isStale: boolean;
|
|
41002
41017
|
isEnabled: boolean;
|
|
41003
|
-
refetch: (options?:
|
|
41018
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
41004
41019
|
optionId: bigint;
|
|
41005
41020
|
id: string;
|
|
41006
41021
|
ownerAddr: Address;
|
|
@@ -41009,7 +41024,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
41009
41024
|
expiresAt: number;
|
|
41010
41025
|
closed: boolean;
|
|
41011
41026
|
}[] | undefined, Error>>;
|
|
41012
|
-
fetchStatus:
|
|
41027
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41013
41028
|
promise: Promise<{
|
|
41014
41029
|
optionId: bigint;
|
|
41015
41030
|
id: string;
|
|
@@ -41052,7 +41067,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41052
41067
|
isRefetching: boolean;
|
|
41053
41068
|
isStale: boolean;
|
|
41054
41069
|
isEnabled: boolean;
|
|
41055
|
-
refetch: (options?:
|
|
41070
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
41056
41071
|
optionId: bigint;
|
|
41057
41072
|
id: string;
|
|
41058
41073
|
ownerAddr: Address;
|
|
@@ -41061,7 +41076,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41061
41076
|
expiresAt: number;
|
|
41062
41077
|
closed: boolean;
|
|
41063
41078
|
}[] | undefined, Error>>;
|
|
41064
|
-
fetchStatus:
|
|
41079
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41065
41080
|
promise: Promise<{
|
|
41066
41081
|
optionId: bigint;
|
|
41067
41082
|
id: string;
|
|
@@ -41103,7 +41118,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41103
41118
|
isRefetching: boolean;
|
|
41104
41119
|
isStale: boolean;
|
|
41105
41120
|
isEnabled: boolean;
|
|
41106
|
-
refetch: (options?:
|
|
41121
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
41107
41122
|
optionId: bigint;
|
|
41108
41123
|
id: string;
|
|
41109
41124
|
ownerAddr: Address;
|
|
@@ -41112,7 +41127,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41112
41127
|
expiresAt: number;
|
|
41113
41128
|
closed: boolean;
|
|
41114
41129
|
}[] | undefined, Error>>;
|
|
41115
|
-
fetchStatus:
|
|
41130
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41116
41131
|
promise: Promise<{
|
|
41117
41132
|
optionId: bigint;
|
|
41118
41133
|
id: string;
|
|
@@ -41154,7 +41169,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41154
41169
|
isRefetching: boolean;
|
|
41155
41170
|
isStale: boolean;
|
|
41156
41171
|
isEnabled: boolean;
|
|
41157
|
-
refetch: (options?:
|
|
41172
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
41158
41173
|
optionId: bigint;
|
|
41159
41174
|
id: string;
|
|
41160
41175
|
ownerAddr: Address;
|
|
@@ -41163,7 +41178,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41163
41178
|
expiresAt: number;
|
|
41164
41179
|
closed: boolean;
|
|
41165
41180
|
}[] | undefined, Error>>;
|
|
41166
|
-
fetchStatus:
|
|
41181
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41167
41182
|
promise: Promise<{
|
|
41168
41183
|
optionId: bigint;
|
|
41169
41184
|
id: string;
|
|
@@ -41205,7 +41220,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41205
41220
|
isRefetching: boolean;
|
|
41206
41221
|
isStale: boolean;
|
|
41207
41222
|
isEnabled: boolean;
|
|
41208
|
-
refetch: (options?:
|
|
41223
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
41209
41224
|
optionId: bigint;
|
|
41210
41225
|
id: string;
|
|
41211
41226
|
ownerAddr: Address;
|
|
@@ -41214,7 +41229,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41214
41229
|
expiresAt: number;
|
|
41215
41230
|
closed: boolean;
|
|
41216
41231
|
}[] | undefined, Error>>;
|
|
41217
|
-
fetchStatus:
|
|
41232
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41218
41233
|
promise: Promise<{
|
|
41219
41234
|
optionId: bigint;
|
|
41220
41235
|
id: string;
|
|
@@ -41256,7 +41271,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41256
41271
|
isRefetching: boolean;
|
|
41257
41272
|
isStale: boolean;
|
|
41258
41273
|
isEnabled: boolean;
|
|
41259
|
-
refetch: (options?:
|
|
41274
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
41260
41275
|
optionId: bigint;
|
|
41261
41276
|
id: string;
|
|
41262
41277
|
ownerAddr: Address;
|
|
@@ -41265,7 +41280,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41265
41280
|
expiresAt: number;
|
|
41266
41281
|
closed: boolean;
|
|
41267
41282
|
}[] | undefined, Error>>;
|
|
41268
|
-
fetchStatus:
|
|
41283
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41269
41284
|
promise: Promise<{
|
|
41270
41285
|
optionId: bigint;
|
|
41271
41286
|
id: string;
|
|
@@ -41307,7 +41322,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41307
41322
|
isRefetching: boolean;
|
|
41308
41323
|
isStale: boolean;
|
|
41309
41324
|
isEnabled: boolean;
|
|
41310
|
-
refetch: (options?:
|
|
41325
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
41311
41326
|
optionId: bigint;
|
|
41312
41327
|
id: string;
|
|
41313
41328
|
ownerAddr: Address;
|
|
@@ -41316,7 +41331,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41316
41331
|
expiresAt: number;
|
|
41317
41332
|
closed: boolean;
|
|
41318
41333
|
}[] | undefined, Error>>;
|
|
41319
|
-
fetchStatus:
|
|
41334
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41320
41335
|
promise: Promise<{
|
|
41321
41336
|
optionId: bigint;
|
|
41322
41337
|
id: string;
|
|
@@ -41359,7 +41374,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41359
41374
|
isRefetching: boolean;
|
|
41360
41375
|
isStale: boolean;
|
|
41361
41376
|
isEnabled: boolean;
|
|
41362
|
-
refetch: (options?:
|
|
41377
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
41363
41378
|
optionId: bigint;
|
|
41364
41379
|
id: string;
|
|
41365
41380
|
ownerAddr: Address;
|
|
@@ -41368,7 +41383,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41368
41383
|
expiresAt: number;
|
|
41369
41384
|
closed: boolean;
|
|
41370
41385
|
}[] | undefined, Error>>;
|
|
41371
|
-
fetchStatus:
|
|
41386
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41372
41387
|
promise: Promise<{
|
|
41373
41388
|
optionId: bigint;
|
|
41374
41389
|
id: string;
|
|
@@ -41410,7 +41425,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41410
41425
|
isRefetching: boolean;
|
|
41411
41426
|
isStale: boolean;
|
|
41412
41427
|
isEnabled: boolean;
|
|
41413
|
-
refetch: (options?:
|
|
41428
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
41414
41429
|
optionId: bigint;
|
|
41415
41430
|
id: string;
|
|
41416
41431
|
ownerAddr: Address;
|
|
@@ -41419,7 +41434,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41419
41434
|
expiresAt: number;
|
|
41420
41435
|
closed: boolean;
|
|
41421
41436
|
}[] | undefined, Error>>;
|
|
41422
|
-
fetchStatus:
|
|
41437
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41423
41438
|
promise: Promise<{
|
|
41424
41439
|
optionId: bigint;
|
|
41425
41440
|
id: string;
|
|
@@ -41461,7 +41476,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41461
41476
|
isRefetching: boolean;
|
|
41462
41477
|
isStale: boolean;
|
|
41463
41478
|
isEnabled: boolean;
|
|
41464
|
-
refetch: (options?:
|
|
41479
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
41465
41480
|
optionId: bigint;
|
|
41466
41481
|
id: string;
|
|
41467
41482
|
ownerAddr: Address;
|
|
@@ -41470,7 +41485,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41470
41485
|
expiresAt: number;
|
|
41471
41486
|
closed: boolean;
|
|
41472
41487
|
}[] | undefined, Error>>;
|
|
41473
|
-
fetchStatus:
|
|
41488
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41474
41489
|
promise: Promise<{
|
|
41475
41490
|
optionId: bigint;
|
|
41476
41491
|
id: string;
|
|
@@ -41512,7 +41527,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41512
41527
|
isRefetching: boolean;
|
|
41513
41528
|
isStale: boolean;
|
|
41514
41529
|
isEnabled: boolean;
|
|
41515
|
-
refetch: (options?:
|
|
41530
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
41516
41531
|
optionId: bigint;
|
|
41517
41532
|
id: string;
|
|
41518
41533
|
ownerAddr: Address;
|
|
@@ -41521,7 +41536,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41521
41536
|
expiresAt: number;
|
|
41522
41537
|
closed: boolean;
|
|
41523
41538
|
}[] | undefined, Error>>;
|
|
41524
|
-
fetchStatus:
|
|
41539
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41525
41540
|
promise: Promise<{
|
|
41526
41541
|
optionId: bigint;
|
|
41527
41542
|
id: string;
|
|
@@ -41563,7 +41578,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41563
41578
|
isRefetching: boolean;
|
|
41564
41579
|
isStale: boolean;
|
|
41565
41580
|
isEnabled: boolean;
|
|
41566
|
-
refetch: (options?:
|
|
41581
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
41567
41582
|
optionId: bigint;
|
|
41568
41583
|
id: string;
|
|
41569
41584
|
ownerAddr: Address;
|
|
@@ -41572,7 +41587,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41572
41587
|
expiresAt: number;
|
|
41573
41588
|
closed: boolean;
|
|
41574
41589
|
}[] | undefined, Error>>;
|
|
41575
|
-
fetchStatus:
|
|
41590
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41576
41591
|
promise: Promise<{
|
|
41577
41592
|
optionId: bigint;
|
|
41578
41593
|
id: string;
|
|
@@ -41614,7 +41629,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41614
41629
|
isRefetching: boolean;
|
|
41615
41630
|
isStale: boolean;
|
|
41616
41631
|
isEnabled: boolean;
|
|
41617
|
-
refetch: (options?:
|
|
41632
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
41618
41633
|
optionId: bigint;
|
|
41619
41634
|
id: string;
|
|
41620
41635
|
ownerAddr: Address;
|
|
@@ -41623,7 +41638,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
41623
41638
|
expiresAt: number;
|
|
41624
41639
|
closed: boolean;
|
|
41625
41640
|
}[] | undefined, Error>>;
|
|
41626
|
-
fetchStatus:
|
|
41641
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41627
41642
|
promise: Promise<{
|
|
41628
41643
|
optionId: bigint;
|
|
41629
41644
|
id: string;
|
|
@@ -41668,10 +41683,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41668
41683
|
isRefetching: boolean;
|
|
41669
41684
|
isStale: boolean;
|
|
41670
41685
|
isEnabled: boolean;
|
|
41671
|
-
refetch: (options?:
|
|
41672
|
-
fetchStatus:
|
|
41686
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
41687
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41673
41688
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
41674
|
-
queryKey:
|
|
41689
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
41675
41690
|
data: {
|
|
41676
41691
|
canExtend: boolean | undefined;
|
|
41677
41692
|
canExercise: boolean | undefined;
|
|
@@ -41703,10 +41718,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41703
41718
|
isRefetching: boolean;
|
|
41704
41719
|
isStale: boolean;
|
|
41705
41720
|
isEnabled: boolean;
|
|
41706
|
-
refetch: (options?:
|
|
41707
|
-
fetchStatus:
|
|
41721
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
41722
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41708
41723
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
41709
|
-
queryKey:
|
|
41724
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
41710
41725
|
data: {
|
|
41711
41726
|
canExtend: boolean | undefined;
|
|
41712
41727
|
canExercise: boolean | undefined;
|
|
@@ -41738,10 +41753,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41738
41753
|
isRefetching: boolean;
|
|
41739
41754
|
isStale: boolean;
|
|
41740
41755
|
isEnabled: boolean;
|
|
41741
|
-
refetch: (options?:
|
|
41742
|
-
fetchStatus:
|
|
41756
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
41757
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41743
41758
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
41744
|
-
queryKey:
|
|
41759
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
41745
41760
|
data: {
|
|
41746
41761
|
canExtend: boolean | undefined;
|
|
41747
41762
|
canExercise: boolean | undefined;
|
|
@@ -41773,10 +41788,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41773
41788
|
isRefetching: boolean;
|
|
41774
41789
|
isStale: boolean;
|
|
41775
41790
|
isEnabled: boolean;
|
|
41776
|
-
refetch: (options?:
|
|
41777
|
-
fetchStatus:
|
|
41791
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
41792
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41778
41793
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
41779
|
-
queryKey:
|
|
41794
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
41780
41795
|
data: {
|
|
41781
41796
|
canExtend: boolean | undefined;
|
|
41782
41797
|
canExercise: boolean | undefined;
|
|
@@ -41808,10 +41823,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41808
41823
|
isRefetching: boolean;
|
|
41809
41824
|
isStale: boolean;
|
|
41810
41825
|
isEnabled: boolean;
|
|
41811
|
-
refetch: (options?:
|
|
41812
|
-
fetchStatus:
|
|
41826
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
41827
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41813
41828
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
41814
|
-
queryKey:
|
|
41829
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
41815
41830
|
data: {
|
|
41816
41831
|
canExtend: boolean | undefined;
|
|
41817
41832
|
canExercise: boolean | undefined;
|
|
@@ -41843,10 +41858,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
41843
41858
|
isRefetching: boolean;
|
|
41844
41859
|
isStale: boolean;
|
|
41845
41860
|
isEnabled: boolean;
|
|
41846
|
-
refetch: (options?:
|
|
41847
|
-
fetchStatus:
|
|
41861
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
|
|
41862
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41848
41863
|
promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
|
|
41849
|
-
queryKey:
|
|
41864
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
41850
41865
|
data: {
|
|
41851
41866
|
canExtend: boolean | undefined;
|
|
41852
41867
|
canExercise: boolean | undefined;
|
|
@@ -41895,7 +41910,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
41895
41910
|
isRefetching: boolean;
|
|
41896
41911
|
isStale: boolean;
|
|
41897
41912
|
isEnabled: boolean;
|
|
41898
|
-
refetch: (options?:
|
|
41913
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
41899
41914
|
spendingApproval: bigint;
|
|
41900
41915
|
operatorAddr: string;
|
|
41901
41916
|
__typename: "UserMarketOperator";
|
|
@@ -41909,7 +41924,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
41909
41924
|
address: string;
|
|
41910
41925
|
} | null;
|
|
41911
41926
|
}[] | undefined, Error>>;
|
|
41912
|
-
fetchStatus:
|
|
41927
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41913
41928
|
promise: Promise<{
|
|
41914
41929
|
spendingApproval: bigint;
|
|
41915
41930
|
operatorAddr: string;
|
|
@@ -41961,7 +41976,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
41961
41976
|
isRefetching: boolean;
|
|
41962
41977
|
isStale: boolean;
|
|
41963
41978
|
isEnabled: boolean;
|
|
41964
|
-
refetch: (options?:
|
|
41979
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
41965
41980
|
spendingApproval: bigint;
|
|
41966
41981
|
operatorAddr: string;
|
|
41967
41982
|
__typename: "UserMarketOperator";
|
|
@@ -41975,7 +41990,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
41975
41990
|
address: string;
|
|
41976
41991
|
} | null;
|
|
41977
41992
|
}[] | undefined, Error>>;
|
|
41978
|
-
fetchStatus:
|
|
41993
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
41979
41994
|
promise: Promise<{
|
|
41980
41995
|
spendingApproval: bigint;
|
|
41981
41996
|
operatorAddr: string;
|
|
@@ -42027,7 +42042,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
42027
42042
|
isRefetching: boolean;
|
|
42028
42043
|
isStale: boolean;
|
|
42029
42044
|
isEnabled: boolean;
|
|
42030
|
-
refetch: (options?:
|
|
42045
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
42031
42046
|
spendingApproval: bigint;
|
|
42032
42047
|
operatorAddr: string;
|
|
42033
42048
|
__typename: "UserMarketOperator";
|
|
@@ -42041,7 +42056,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
42041
42056
|
address: string;
|
|
42042
42057
|
} | null;
|
|
42043
42058
|
}[] | undefined, Error>>;
|
|
42044
|
-
fetchStatus:
|
|
42059
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42045
42060
|
promise: Promise<{
|
|
42046
42061
|
spendingApproval: bigint;
|
|
42047
42062
|
operatorAddr: string;
|
|
@@ -42093,7 +42108,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
42093
42108
|
isRefetching: boolean;
|
|
42094
42109
|
isStale: boolean;
|
|
42095
42110
|
isEnabled: boolean;
|
|
42096
|
-
refetch: (options?:
|
|
42111
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
42097
42112
|
spendingApproval: bigint;
|
|
42098
42113
|
operatorAddr: string;
|
|
42099
42114
|
__typename: "UserMarketOperator";
|
|
@@ -42107,7 +42122,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
42107
42122
|
address: string;
|
|
42108
42123
|
} | null;
|
|
42109
42124
|
}[] | undefined, Error>>;
|
|
42110
|
-
fetchStatus:
|
|
42125
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42111
42126
|
promise: Promise<{
|
|
42112
42127
|
spendingApproval: bigint;
|
|
42113
42128
|
operatorAddr: string;
|
|
@@ -42159,7 +42174,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
42159
42174
|
isRefetching: boolean;
|
|
42160
42175
|
isStale: boolean;
|
|
42161
42176
|
isEnabled: boolean;
|
|
42162
|
-
refetch: (options?:
|
|
42177
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
42163
42178
|
spendingApproval: bigint;
|
|
42164
42179
|
operatorAddr: string;
|
|
42165
42180
|
__typename: "UserMarketOperator";
|
|
@@ -42173,7 +42188,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
42173
42188
|
address: string;
|
|
42174
42189
|
} | null;
|
|
42175
42190
|
}[] | undefined, Error>>;
|
|
42176
|
-
fetchStatus:
|
|
42191
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42177
42192
|
promise: Promise<{
|
|
42178
42193
|
spendingApproval: bigint;
|
|
42179
42194
|
operatorAddr: string;
|
|
@@ -42225,7 +42240,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
42225
42240
|
isRefetching: boolean;
|
|
42226
42241
|
isStale: boolean;
|
|
42227
42242
|
isEnabled: boolean;
|
|
42228
|
-
refetch: (options?:
|
|
42243
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
42229
42244
|
spendingApproval: bigint;
|
|
42230
42245
|
operatorAddr: string;
|
|
42231
42246
|
__typename: "UserMarketOperator";
|
|
@@ -42239,7 +42254,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
42239
42254
|
address: string;
|
|
42240
42255
|
} | null;
|
|
42241
42256
|
}[] | undefined, Error>>;
|
|
42242
|
-
fetchStatus:
|
|
42257
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42243
42258
|
promise: Promise<{
|
|
42244
42259
|
spendingApproval: bigint;
|
|
42245
42260
|
operatorAddr: string;
|
|
@@ -42302,16 +42317,6 @@ declare const liquiditiesToAmounts: (liquidities: bigint[], startTick: number, p
|
|
|
42302
42317
|
declare const getPayoutAtTick: (option: OptionData, liquidities: bigint[], tick: number, tickSpacing: number, optionAssetIsToken0: boolean) => bigint;
|
|
42303
42318
|
declare const getPayoutAtPrice: (option: OptionData, liquidities: bigint[], price: bigint, tickSpacing: number, optionAssetIsToken0: boolean) => bigint;
|
|
42304
42319
|
//#endregion
|
|
42305
|
-
//#region src/hooks/pool/useCurrentPrice.d.ts
|
|
42306
|
-
declare const useCurrentPrice: (poolAddr?: Address) => {
|
|
42307
|
-
currentPrice: Amount | undefined;
|
|
42308
|
-
sqrtPriceX96: bigint | undefined;
|
|
42309
|
-
currentTick: {
|
|
42310
|
-
exact: number | undefined;
|
|
42311
|
-
rounded: number | undefined;
|
|
42312
|
-
};
|
|
42313
|
-
};
|
|
42314
|
-
//#endregion
|
|
42315
42320
|
//#region src/hooks/pool/usePoolData.d.ts
|
|
42316
42321
|
type PoolKey = {
|
|
42317
42322
|
currency0: Address;
|
|
@@ -42334,6 +42339,16 @@ declare const usePoolData: (poolManager?: Address, poolKey?: PoolKey) => Partial
|
|
|
42334
42339
|
fee: number;
|
|
42335
42340
|
} | undefined>>;
|
|
42336
42341
|
//#endregion
|
|
42342
|
+
//#region src/hooks/pool/useCurrentPrice.d.ts
|
|
42343
|
+
declare const useCurrentPrice: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
42344
|
+
currentPrice: Amount | undefined;
|
|
42345
|
+
sqrtPriceX96: bigint | undefined;
|
|
42346
|
+
currentTick: {
|
|
42347
|
+
exact: number | undefined;
|
|
42348
|
+
rounded: number | undefined;
|
|
42349
|
+
};
|
|
42350
|
+
};
|
|
42351
|
+
//#endregion
|
|
42337
42352
|
//#region src/hooks/pool/useCurrentTick.d.ts
|
|
42338
42353
|
declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
42339
42354
|
error: viem0.ReadContractErrorType;
|
|
@@ -42358,18 +42373,18 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42358
42373
|
isRefetching: boolean;
|
|
42359
42374
|
isStale: boolean;
|
|
42360
42375
|
isEnabled: boolean;
|
|
42361
|
-
refetch: (options?:
|
|
42376
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
42362
42377
|
exact: number;
|
|
42363
42378
|
rounded: number | undefined;
|
|
42364
42379
|
sqrtPriceX96: bigint;
|
|
42365
42380
|
}, viem0.ReadContractErrorType>>;
|
|
42366
|
-
fetchStatus:
|
|
42381
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42367
42382
|
promise: Promise<{
|
|
42368
42383
|
exact: number;
|
|
42369
42384
|
rounded: number | undefined;
|
|
42370
42385
|
sqrtPriceX96: bigint;
|
|
42371
42386
|
}>;
|
|
42372
|
-
queryKey:
|
|
42387
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
42373
42388
|
exact: number | undefined;
|
|
42374
42389
|
rounded: number | undefined;
|
|
42375
42390
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -42396,18 +42411,18 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42396
42411
|
isRefetching: boolean;
|
|
42397
42412
|
isStale: boolean;
|
|
42398
42413
|
isEnabled: boolean;
|
|
42399
|
-
refetch: (options?:
|
|
42414
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
42400
42415
|
exact: number;
|
|
42401
42416
|
rounded: number | undefined;
|
|
42402
42417
|
sqrtPriceX96: bigint;
|
|
42403
42418
|
}, viem0.ReadContractErrorType>>;
|
|
42404
|
-
fetchStatus:
|
|
42419
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42405
42420
|
promise: Promise<{
|
|
42406
42421
|
exact: number;
|
|
42407
42422
|
rounded: number | undefined;
|
|
42408
42423
|
sqrtPriceX96: bigint;
|
|
42409
42424
|
}>;
|
|
42410
|
-
queryKey:
|
|
42425
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
42411
42426
|
exact: number | undefined;
|
|
42412
42427
|
rounded: number | undefined;
|
|
42413
42428
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -42434,18 +42449,18 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42434
42449
|
isRefetching: boolean;
|
|
42435
42450
|
isStale: boolean;
|
|
42436
42451
|
isEnabled: boolean;
|
|
42437
|
-
refetch: (options?:
|
|
42452
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
42438
42453
|
exact: number;
|
|
42439
42454
|
rounded: number | undefined;
|
|
42440
42455
|
sqrtPriceX96: bigint;
|
|
42441
42456
|
}, viem0.ReadContractErrorType>>;
|
|
42442
|
-
fetchStatus:
|
|
42457
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42443
42458
|
promise: Promise<{
|
|
42444
42459
|
exact: number;
|
|
42445
42460
|
rounded: number | undefined;
|
|
42446
42461
|
sqrtPriceX96: bigint;
|
|
42447
42462
|
}>;
|
|
42448
|
-
queryKey:
|
|
42463
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
42449
42464
|
exact: number | undefined;
|
|
42450
42465
|
rounded: number | undefined;
|
|
42451
42466
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -42472,18 +42487,18 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42472
42487
|
isRefetching: boolean;
|
|
42473
42488
|
isStale: boolean;
|
|
42474
42489
|
isEnabled: boolean;
|
|
42475
|
-
refetch: (options?:
|
|
42490
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
42476
42491
|
exact: number;
|
|
42477
42492
|
rounded: number | undefined;
|
|
42478
42493
|
sqrtPriceX96: bigint;
|
|
42479
42494
|
}, viem0.ReadContractErrorType>>;
|
|
42480
|
-
fetchStatus:
|
|
42495
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42481
42496
|
promise: Promise<{
|
|
42482
42497
|
exact: number;
|
|
42483
42498
|
rounded: number | undefined;
|
|
42484
42499
|
sqrtPriceX96: bigint;
|
|
42485
42500
|
}>;
|
|
42486
|
-
queryKey:
|
|
42501
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
42487
42502
|
exact: number | undefined;
|
|
42488
42503
|
rounded: number | undefined;
|
|
42489
42504
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -42510,18 +42525,18 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42510
42525
|
isRefetching: boolean;
|
|
42511
42526
|
isStale: boolean;
|
|
42512
42527
|
isEnabled: boolean;
|
|
42513
|
-
refetch: (options?:
|
|
42528
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
42514
42529
|
exact: number;
|
|
42515
42530
|
rounded: number | undefined;
|
|
42516
42531
|
sqrtPriceX96: bigint;
|
|
42517
42532
|
}, viem0.ReadContractErrorType>>;
|
|
42518
|
-
fetchStatus:
|
|
42533
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42519
42534
|
promise: Promise<{
|
|
42520
42535
|
exact: number;
|
|
42521
42536
|
rounded: number | undefined;
|
|
42522
42537
|
sqrtPriceX96: bigint;
|
|
42523
42538
|
}>;
|
|
42524
|
-
queryKey:
|
|
42539
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
42525
42540
|
exact: number | undefined;
|
|
42526
42541
|
rounded: number | undefined;
|
|
42527
42542
|
sqrtPriceX96: bigint | undefined;
|
|
@@ -42548,26 +42563,26 @@ declare const useCurrentTick: (poolManager?: Address, poolKey?: PoolKey) => {
|
|
|
42548
42563
|
isRefetching: boolean;
|
|
42549
42564
|
isStale: boolean;
|
|
42550
42565
|
isEnabled: boolean;
|
|
42551
|
-
refetch: (options?:
|
|
42566
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
42552
42567
|
exact: number;
|
|
42553
42568
|
rounded: number | undefined;
|
|
42554
42569
|
sqrtPriceX96: bigint;
|
|
42555
42570
|
}, viem0.ReadContractErrorType>>;
|
|
42556
|
-
fetchStatus:
|
|
42571
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42557
42572
|
promise: Promise<{
|
|
42558
42573
|
exact: number;
|
|
42559
42574
|
rounded: number | undefined;
|
|
42560
42575
|
sqrtPriceX96: bigint;
|
|
42561
42576
|
}>;
|
|
42562
|
-
queryKey:
|
|
42577
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
42563
42578
|
exact: number | undefined;
|
|
42564
42579
|
rounded: number | undefined;
|
|
42565
42580
|
sqrtPriceX96: bigint | undefined;
|
|
42566
42581
|
};
|
|
42567
42582
|
//#endregion
|
|
42568
42583
|
//#region src/hooks/pool/usePriceAtTick.d.ts
|
|
42569
|
-
declare const usePriceAtTick: (
|
|
42570
|
-
declare const
|
|
42584
|
+
declare const usePriceAtTick: (poolManager?: Address, poolKey?: PoolKey, tick?: number) => Amount | undefined;
|
|
42585
|
+
declare const usePriceAtSqrtPriceX96: (poolManager?: Address, poolKey?: PoolKey, sqrtPriceX96?: bigint) => Amount | undefined;
|
|
42571
42586
|
//#endregion
|
|
42572
42587
|
//#region src/hooks/pool/usePriceHistory.d.ts
|
|
42573
42588
|
declare const usePriceHistory: (pool: Address | undefined, token: 0 | 1, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query0.UseQueryResult<PriceDataPoint[], Error>;
|
|
@@ -42615,7 +42630,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42615
42630
|
isRefetching: boolean;
|
|
42616
42631
|
isStale: boolean;
|
|
42617
42632
|
isEnabled: boolean;
|
|
42618
|
-
refetch: (options?:
|
|
42633
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
|
|
42619
42634
|
tickLower: number;
|
|
42620
42635
|
tickUpper: number;
|
|
42621
42636
|
prevTickLower: number;
|
|
@@ -42626,7 +42641,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42626
42641
|
borrowedAmount0: bigint;
|
|
42627
42642
|
borrowedAmount1: bigint;
|
|
42628
42643
|
}[], viem0.ReadContractErrorType>>;
|
|
42629
|
-
fetchStatus:
|
|
42644
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42630
42645
|
promise: Promise<readonly {
|
|
42631
42646
|
tickLower: number;
|
|
42632
42647
|
tickUpper: number;
|
|
@@ -42638,7 +42653,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42638
42653
|
borrowedAmount0: bigint;
|
|
42639
42654
|
borrowedAmount1: bigint;
|
|
42640
42655
|
}[]>;
|
|
42641
|
-
queryKey:
|
|
42656
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
42642
42657
|
data: readonly {
|
|
42643
42658
|
tickLower: number;
|
|
42644
42659
|
tickUpper: number;
|
|
@@ -42673,7 +42688,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42673
42688
|
isRefetching: boolean;
|
|
42674
42689
|
isStale: boolean;
|
|
42675
42690
|
isEnabled: boolean;
|
|
42676
|
-
refetch: (options?:
|
|
42691
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
|
|
42677
42692
|
tickLower: number;
|
|
42678
42693
|
tickUpper: number;
|
|
42679
42694
|
prevTickLower: number;
|
|
@@ -42684,7 +42699,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42684
42699
|
borrowedAmount0: bigint;
|
|
42685
42700
|
borrowedAmount1: bigint;
|
|
42686
42701
|
}[], viem0.ReadContractErrorType>>;
|
|
42687
|
-
fetchStatus:
|
|
42702
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42688
42703
|
promise: Promise<readonly {
|
|
42689
42704
|
tickLower: number;
|
|
42690
42705
|
tickUpper: number;
|
|
@@ -42696,7 +42711,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42696
42711
|
borrowedAmount0: bigint;
|
|
42697
42712
|
borrowedAmount1: bigint;
|
|
42698
42713
|
}[]>;
|
|
42699
|
-
queryKey:
|
|
42714
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
42700
42715
|
data: readonly {
|
|
42701
42716
|
tickLower: number;
|
|
42702
42717
|
tickUpper: number;
|
|
@@ -42731,7 +42746,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42731
42746
|
isRefetching: boolean;
|
|
42732
42747
|
isStale: boolean;
|
|
42733
42748
|
isEnabled: boolean;
|
|
42734
|
-
refetch: (options?:
|
|
42749
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
|
|
42735
42750
|
tickLower: number;
|
|
42736
42751
|
tickUpper: number;
|
|
42737
42752
|
prevTickLower: number;
|
|
@@ -42742,7 +42757,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42742
42757
|
borrowedAmount0: bigint;
|
|
42743
42758
|
borrowedAmount1: bigint;
|
|
42744
42759
|
}[], viem0.ReadContractErrorType>>;
|
|
42745
|
-
fetchStatus:
|
|
42760
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42746
42761
|
promise: Promise<readonly {
|
|
42747
42762
|
tickLower: number;
|
|
42748
42763
|
tickUpper: number;
|
|
@@ -42754,7 +42769,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42754
42769
|
borrowedAmount0: bigint;
|
|
42755
42770
|
borrowedAmount1: bigint;
|
|
42756
42771
|
}[]>;
|
|
42757
|
-
queryKey:
|
|
42772
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
42758
42773
|
data: readonly {
|
|
42759
42774
|
tickLower: number;
|
|
42760
42775
|
tickUpper: number;
|
|
@@ -42789,7 +42804,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42789
42804
|
isRefetching: boolean;
|
|
42790
42805
|
isStale: boolean;
|
|
42791
42806
|
isEnabled: boolean;
|
|
42792
|
-
refetch: (options?:
|
|
42807
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
|
|
42793
42808
|
tickLower: number;
|
|
42794
42809
|
tickUpper: number;
|
|
42795
42810
|
prevTickLower: number;
|
|
@@ -42800,7 +42815,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42800
42815
|
borrowedAmount0: bigint;
|
|
42801
42816
|
borrowedAmount1: bigint;
|
|
42802
42817
|
}[], viem0.ReadContractErrorType>>;
|
|
42803
|
-
fetchStatus:
|
|
42818
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42804
42819
|
promise: Promise<readonly {
|
|
42805
42820
|
tickLower: number;
|
|
42806
42821
|
tickUpper: number;
|
|
@@ -42812,7 +42827,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42812
42827
|
borrowedAmount0: bigint;
|
|
42813
42828
|
borrowedAmount1: bigint;
|
|
42814
42829
|
}[]>;
|
|
42815
|
-
queryKey:
|
|
42830
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
42816
42831
|
data: readonly {
|
|
42817
42832
|
tickLower: number;
|
|
42818
42833
|
tickUpper: number;
|
|
@@ -42847,7 +42862,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42847
42862
|
isRefetching: boolean;
|
|
42848
42863
|
isStale: boolean;
|
|
42849
42864
|
isEnabled: boolean;
|
|
42850
|
-
refetch: (options?:
|
|
42865
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
|
|
42851
42866
|
tickLower: number;
|
|
42852
42867
|
tickUpper: number;
|
|
42853
42868
|
prevTickLower: number;
|
|
@@ -42858,7 +42873,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42858
42873
|
borrowedAmount0: bigint;
|
|
42859
42874
|
borrowedAmount1: bigint;
|
|
42860
42875
|
}[], viem0.ReadContractErrorType>>;
|
|
42861
|
-
fetchStatus:
|
|
42876
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42862
42877
|
promise: Promise<readonly {
|
|
42863
42878
|
tickLower: number;
|
|
42864
42879
|
tickUpper: number;
|
|
@@ -42870,7 +42885,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42870
42885
|
borrowedAmount0: bigint;
|
|
42871
42886
|
borrowedAmount1: bigint;
|
|
42872
42887
|
}[]>;
|
|
42873
|
-
queryKey:
|
|
42888
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
42874
42889
|
data: readonly {
|
|
42875
42890
|
tickLower: number;
|
|
42876
42891
|
tickUpper: number;
|
|
@@ -42905,7 +42920,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42905
42920
|
isRefetching: boolean;
|
|
42906
42921
|
isStale: boolean;
|
|
42907
42922
|
isEnabled: boolean;
|
|
42908
|
-
refetch: (options?:
|
|
42923
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
|
|
42909
42924
|
tickLower: number;
|
|
42910
42925
|
tickUpper: number;
|
|
42911
42926
|
prevTickLower: number;
|
|
@@ -42916,7 +42931,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42916
42931
|
borrowedAmount0: bigint;
|
|
42917
42932
|
borrowedAmount1: bigint;
|
|
42918
42933
|
}[], viem0.ReadContractErrorType>>;
|
|
42919
|
-
fetchStatus:
|
|
42934
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
42920
42935
|
promise: Promise<readonly {
|
|
42921
42936
|
tickLower: number;
|
|
42922
42937
|
tickUpper: number;
|
|
@@ -42928,7 +42943,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
42928
42943
|
borrowedAmount0: bigint;
|
|
42929
42944
|
borrowedAmount1: bigint;
|
|
42930
42945
|
}[]>;
|
|
42931
|
-
queryKey:
|
|
42946
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
42932
42947
|
data: readonly {
|
|
42933
42948
|
tickLower: number;
|
|
42934
42949
|
tickUpper: number;
|
|
@@ -42986,7 +43001,7 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
42986
43001
|
borrowed0: Amount;
|
|
42987
43002
|
borrowed1: Amount;
|
|
42988
43003
|
blocksCount: bigint;
|
|
42989
|
-
refetch: (options?:
|
|
43004
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
|
|
42990
43005
|
};
|
|
42991
43006
|
//#endregion
|
|
42992
43007
|
//#region src/hooks/tokens/useTokenData.d.ts
|
|
@@ -43021,10 +43036,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43021
43036
|
isRefetching: boolean;
|
|
43022
43037
|
isStale: boolean;
|
|
43023
43038
|
isEnabled: boolean;
|
|
43024
|
-
refetch: (options?:
|
|
43025
|
-
fetchStatus:
|
|
43039
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint, viem0.ReadContractErrorType>>;
|
|
43040
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
43026
43041
|
promise: Promise<bigint>;
|
|
43027
|
-
queryKey:
|
|
43042
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
43028
43043
|
data: Amount | undefined;
|
|
43029
43044
|
} | {
|
|
43030
43045
|
error: null;
|
|
@@ -43049,10 +43064,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43049
43064
|
isRefetching: boolean;
|
|
43050
43065
|
isStale: boolean;
|
|
43051
43066
|
isEnabled: boolean;
|
|
43052
|
-
refetch: (options?:
|
|
43053
|
-
fetchStatus:
|
|
43067
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint, viem0.ReadContractErrorType>>;
|
|
43068
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
43054
43069
|
promise: Promise<bigint>;
|
|
43055
|
-
queryKey:
|
|
43070
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
43056
43071
|
data: Amount | undefined;
|
|
43057
43072
|
} | {
|
|
43058
43073
|
error: viem0.ReadContractErrorType;
|
|
@@ -43077,10 +43092,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43077
43092
|
isRefetching: boolean;
|
|
43078
43093
|
isStale: boolean;
|
|
43079
43094
|
isEnabled: boolean;
|
|
43080
|
-
refetch: (options?:
|
|
43081
|
-
fetchStatus:
|
|
43095
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint, viem0.ReadContractErrorType>>;
|
|
43096
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
43082
43097
|
promise: Promise<bigint>;
|
|
43083
|
-
queryKey:
|
|
43098
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
43084
43099
|
data: Amount | undefined;
|
|
43085
43100
|
} | {
|
|
43086
43101
|
error: null;
|
|
@@ -43105,10 +43120,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43105
43120
|
isRefetching: boolean;
|
|
43106
43121
|
isStale: boolean;
|
|
43107
43122
|
isEnabled: boolean;
|
|
43108
|
-
refetch: (options?:
|
|
43109
|
-
fetchStatus:
|
|
43123
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint, viem0.ReadContractErrorType>>;
|
|
43124
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
43110
43125
|
promise: Promise<bigint>;
|
|
43111
|
-
queryKey:
|
|
43126
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
43112
43127
|
data: Amount | undefined;
|
|
43113
43128
|
} | {
|
|
43114
43129
|
error: null;
|
|
@@ -43133,10 +43148,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43133
43148
|
isRefetching: boolean;
|
|
43134
43149
|
isStale: boolean;
|
|
43135
43150
|
isEnabled: boolean;
|
|
43136
|
-
refetch: (options?:
|
|
43137
|
-
fetchStatus:
|
|
43151
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint, viem0.ReadContractErrorType>>;
|
|
43152
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
43138
43153
|
promise: Promise<bigint>;
|
|
43139
|
-
queryKey:
|
|
43154
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
43140
43155
|
data: Amount | undefined;
|
|
43141
43156
|
} | {
|
|
43142
43157
|
isError: false;
|
|
@@ -43161,10 +43176,10 @@ declare const useTokenBalance: (token?: Address, user?: Address) => {
|
|
|
43161
43176
|
isRefetching: boolean;
|
|
43162
43177
|
isStale: boolean;
|
|
43163
43178
|
isEnabled: boolean;
|
|
43164
|
-
refetch: (options?:
|
|
43165
|
-
fetchStatus:
|
|
43179
|
+
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<bigint, viem0.ReadContractErrorType>>;
|
|
43180
|
+
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
43166
43181
|
promise: Promise<bigint>;
|
|
43167
|
-
queryKey:
|
|
43182
|
+
queryKey: _tanstack_query_core23.QueryKey;
|
|
43168
43183
|
data: Amount | undefined;
|
|
43169
43184
|
};
|
|
43170
43185
|
//#endregion
|
|
@@ -74652,5 +74667,5 @@ declare const useLens: () => {
|
|
|
74652
74667
|
} | undefined;
|
|
74653
74668
|
};
|
|
74654
74669
|
//#endregion
|
|
74655
|
-
export { ExerciseOptionEvent as $, getTickAtPrice as A, TimelockProvider as At, PriceDataPoint as B, getTimelockMarket as Bt, getPayoutAtTick as C, zero as Ct, getPriceAtSqrtPriceX96 as D, OptionData as Dt, getNearestValidStrikeTick as E, useExerciseOption as Et, token0ToToken1 as F, TimelockMarketData as Ft, useUserOperators as G, getCurrentPrice as H, swappers as Ht, token0ToToken1AtTick as I, UniswapMathLens as It, useClosedUserPerps as J, useOperatorPerms as K, token1ToToken0 as L, getErc20 as Lt, liquiditiesToAmount1 as M, useTimelockConfig as Mt, liquiditiesToAmounts as N, TimelockLens as Nt, getPriceAtTick as O, useActiveUserOptions as Ot, roundTick as P, TimelockMarket as Pt, useMintPerp as Q, token1ToToken0AtTick as R, getStateView as Rt, getPayoutAtPrice as S, wrapPriceUnscaled as St, getAmountsFromLiquidity as T, useMarketData as Tt, getPriceHistory as U, timelockLenses as Ut, PriceResolution as V, stateViews as Vt, useSetOperatorPerms as W, usePerpsOperator as X, useUserPerps as Y, useClosePerp as Z, useCurrentTick as _, unscaleAmount as _t, useTokenData as a, useOptionPremium as at,
|
|
74656
|
-
//# sourceMappingURL=client-
|
|
74670
|
+
export { ExerciseOptionEvent as $, getTickAtPrice as A, TimelockProvider as At, PriceDataPoint as B, getTimelockMarket as Bt, getPayoutAtTick as C, zero as Ct, getPriceAtSqrtPriceX96 as D, OptionData as Dt, getNearestValidStrikeTick as E, useExerciseOption as Et, token0ToToken1 as F, TimelockMarketData as Ft, useUserOperators as G, getCurrentPrice as H, swappers as Ht, token0ToToken1AtTick as I, UniswapMathLens as It, useClosedUserPerps as J, useOperatorPerms as K, token1ToToken0 as L, getErc20 as Lt, liquiditiesToAmount1 as M, useTimelockConfig as Mt, liquiditiesToAmounts as N, TimelockLens as Nt, getPriceAtTick as O, useActiveUserOptions as Ot, roundTick as P, TimelockMarket as Pt, useMintPerp as Q, token1ToToken0AtTick as R, getStateView as Rt, getPayoutAtPrice as S, wrapPriceUnscaled as St, getAmountsFromLiquidity as T, useMarketData as Tt, getPriceHistory as U, timelockLenses as Ut, PriceResolution as V, stateViews as Vt, useSetOperatorPerms as W, usePerpsOperator as X, useUserPerps as Y, useClosePerp as Z, useCurrentTick as _, unscaleAmount as _t, useTokenData as a, useOptionPremium as at, UniswapPoolData as b, wrapAmountUnscaled as bt, batchGetAmountsFromLiquidity as c, useMaxPositionSize as ct, useLiquidityBlocks as d, formatAmount as dt, ExtendEvent as et, useBurnLiquidity as f, formatCondensed as ft, usePriceAtTick as g, scalePrice as gt, usePriceAtSqrtPriceX96 as h, scaleAmount as ht, TokenData as i, useExtendOption as it, liquiditiesToAmount0 as j, useCurrentMarket as jt, getSqrtPriceX96AtPrice as k, useClosedUserOptions as kt, useMintLiquidity as l, Amount as lt, usePriceHistory as m, formatVagueAmount as mt, useApproval as n, OptionEvent as nt, useVaultTVL as o, useOptionPnl as ot, useMarketPriceHistory as p, formatUSD as pt, useActiveUserPerps as q, useTokenBalance as r, useOptionTimeline as rt, useVaultData as s, useMintOption as st, useLens as t, MintOptionEvent as tt, LiquidityBlockData as u, EMPTY_ARRAY as ut, useCurrentPrice as v, unscalePrice as vt, PRICE_PRECISION as w, useMarketVolume as wt, usePoolData as x, wrapPrice as xt, PoolKey as y, wrapAmount as yt, PriceData as z, getTimelockLens as zt };
|
|
74671
|
+
//# sourceMappingURL=client-40kJVPoc.d.ts.map
|