timelock-sdk 0.0.120 → 0.0.121

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.
@@ -6,8 +6,9 @@ import "graphql";
6
6
  import { GraphQLClient, RequestOptions } from "graphql-request";
7
7
  import * as _tanstack_react_query0 from "@tanstack/react-query";
8
8
  import { NonUndefinedGuard } from "@tanstack/react-query";
9
- import * as _tanstack_query_core0 from "@tanstack/query-core";
9
+ import * as _tanstack_query_core23 from "@tanstack/query-core";
10
10
  import Big from "big.js";
11
+ import JSBI from "jsbi";
11
12
  import * as _wagmi_core0 from "@wagmi/core";
12
13
 
13
14
  //#region src/generated/graphql.d.ts
@@ -60,7 +61,6 @@ type UserOptionFieldsFragment = {
60
61
  optionId: any;
61
62
  optionType: any;
62
63
  strikeTick: number;
63
- entryTick: number;
64
64
  startTick: number;
65
65
  strikePrice: any;
66
66
  entryPrice: any;
@@ -177,7 +177,7 @@ type GetOptionEventsQuery = {
177
177
  id: string;
178
178
  optionType: number;
179
179
  strikeTick: number;
180
- currentTick: number;
180
+ price: any;
181
181
  expiresAt: any;
182
182
  premium: any;
183
183
  protocolFee: any;
@@ -190,7 +190,7 @@ type GetOptionEventsQuery = {
190
190
  __typename: 'ExerciseOptionEvent';
191
191
  id: string;
192
192
  liquidities: Array<string>;
193
- currentTick: number;
193
+ price: any;
194
194
  payout: any;
195
195
  timestamp: any;
196
196
  blockNumber: any;
@@ -201,7 +201,7 @@ type GetOptionEventsQuery = {
201
201
  id: string;
202
202
  premium: any;
203
203
  protocolFee: any;
204
- currentTick: number;
204
+ price: any;
205
205
  addedDuration: any;
206
206
  timestamp: any;
207
207
  blockNumber: any;
@@ -407,7 +407,7 @@ declare const getErc20: (address: Address, client: Client) => {
407
407
  }];
408
408
  readonly stateMutability: "nonpayable";
409
409
  }], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
410
- decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
410
+ allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
411
411
  readonly type: "constructor";
412
412
  readonly inputs: readonly [{
413
413
  readonly name: "name_";
@@ -585,8 +585,8 @@ declare const getErc20: (address: Address, client: Client) => {
585
585
  readonly internalType: "bool";
586
586
  }];
587
587
  readonly stateMutability: "nonpayable";
588
- }], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
589
- name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
588
+ }], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
589
+ balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
590
590
  readonly type: "constructor";
591
591
  readonly inputs: readonly [{
592
592
  readonly name: "name_";
@@ -764,8 +764,8 @@ declare const getErc20: (address: Address, client: Client) => {
764
764
  readonly internalType: "bool";
765
765
  }];
766
766
  readonly stateMutability: "nonpayable";
767
- }], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
768
- allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
767
+ }], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
768
+ decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
769
769
  readonly type: "constructor";
770
770
  readonly inputs: readonly [{
771
771
  readonly name: "name_";
@@ -943,8 +943,8 @@ declare const getErc20: (address: Address, client: Client) => {
943
943
  readonly internalType: "bool";
944
944
  }];
945
945
  readonly stateMutability: "nonpayable";
946
- }], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
947
- balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
946
+ }], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
947
+ name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
948
948
  readonly type: "constructor";
949
949
  readonly inputs: readonly [{
950
950
  readonly name: "name_";
@@ -1122,7 +1122,7 @@ declare const getErc20: (address: Address, client: Client) => {
1122
1122
  readonly internalType: "bool";
1123
1123
  }];
1124
1124
  readonly stateMutability: "nonpayable";
1125
- }], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
1125
+ }], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
1126
1126
  totalSupply: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
1127
1127
  readonly type: "constructor";
1128
1128
  readonly inputs: readonly [{
@@ -31752,7 +31752,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
31752
31752
  isRefetching: boolean;
31753
31753
  isStale: boolean;
31754
31754
  isEnabled: boolean;
31755
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
31755
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
31756
31756
  optionId: bigint;
31757
31757
  marketAddr: Address;
31758
31758
  ownerAddr: Address;
@@ -31771,7 +31771,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
31771
31771
  __typename: "UserOption";
31772
31772
  id: string;
31773
31773
  strikeTick: number;
31774
- entryTick: number;
31775
31774
  startTick: number;
31776
31775
  fullyExercised: boolean;
31777
31776
  owner?: {
@@ -31783,7 +31782,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
31783
31782
  address: string;
31784
31783
  } | null;
31785
31784
  }[], Error>>;
31786
- fetchStatus: _tanstack_query_core0.FetchStatus;
31785
+ fetchStatus: _tanstack_query_core23.FetchStatus;
31787
31786
  promise: Promise<{
31788
31787
  optionId: bigint;
31789
31788
  marketAddr: Address;
@@ -31803,7 +31802,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
31803
31802
  __typename: "UserOption";
31804
31803
  id: string;
31805
31804
  strikeTick: number;
31806
- entryTick: number;
31807
31805
  startTick: number;
31808
31806
  fullyExercised: boolean;
31809
31807
  owner?: {
@@ -31834,7 +31832,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
31834
31832
  __typename: "UserOption";
31835
31833
  id: string;
31836
31834
  strikeTick: number;
31837
- entryTick: number;
31838
31835
  startTick: number;
31839
31836
  fullyExercised: boolean;
31840
31837
  owner?: {
@@ -31869,7 +31866,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
31869
31866
  isRefetching: boolean;
31870
31867
  isStale: boolean;
31871
31868
  isEnabled: boolean;
31872
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
31869
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
31873
31870
  optionId: bigint;
31874
31871
  marketAddr: Address;
31875
31872
  ownerAddr: Address;
@@ -31888,7 +31885,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
31888
31885
  __typename: "UserOption";
31889
31886
  id: string;
31890
31887
  strikeTick: number;
31891
- entryTick: number;
31892
31888
  startTick: number;
31893
31889
  fullyExercised: boolean;
31894
31890
  owner?: {
@@ -31900,7 +31896,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
31900
31896
  address: string;
31901
31897
  } | null;
31902
31898
  }[], Error>>;
31903
- fetchStatus: _tanstack_query_core0.FetchStatus;
31899
+ fetchStatus: _tanstack_query_core23.FetchStatus;
31904
31900
  promise: Promise<{
31905
31901
  optionId: bigint;
31906
31902
  marketAddr: Address;
@@ -31920,7 +31916,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
31920
31916
  __typename: "UserOption";
31921
31917
  id: string;
31922
31918
  strikeTick: number;
31923
- entryTick: number;
31924
31919
  startTick: number;
31925
31920
  fullyExercised: boolean;
31926
31921
  owner?: {
@@ -31951,7 +31946,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
31951
31946
  __typename: "UserOption";
31952
31947
  id: string;
31953
31948
  strikeTick: number;
31954
- entryTick: number;
31955
31949
  startTick: number;
31956
31950
  fullyExercised: boolean;
31957
31951
  owner?: {
@@ -31986,7 +31980,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
31986
31980
  isRefetching: boolean;
31987
31981
  isStale: boolean;
31988
31982
  isEnabled: boolean;
31989
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
31983
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
31990
31984
  optionId: bigint;
31991
31985
  marketAddr: Address;
31992
31986
  ownerAddr: Address;
@@ -32005,7 +31999,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32005
31999
  __typename: "UserOption";
32006
32000
  id: string;
32007
32001
  strikeTick: number;
32008
- entryTick: number;
32009
32002
  startTick: number;
32010
32003
  fullyExercised: boolean;
32011
32004
  owner?: {
@@ -32017,7 +32010,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32017
32010
  address: string;
32018
32011
  } | null;
32019
32012
  }[], Error>>;
32020
- fetchStatus: _tanstack_query_core0.FetchStatus;
32013
+ fetchStatus: _tanstack_query_core23.FetchStatus;
32021
32014
  promise: Promise<{
32022
32015
  optionId: bigint;
32023
32016
  marketAddr: Address;
@@ -32037,7 +32030,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32037
32030
  __typename: "UserOption";
32038
32031
  id: string;
32039
32032
  strikeTick: number;
32040
- entryTick: number;
32041
32033
  startTick: number;
32042
32034
  fullyExercised: boolean;
32043
32035
  owner?: {
@@ -32068,7 +32060,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32068
32060
  __typename: "UserOption";
32069
32061
  id: string;
32070
32062
  strikeTick: number;
32071
- entryTick: number;
32072
32063
  startTick: number;
32073
32064
  fullyExercised: boolean;
32074
32065
  owner?: {
@@ -32103,7 +32094,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32103
32094
  isRefetching: boolean;
32104
32095
  isStale: boolean;
32105
32096
  isEnabled: boolean;
32106
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
32097
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
32107
32098
  optionId: bigint;
32108
32099
  marketAddr: Address;
32109
32100
  ownerAddr: Address;
@@ -32122,7 +32113,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32122
32113
  __typename: "UserOption";
32123
32114
  id: string;
32124
32115
  strikeTick: number;
32125
- entryTick: number;
32126
32116
  startTick: number;
32127
32117
  fullyExercised: boolean;
32128
32118
  owner?: {
@@ -32134,7 +32124,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32134
32124
  address: string;
32135
32125
  } | null;
32136
32126
  }[], Error>>;
32137
- fetchStatus: _tanstack_query_core0.FetchStatus;
32127
+ fetchStatus: _tanstack_query_core23.FetchStatus;
32138
32128
  promise: Promise<{
32139
32129
  optionId: bigint;
32140
32130
  marketAddr: Address;
@@ -32154,7 +32144,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32154
32144
  __typename: "UserOption";
32155
32145
  id: string;
32156
32146
  strikeTick: number;
32157
- entryTick: number;
32158
32147
  startTick: number;
32159
32148
  fullyExercised: boolean;
32160
32149
  owner?: {
@@ -32185,7 +32174,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32185
32174
  __typename: "UserOption";
32186
32175
  id: string;
32187
32176
  strikeTick: number;
32188
- entryTick: number;
32189
32177
  startTick: number;
32190
32178
  fullyExercised: boolean;
32191
32179
  owner?: {
@@ -32220,7 +32208,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32220
32208
  isRefetching: boolean;
32221
32209
  isStale: boolean;
32222
32210
  isEnabled: boolean;
32223
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
32211
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
32224
32212
  optionId: bigint;
32225
32213
  marketAddr: Address;
32226
32214
  ownerAddr: Address;
@@ -32239,7 +32227,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32239
32227
  __typename: "UserOption";
32240
32228
  id: string;
32241
32229
  strikeTick: number;
32242
- entryTick: number;
32243
32230
  startTick: number;
32244
32231
  fullyExercised: boolean;
32245
32232
  owner?: {
@@ -32251,7 +32238,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32251
32238
  address: string;
32252
32239
  } | null;
32253
32240
  }[], Error>>;
32254
- fetchStatus: _tanstack_query_core0.FetchStatus;
32241
+ fetchStatus: _tanstack_query_core23.FetchStatus;
32255
32242
  promise: Promise<{
32256
32243
  optionId: bigint;
32257
32244
  marketAddr: Address;
@@ -32271,7 +32258,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32271
32258
  __typename: "UserOption";
32272
32259
  id: string;
32273
32260
  strikeTick: number;
32274
- entryTick: number;
32275
32261
  startTick: number;
32276
32262
  fullyExercised: boolean;
32277
32263
  owner?: {
@@ -32302,7 +32288,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32302
32288
  __typename: "UserOption";
32303
32289
  id: string;
32304
32290
  strikeTick: number;
32305
- entryTick: number;
32306
32291
  startTick: number;
32307
32292
  fullyExercised: boolean;
32308
32293
  owner?: {
@@ -32337,7 +32322,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32337
32322
  isRefetching: boolean;
32338
32323
  isStale: boolean;
32339
32324
  isEnabled: boolean;
32340
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
32325
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
32341
32326
  optionId: bigint;
32342
32327
  marketAddr: Address;
32343
32328
  ownerAddr: Address;
@@ -32356,7 +32341,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32356
32341
  __typename: "UserOption";
32357
32342
  id: string;
32358
32343
  strikeTick: number;
32359
- entryTick: number;
32360
32344
  startTick: number;
32361
32345
  fullyExercised: boolean;
32362
32346
  owner?: {
@@ -32368,7 +32352,7 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32368
32352
  address: string;
32369
32353
  } | null;
32370
32354
  }[], Error>>;
32371
- fetchStatus: _tanstack_query_core0.FetchStatus;
32355
+ fetchStatus: _tanstack_query_core23.FetchStatus;
32372
32356
  promise: Promise<{
32373
32357
  optionId: bigint;
32374
32358
  marketAddr: Address;
@@ -32388,7 +32372,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32388
32372
  __typename: "UserOption";
32389
32373
  id: string;
32390
32374
  strikeTick: number;
32391
- entryTick: number;
32392
32375
  startTick: number;
32393
32376
  fullyExercised: boolean;
32394
32377
  owner?: {
@@ -32419,7 +32402,6 @@ declare const useUserOptions: (userAddr?: Address, marketAddr?: Address | "*", a
32419
32402
  __typename: "UserOption";
32420
32403
  id: string;
32421
32404
  strikeTick: number;
32422
- entryTick: number;
32423
32405
  startTick: number;
32424
32406
  fullyExercised: boolean;
32425
32407
  owner?: {
@@ -32455,7 +32437,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32455
32437
  isRefetching: boolean;
32456
32438
  isStale: boolean;
32457
32439
  isEnabled: boolean;
32458
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
32440
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
32459
32441
  optionId: bigint;
32460
32442
  marketAddr: Address;
32461
32443
  ownerAddr: Address;
@@ -32474,7 +32456,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32474
32456
  __typename: "UserOption";
32475
32457
  id: string;
32476
32458
  strikeTick: number;
32477
- entryTick: number;
32478
32459
  startTick: number;
32479
32460
  fullyExercised: boolean;
32480
32461
  owner?: {
@@ -32486,7 +32467,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32486
32467
  address: string;
32487
32468
  } | null;
32488
32469
  }[], Error>>;
32489
- fetchStatus: _tanstack_query_core0.FetchStatus;
32470
+ fetchStatus: _tanstack_query_core23.FetchStatus;
32490
32471
  promise: Promise<{
32491
32472
  optionId: bigint;
32492
32473
  marketAddr: Address;
@@ -32506,7 +32487,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32506
32487
  __typename: "UserOption";
32507
32488
  id: string;
32508
32489
  strikeTick: number;
32509
- entryTick: number;
32510
32490
  startTick: number;
32511
32491
  fullyExercised: boolean;
32512
32492
  owner?: {
@@ -32537,7 +32517,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32537
32517
  __typename: "UserOption";
32538
32518
  id: string;
32539
32519
  strikeTick: number;
32540
- entryTick: number;
32541
32520
  startTick: number;
32542
32521
  fullyExercised: boolean;
32543
32522
  owner?: {
@@ -32572,7 +32551,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32572
32551
  isRefetching: boolean;
32573
32552
  isStale: boolean;
32574
32553
  isEnabled: boolean;
32575
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
32554
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
32576
32555
  optionId: bigint;
32577
32556
  marketAddr: Address;
32578
32557
  ownerAddr: Address;
@@ -32591,7 +32570,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32591
32570
  __typename: "UserOption";
32592
32571
  id: string;
32593
32572
  strikeTick: number;
32594
- entryTick: number;
32595
32573
  startTick: number;
32596
32574
  fullyExercised: boolean;
32597
32575
  owner?: {
@@ -32603,7 +32581,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32603
32581
  address: string;
32604
32582
  } | null;
32605
32583
  }[], Error>>;
32606
- fetchStatus: _tanstack_query_core0.FetchStatus;
32584
+ fetchStatus: _tanstack_query_core23.FetchStatus;
32607
32585
  promise: Promise<{
32608
32586
  optionId: bigint;
32609
32587
  marketAddr: Address;
@@ -32623,7 +32601,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32623
32601
  __typename: "UserOption";
32624
32602
  id: string;
32625
32603
  strikeTick: number;
32626
- entryTick: number;
32627
32604
  startTick: number;
32628
32605
  fullyExercised: boolean;
32629
32606
  owner?: {
@@ -32654,7 +32631,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32654
32631
  __typename: "UserOption";
32655
32632
  id: string;
32656
32633
  strikeTick: number;
32657
- entryTick: number;
32658
32634
  startTick: number;
32659
32635
  fullyExercised: boolean;
32660
32636
  owner?: {
@@ -32689,7 +32665,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32689
32665
  isRefetching: boolean;
32690
32666
  isStale: boolean;
32691
32667
  isEnabled: boolean;
32692
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
32668
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
32693
32669
  optionId: bigint;
32694
32670
  marketAddr: Address;
32695
32671
  ownerAddr: Address;
@@ -32708,7 +32684,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32708
32684
  __typename: "UserOption";
32709
32685
  id: string;
32710
32686
  strikeTick: number;
32711
- entryTick: number;
32712
32687
  startTick: number;
32713
32688
  fullyExercised: boolean;
32714
32689
  owner?: {
@@ -32720,7 +32695,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32720
32695
  address: string;
32721
32696
  } | null;
32722
32697
  }[], Error>>;
32723
- fetchStatus: _tanstack_query_core0.FetchStatus;
32698
+ fetchStatus: _tanstack_query_core23.FetchStatus;
32724
32699
  promise: Promise<{
32725
32700
  optionId: bigint;
32726
32701
  marketAddr: Address;
@@ -32740,7 +32715,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32740
32715
  __typename: "UserOption";
32741
32716
  id: string;
32742
32717
  strikeTick: number;
32743
- entryTick: number;
32744
32718
  startTick: number;
32745
32719
  fullyExercised: boolean;
32746
32720
  owner?: {
@@ -32771,7 +32745,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32771
32745
  __typename: "UserOption";
32772
32746
  id: string;
32773
32747
  strikeTick: number;
32774
- entryTick: number;
32775
32748
  startTick: number;
32776
32749
  fullyExercised: boolean;
32777
32750
  owner?: {
@@ -32806,7 +32779,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32806
32779
  isRefetching: boolean;
32807
32780
  isStale: boolean;
32808
32781
  isEnabled: boolean;
32809
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
32782
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
32810
32783
  optionId: bigint;
32811
32784
  marketAddr: Address;
32812
32785
  ownerAddr: Address;
@@ -32825,7 +32798,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32825
32798
  __typename: "UserOption";
32826
32799
  id: string;
32827
32800
  strikeTick: number;
32828
- entryTick: number;
32829
32801
  startTick: number;
32830
32802
  fullyExercised: boolean;
32831
32803
  owner?: {
@@ -32837,7 +32809,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32837
32809
  address: string;
32838
32810
  } | null;
32839
32811
  }[], Error>>;
32840
- fetchStatus: _tanstack_query_core0.FetchStatus;
32812
+ fetchStatus: _tanstack_query_core23.FetchStatus;
32841
32813
  promise: Promise<{
32842
32814
  optionId: bigint;
32843
32815
  marketAddr: Address;
@@ -32857,7 +32829,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32857
32829
  __typename: "UserOption";
32858
32830
  id: string;
32859
32831
  strikeTick: number;
32860
- entryTick: number;
32861
32832
  startTick: number;
32862
32833
  fullyExercised: boolean;
32863
32834
  owner?: {
@@ -32888,7 +32859,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32888
32859
  __typename: "UserOption";
32889
32860
  id: string;
32890
32861
  strikeTick: number;
32891
- entryTick: number;
32892
32862
  startTick: number;
32893
32863
  fullyExercised: boolean;
32894
32864
  owner?: {
@@ -32923,7 +32893,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32923
32893
  isRefetching: boolean;
32924
32894
  isStale: boolean;
32925
32895
  isEnabled: boolean;
32926
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
32896
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
32927
32897
  optionId: bigint;
32928
32898
  marketAddr: Address;
32929
32899
  ownerAddr: Address;
@@ -32942,7 +32912,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32942
32912
  __typename: "UserOption";
32943
32913
  id: string;
32944
32914
  strikeTick: number;
32945
- entryTick: number;
32946
32915
  startTick: number;
32947
32916
  fullyExercised: boolean;
32948
32917
  owner?: {
@@ -32954,7 +32923,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32954
32923
  address: string;
32955
32924
  } | null;
32956
32925
  }[], Error>>;
32957
- fetchStatus: _tanstack_query_core0.FetchStatus;
32926
+ fetchStatus: _tanstack_query_core23.FetchStatus;
32958
32927
  promise: Promise<{
32959
32928
  optionId: bigint;
32960
32929
  marketAddr: Address;
@@ -32974,7 +32943,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
32974
32943
  __typename: "UserOption";
32975
32944
  id: string;
32976
32945
  strikeTick: number;
32977
- entryTick: number;
32978
32946
  startTick: number;
32979
32947
  fullyExercised: boolean;
32980
32948
  owner?: {
@@ -33005,7 +32973,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
33005
32973
  __typename: "UserOption";
33006
32974
  id: string;
33007
32975
  strikeTick: number;
33008
- entryTick: number;
33009
32976
  startTick: number;
33010
32977
  fullyExercised: boolean;
33011
32978
  owner?: {
@@ -33040,7 +33007,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
33040
33007
  isRefetching: boolean;
33041
33008
  isStale: boolean;
33042
33009
  isEnabled: boolean;
33043
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
33010
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
33044
33011
  optionId: bigint;
33045
33012
  marketAddr: Address;
33046
33013
  ownerAddr: Address;
@@ -33059,7 +33026,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
33059
33026
  __typename: "UserOption";
33060
33027
  id: string;
33061
33028
  strikeTick: number;
33062
- entryTick: number;
33063
33029
  startTick: number;
33064
33030
  fullyExercised: boolean;
33065
33031
  owner?: {
@@ -33071,7 +33037,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
33071
33037
  address: string;
33072
33038
  } | null;
33073
33039
  }[], Error>>;
33074
- fetchStatus: _tanstack_query_core0.FetchStatus;
33040
+ fetchStatus: _tanstack_query_core23.FetchStatus;
33075
33041
  promise: Promise<{
33076
33042
  optionId: bigint;
33077
33043
  marketAddr: Address;
@@ -33091,7 +33057,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
33091
33057
  __typename: "UserOption";
33092
33058
  id: string;
33093
33059
  strikeTick: number;
33094
- entryTick: number;
33095
33060
  startTick: number;
33096
33061
  fullyExercised: boolean;
33097
33062
  owner?: {
@@ -33122,7 +33087,6 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
33122
33087
  __typename: "UserOption";
33123
33088
  id: string;
33124
33089
  strikeTick: number;
33125
- entryTick: number;
33126
33090
  startTick: number;
33127
33091
  fullyExercised: boolean;
33128
33092
  owner?: {
@@ -33158,7 +33122,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33158
33122
  isRefetching: boolean;
33159
33123
  isStale: boolean;
33160
33124
  isEnabled: boolean;
33161
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
33125
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
33162
33126
  optionId: bigint;
33163
33127
  marketAddr: Address;
33164
33128
  ownerAddr: Address;
@@ -33177,7 +33141,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33177
33141
  __typename: "UserOption";
33178
33142
  id: string;
33179
33143
  strikeTick: number;
33180
- entryTick: number;
33181
33144
  startTick: number;
33182
33145
  fullyExercised: boolean;
33183
33146
  owner?: {
@@ -33189,7 +33152,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33189
33152
  address: string;
33190
33153
  } | null;
33191
33154
  }[], Error>>;
33192
- fetchStatus: _tanstack_query_core0.FetchStatus;
33155
+ fetchStatus: _tanstack_query_core23.FetchStatus;
33193
33156
  promise: Promise<{
33194
33157
  optionId: bigint;
33195
33158
  marketAddr: Address;
@@ -33209,7 +33172,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33209
33172
  __typename: "UserOption";
33210
33173
  id: string;
33211
33174
  strikeTick: number;
33212
- entryTick: number;
33213
33175
  startTick: number;
33214
33176
  fullyExercised: boolean;
33215
33177
  owner?: {
@@ -33240,7 +33202,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33240
33202
  __typename: "UserOption";
33241
33203
  id: string;
33242
33204
  strikeTick: number;
33243
- entryTick: number;
33244
33205
  startTick: number;
33245
33206
  fullyExercised: boolean;
33246
33207
  owner?: {
@@ -33275,7 +33236,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33275
33236
  isRefetching: boolean;
33276
33237
  isStale: boolean;
33277
33238
  isEnabled: boolean;
33278
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
33239
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
33279
33240
  optionId: bigint;
33280
33241
  marketAddr: Address;
33281
33242
  ownerAddr: Address;
@@ -33294,7 +33255,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33294
33255
  __typename: "UserOption";
33295
33256
  id: string;
33296
33257
  strikeTick: number;
33297
- entryTick: number;
33298
33258
  startTick: number;
33299
33259
  fullyExercised: boolean;
33300
33260
  owner?: {
@@ -33306,7 +33266,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33306
33266
  address: string;
33307
33267
  } | null;
33308
33268
  }[], Error>>;
33309
- fetchStatus: _tanstack_query_core0.FetchStatus;
33269
+ fetchStatus: _tanstack_query_core23.FetchStatus;
33310
33270
  promise: Promise<{
33311
33271
  optionId: bigint;
33312
33272
  marketAddr: Address;
@@ -33326,7 +33286,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33326
33286
  __typename: "UserOption";
33327
33287
  id: string;
33328
33288
  strikeTick: number;
33329
- entryTick: number;
33330
33289
  startTick: number;
33331
33290
  fullyExercised: boolean;
33332
33291
  owner?: {
@@ -33357,7 +33316,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33357
33316
  __typename: "UserOption";
33358
33317
  id: string;
33359
33318
  strikeTick: number;
33360
- entryTick: number;
33361
33319
  startTick: number;
33362
33320
  fullyExercised: boolean;
33363
33321
  owner?: {
@@ -33392,7 +33350,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33392
33350
  isRefetching: boolean;
33393
33351
  isStale: boolean;
33394
33352
  isEnabled: boolean;
33395
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
33353
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
33396
33354
  optionId: bigint;
33397
33355
  marketAddr: Address;
33398
33356
  ownerAddr: Address;
@@ -33411,7 +33369,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33411
33369
  __typename: "UserOption";
33412
33370
  id: string;
33413
33371
  strikeTick: number;
33414
- entryTick: number;
33415
33372
  startTick: number;
33416
33373
  fullyExercised: boolean;
33417
33374
  owner?: {
@@ -33423,7 +33380,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33423
33380
  address: string;
33424
33381
  } | null;
33425
33382
  }[], Error>>;
33426
- fetchStatus: _tanstack_query_core0.FetchStatus;
33383
+ fetchStatus: _tanstack_query_core23.FetchStatus;
33427
33384
  promise: Promise<{
33428
33385
  optionId: bigint;
33429
33386
  marketAddr: Address;
@@ -33443,7 +33400,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33443
33400
  __typename: "UserOption";
33444
33401
  id: string;
33445
33402
  strikeTick: number;
33446
- entryTick: number;
33447
33403
  startTick: number;
33448
33404
  fullyExercised: boolean;
33449
33405
  owner?: {
@@ -33474,7 +33430,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33474
33430
  __typename: "UserOption";
33475
33431
  id: string;
33476
33432
  strikeTick: number;
33477
- entryTick: number;
33478
33433
  startTick: number;
33479
33434
  fullyExercised: boolean;
33480
33435
  owner?: {
@@ -33509,7 +33464,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33509
33464
  isRefetching: boolean;
33510
33465
  isStale: boolean;
33511
33466
  isEnabled: boolean;
33512
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
33467
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
33513
33468
  optionId: bigint;
33514
33469
  marketAddr: Address;
33515
33470
  ownerAddr: Address;
@@ -33528,7 +33483,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33528
33483
  __typename: "UserOption";
33529
33484
  id: string;
33530
33485
  strikeTick: number;
33531
- entryTick: number;
33532
33486
  startTick: number;
33533
33487
  fullyExercised: boolean;
33534
33488
  owner?: {
@@ -33540,7 +33494,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33540
33494
  address: string;
33541
33495
  } | null;
33542
33496
  }[], Error>>;
33543
- fetchStatus: _tanstack_query_core0.FetchStatus;
33497
+ fetchStatus: _tanstack_query_core23.FetchStatus;
33544
33498
  promise: Promise<{
33545
33499
  optionId: bigint;
33546
33500
  marketAddr: Address;
@@ -33560,7 +33514,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33560
33514
  __typename: "UserOption";
33561
33515
  id: string;
33562
33516
  strikeTick: number;
33563
- entryTick: number;
33564
33517
  startTick: number;
33565
33518
  fullyExercised: boolean;
33566
33519
  owner?: {
@@ -33591,7 +33544,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33591
33544
  __typename: "UserOption";
33592
33545
  id: string;
33593
33546
  strikeTick: number;
33594
- entryTick: number;
33595
33547
  startTick: number;
33596
33548
  fullyExercised: boolean;
33597
33549
  owner?: {
@@ -33626,7 +33578,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33626
33578
  isRefetching: boolean;
33627
33579
  isStale: boolean;
33628
33580
  isEnabled: boolean;
33629
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
33581
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
33630
33582
  optionId: bigint;
33631
33583
  marketAddr: Address;
33632
33584
  ownerAddr: Address;
@@ -33645,7 +33597,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33645
33597
  __typename: "UserOption";
33646
33598
  id: string;
33647
33599
  strikeTick: number;
33648
- entryTick: number;
33649
33600
  startTick: number;
33650
33601
  fullyExercised: boolean;
33651
33602
  owner?: {
@@ -33657,7 +33608,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33657
33608
  address: string;
33658
33609
  } | null;
33659
33610
  }[], Error>>;
33660
- fetchStatus: _tanstack_query_core0.FetchStatus;
33611
+ fetchStatus: _tanstack_query_core23.FetchStatus;
33661
33612
  promise: Promise<{
33662
33613
  optionId: bigint;
33663
33614
  marketAddr: Address;
@@ -33677,7 +33628,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33677
33628
  __typename: "UserOption";
33678
33629
  id: string;
33679
33630
  strikeTick: number;
33680
- entryTick: number;
33681
33631
  startTick: number;
33682
33632
  fullyExercised: boolean;
33683
33633
  owner?: {
@@ -33708,7 +33658,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33708
33658
  __typename: "UserOption";
33709
33659
  id: string;
33710
33660
  strikeTick: number;
33711
- entryTick: number;
33712
33661
  startTick: number;
33713
33662
  fullyExercised: boolean;
33714
33663
  owner?: {
@@ -33743,7 +33692,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33743
33692
  isRefetching: boolean;
33744
33693
  isStale: boolean;
33745
33694
  isEnabled: boolean;
33746
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
33695
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
33747
33696
  optionId: bigint;
33748
33697
  marketAddr: Address;
33749
33698
  ownerAddr: Address;
@@ -33762,7 +33711,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33762
33711
  __typename: "UserOption";
33763
33712
  id: string;
33764
33713
  strikeTick: number;
33765
- entryTick: number;
33766
33714
  startTick: number;
33767
33715
  fullyExercised: boolean;
33768
33716
  owner?: {
@@ -33774,7 +33722,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33774
33722
  address: string;
33775
33723
  } | null;
33776
33724
  }[], Error>>;
33777
- fetchStatus: _tanstack_query_core0.FetchStatus;
33725
+ fetchStatus: _tanstack_query_core23.FetchStatus;
33778
33726
  promise: Promise<{
33779
33727
  optionId: bigint;
33780
33728
  marketAddr: Address;
@@ -33794,7 +33742,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33794
33742
  __typename: "UserOption";
33795
33743
  id: string;
33796
33744
  strikeTick: number;
33797
- entryTick: number;
33798
33745
  startTick: number;
33799
33746
  fullyExercised: boolean;
33800
33747
  owner?: {
@@ -33825,7 +33772,6 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
33825
33772
  __typename: "UserOption";
33826
33773
  id: string;
33827
33774
  strikeTick: number;
33828
- entryTick: number;
33829
33775
  startTick: number;
33830
33776
  fullyExercised: boolean;
33831
33777
  owner?: {
@@ -33951,18 +33897,18 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
33951
33897
  isRefetching: boolean;
33952
33898
  isStale: boolean;
33953
33899
  isEnabled: boolean;
33954
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
33900
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<({
33955
33901
  type: "mint";
33956
33902
  data: {
33957
33903
  id: string;
33958
33904
  optionType: 0 | 1;
33959
33905
  strikeTick: number;
33960
- currentTick: number;
33961
- expiresAt: Date;
33906
+ price: bigint;
33962
33907
  premium: bigint;
33963
33908
  protocolFee: bigint;
33964
33909
  liquidities: bigint[];
33965
33910
  timestamp: Date;
33911
+ expiresAt: Date;
33966
33912
  blockNumber: bigint;
33967
33913
  transactionHash: string;
33968
33914
  };
@@ -33970,9 +33916,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
33970
33916
  type: "exercise";
33971
33917
  data: {
33972
33918
  id: string;
33973
- liquidities: bigint[];
33974
- currentTick: number;
33975
33919
  payout: bigint;
33920
+ price: bigint;
33921
+ liquidities: bigint[];
33976
33922
  timestamp: Date;
33977
33923
  blockNumber: bigint;
33978
33924
  transactionHash: string;
@@ -33983,26 +33929,26 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
33983
33929
  id: string;
33984
33930
  premium: bigint;
33985
33931
  protocolFee: bigint;
33986
- currentTick: number;
33932
+ price: bigint;
33987
33933
  addedDuration: bigint;
33988
33934
  timestamp: Date;
33989
33935
  blockNumber: bigint;
33990
33936
  transactionHash: string;
33991
33937
  };
33992
33938
  })[], Error>>;
33993
- fetchStatus: _tanstack_query_core0.FetchStatus;
33939
+ fetchStatus: _tanstack_query_core23.FetchStatus;
33994
33940
  promise: Promise<({
33995
33941
  type: "mint";
33996
33942
  data: {
33997
33943
  id: string;
33998
33944
  optionType: 0 | 1;
33999
33945
  strikeTick: number;
34000
- currentTick: number;
34001
- expiresAt: Date;
33946
+ price: bigint;
34002
33947
  premium: bigint;
34003
33948
  protocolFee: bigint;
34004
33949
  liquidities: bigint[];
34005
33950
  timestamp: Date;
33951
+ expiresAt: Date;
34006
33952
  blockNumber: bigint;
34007
33953
  transactionHash: string;
34008
33954
  };
@@ -34010,9 +33956,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34010
33956
  type: "exercise";
34011
33957
  data: {
34012
33958
  id: string;
34013
- liquidities: bigint[];
34014
- currentTick: number;
34015
33959
  payout: bigint;
33960
+ price: bigint;
33961
+ liquidities: bigint[];
34016
33962
  timestamp: Date;
34017
33963
  blockNumber: bigint;
34018
33964
  transactionHash: string;
@@ -34023,7 +33969,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34023
33969
  id: string;
34024
33970
  premium: bigint;
34025
33971
  protocolFee: bigint;
34026
- currentTick: number;
33972
+ price: bigint;
34027
33973
  addedDuration: bigint;
34028
33974
  timestamp: Date;
34029
33975
  blockNumber: bigint;
@@ -34036,12 +33982,12 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34036
33982
  id: string;
34037
33983
  optionType: 0 | 1;
34038
33984
  strikeTick: number;
34039
- currentTick: number;
34040
- expiresAt: Date;
33985
+ price: bigint;
34041
33986
  premium: bigint;
34042
33987
  protocolFee: bigint;
34043
33988
  liquidities: bigint[];
34044
33989
  timestamp: Date;
33990
+ expiresAt: Date;
34045
33991
  blockNumber: bigint;
34046
33992
  transactionHash: string;
34047
33993
  };
@@ -34049,9 +33995,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34049
33995
  type: "exercise";
34050
33996
  data: {
34051
33997
  id: string;
34052
- liquidities: bigint[];
34053
- currentTick: number;
34054
33998
  payout: bigint;
33999
+ price: bigint;
34000
+ liquidities: bigint[];
34055
34001
  timestamp: Date;
34056
34002
  blockNumber: bigint;
34057
34003
  transactionHash: string;
@@ -34062,7 +34008,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34062
34008
  id: string;
34063
34009
  premium: bigint;
34064
34010
  protocolFee: bigint;
34065
- currentTick: number;
34011
+ price: bigint;
34066
34012
  addedDuration: bigint;
34067
34013
  timestamp: Date;
34068
34014
  blockNumber: bigint;
@@ -34092,18 +34038,18 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34092
34038
  isRefetching: boolean;
34093
34039
  isStale: boolean;
34094
34040
  isEnabled: boolean;
34095
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
34041
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<({
34096
34042
  type: "mint";
34097
34043
  data: {
34098
34044
  id: string;
34099
34045
  optionType: 0 | 1;
34100
34046
  strikeTick: number;
34101
- currentTick: number;
34102
- expiresAt: Date;
34047
+ price: bigint;
34103
34048
  premium: bigint;
34104
34049
  protocolFee: bigint;
34105
34050
  liquidities: bigint[];
34106
34051
  timestamp: Date;
34052
+ expiresAt: Date;
34107
34053
  blockNumber: bigint;
34108
34054
  transactionHash: string;
34109
34055
  };
@@ -34111,9 +34057,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34111
34057
  type: "exercise";
34112
34058
  data: {
34113
34059
  id: string;
34114
- liquidities: bigint[];
34115
- currentTick: number;
34116
34060
  payout: bigint;
34061
+ price: bigint;
34062
+ liquidities: bigint[];
34117
34063
  timestamp: Date;
34118
34064
  blockNumber: bigint;
34119
34065
  transactionHash: string;
@@ -34124,26 +34070,26 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34124
34070
  id: string;
34125
34071
  premium: bigint;
34126
34072
  protocolFee: bigint;
34127
- currentTick: number;
34073
+ price: bigint;
34128
34074
  addedDuration: bigint;
34129
34075
  timestamp: Date;
34130
34076
  blockNumber: bigint;
34131
34077
  transactionHash: string;
34132
34078
  };
34133
34079
  })[], Error>>;
34134
- fetchStatus: _tanstack_query_core0.FetchStatus;
34080
+ fetchStatus: _tanstack_query_core23.FetchStatus;
34135
34081
  promise: Promise<({
34136
34082
  type: "mint";
34137
34083
  data: {
34138
34084
  id: string;
34139
34085
  optionType: 0 | 1;
34140
34086
  strikeTick: number;
34141
- currentTick: number;
34142
- expiresAt: Date;
34087
+ price: bigint;
34143
34088
  premium: bigint;
34144
34089
  protocolFee: bigint;
34145
34090
  liquidities: bigint[];
34146
34091
  timestamp: Date;
34092
+ expiresAt: Date;
34147
34093
  blockNumber: bigint;
34148
34094
  transactionHash: string;
34149
34095
  };
@@ -34151,9 +34097,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34151
34097
  type: "exercise";
34152
34098
  data: {
34153
34099
  id: string;
34154
- liquidities: bigint[];
34155
- currentTick: number;
34156
34100
  payout: bigint;
34101
+ price: bigint;
34102
+ liquidities: bigint[];
34157
34103
  timestamp: Date;
34158
34104
  blockNumber: bigint;
34159
34105
  transactionHash: string;
@@ -34164,7 +34110,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34164
34110
  id: string;
34165
34111
  premium: bigint;
34166
34112
  protocolFee: bigint;
34167
- currentTick: number;
34113
+ price: bigint;
34168
34114
  addedDuration: bigint;
34169
34115
  timestamp: Date;
34170
34116
  blockNumber: bigint;
@@ -34177,12 +34123,12 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34177
34123
  id: string;
34178
34124
  optionType: 0 | 1;
34179
34125
  strikeTick: number;
34180
- currentTick: number;
34181
- expiresAt: Date;
34126
+ price: bigint;
34182
34127
  premium: bigint;
34183
34128
  protocolFee: bigint;
34184
34129
  liquidities: bigint[];
34185
34130
  timestamp: Date;
34131
+ expiresAt: Date;
34186
34132
  blockNumber: bigint;
34187
34133
  transactionHash: string;
34188
34134
  };
@@ -34190,9 +34136,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34190
34136
  type: "exercise";
34191
34137
  data: {
34192
34138
  id: string;
34193
- liquidities: bigint[];
34194
- currentTick: number;
34195
34139
  payout: bigint;
34140
+ price: bigint;
34141
+ liquidities: bigint[];
34196
34142
  timestamp: Date;
34197
34143
  blockNumber: bigint;
34198
34144
  transactionHash: string;
@@ -34203,7 +34149,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34203
34149
  id: string;
34204
34150
  premium: bigint;
34205
34151
  protocolFee: bigint;
34206
- currentTick: number;
34152
+ price: bigint;
34207
34153
  addedDuration: bigint;
34208
34154
  timestamp: Date;
34209
34155
  blockNumber: bigint;
@@ -34233,18 +34179,18 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34233
34179
  isRefetching: boolean;
34234
34180
  isStale: boolean;
34235
34181
  isEnabled: boolean;
34236
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
34182
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<({
34237
34183
  type: "mint";
34238
34184
  data: {
34239
34185
  id: string;
34240
34186
  optionType: 0 | 1;
34241
34187
  strikeTick: number;
34242
- currentTick: number;
34243
- expiresAt: Date;
34188
+ price: bigint;
34244
34189
  premium: bigint;
34245
34190
  protocolFee: bigint;
34246
34191
  liquidities: bigint[];
34247
34192
  timestamp: Date;
34193
+ expiresAt: Date;
34248
34194
  blockNumber: bigint;
34249
34195
  transactionHash: string;
34250
34196
  };
@@ -34252,9 +34198,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34252
34198
  type: "exercise";
34253
34199
  data: {
34254
34200
  id: string;
34255
- liquidities: bigint[];
34256
- currentTick: number;
34257
34201
  payout: bigint;
34202
+ price: bigint;
34203
+ liquidities: bigint[];
34258
34204
  timestamp: Date;
34259
34205
  blockNumber: bigint;
34260
34206
  transactionHash: string;
@@ -34265,26 +34211,26 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34265
34211
  id: string;
34266
34212
  premium: bigint;
34267
34213
  protocolFee: bigint;
34268
- currentTick: number;
34214
+ price: bigint;
34269
34215
  addedDuration: bigint;
34270
34216
  timestamp: Date;
34271
34217
  blockNumber: bigint;
34272
34218
  transactionHash: string;
34273
34219
  };
34274
34220
  })[], Error>>;
34275
- fetchStatus: _tanstack_query_core0.FetchStatus;
34221
+ fetchStatus: _tanstack_query_core23.FetchStatus;
34276
34222
  promise: Promise<({
34277
34223
  type: "mint";
34278
34224
  data: {
34279
34225
  id: string;
34280
34226
  optionType: 0 | 1;
34281
34227
  strikeTick: number;
34282
- currentTick: number;
34283
- expiresAt: Date;
34228
+ price: bigint;
34284
34229
  premium: bigint;
34285
34230
  protocolFee: bigint;
34286
34231
  liquidities: bigint[];
34287
34232
  timestamp: Date;
34233
+ expiresAt: Date;
34288
34234
  blockNumber: bigint;
34289
34235
  transactionHash: string;
34290
34236
  };
@@ -34292,9 +34238,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34292
34238
  type: "exercise";
34293
34239
  data: {
34294
34240
  id: string;
34295
- liquidities: bigint[];
34296
- currentTick: number;
34297
34241
  payout: bigint;
34242
+ price: bigint;
34243
+ liquidities: bigint[];
34298
34244
  timestamp: Date;
34299
34245
  blockNumber: bigint;
34300
34246
  transactionHash: string;
@@ -34305,7 +34251,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34305
34251
  id: string;
34306
34252
  premium: bigint;
34307
34253
  protocolFee: bigint;
34308
- currentTick: number;
34254
+ price: bigint;
34309
34255
  addedDuration: bigint;
34310
34256
  timestamp: Date;
34311
34257
  blockNumber: bigint;
@@ -34318,12 +34264,12 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34318
34264
  id: string;
34319
34265
  optionType: 0 | 1;
34320
34266
  strikeTick: number;
34321
- currentTick: number;
34322
- expiresAt: Date;
34267
+ price: bigint;
34323
34268
  premium: bigint;
34324
34269
  protocolFee: bigint;
34325
34270
  liquidities: bigint[];
34326
34271
  timestamp: Date;
34272
+ expiresAt: Date;
34327
34273
  blockNumber: bigint;
34328
34274
  transactionHash: string;
34329
34275
  };
@@ -34331,9 +34277,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34331
34277
  type: "exercise";
34332
34278
  data: {
34333
34279
  id: string;
34334
- liquidities: bigint[];
34335
- currentTick: number;
34336
34280
  payout: bigint;
34281
+ price: bigint;
34282
+ liquidities: bigint[];
34337
34283
  timestamp: Date;
34338
34284
  blockNumber: bigint;
34339
34285
  transactionHash: string;
@@ -34344,7 +34290,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34344
34290
  id: string;
34345
34291
  premium: bigint;
34346
34292
  protocolFee: bigint;
34347
- currentTick: number;
34293
+ price: bigint;
34348
34294
  addedDuration: bigint;
34349
34295
  timestamp: Date;
34350
34296
  blockNumber: bigint;
@@ -34374,18 +34320,18 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34374
34320
  isRefetching: boolean;
34375
34321
  isStale: boolean;
34376
34322
  isEnabled: boolean;
34377
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
34323
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<({
34378
34324
  type: "mint";
34379
34325
  data: {
34380
34326
  id: string;
34381
34327
  optionType: 0 | 1;
34382
34328
  strikeTick: number;
34383
- currentTick: number;
34384
- expiresAt: Date;
34329
+ price: bigint;
34385
34330
  premium: bigint;
34386
34331
  protocolFee: bigint;
34387
34332
  liquidities: bigint[];
34388
34333
  timestamp: Date;
34334
+ expiresAt: Date;
34389
34335
  blockNumber: bigint;
34390
34336
  transactionHash: string;
34391
34337
  };
@@ -34393,9 +34339,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34393
34339
  type: "exercise";
34394
34340
  data: {
34395
34341
  id: string;
34396
- liquidities: bigint[];
34397
- currentTick: number;
34398
34342
  payout: bigint;
34343
+ price: bigint;
34344
+ liquidities: bigint[];
34399
34345
  timestamp: Date;
34400
34346
  blockNumber: bigint;
34401
34347
  transactionHash: string;
@@ -34406,26 +34352,26 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34406
34352
  id: string;
34407
34353
  premium: bigint;
34408
34354
  protocolFee: bigint;
34409
- currentTick: number;
34355
+ price: bigint;
34410
34356
  addedDuration: bigint;
34411
34357
  timestamp: Date;
34412
34358
  blockNumber: bigint;
34413
34359
  transactionHash: string;
34414
34360
  };
34415
34361
  })[], Error>>;
34416
- fetchStatus: _tanstack_query_core0.FetchStatus;
34362
+ fetchStatus: _tanstack_query_core23.FetchStatus;
34417
34363
  promise: Promise<({
34418
34364
  type: "mint";
34419
34365
  data: {
34420
34366
  id: string;
34421
34367
  optionType: 0 | 1;
34422
34368
  strikeTick: number;
34423
- currentTick: number;
34424
- expiresAt: Date;
34369
+ price: bigint;
34425
34370
  premium: bigint;
34426
34371
  protocolFee: bigint;
34427
34372
  liquidities: bigint[];
34428
34373
  timestamp: Date;
34374
+ expiresAt: Date;
34429
34375
  blockNumber: bigint;
34430
34376
  transactionHash: string;
34431
34377
  };
@@ -34433,9 +34379,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34433
34379
  type: "exercise";
34434
34380
  data: {
34435
34381
  id: string;
34436
- liquidities: bigint[];
34437
- currentTick: number;
34438
34382
  payout: bigint;
34383
+ price: bigint;
34384
+ liquidities: bigint[];
34439
34385
  timestamp: Date;
34440
34386
  blockNumber: bigint;
34441
34387
  transactionHash: string;
@@ -34446,7 +34392,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34446
34392
  id: string;
34447
34393
  premium: bigint;
34448
34394
  protocolFee: bigint;
34449
- currentTick: number;
34395
+ price: bigint;
34450
34396
  addedDuration: bigint;
34451
34397
  timestamp: Date;
34452
34398
  blockNumber: bigint;
@@ -34459,12 +34405,12 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34459
34405
  id: string;
34460
34406
  optionType: 0 | 1;
34461
34407
  strikeTick: number;
34462
- currentTick: number;
34463
- expiresAt: Date;
34408
+ price: bigint;
34464
34409
  premium: bigint;
34465
34410
  protocolFee: bigint;
34466
34411
  liquidities: bigint[];
34467
34412
  timestamp: Date;
34413
+ expiresAt: Date;
34468
34414
  blockNumber: bigint;
34469
34415
  transactionHash: string;
34470
34416
  };
@@ -34472,9 +34418,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34472
34418
  type: "exercise";
34473
34419
  data: {
34474
34420
  id: string;
34475
- liquidities: bigint[];
34476
- currentTick: number;
34477
34421
  payout: bigint;
34422
+ price: bigint;
34423
+ liquidities: bigint[];
34478
34424
  timestamp: Date;
34479
34425
  blockNumber: bigint;
34480
34426
  transactionHash: string;
@@ -34485,7 +34431,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34485
34431
  id: string;
34486
34432
  premium: bigint;
34487
34433
  protocolFee: bigint;
34488
- currentTick: number;
34434
+ price: bigint;
34489
34435
  addedDuration: bigint;
34490
34436
  timestamp: Date;
34491
34437
  blockNumber: bigint;
@@ -34515,18 +34461,18 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34515
34461
  isRefetching: boolean;
34516
34462
  isStale: boolean;
34517
34463
  isEnabled: boolean;
34518
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
34464
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<({
34519
34465
  type: "mint";
34520
34466
  data: {
34521
34467
  id: string;
34522
34468
  optionType: 0 | 1;
34523
34469
  strikeTick: number;
34524
- currentTick: number;
34525
- expiresAt: Date;
34470
+ price: bigint;
34526
34471
  premium: bigint;
34527
34472
  protocolFee: bigint;
34528
34473
  liquidities: bigint[];
34529
34474
  timestamp: Date;
34475
+ expiresAt: Date;
34530
34476
  blockNumber: bigint;
34531
34477
  transactionHash: string;
34532
34478
  };
@@ -34534,9 +34480,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34534
34480
  type: "exercise";
34535
34481
  data: {
34536
34482
  id: string;
34537
- liquidities: bigint[];
34538
- currentTick: number;
34539
34483
  payout: bigint;
34484
+ price: bigint;
34485
+ liquidities: bigint[];
34540
34486
  timestamp: Date;
34541
34487
  blockNumber: bigint;
34542
34488
  transactionHash: string;
@@ -34547,26 +34493,26 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34547
34493
  id: string;
34548
34494
  premium: bigint;
34549
34495
  protocolFee: bigint;
34550
- currentTick: number;
34496
+ price: bigint;
34551
34497
  addedDuration: bigint;
34552
34498
  timestamp: Date;
34553
34499
  blockNumber: bigint;
34554
34500
  transactionHash: string;
34555
34501
  };
34556
34502
  })[], Error>>;
34557
- fetchStatus: _tanstack_query_core0.FetchStatus;
34503
+ fetchStatus: _tanstack_query_core23.FetchStatus;
34558
34504
  promise: Promise<({
34559
34505
  type: "mint";
34560
34506
  data: {
34561
34507
  id: string;
34562
34508
  optionType: 0 | 1;
34563
34509
  strikeTick: number;
34564
- currentTick: number;
34565
- expiresAt: Date;
34510
+ price: bigint;
34566
34511
  premium: bigint;
34567
34512
  protocolFee: bigint;
34568
34513
  liquidities: bigint[];
34569
34514
  timestamp: Date;
34515
+ expiresAt: Date;
34570
34516
  blockNumber: bigint;
34571
34517
  transactionHash: string;
34572
34518
  };
@@ -34574,9 +34520,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34574
34520
  type: "exercise";
34575
34521
  data: {
34576
34522
  id: string;
34577
- liquidities: bigint[];
34578
- currentTick: number;
34579
34523
  payout: bigint;
34524
+ price: bigint;
34525
+ liquidities: bigint[];
34580
34526
  timestamp: Date;
34581
34527
  blockNumber: bigint;
34582
34528
  transactionHash: string;
@@ -34587,7 +34533,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34587
34533
  id: string;
34588
34534
  premium: bigint;
34589
34535
  protocolFee: bigint;
34590
- currentTick: number;
34536
+ price: bigint;
34591
34537
  addedDuration: bigint;
34592
34538
  timestamp: Date;
34593
34539
  blockNumber: bigint;
@@ -34600,12 +34546,12 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34600
34546
  id: string;
34601
34547
  optionType: 0 | 1;
34602
34548
  strikeTick: number;
34603
- currentTick: number;
34604
- expiresAt: Date;
34549
+ price: bigint;
34605
34550
  premium: bigint;
34606
34551
  protocolFee: bigint;
34607
34552
  liquidities: bigint[];
34608
34553
  timestamp: Date;
34554
+ expiresAt: Date;
34609
34555
  blockNumber: bigint;
34610
34556
  transactionHash: string;
34611
34557
  };
@@ -34613,9 +34559,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34613
34559
  type: "exercise";
34614
34560
  data: {
34615
34561
  id: string;
34616
- liquidities: bigint[];
34617
- currentTick: number;
34618
34562
  payout: bigint;
34563
+ price: bigint;
34564
+ liquidities: bigint[];
34619
34565
  timestamp: Date;
34620
34566
  blockNumber: bigint;
34621
34567
  transactionHash: string;
@@ -34626,7 +34572,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34626
34572
  id: string;
34627
34573
  premium: bigint;
34628
34574
  protocolFee: bigint;
34629
- currentTick: number;
34575
+ price: bigint;
34630
34576
  addedDuration: bigint;
34631
34577
  timestamp: Date;
34632
34578
  blockNumber: bigint;
@@ -34656,18 +34602,18 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34656
34602
  isRefetching: boolean;
34657
34603
  isStale: boolean;
34658
34604
  isEnabled: boolean;
34659
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
34605
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<({
34660
34606
  type: "mint";
34661
34607
  data: {
34662
34608
  id: string;
34663
34609
  optionType: 0 | 1;
34664
34610
  strikeTick: number;
34665
- currentTick: number;
34666
- expiresAt: Date;
34611
+ price: bigint;
34667
34612
  premium: bigint;
34668
34613
  protocolFee: bigint;
34669
34614
  liquidities: bigint[];
34670
34615
  timestamp: Date;
34616
+ expiresAt: Date;
34671
34617
  blockNumber: bigint;
34672
34618
  transactionHash: string;
34673
34619
  };
@@ -34675,9 +34621,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34675
34621
  type: "exercise";
34676
34622
  data: {
34677
34623
  id: string;
34678
- liquidities: bigint[];
34679
- currentTick: number;
34680
34624
  payout: bigint;
34625
+ price: bigint;
34626
+ liquidities: bigint[];
34681
34627
  timestamp: Date;
34682
34628
  blockNumber: bigint;
34683
34629
  transactionHash: string;
@@ -34688,26 +34634,26 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34688
34634
  id: string;
34689
34635
  premium: bigint;
34690
34636
  protocolFee: bigint;
34691
- currentTick: number;
34637
+ price: bigint;
34692
34638
  addedDuration: bigint;
34693
34639
  timestamp: Date;
34694
34640
  blockNumber: bigint;
34695
34641
  transactionHash: string;
34696
34642
  };
34697
34643
  })[], Error>>;
34698
- fetchStatus: _tanstack_query_core0.FetchStatus;
34644
+ fetchStatus: _tanstack_query_core23.FetchStatus;
34699
34645
  promise: Promise<({
34700
34646
  type: "mint";
34701
34647
  data: {
34702
34648
  id: string;
34703
34649
  optionType: 0 | 1;
34704
34650
  strikeTick: number;
34705
- currentTick: number;
34706
- expiresAt: Date;
34651
+ price: bigint;
34707
34652
  premium: bigint;
34708
34653
  protocolFee: bigint;
34709
34654
  liquidities: bigint[];
34710
34655
  timestamp: Date;
34656
+ expiresAt: Date;
34711
34657
  blockNumber: bigint;
34712
34658
  transactionHash: string;
34713
34659
  };
@@ -34715,9 +34661,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34715
34661
  type: "exercise";
34716
34662
  data: {
34717
34663
  id: string;
34718
- liquidities: bigint[];
34719
- currentTick: number;
34720
34664
  payout: bigint;
34665
+ price: bigint;
34666
+ liquidities: bigint[];
34721
34667
  timestamp: Date;
34722
34668
  blockNumber: bigint;
34723
34669
  transactionHash: string;
@@ -34728,7 +34674,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34728
34674
  id: string;
34729
34675
  premium: bigint;
34730
34676
  protocolFee: bigint;
34731
- currentTick: number;
34677
+ price: bigint;
34732
34678
  addedDuration: bigint;
34733
34679
  timestamp: Date;
34734
34680
  blockNumber: bigint;
@@ -34741,12 +34687,12 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34741
34687
  id: string;
34742
34688
  optionType: 0 | 1;
34743
34689
  strikeTick: number;
34744
- currentTick: number;
34745
- expiresAt: Date;
34690
+ price: bigint;
34746
34691
  premium: bigint;
34747
34692
  protocolFee: bigint;
34748
34693
  liquidities: bigint[];
34749
34694
  timestamp: Date;
34695
+ expiresAt: Date;
34750
34696
  blockNumber: bigint;
34751
34697
  transactionHash: string;
34752
34698
  };
@@ -34754,9 +34700,9 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34754
34700
  type: "exercise";
34755
34701
  data: {
34756
34702
  id: string;
34757
- liquidities: bigint[];
34758
- currentTick: number;
34759
34703
  payout: bigint;
34704
+ price: bigint;
34705
+ liquidities: bigint[];
34760
34706
  timestamp: Date;
34761
34707
  blockNumber: bigint;
34762
34708
  transactionHash: string;
@@ -34767,7 +34713,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
34767
34713
  id: string;
34768
34714
  premium: bigint;
34769
34715
  protocolFee: bigint;
34770
- currentTick: number;
34716
+ price: bigint;
34771
34717
  addedDuration: bigint;
34772
34718
  timestamp: Date;
34773
34719
  blockNumber: bigint;
@@ -34818,7 +34764,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
34818
34764
  isRefetching: boolean;
34819
34765
  isStale: boolean;
34820
34766
  isEnabled: boolean;
34821
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
34767
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
34822
34768
  optionId: bigint;
34823
34769
  id: string;
34824
34770
  ownerAddr: Address;
@@ -34827,7 +34773,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
34827
34773
  expiresAt: number;
34828
34774
  closed: boolean;
34829
34775
  }[] | undefined, Error>>;
34830
- fetchStatus: _tanstack_query_core0.FetchStatus;
34776
+ fetchStatus: _tanstack_query_core23.FetchStatus;
34831
34777
  promise: Promise<{
34832
34778
  optionId: bigint;
34833
34779
  id: string;
@@ -34869,7 +34815,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
34869
34815
  isRefetching: boolean;
34870
34816
  isStale: boolean;
34871
34817
  isEnabled: boolean;
34872
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
34818
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
34873
34819
  optionId: bigint;
34874
34820
  id: string;
34875
34821
  ownerAddr: Address;
@@ -34878,7 +34824,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
34878
34824
  expiresAt: number;
34879
34825
  closed: boolean;
34880
34826
  }[] | undefined, Error>>;
34881
- fetchStatus: _tanstack_query_core0.FetchStatus;
34827
+ fetchStatus: _tanstack_query_core23.FetchStatus;
34882
34828
  promise: Promise<{
34883
34829
  optionId: bigint;
34884
34830
  id: string;
@@ -34920,7 +34866,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
34920
34866
  isRefetching: boolean;
34921
34867
  isStale: boolean;
34922
34868
  isEnabled: boolean;
34923
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
34869
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
34924
34870
  optionId: bigint;
34925
34871
  id: string;
34926
34872
  ownerAddr: Address;
@@ -34929,7 +34875,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
34929
34875
  expiresAt: number;
34930
34876
  closed: boolean;
34931
34877
  }[] | undefined, Error>>;
34932
- fetchStatus: _tanstack_query_core0.FetchStatus;
34878
+ fetchStatus: _tanstack_query_core23.FetchStatus;
34933
34879
  promise: Promise<{
34934
34880
  optionId: bigint;
34935
34881
  id: string;
@@ -34971,7 +34917,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
34971
34917
  isRefetching: boolean;
34972
34918
  isStale: boolean;
34973
34919
  isEnabled: boolean;
34974
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
34920
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
34975
34921
  optionId: bigint;
34976
34922
  id: string;
34977
34923
  ownerAddr: Address;
@@ -34980,7 +34926,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
34980
34926
  expiresAt: number;
34981
34927
  closed: boolean;
34982
34928
  }[] | undefined, Error>>;
34983
- fetchStatus: _tanstack_query_core0.FetchStatus;
34929
+ fetchStatus: _tanstack_query_core23.FetchStatus;
34984
34930
  promise: Promise<{
34985
34931
  optionId: bigint;
34986
34932
  id: string;
@@ -35022,7 +34968,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
35022
34968
  isRefetching: boolean;
35023
34969
  isStale: boolean;
35024
34970
  isEnabled: boolean;
35025
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
34971
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
35026
34972
  optionId: bigint;
35027
34973
  id: string;
35028
34974
  ownerAddr: Address;
@@ -35031,7 +34977,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
35031
34977
  expiresAt: number;
35032
34978
  closed: boolean;
35033
34979
  }[] | undefined, Error>>;
35034
- fetchStatus: _tanstack_query_core0.FetchStatus;
34980
+ fetchStatus: _tanstack_query_core23.FetchStatus;
35035
34981
  promise: Promise<{
35036
34982
  optionId: bigint;
35037
34983
  id: string;
@@ -35073,7 +35019,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
35073
35019
  isRefetching: boolean;
35074
35020
  isStale: boolean;
35075
35021
  isEnabled: boolean;
35076
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35022
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
35077
35023
  optionId: bigint;
35078
35024
  id: string;
35079
35025
  ownerAddr: Address;
@@ -35082,7 +35028,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
35082
35028
  expiresAt: number;
35083
35029
  closed: boolean;
35084
35030
  }[] | undefined, Error>>;
35085
- fetchStatus: _tanstack_query_core0.FetchStatus;
35031
+ fetchStatus: _tanstack_query_core23.FetchStatus;
35086
35032
  promise: Promise<{
35087
35033
  optionId: bigint;
35088
35034
  id: string;
@@ -35125,7 +35071,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
35125
35071
  isRefetching: boolean;
35126
35072
  isStale: boolean;
35127
35073
  isEnabled: boolean;
35128
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35074
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
35129
35075
  optionId: bigint;
35130
35076
  id: string;
35131
35077
  ownerAddr: Address;
@@ -35134,7 +35080,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
35134
35080
  expiresAt: number;
35135
35081
  closed: boolean;
35136
35082
  }[] | undefined, Error>>;
35137
- fetchStatus: _tanstack_query_core0.FetchStatus;
35083
+ fetchStatus: _tanstack_query_core23.FetchStatus;
35138
35084
  promise: Promise<{
35139
35085
  optionId: bigint;
35140
35086
  id: string;
@@ -35176,7 +35122,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
35176
35122
  isRefetching: boolean;
35177
35123
  isStale: boolean;
35178
35124
  isEnabled: boolean;
35179
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35125
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
35180
35126
  optionId: bigint;
35181
35127
  id: string;
35182
35128
  ownerAddr: Address;
@@ -35185,7 +35131,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
35185
35131
  expiresAt: number;
35186
35132
  closed: boolean;
35187
35133
  }[] | undefined, Error>>;
35188
- fetchStatus: _tanstack_query_core0.FetchStatus;
35134
+ fetchStatus: _tanstack_query_core23.FetchStatus;
35189
35135
  promise: Promise<{
35190
35136
  optionId: bigint;
35191
35137
  id: string;
@@ -35227,7 +35173,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
35227
35173
  isRefetching: boolean;
35228
35174
  isStale: boolean;
35229
35175
  isEnabled: boolean;
35230
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35176
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
35231
35177
  optionId: bigint;
35232
35178
  id: string;
35233
35179
  ownerAddr: Address;
@@ -35236,7 +35182,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
35236
35182
  expiresAt: number;
35237
35183
  closed: boolean;
35238
35184
  }[] | undefined, Error>>;
35239
- fetchStatus: _tanstack_query_core0.FetchStatus;
35185
+ fetchStatus: _tanstack_query_core23.FetchStatus;
35240
35186
  promise: Promise<{
35241
35187
  optionId: bigint;
35242
35188
  id: string;
@@ -35278,7 +35224,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
35278
35224
  isRefetching: boolean;
35279
35225
  isStale: boolean;
35280
35226
  isEnabled: boolean;
35281
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35227
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
35282
35228
  optionId: bigint;
35283
35229
  id: string;
35284
35230
  ownerAddr: Address;
@@ -35287,7 +35233,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
35287
35233
  expiresAt: number;
35288
35234
  closed: boolean;
35289
35235
  }[] | undefined, Error>>;
35290
- fetchStatus: _tanstack_query_core0.FetchStatus;
35236
+ fetchStatus: _tanstack_query_core23.FetchStatus;
35291
35237
  promise: Promise<{
35292
35238
  optionId: bigint;
35293
35239
  id: string;
@@ -35329,7 +35275,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
35329
35275
  isRefetching: boolean;
35330
35276
  isStale: boolean;
35331
35277
  isEnabled: boolean;
35332
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35278
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
35333
35279
  optionId: bigint;
35334
35280
  id: string;
35335
35281
  ownerAddr: Address;
@@ -35338,7 +35284,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
35338
35284
  expiresAt: number;
35339
35285
  closed: boolean;
35340
35286
  }[] | undefined, Error>>;
35341
- fetchStatus: _tanstack_query_core0.FetchStatus;
35287
+ fetchStatus: _tanstack_query_core23.FetchStatus;
35342
35288
  promise: Promise<{
35343
35289
  optionId: bigint;
35344
35290
  id: string;
@@ -35380,7 +35326,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
35380
35326
  isRefetching: boolean;
35381
35327
  isStale: boolean;
35382
35328
  isEnabled: boolean;
35383
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35329
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
35384
35330
  optionId: bigint;
35385
35331
  id: string;
35386
35332
  ownerAddr: Address;
@@ -35389,7 +35335,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
35389
35335
  expiresAt: number;
35390
35336
  closed: boolean;
35391
35337
  }[] | undefined, Error>>;
35392
- fetchStatus: _tanstack_query_core0.FetchStatus;
35338
+ fetchStatus: _tanstack_query_core23.FetchStatus;
35393
35339
  promise: Promise<{
35394
35340
  optionId: bigint;
35395
35341
  id: string;
@@ -35432,7 +35378,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
35432
35378
  isRefetching: boolean;
35433
35379
  isStale: boolean;
35434
35380
  isEnabled: boolean;
35435
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35381
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
35436
35382
  optionId: bigint;
35437
35383
  id: string;
35438
35384
  ownerAddr: Address;
@@ -35441,7 +35387,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
35441
35387
  expiresAt: number;
35442
35388
  closed: boolean;
35443
35389
  }[] | undefined, Error>>;
35444
- fetchStatus: _tanstack_query_core0.FetchStatus;
35390
+ fetchStatus: _tanstack_query_core23.FetchStatus;
35445
35391
  promise: Promise<{
35446
35392
  optionId: bigint;
35447
35393
  id: string;
@@ -35483,7 +35429,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
35483
35429
  isRefetching: boolean;
35484
35430
  isStale: boolean;
35485
35431
  isEnabled: boolean;
35486
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35432
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
35487
35433
  optionId: bigint;
35488
35434
  id: string;
35489
35435
  ownerAddr: Address;
@@ -35492,7 +35438,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
35492
35438
  expiresAt: number;
35493
35439
  closed: boolean;
35494
35440
  }[] | undefined, Error>>;
35495
- fetchStatus: _tanstack_query_core0.FetchStatus;
35441
+ fetchStatus: _tanstack_query_core23.FetchStatus;
35496
35442
  promise: Promise<{
35497
35443
  optionId: bigint;
35498
35444
  id: string;
@@ -35534,7 +35480,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
35534
35480
  isRefetching: boolean;
35535
35481
  isStale: boolean;
35536
35482
  isEnabled: boolean;
35537
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35483
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
35538
35484
  optionId: bigint;
35539
35485
  id: string;
35540
35486
  ownerAddr: Address;
@@ -35543,7 +35489,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
35543
35489
  expiresAt: number;
35544
35490
  closed: boolean;
35545
35491
  }[] | undefined, Error>>;
35546
- fetchStatus: _tanstack_query_core0.FetchStatus;
35492
+ fetchStatus: _tanstack_query_core23.FetchStatus;
35547
35493
  promise: Promise<{
35548
35494
  optionId: bigint;
35549
35495
  id: string;
@@ -35585,7 +35531,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
35585
35531
  isRefetching: boolean;
35586
35532
  isStale: boolean;
35587
35533
  isEnabled: boolean;
35588
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35534
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
35589
35535
  optionId: bigint;
35590
35536
  id: string;
35591
35537
  ownerAddr: Address;
@@ -35594,7 +35540,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
35594
35540
  expiresAt: number;
35595
35541
  closed: boolean;
35596
35542
  }[] | undefined, Error>>;
35597
- fetchStatus: _tanstack_query_core0.FetchStatus;
35543
+ fetchStatus: _tanstack_query_core23.FetchStatus;
35598
35544
  promise: Promise<{
35599
35545
  optionId: bigint;
35600
35546
  id: string;
@@ -35636,7 +35582,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
35636
35582
  isRefetching: boolean;
35637
35583
  isStale: boolean;
35638
35584
  isEnabled: boolean;
35639
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35585
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
35640
35586
  optionId: bigint;
35641
35587
  id: string;
35642
35588
  ownerAddr: Address;
@@ -35645,7 +35591,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
35645
35591
  expiresAt: number;
35646
35592
  closed: boolean;
35647
35593
  }[] | undefined, Error>>;
35648
- fetchStatus: _tanstack_query_core0.FetchStatus;
35594
+ fetchStatus: _tanstack_query_core23.FetchStatus;
35649
35595
  promise: Promise<{
35650
35596
  optionId: bigint;
35651
35597
  id: string;
@@ -35687,7 +35633,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
35687
35633
  isRefetching: boolean;
35688
35634
  isStale: boolean;
35689
35635
  isEnabled: boolean;
35690
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35636
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
35691
35637
  optionId: bigint;
35692
35638
  id: string;
35693
35639
  ownerAddr: Address;
@@ -35696,7 +35642,7 @@ declare const useClosedUserPerps: (marketAddr?: Address, userAddr?: Address) =>
35696
35642
  expiresAt: number;
35697
35643
  closed: boolean;
35698
35644
  }[] | undefined, Error>>;
35699
- fetchStatus: _tanstack_query_core0.FetchStatus;
35645
+ fetchStatus: _tanstack_query_core23.FetchStatus;
35700
35646
  promise: Promise<{
35701
35647
  optionId: bigint;
35702
35648
  id: string;
@@ -35741,10 +35687,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
35741
35687
  isRefetching: boolean;
35742
35688
  isStale: boolean;
35743
35689
  isEnabled: boolean;
35744
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
35745
- fetchStatus: _tanstack_query_core0.FetchStatus;
35690
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
35691
+ fetchStatus: _tanstack_query_core23.FetchStatus;
35746
35692
  promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
35747
- queryKey: _tanstack_query_core0.QueryKey;
35693
+ queryKey: _tanstack_query_core23.QueryKey;
35748
35694
  data: {
35749
35695
  canExtend: boolean | undefined;
35750
35696
  canExercise: boolean | undefined;
@@ -35776,10 +35722,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
35776
35722
  isRefetching: boolean;
35777
35723
  isStale: boolean;
35778
35724
  isEnabled: boolean;
35779
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
35780
- fetchStatus: _tanstack_query_core0.FetchStatus;
35725
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
35726
+ fetchStatus: _tanstack_query_core23.FetchStatus;
35781
35727
  promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
35782
- queryKey: _tanstack_query_core0.QueryKey;
35728
+ queryKey: _tanstack_query_core23.QueryKey;
35783
35729
  data: {
35784
35730
  canExtend: boolean | undefined;
35785
35731
  canExercise: boolean | undefined;
@@ -35811,10 +35757,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
35811
35757
  isRefetching: boolean;
35812
35758
  isStale: boolean;
35813
35759
  isEnabled: boolean;
35814
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
35815
- fetchStatus: _tanstack_query_core0.FetchStatus;
35760
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
35761
+ fetchStatus: _tanstack_query_core23.FetchStatus;
35816
35762
  promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
35817
- queryKey: _tanstack_query_core0.QueryKey;
35763
+ queryKey: _tanstack_query_core23.QueryKey;
35818
35764
  data: {
35819
35765
  canExtend: boolean | undefined;
35820
35766
  canExercise: boolean | undefined;
@@ -35846,10 +35792,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
35846
35792
  isRefetching: boolean;
35847
35793
  isStale: boolean;
35848
35794
  isEnabled: boolean;
35849
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
35850
- fetchStatus: _tanstack_query_core0.FetchStatus;
35795
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
35796
+ fetchStatus: _tanstack_query_core23.FetchStatus;
35851
35797
  promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
35852
- queryKey: _tanstack_query_core0.QueryKey;
35798
+ queryKey: _tanstack_query_core23.QueryKey;
35853
35799
  data: {
35854
35800
  canExtend: boolean | undefined;
35855
35801
  canExercise: boolean | undefined;
@@ -35881,10 +35827,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
35881
35827
  isRefetching: boolean;
35882
35828
  isStale: boolean;
35883
35829
  isEnabled: boolean;
35884
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
35885
- fetchStatus: _tanstack_query_core0.FetchStatus;
35830
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
35831
+ fetchStatus: _tanstack_query_core23.FetchStatus;
35886
35832
  promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
35887
- queryKey: _tanstack_query_core0.QueryKey;
35833
+ queryKey: _tanstack_query_core23.QueryKey;
35888
35834
  data: {
35889
35835
  canExtend: boolean | undefined;
35890
35836
  canExercise: boolean | undefined;
@@ -35916,10 +35862,10 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
35916
35862
  isRefetching: boolean;
35917
35863
  isStale: boolean;
35918
35864
  isEnabled: boolean;
35919
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
35920
- fetchStatus: _tanstack_query_core0.FetchStatus;
35865
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [boolean, boolean, boolean, boolean, bigint], viem0.ReadContractErrorType>>;
35866
+ fetchStatus: _tanstack_query_core23.FetchStatus;
35921
35867
  promise: Promise<readonly [boolean, boolean, boolean, boolean, bigint]>;
35922
- queryKey: _tanstack_query_core0.QueryKey;
35868
+ queryKey: _tanstack_query_core23.QueryKey;
35923
35869
  data: {
35924
35870
  canExtend: boolean | undefined;
35925
35871
  canExercise: boolean | undefined;
@@ -35968,7 +35914,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
35968
35914
  isRefetching: boolean;
35969
35915
  isStale: boolean;
35970
35916
  isEnabled: boolean;
35971
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35917
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
35972
35918
  spendingApproval: bigint;
35973
35919
  operatorAddr: string;
35974
35920
  __typename: "UserMarketOperator";
@@ -35982,7 +35928,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
35982
35928
  address: string;
35983
35929
  } | null;
35984
35930
  }[] | undefined, Error>>;
35985
- fetchStatus: _tanstack_query_core0.FetchStatus;
35931
+ fetchStatus: _tanstack_query_core23.FetchStatus;
35986
35932
  promise: Promise<{
35987
35933
  spendingApproval: bigint;
35988
35934
  operatorAddr: string;
@@ -36034,7 +35980,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
36034
35980
  isRefetching: boolean;
36035
35981
  isStale: boolean;
36036
35982
  isEnabled: boolean;
36037
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
35983
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
36038
35984
  spendingApproval: bigint;
36039
35985
  operatorAddr: string;
36040
35986
  __typename: "UserMarketOperator";
@@ -36048,7 +35994,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
36048
35994
  address: string;
36049
35995
  } | null;
36050
35996
  }[] | undefined, Error>>;
36051
- fetchStatus: _tanstack_query_core0.FetchStatus;
35997
+ fetchStatus: _tanstack_query_core23.FetchStatus;
36052
35998
  promise: Promise<{
36053
35999
  spendingApproval: bigint;
36054
36000
  operatorAddr: string;
@@ -36100,7 +36046,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
36100
36046
  isRefetching: boolean;
36101
36047
  isStale: boolean;
36102
36048
  isEnabled: boolean;
36103
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
36049
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
36104
36050
  spendingApproval: bigint;
36105
36051
  operatorAddr: string;
36106
36052
  __typename: "UserMarketOperator";
@@ -36114,7 +36060,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
36114
36060
  address: string;
36115
36061
  } | null;
36116
36062
  }[] | undefined, Error>>;
36117
- fetchStatus: _tanstack_query_core0.FetchStatus;
36063
+ fetchStatus: _tanstack_query_core23.FetchStatus;
36118
36064
  promise: Promise<{
36119
36065
  spendingApproval: bigint;
36120
36066
  operatorAddr: string;
@@ -36166,7 +36112,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
36166
36112
  isRefetching: boolean;
36167
36113
  isStale: boolean;
36168
36114
  isEnabled: boolean;
36169
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
36115
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
36170
36116
  spendingApproval: bigint;
36171
36117
  operatorAddr: string;
36172
36118
  __typename: "UserMarketOperator";
@@ -36180,7 +36126,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
36180
36126
  address: string;
36181
36127
  } | null;
36182
36128
  }[] | undefined, Error>>;
36183
- fetchStatus: _tanstack_query_core0.FetchStatus;
36129
+ fetchStatus: _tanstack_query_core23.FetchStatus;
36184
36130
  promise: Promise<{
36185
36131
  spendingApproval: bigint;
36186
36132
  operatorAddr: string;
@@ -36232,7 +36178,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
36232
36178
  isRefetching: boolean;
36233
36179
  isStale: boolean;
36234
36180
  isEnabled: boolean;
36235
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
36181
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
36236
36182
  spendingApproval: bigint;
36237
36183
  operatorAddr: string;
36238
36184
  __typename: "UserMarketOperator";
@@ -36246,7 +36192,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
36246
36192
  address: string;
36247
36193
  } | null;
36248
36194
  }[] | undefined, Error>>;
36249
- fetchStatus: _tanstack_query_core0.FetchStatus;
36195
+ fetchStatus: _tanstack_query_core23.FetchStatus;
36250
36196
  promise: Promise<{
36251
36197
  spendingApproval: bigint;
36252
36198
  operatorAddr: string;
@@ -36298,7 +36244,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
36298
36244
  isRefetching: boolean;
36299
36245
  isStale: boolean;
36300
36246
  isEnabled: boolean;
36301
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
36247
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
36302
36248
  spendingApproval: bigint;
36303
36249
  operatorAddr: string;
36304
36250
  __typename: "UserMarketOperator";
@@ -36312,7 +36258,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
36312
36258
  address: string;
36313
36259
  } | null;
36314
36260
  }[] | undefined, Error>>;
36315
- fetchStatus: _tanstack_query_core0.FetchStatus;
36261
+ fetchStatus: _tanstack_query_core23.FetchStatus;
36316
36262
  promise: Promise<{
36317
36263
  spendingApproval: bigint;
36318
36264
  operatorAddr: string;
@@ -36356,21 +36302,25 @@ declare const getCurrentPrice: (poolAddress: string) => Promise<PriceData>;
36356
36302
  //#endregion
36357
36303
  //#region src/lib/liquidityUtils.d.ts
36358
36304
  declare const PRICE_PRECISION: bigint;
36359
- declare const getPriceSqrtPriceX96: (sqrtPriceX96: bigint) => bigint;
36305
+ declare const getPriceAtSqrtPriceX96: (sqrtPriceX96: bigint) => bigint;
36306
+ declare const getSqrtPriceX96AtPrice: (price: bigint) => JSBI;
36360
36307
  declare const getPriceAtTick: (tick: number) => bigint;
36361
36308
  declare const getTickAtPrice: (price: bigint) => number;
36362
36309
  declare const getNearestValidStrikeTick: (optionType: "CALL" | "PUT", optionAssetIsToken0: boolean, tickSpacing: number, currentTick: number, strikeTick?: number) => number;
36363
36310
  declare const roundTickDown: (tick: number, spacing: number) => number;
36364
36311
  declare const roundTickUp: (tick: number, spacing: number) => number;
36365
- declare const token0ToToken1: (amount0: bigint, tick: number) => bigint;
36366
- declare const token1ToToken0: (amount1: bigint, tick: number) => bigint;
36312
+ declare const token0ToToken1: (amount0: bigint, price: bigint) => bigint;
36313
+ declare const token1ToToken0: (amount1: bigint, price: bigint) => bigint;
36314
+ declare const token0ToToken1AtTick: (amount0: bigint, tick: number) => bigint;
36315
+ declare const token1ToToken0AtTick: (amount1: bigint, tick: number) => bigint;
36367
36316
  declare const getAmountsFromLiquidity: (tickLower: number, tickUpper: number, liquidity: bigint, currentTick: number) => [bigint, bigint];
36368
36317
  declare const liquiditiesToAmount0: (liquidities: bigint[], startTick: number, tickSpacing: number) => bigint;
36369
36318
  declare const liquiditiesToAmount1: (liquidities: bigint[], startTick: number, tickSpacing: number) => bigint;
36370
- declare const liquiditiesToAmounts: (liquidities: bigint[], startTick: number, currentTick: number, tickSpacing: number) => bigint[];
36319
+ declare const liquiditiesToAmounts: (liquidities: bigint[], startTick: number, price: bigint, tickSpacing: number) => bigint[];
36371
36320
  //#endregion
36372
36321
  //#region src/lib/optionUtils.d.ts
36373
36322
  declare const getPayoutAtTick: (option: OptionData, liquidities: bigint[], tick: number, tickSpacing: number, optionAssetIsToken0: boolean) => bigint;
36323
+ declare const getPayoutAtPrice: (option: OptionData, liquidities: bigint[], price: bigint, tickSpacing: number, optionAssetIsToken0: boolean) => bigint;
36374
36324
  //#endregion
36375
36325
  //#region src/hooks/pool/useCurrentPrice.d.ts
36376
36326
  declare const useCurrentPrice: (poolAddr?: Address) => {
@@ -36454,7 +36404,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
36454
36404
  isRefetching: boolean;
36455
36405
  isStale: boolean;
36456
36406
  isEnabled: boolean;
36457
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
36407
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
36458
36408
  tickLower: number;
36459
36409
  tickUpper: number;
36460
36410
  prevTickLower: number;
@@ -36465,7 +36415,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
36465
36415
  borrowedAmount0: bigint;
36466
36416
  borrowedAmount1: bigint;
36467
36417
  }[], viem0.ReadContractErrorType>>;
36468
- fetchStatus: _tanstack_query_core0.FetchStatus;
36418
+ fetchStatus: _tanstack_query_core23.FetchStatus;
36469
36419
  promise: Promise<readonly {
36470
36420
  tickLower: number;
36471
36421
  tickUpper: number;
@@ -36477,7 +36427,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
36477
36427
  borrowedAmount0: bigint;
36478
36428
  borrowedAmount1: bigint;
36479
36429
  }[]>;
36480
- queryKey: _tanstack_query_core0.QueryKey;
36430
+ queryKey: _tanstack_query_core23.QueryKey;
36481
36431
  data: readonly {
36482
36432
  tickLower: number;
36483
36433
  tickUpper: number;
@@ -36512,7 +36462,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
36512
36462
  isRefetching: boolean;
36513
36463
  isStale: boolean;
36514
36464
  isEnabled: boolean;
36515
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
36465
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
36516
36466
  tickLower: number;
36517
36467
  tickUpper: number;
36518
36468
  prevTickLower: number;
@@ -36523,7 +36473,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
36523
36473
  borrowedAmount0: bigint;
36524
36474
  borrowedAmount1: bigint;
36525
36475
  }[], viem0.ReadContractErrorType>>;
36526
- fetchStatus: _tanstack_query_core0.FetchStatus;
36476
+ fetchStatus: _tanstack_query_core23.FetchStatus;
36527
36477
  promise: Promise<readonly {
36528
36478
  tickLower: number;
36529
36479
  tickUpper: number;
@@ -36535,7 +36485,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
36535
36485
  borrowedAmount0: bigint;
36536
36486
  borrowedAmount1: bigint;
36537
36487
  }[]>;
36538
- queryKey: _tanstack_query_core0.QueryKey;
36488
+ queryKey: _tanstack_query_core23.QueryKey;
36539
36489
  data: readonly {
36540
36490
  tickLower: number;
36541
36491
  tickUpper: number;
@@ -36570,7 +36520,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
36570
36520
  isRefetching: boolean;
36571
36521
  isStale: boolean;
36572
36522
  isEnabled: boolean;
36573
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
36523
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
36574
36524
  tickLower: number;
36575
36525
  tickUpper: number;
36576
36526
  prevTickLower: number;
@@ -36581,7 +36531,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
36581
36531
  borrowedAmount0: bigint;
36582
36532
  borrowedAmount1: bigint;
36583
36533
  }[], viem0.ReadContractErrorType>>;
36584
- fetchStatus: _tanstack_query_core0.FetchStatus;
36534
+ fetchStatus: _tanstack_query_core23.FetchStatus;
36585
36535
  promise: Promise<readonly {
36586
36536
  tickLower: number;
36587
36537
  tickUpper: number;
@@ -36593,7 +36543,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
36593
36543
  borrowedAmount0: bigint;
36594
36544
  borrowedAmount1: bigint;
36595
36545
  }[]>;
36596
- queryKey: _tanstack_query_core0.QueryKey;
36546
+ queryKey: _tanstack_query_core23.QueryKey;
36597
36547
  data: readonly {
36598
36548
  tickLower: number;
36599
36549
  tickUpper: number;
@@ -36628,7 +36578,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
36628
36578
  isRefetching: boolean;
36629
36579
  isStale: boolean;
36630
36580
  isEnabled: boolean;
36631
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
36581
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
36632
36582
  tickLower: number;
36633
36583
  tickUpper: number;
36634
36584
  prevTickLower: number;
@@ -36639,7 +36589,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
36639
36589
  borrowedAmount0: bigint;
36640
36590
  borrowedAmount1: bigint;
36641
36591
  }[], viem0.ReadContractErrorType>>;
36642
- fetchStatus: _tanstack_query_core0.FetchStatus;
36592
+ fetchStatus: _tanstack_query_core23.FetchStatus;
36643
36593
  promise: Promise<readonly {
36644
36594
  tickLower: number;
36645
36595
  tickUpper: number;
@@ -36651,7 +36601,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
36651
36601
  borrowedAmount0: bigint;
36652
36602
  borrowedAmount1: bigint;
36653
36603
  }[]>;
36654
- queryKey: _tanstack_query_core0.QueryKey;
36604
+ queryKey: _tanstack_query_core23.QueryKey;
36655
36605
  data: readonly {
36656
36606
  tickLower: number;
36657
36607
  tickUpper: number;
@@ -36686,7 +36636,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
36686
36636
  isRefetching: boolean;
36687
36637
  isStale: boolean;
36688
36638
  isEnabled: boolean;
36689
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
36639
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
36690
36640
  tickLower: number;
36691
36641
  tickUpper: number;
36692
36642
  prevTickLower: number;
@@ -36697,7 +36647,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
36697
36647
  borrowedAmount0: bigint;
36698
36648
  borrowedAmount1: bigint;
36699
36649
  }[], viem0.ReadContractErrorType>>;
36700
- fetchStatus: _tanstack_query_core0.FetchStatus;
36650
+ fetchStatus: _tanstack_query_core23.FetchStatus;
36701
36651
  promise: Promise<readonly {
36702
36652
  tickLower: number;
36703
36653
  tickUpper: number;
@@ -36709,7 +36659,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
36709
36659
  borrowedAmount0: bigint;
36710
36660
  borrowedAmount1: bigint;
36711
36661
  }[]>;
36712
- queryKey: _tanstack_query_core0.QueryKey;
36662
+ queryKey: _tanstack_query_core23.QueryKey;
36713
36663
  data: readonly {
36714
36664
  tickLower: number;
36715
36665
  tickUpper: number;
@@ -36744,7 +36694,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
36744
36694
  isRefetching: boolean;
36745
36695
  isStale: boolean;
36746
36696
  isEnabled: boolean;
36747
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
36697
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly {
36748
36698
  tickLower: number;
36749
36699
  tickUpper: number;
36750
36700
  prevTickLower: number;
@@ -36755,7 +36705,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
36755
36705
  borrowedAmount0: bigint;
36756
36706
  borrowedAmount1: bigint;
36757
36707
  }[], viem0.ReadContractErrorType>>;
36758
- fetchStatus: _tanstack_query_core0.FetchStatus;
36708
+ fetchStatus: _tanstack_query_core23.FetchStatus;
36759
36709
  promise: Promise<readonly {
36760
36710
  tickLower: number;
36761
36711
  tickUpper: number;
@@ -36767,7 +36717,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
36767
36717
  borrowedAmount0: bigint;
36768
36718
  borrowedAmount1: bigint;
36769
36719
  }[]>;
36770
- queryKey: _tanstack_query_core0.QueryKey;
36720
+ queryKey: _tanstack_query_core23.QueryKey;
36771
36721
  data: readonly {
36772
36722
  tickLower: number;
36773
36723
  tickUpper: number;
@@ -36818,7 +36768,7 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
36818
36768
  borrowedAmount0: Amount;
36819
36769
  borrowedAmount1: Amount;
36820
36770
  blocksCount: bigint;
36821
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
36771
+ refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem0.ReadContractErrorType>>;
36822
36772
  };
36823
36773
  //#endregion
36824
36774
  //#region src/hooks/useLens.d.ts
@@ -62524,5 +62474,5 @@ declare const useApproval: () => {
62524
62474
  reset: () => void;
62525
62475
  };
62526
62476
  //#endregion
62527
- export { EMPTY_ARRAY as $, token1ToToken0 as A, timelockLenses as At, useClosedUserPerps as B, getTickAtPrice as C, TimelockMarketData as Ct, roundTickDown as D, getTimelockMarket as Dt, liquiditiesToAmounts as E, getTimelockLens as Et, getPriceHistory as F, OptionTimelineData as G, usePerpsOperator as H, useSetOperatorPerms as I, useOptionPremium as J, useOptionTimeline as K, useUserOperators as L, PriceDataPoint as M, PriceResolution as N, roundTickUp as O, getUniswapMathLens as Ot, getCurrentPrice as P, Amount as Q, useOperatorPerms as R, getPriceSqrtPriceX96 as S, TimelockMarket as St, liquiditiesToAmount1 as T, getErc20 as Tt, useClosePerp as U, useUserPerps as V, useMintPerp as W, useMintOption as X, useOptionPnl as Y, useMaxPositionSize as Z, getPayoutAtTick as _, useClosedUserOptions as _t, batchGetAmountsFromLiquidity as a, scalePrice as at, getNearestValidStrikeTick as b, useTimelockConfig as bt, useLiquidityBlocks as c, wrapAmount as ct, usePriceAtTick as d, wrapPriceUnscaled as dt, formatAmount as et, usePriceSqrtPriceX96 as f, zero as ft, useCurrentPrice as g, useActiveUserOptions as gt, useCurrentTick as h, OptionData as ht, useVaultData as i, scaleAmount as it, PriceData as j, uniswapMathLenses as jt, token0ToToken1 as k, swappers as kt, useBurnLiquidity as l, wrapAmountUnscaled as lt, usePoolData as m, useExerciseOption as mt, useLens as n, formatUSD as nt, useMintLiquidity as o, unscaleAmount as ot, UniswapPoolData as p, useMarketData as pt, useExtendOption as q, useVaultTVL as r, formatVagueAmount as rt, LiquidityBlockData as s, unscalePrice as st, useApproval as t, formatCondensed as tt, usePriceHistory as u, wrapPrice as ut, PRICE_PRECISION as v, TimelockProvider as vt, liquiditiesToAmount0 as w, UniswapMathLens as wt, getPriceAtTick as x, TimelockLens as xt, getAmountsFromLiquidity as y, useCurrentMarket as yt, useActiveUserPerps as z };
62528
- //# sourceMappingURL=client-r3O6AK_5.d.cts.map
62477
+ export { useOptionPnl as $, roundTickUp as A, getTimelockLens as At, useSetOperatorPerms as B, getPriceAtTick as C, useCurrentMarket as Ct, liquiditiesToAmount1 as D, TimelockMarketData as Dt, liquiditiesToAmount0 as E, TimelockMarket as Et, PriceData as F, uniswapMathLenses as Ft, useUserPerps as G, useOperatorPerms as H, PriceDataPoint as I, useMintPerp as J, usePerpsOperator as K, PriceResolution as L, token0ToToken1AtTick as M, getUniswapMathLens as Mt, token1ToToken0 as N, swappers as Nt, liquiditiesToAmounts as O, UniswapMathLens as Ot, token1ToToken0AtTick as P, timelockLenses as Pt, useOptionPremium as Q, getCurrentPrice as R, getPriceAtSqrtPriceX96 as S, TimelockProvider as St, getTickAtPrice as T, TimelockLens as Tt, useActiveUserPerps as U, useUserOperators as V, useClosedUserPerps as W, useOptionTimeline as X, OptionTimelineData as Y, useExtendOption as Z, getPayoutAtPrice as _, useMarketData as _t, batchGetAmountsFromLiquidity as a, formatCondensed as at, getAmountsFromLiquidity as b, useActiveUserOptions as bt, useLiquidityBlocks as c, scaleAmount as ct, usePriceAtTick as d, unscalePrice as dt, useMintOption as et, usePriceSqrtPriceX96 as f, wrapAmount as ft, useCurrentPrice as g, zero as gt, useCurrentTick as h, wrapPriceUnscaled as ht, useVaultData as i, formatAmount as it, token0ToToken1 as j, getTimelockMarket as jt, roundTickDown as k, getErc20 as kt, useBurnLiquidity as l, scalePrice as lt, usePoolData as m, wrapPrice as mt, useLens as n, Amount as nt, useMintLiquidity as o, formatUSD as ot, UniswapPoolData as p, wrapAmountUnscaled as pt, useClosePerp as q, useVaultTVL as r, EMPTY_ARRAY as rt, LiquidityBlockData as s, formatVagueAmount as st, useApproval as t, useMaxPositionSize as tt, usePriceHistory as u, unscaleAmount as ut, getPayoutAtTick as v, useExerciseOption as vt, getSqrtPriceX96AtPrice as w, useTimelockConfig as wt, getNearestValidStrikeTick as x, useClosedUserOptions as xt, PRICE_PRECISION as y, OptionData as yt, getPriceHistory as z };
62478
+ //# sourceMappingURL=client-bCuyjf6z.d.cts.map