timelock-sdk 0.0.3 → 0.0.4

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.
@@ -1,11 +1,10 @@
1
- import * as react0 from "react";
2
- import { ReactNode } from "react";
3
1
  import "graphql";
4
2
  import "graphql-request";
3
+ import React, { ReactNode } from "react";
5
4
  import * as viem116 from "viem";
6
5
  import { Address, Client, GetContractReturnType, PublicClient } from "viem";
7
6
  import * as _wagmi_core0 from "@wagmi/core";
8
- import * as _tanstack_query_core0 from "@tanstack/query-core";
7
+ import * as _tanstack_query_core1 from "@tanstack/query-core";
9
8
  import Big from "big.js";
10
9
 
11
10
  //#region src/generated/graphql.d.ts
@@ -61,7 +60,7 @@ type GetActiveUserOptionsQuery = {
61
60
  UserOption: Array<{
62
61
  __typename: 'UserOption';
63
62
  id: string;
64
- owner: string;
63
+ ownerAddr: string;
65
64
  optionType: any;
66
65
  strikeTick: number;
67
66
  entryTick: number;
@@ -91,7 +90,7 @@ type GetClosedUserOptionsQuery = {
91
90
  UserOption: Array<{
92
91
  __typename: 'UserOption';
93
92
  id: string;
94
- owner: string;
93
+ ownerAddr: string;
95
94
  optionType: any;
96
95
  strikeTick: number;
97
96
  entryTick: number;
@@ -38771,7 +38770,7 @@ declare const TimelockMarketProvider: ({
38771
38770
  children: ReactNode;
38772
38771
  marketData?: Partial<TimelockMarketData>;
38773
38772
  envioGraphqlUrl?: string;
38774
- }) => react0.JSX.Element;
38773
+ }) => React.JSX.Element;
38775
38774
  declare const useCurrentMarket: () => Partial<Required<Partial<{
38776
38775
  optionAssetIsToken0: boolean;
38777
38776
  vault: `0x${string}`;
@@ -38872,7 +38871,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
38872
38871
  isRefetching: boolean;
38873
38872
  isStale: boolean;
38874
38873
  isEnabled: boolean;
38875
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
38874
+ refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
38876
38875
  id: bigint;
38877
38876
  marketAddr: Address;
38878
38877
  optionType: "CALL" | "PUT";
@@ -38883,7 +38882,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
38883
38882
  liquiditiesAtOpen: bigint[];
38884
38883
  liquiditiesCurrent: bigint[];
38885
38884
  __typename: "UserOption";
38886
- owner: string;
38885
+ ownerAddr: string;
38887
38886
  strikeTick: number;
38888
38887
  entryTick: number;
38889
38888
  fullyExercised: boolean;
@@ -38896,7 +38895,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
38896
38895
  transactionHash: string;
38897
38896
  } | null;
38898
38897
  }[] | undefined, Error>>;
38899
- fetchStatus: _tanstack_query_core0.FetchStatus;
38898
+ fetchStatus: _tanstack_query_core1.FetchStatus;
38900
38899
  promise: Promise<{
38901
38900
  id: bigint;
38902
38901
  marketAddr: Address;
@@ -38908,7 +38907,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
38908
38907
  liquiditiesAtOpen: bigint[];
38909
38908
  liquiditiesCurrent: bigint[];
38910
38909
  __typename: "UserOption";
38911
- owner: string;
38910
+ ownerAddr: string;
38912
38911
  strikeTick: number;
38913
38912
  entryTick: number;
38914
38913
  fullyExercised: boolean;
@@ -38932,7 +38931,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
38932
38931
  liquiditiesAtOpen: bigint[];
38933
38932
  liquiditiesCurrent: bigint[];
38934
38933
  __typename: "UserOption";
38935
- owner: string;
38934
+ ownerAddr: string;
38936
38935
  strikeTick: number;
38937
38936
  entryTick: number;
38938
38937
  fullyExercised: boolean;
@@ -38968,7 +38967,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
38968
38967
  isRefetching: boolean;
38969
38968
  isStale: boolean;
38970
38969
  isEnabled: boolean;
38971
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
38970
+ refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
38972
38971
  id: bigint;
38973
38972
  marketAddr: Address;
38974
38973
  optionType: "CALL" | "PUT";
@@ -38979,7 +38978,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
38979
38978
  liquiditiesAtOpen: bigint[];
38980
38979
  liquiditiesCurrent: bigint[];
38981
38980
  __typename: "UserOption";
38982
- owner: string;
38981
+ ownerAddr: string;
38983
38982
  strikeTick: number;
38984
38983
  entryTick: number;
38985
38984
  fullyExercised: boolean;
@@ -38992,7 +38991,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
38992
38991
  transactionHash: string;
38993
38992
  } | null;
38994
38993
  }[] | undefined, Error>>;
38995
- fetchStatus: _tanstack_query_core0.FetchStatus;
38994
+ fetchStatus: _tanstack_query_core1.FetchStatus;
38996
38995
  promise: Promise<{
38997
38996
  id: bigint;
38998
38997
  marketAddr: Address;
@@ -39004,7 +39003,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
39004
39003
  liquiditiesAtOpen: bigint[];
39005
39004
  liquiditiesCurrent: bigint[];
39006
39005
  __typename: "UserOption";
39007
- owner: string;
39006
+ ownerAddr: string;
39008
39007
  strikeTick: number;
39009
39008
  entryTick: number;
39010
39009
  fullyExercised: boolean;
@@ -39028,7 +39027,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
39028
39027
  liquiditiesAtOpen: bigint[];
39029
39028
  liquiditiesCurrent: bigint[];
39030
39029
  __typename: "UserOption";
39031
- owner: string;
39030
+ ownerAddr: string;
39032
39031
  strikeTick: number;
39033
39032
  entryTick: number;
39034
39033
  fullyExercised: boolean;
@@ -39064,7 +39063,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
39064
39063
  isRefetching: boolean;
39065
39064
  isStale: boolean;
39066
39065
  isEnabled: boolean;
39067
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
39066
+ refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
39068
39067
  id: bigint;
39069
39068
  marketAddr: Address;
39070
39069
  optionType: "CALL" | "PUT";
@@ -39075,7 +39074,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
39075
39074
  liquiditiesAtOpen: bigint[];
39076
39075
  liquiditiesCurrent: bigint[];
39077
39076
  __typename: "UserOption";
39078
- owner: string;
39077
+ ownerAddr: string;
39079
39078
  strikeTick: number;
39080
39079
  entryTick: number;
39081
39080
  fullyExercised: boolean;
@@ -39088,7 +39087,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
39088
39087
  transactionHash: string;
39089
39088
  } | null;
39090
39089
  }[] | undefined, Error>>;
39091
- fetchStatus: _tanstack_query_core0.FetchStatus;
39090
+ fetchStatus: _tanstack_query_core1.FetchStatus;
39092
39091
  promise: Promise<{
39093
39092
  id: bigint;
39094
39093
  marketAddr: Address;
@@ -39100,7 +39099,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
39100
39099
  liquiditiesAtOpen: bigint[];
39101
39100
  liquiditiesCurrent: bigint[];
39102
39101
  __typename: "UserOption";
39103
- owner: string;
39102
+ ownerAddr: string;
39104
39103
  strikeTick: number;
39105
39104
  entryTick: number;
39106
39105
  fullyExercised: boolean;
@@ -39124,7 +39123,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
39124
39123
  liquiditiesAtOpen: bigint[];
39125
39124
  liquiditiesCurrent: bigint[];
39126
39125
  __typename: "UserOption";
39127
- owner: string;
39126
+ ownerAddr: string;
39128
39127
  strikeTick: number;
39129
39128
  entryTick: number;
39130
39129
  fullyExercised: boolean;
@@ -39160,7 +39159,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
39160
39159
  isRefetching: boolean;
39161
39160
  isStale: boolean;
39162
39161
  isEnabled: boolean;
39163
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
39162
+ refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
39164
39163
  id: bigint;
39165
39164
  marketAddr: Address;
39166
39165
  optionType: "CALL" | "PUT";
@@ -39171,7 +39170,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
39171
39170
  liquiditiesAtOpen: bigint[];
39172
39171
  liquiditiesCurrent: bigint[];
39173
39172
  __typename: "UserOption";
39174
- owner: string;
39173
+ ownerAddr: string;
39175
39174
  strikeTick: number;
39176
39175
  entryTick: number;
39177
39176
  fullyExercised: boolean;
@@ -39184,7 +39183,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
39184
39183
  transactionHash: string;
39185
39184
  } | null;
39186
39185
  }[] | undefined, Error>>;
39187
- fetchStatus: _tanstack_query_core0.FetchStatus;
39186
+ fetchStatus: _tanstack_query_core1.FetchStatus;
39188
39187
  promise: Promise<{
39189
39188
  id: bigint;
39190
39189
  marketAddr: Address;
@@ -39196,7 +39195,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
39196
39195
  liquiditiesAtOpen: bigint[];
39197
39196
  liquiditiesCurrent: bigint[];
39198
39197
  __typename: "UserOption";
39199
- owner: string;
39198
+ ownerAddr: string;
39200
39199
  strikeTick: number;
39201
39200
  entryTick: number;
39202
39201
  fullyExercised: boolean;
@@ -39220,7 +39219,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
39220
39219
  liquiditiesAtOpen: bigint[];
39221
39220
  liquiditiesCurrent: bigint[];
39222
39221
  __typename: "UserOption";
39223
- owner: string;
39222
+ ownerAddr: string;
39224
39223
  strikeTick: number;
39225
39224
  entryTick: number;
39226
39225
  fullyExercised: boolean;
@@ -39256,7 +39255,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
39256
39255
  isRefetching: boolean;
39257
39256
  isStale: boolean;
39258
39257
  isEnabled: boolean;
39259
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
39258
+ refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
39260
39259
  id: bigint;
39261
39260
  marketAddr: Address;
39262
39261
  optionType: "CALL" | "PUT";
@@ -39267,7 +39266,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
39267
39266
  liquiditiesAtOpen: bigint[];
39268
39267
  liquiditiesCurrent: bigint[];
39269
39268
  __typename: "UserOption";
39270
- owner: string;
39269
+ ownerAddr: string;
39271
39270
  strikeTick: number;
39272
39271
  entryTick: number;
39273
39272
  fullyExercised: boolean;
@@ -39280,7 +39279,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
39280
39279
  transactionHash: string;
39281
39280
  } | null;
39282
39281
  }[] | undefined, Error>>;
39283
- fetchStatus: _tanstack_query_core0.FetchStatus;
39282
+ fetchStatus: _tanstack_query_core1.FetchStatus;
39284
39283
  promise: Promise<{
39285
39284
  id: bigint;
39286
39285
  marketAddr: Address;
@@ -39292,7 +39291,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
39292
39291
  liquiditiesAtOpen: bigint[];
39293
39292
  liquiditiesCurrent: bigint[];
39294
39293
  __typename: "UserOption";
39295
- owner: string;
39294
+ ownerAddr: string;
39296
39295
  strikeTick: number;
39297
39296
  entryTick: number;
39298
39297
  fullyExercised: boolean;
@@ -39316,7 +39315,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
39316
39315
  liquiditiesAtOpen: bigint[];
39317
39316
  liquiditiesCurrent: bigint[];
39318
39317
  __typename: "UserOption";
39319
- owner: string;
39318
+ ownerAddr: string;
39320
39319
  strikeTick: number;
39321
39320
  entryTick: number;
39322
39321
  fullyExercised: boolean;
@@ -39352,7 +39351,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
39352
39351
  isRefetching: boolean;
39353
39352
  isStale: boolean;
39354
39353
  isEnabled: boolean;
39355
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
39354
+ refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
39356
39355
  id: bigint;
39357
39356
  marketAddr: Address;
39358
39357
  optionType: "CALL" | "PUT";
@@ -39363,7 +39362,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
39363
39362
  liquiditiesAtOpen: bigint[];
39364
39363
  liquiditiesCurrent: bigint[];
39365
39364
  __typename: "UserOption";
39366
- owner: string;
39365
+ ownerAddr: string;
39367
39366
  strikeTick: number;
39368
39367
  entryTick: number;
39369
39368
  fullyExercised: boolean;
@@ -39376,7 +39375,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
39376
39375
  transactionHash: string;
39377
39376
  } | null;
39378
39377
  }[] | undefined, Error>>;
39379
- fetchStatus: _tanstack_query_core0.FetchStatus;
39378
+ fetchStatus: _tanstack_query_core1.FetchStatus;
39380
39379
  promise: Promise<{
39381
39380
  id: bigint;
39382
39381
  marketAddr: Address;
@@ -39388,7 +39387,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
39388
39387
  liquiditiesAtOpen: bigint[];
39389
39388
  liquiditiesCurrent: bigint[];
39390
39389
  __typename: "UserOption";
39391
- owner: string;
39390
+ ownerAddr: string;
39392
39391
  strikeTick: number;
39393
39392
  entryTick: number;
39394
39393
  fullyExercised: boolean;
@@ -39412,7 +39411,7 @@ declare const useUserOptions: (user?: string, active?: boolean) => {
39412
39411
  liquiditiesAtOpen: bigint[];
39413
39412
  liquiditiesCurrent: bigint[];
39414
39413
  __typename: "UserOption";
39415
- owner: string;
39414
+ ownerAddr: string;
39416
39415
  strikeTick: number;
39417
39416
  entryTick: number;
39418
39417
  fullyExercised: boolean;
@@ -39449,7 +39448,7 @@ declare const useActiveUserOptions: (user?: string) => {
39449
39448
  isRefetching: boolean;
39450
39449
  isStale: boolean;
39451
39450
  isEnabled: boolean;
39452
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
39451
+ refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
39453
39452
  id: bigint;
39454
39453
  marketAddr: Address;
39455
39454
  optionType: "CALL" | "PUT";
@@ -39460,7 +39459,7 @@ declare const useActiveUserOptions: (user?: string) => {
39460
39459
  liquiditiesAtOpen: bigint[];
39461
39460
  liquiditiesCurrent: bigint[];
39462
39461
  __typename: "UserOption";
39463
- owner: string;
39462
+ ownerAddr: string;
39464
39463
  strikeTick: number;
39465
39464
  entryTick: number;
39466
39465
  fullyExercised: boolean;
@@ -39473,7 +39472,7 @@ declare const useActiveUserOptions: (user?: string) => {
39473
39472
  transactionHash: string;
39474
39473
  } | null;
39475
39474
  }[] | undefined, Error>>;
39476
- fetchStatus: _tanstack_query_core0.FetchStatus;
39475
+ fetchStatus: _tanstack_query_core1.FetchStatus;
39477
39476
  promise: Promise<{
39478
39477
  id: bigint;
39479
39478
  marketAddr: Address;
@@ -39485,7 +39484,7 @@ declare const useActiveUserOptions: (user?: string) => {
39485
39484
  liquiditiesAtOpen: bigint[];
39486
39485
  liquiditiesCurrent: bigint[];
39487
39486
  __typename: "UserOption";
39488
- owner: string;
39487
+ ownerAddr: string;
39489
39488
  strikeTick: number;
39490
39489
  entryTick: number;
39491
39490
  fullyExercised: boolean;
@@ -39509,7 +39508,7 @@ declare const useActiveUserOptions: (user?: string) => {
39509
39508
  liquiditiesAtOpen: bigint[];
39510
39509
  liquiditiesCurrent: bigint[];
39511
39510
  __typename: "UserOption";
39512
- owner: string;
39511
+ ownerAddr: string;
39513
39512
  strikeTick: number;
39514
39513
  entryTick: number;
39515
39514
  fullyExercised: boolean;
@@ -39545,7 +39544,7 @@ declare const useActiveUserOptions: (user?: string) => {
39545
39544
  isRefetching: boolean;
39546
39545
  isStale: boolean;
39547
39546
  isEnabled: boolean;
39548
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
39547
+ refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
39549
39548
  id: bigint;
39550
39549
  marketAddr: Address;
39551
39550
  optionType: "CALL" | "PUT";
@@ -39556,7 +39555,7 @@ declare const useActiveUserOptions: (user?: string) => {
39556
39555
  liquiditiesAtOpen: bigint[];
39557
39556
  liquiditiesCurrent: bigint[];
39558
39557
  __typename: "UserOption";
39559
- owner: string;
39558
+ ownerAddr: string;
39560
39559
  strikeTick: number;
39561
39560
  entryTick: number;
39562
39561
  fullyExercised: boolean;
@@ -39569,7 +39568,7 @@ declare const useActiveUserOptions: (user?: string) => {
39569
39568
  transactionHash: string;
39570
39569
  } | null;
39571
39570
  }[] | undefined, Error>>;
39572
- fetchStatus: _tanstack_query_core0.FetchStatus;
39571
+ fetchStatus: _tanstack_query_core1.FetchStatus;
39573
39572
  promise: Promise<{
39574
39573
  id: bigint;
39575
39574
  marketAddr: Address;
@@ -39581,7 +39580,7 @@ declare const useActiveUserOptions: (user?: string) => {
39581
39580
  liquiditiesAtOpen: bigint[];
39582
39581
  liquiditiesCurrent: bigint[];
39583
39582
  __typename: "UserOption";
39584
- owner: string;
39583
+ ownerAddr: string;
39585
39584
  strikeTick: number;
39586
39585
  entryTick: number;
39587
39586
  fullyExercised: boolean;
@@ -39605,7 +39604,7 @@ declare const useActiveUserOptions: (user?: string) => {
39605
39604
  liquiditiesAtOpen: bigint[];
39606
39605
  liquiditiesCurrent: bigint[];
39607
39606
  __typename: "UserOption";
39608
- owner: string;
39607
+ ownerAddr: string;
39609
39608
  strikeTick: number;
39610
39609
  entryTick: number;
39611
39610
  fullyExercised: boolean;
@@ -39641,7 +39640,7 @@ declare const useActiveUserOptions: (user?: string) => {
39641
39640
  isRefetching: boolean;
39642
39641
  isStale: boolean;
39643
39642
  isEnabled: boolean;
39644
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
39643
+ refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
39645
39644
  id: bigint;
39646
39645
  marketAddr: Address;
39647
39646
  optionType: "CALL" | "PUT";
@@ -39652,7 +39651,7 @@ declare const useActiveUserOptions: (user?: string) => {
39652
39651
  liquiditiesAtOpen: bigint[];
39653
39652
  liquiditiesCurrent: bigint[];
39654
39653
  __typename: "UserOption";
39655
- owner: string;
39654
+ ownerAddr: string;
39656
39655
  strikeTick: number;
39657
39656
  entryTick: number;
39658
39657
  fullyExercised: boolean;
@@ -39665,7 +39664,7 @@ declare const useActiveUserOptions: (user?: string) => {
39665
39664
  transactionHash: string;
39666
39665
  } | null;
39667
39666
  }[] | undefined, Error>>;
39668
- fetchStatus: _tanstack_query_core0.FetchStatus;
39667
+ fetchStatus: _tanstack_query_core1.FetchStatus;
39669
39668
  promise: Promise<{
39670
39669
  id: bigint;
39671
39670
  marketAddr: Address;
@@ -39677,7 +39676,7 @@ declare const useActiveUserOptions: (user?: string) => {
39677
39676
  liquiditiesAtOpen: bigint[];
39678
39677
  liquiditiesCurrent: bigint[];
39679
39678
  __typename: "UserOption";
39680
- owner: string;
39679
+ ownerAddr: string;
39681
39680
  strikeTick: number;
39682
39681
  entryTick: number;
39683
39682
  fullyExercised: boolean;
@@ -39701,7 +39700,7 @@ declare const useActiveUserOptions: (user?: string) => {
39701
39700
  liquiditiesAtOpen: bigint[];
39702
39701
  liquiditiesCurrent: bigint[];
39703
39702
  __typename: "UserOption";
39704
- owner: string;
39703
+ ownerAddr: string;
39705
39704
  strikeTick: number;
39706
39705
  entryTick: number;
39707
39706
  fullyExercised: boolean;
@@ -39737,7 +39736,7 @@ declare const useActiveUserOptions: (user?: string) => {
39737
39736
  isRefetching: boolean;
39738
39737
  isStale: boolean;
39739
39738
  isEnabled: boolean;
39740
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
39739
+ refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
39741
39740
  id: bigint;
39742
39741
  marketAddr: Address;
39743
39742
  optionType: "CALL" | "PUT";
@@ -39748,7 +39747,7 @@ declare const useActiveUserOptions: (user?: string) => {
39748
39747
  liquiditiesAtOpen: bigint[];
39749
39748
  liquiditiesCurrent: bigint[];
39750
39749
  __typename: "UserOption";
39751
- owner: string;
39750
+ ownerAddr: string;
39752
39751
  strikeTick: number;
39753
39752
  entryTick: number;
39754
39753
  fullyExercised: boolean;
@@ -39761,7 +39760,7 @@ declare const useActiveUserOptions: (user?: string) => {
39761
39760
  transactionHash: string;
39762
39761
  } | null;
39763
39762
  }[] | undefined, Error>>;
39764
- fetchStatus: _tanstack_query_core0.FetchStatus;
39763
+ fetchStatus: _tanstack_query_core1.FetchStatus;
39765
39764
  promise: Promise<{
39766
39765
  id: bigint;
39767
39766
  marketAddr: Address;
@@ -39773,7 +39772,7 @@ declare const useActiveUserOptions: (user?: string) => {
39773
39772
  liquiditiesAtOpen: bigint[];
39774
39773
  liquiditiesCurrent: bigint[];
39775
39774
  __typename: "UserOption";
39776
- owner: string;
39775
+ ownerAddr: string;
39777
39776
  strikeTick: number;
39778
39777
  entryTick: number;
39779
39778
  fullyExercised: boolean;
@@ -39797,7 +39796,7 @@ declare const useActiveUserOptions: (user?: string) => {
39797
39796
  liquiditiesAtOpen: bigint[];
39798
39797
  liquiditiesCurrent: bigint[];
39799
39798
  __typename: "UserOption";
39800
- owner: string;
39799
+ ownerAddr: string;
39801
39800
  strikeTick: number;
39802
39801
  entryTick: number;
39803
39802
  fullyExercised: boolean;
@@ -39833,7 +39832,7 @@ declare const useActiveUserOptions: (user?: string) => {
39833
39832
  isRefetching: boolean;
39834
39833
  isStale: boolean;
39835
39834
  isEnabled: boolean;
39836
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
39835
+ refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
39837
39836
  id: bigint;
39838
39837
  marketAddr: Address;
39839
39838
  optionType: "CALL" | "PUT";
@@ -39844,7 +39843,7 @@ declare const useActiveUserOptions: (user?: string) => {
39844
39843
  liquiditiesAtOpen: bigint[];
39845
39844
  liquiditiesCurrent: bigint[];
39846
39845
  __typename: "UserOption";
39847
- owner: string;
39846
+ ownerAddr: string;
39848
39847
  strikeTick: number;
39849
39848
  entryTick: number;
39850
39849
  fullyExercised: boolean;
@@ -39857,7 +39856,7 @@ declare const useActiveUserOptions: (user?: string) => {
39857
39856
  transactionHash: string;
39858
39857
  } | null;
39859
39858
  }[] | undefined, Error>>;
39860
- fetchStatus: _tanstack_query_core0.FetchStatus;
39859
+ fetchStatus: _tanstack_query_core1.FetchStatus;
39861
39860
  promise: Promise<{
39862
39861
  id: bigint;
39863
39862
  marketAddr: Address;
@@ -39869,7 +39868,7 @@ declare const useActiveUserOptions: (user?: string) => {
39869
39868
  liquiditiesAtOpen: bigint[];
39870
39869
  liquiditiesCurrent: bigint[];
39871
39870
  __typename: "UserOption";
39872
- owner: string;
39871
+ ownerAddr: string;
39873
39872
  strikeTick: number;
39874
39873
  entryTick: number;
39875
39874
  fullyExercised: boolean;
@@ -39893,7 +39892,7 @@ declare const useActiveUserOptions: (user?: string) => {
39893
39892
  liquiditiesAtOpen: bigint[];
39894
39893
  liquiditiesCurrent: bigint[];
39895
39894
  __typename: "UserOption";
39896
- owner: string;
39895
+ ownerAddr: string;
39897
39896
  strikeTick: number;
39898
39897
  entryTick: number;
39899
39898
  fullyExercised: boolean;
@@ -39929,7 +39928,7 @@ declare const useActiveUserOptions: (user?: string) => {
39929
39928
  isRefetching: boolean;
39930
39929
  isStale: boolean;
39931
39930
  isEnabled: boolean;
39932
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
39931
+ refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
39933
39932
  id: bigint;
39934
39933
  marketAddr: Address;
39935
39934
  optionType: "CALL" | "PUT";
@@ -39940,7 +39939,7 @@ declare const useActiveUserOptions: (user?: string) => {
39940
39939
  liquiditiesAtOpen: bigint[];
39941
39940
  liquiditiesCurrent: bigint[];
39942
39941
  __typename: "UserOption";
39943
- owner: string;
39942
+ ownerAddr: string;
39944
39943
  strikeTick: number;
39945
39944
  entryTick: number;
39946
39945
  fullyExercised: boolean;
@@ -39953,7 +39952,7 @@ declare const useActiveUserOptions: (user?: string) => {
39953
39952
  transactionHash: string;
39954
39953
  } | null;
39955
39954
  }[] | undefined, Error>>;
39956
- fetchStatus: _tanstack_query_core0.FetchStatus;
39955
+ fetchStatus: _tanstack_query_core1.FetchStatus;
39957
39956
  promise: Promise<{
39958
39957
  id: bigint;
39959
39958
  marketAddr: Address;
@@ -39965,7 +39964,7 @@ declare const useActiveUserOptions: (user?: string) => {
39965
39964
  liquiditiesAtOpen: bigint[];
39966
39965
  liquiditiesCurrent: bigint[];
39967
39966
  __typename: "UserOption";
39968
- owner: string;
39967
+ ownerAddr: string;
39969
39968
  strikeTick: number;
39970
39969
  entryTick: number;
39971
39970
  fullyExercised: boolean;
@@ -39989,7 +39988,7 @@ declare const useActiveUserOptions: (user?: string) => {
39989
39988
  liquiditiesAtOpen: bigint[];
39990
39989
  liquiditiesCurrent: bigint[];
39991
39990
  __typename: "UserOption";
39992
- owner: string;
39991
+ ownerAddr: string;
39993
39992
  strikeTick: number;
39994
39993
  entryTick: number;
39995
39994
  fullyExercised: boolean;
@@ -40026,7 +40025,7 @@ declare const useClosedUserOptions: (user?: string) => {
40026
40025
  isRefetching: boolean;
40027
40026
  isStale: boolean;
40028
40027
  isEnabled: boolean;
40029
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
40028
+ refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
40030
40029
  id: bigint;
40031
40030
  marketAddr: Address;
40032
40031
  optionType: "CALL" | "PUT";
@@ -40037,7 +40036,7 @@ declare const useClosedUserOptions: (user?: string) => {
40037
40036
  liquiditiesAtOpen: bigint[];
40038
40037
  liquiditiesCurrent: bigint[];
40039
40038
  __typename: "UserOption";
40040
- owner: string;
40039
+ ownerAddr: string;
40041
40040
  strikeTick: number;
40042
40041
  entryTick: number;
40043
40042
  fullyExercised: boolean;
@@ -40050,7 +40049,7 @@ declare const useClosedUserOptions: (user?: string) => {
40050
40049
  transactionHash: string;
40051
40050
  } | null;
40052
40051
  }[] | undefined, Error>>;
40053
- fetchStatus: _tanstack_query_core0.FetchStatus;
40052
+ fetchStatus: _tanstack_query_core1.FetchStatus;
40054
40053
  promise: Promise<{
40055
40054
  id: bigint;
40056
40055
  marketAddr: Address;
@@ -40062,7 +40061,7 @@ declare const useClosedUserOptions: (user?: string) => {
40062
40061
  liquiditiesAtOpen: bigint[];
40063
40062
  liquiditiesCurrent: bigint[];
40064
40063
  __typename: "UserOption";
40065
- owner: string;
40064
+ ownerAddr: string;
40066
40065
  strikeTick: number;
40067
40066
  entryTick: number;
40068
40067
  fullyExercised: boolean;
@@ -40086,7 +40085,7 @@ declare const useClosedUserOptions: (user?: string) => {
40086
40085
  liquiditiesAtOpen: bigint[];
40087
40086
  liquiditiesCurrent: bigint[];
40088
40087
  __typename: "UserOption";
40089
- owner: string;
40088
+ ownerAddr: string;
40090
40089
  strikeTick: number;
40091
40090
  entryTick: number;
40092
40091
  fullyExercised: boolean;
@@ -40122,7 +40121,7 @@ declare const useClosedUserOptions: (user?: string) => {
40122
40121
  isRefetching: boolean;
40123
40122
  isStale: boolean;
40124
40123
  isEnabled: boolean;
40125
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
40124
+ refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
40126
40125
  id: bigint;
40127
40126
  marketAddr: Address;
40128
40127
  optionType: "CALL" | "PUT";
@@ -40133,7 +40132,7 @@ declare const useClosedUserOptions: (user?: string) => {
40133
40132
  liquiditiesAtOpen: bigint[];
40134
40133
  liquiditiesCurrent: bigint[];
40135
40134
  __typename: "UserOption";
40136
- owner: string;
40135
+ ownerAddr: string;
40137
40136
  strikeTick: number;
40138
40137
  entryTick: number;
40139
40138
  fullyExercised: boolean;
@@ -40146,7 +40145,7 @@ declare const useClosedUserOptions: (user?: string) => {
40146
40145
  transactionHash: string;
40147
40146
  } | null;
40148
40147
  }[] | undefined, Error>>;
40149
- fetchStatus: _tanstack_query_core0.FetchStatus;
40148
+ fetchStatus: _tanstack_query_core1.FetchStatus;
40150
40149
  promise: Promise<{
40151
40150
  id: bigint;
40152
40151
  marketAddr: Address;
@@ -40158,7 +40157,7 @@ declare const useClosedUserOptions: (user?: string) => {
40158
40157
  liquiditiesAtOpen: bigint[];
40159
40158
  liquiditiesCurrent: bigint[];
40160
40159
  __typename: "UserOption";
40161
- owner: string;
40160
+ ownerAddr: string;
40162
40161
  strikeTick: number;
40163
40162
  entryTick: number;
40164
40163
  fullyExercised: boolean;
@@ -40182,7 +40181,7 @@ declare const useClosedUserOptions: (user?: string) => {
40182
40181
  liquiditiesAtOpen: bigint[];
40183
40182
  liquiditiesCurrent: bigint[];
40184
40183
  __typename: "UserOption";
40185
- owner: string;
40184
+ ownerAddr: string;
40186
40185
  strikeTick: number;
40187
40186
  entryTick: number;
40188
40187
  fullyExercised: boolean;
@@ -40218,7 +40217,7 @@ declare const useClosedUserOptions: (user?: string) => {
40218
40217
  isRefetching: boolean;
40219
40218
  isStale: boolean;
40220
40219
  isEnabled: boolean;
40221
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
40220
+ refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
40222
40221
  id: bigint;
40223
40222
  marketAddr: Address;
40224
40223
  optionType: "CALL" | "PUT";
@@ -40229,7 +40228,7 @@ declare const useClosedUserOptions: (user?: string) => {
40229
40228
  liquiditiesAtOpen: bigint[];
40230
40229
  liquiditiesCurrent: bigint[];
40231
40230
  __typename: "UserOption";
40232
- owner: string;
40231
+ ownerAddr: string;
40233
40232
  strikeTick: number;
40234
40233
  entryTick: number;
40235
40234
  fullyExercised: boolean;
@@ -40242,7 +40241,7 @@ declare const useClosedUserOptions: (user?: string) => {
40242
40241
  transactionHash: string;
40243
40242
  } | null;
40244
40243
  }[] | undefined, Error>>;
40245
- fetchStatus: _tanstack_query_core0.FetchStatus;
40244
+ fetchStatus: _tanstack_query_core1.FetchStatus;
40246
40245
  promise: Promise<{
40247
40246
  id: bigint;
40248
40247
  marketAddr: Address;
@@ -40254,7 +40253,7 @@ declare const useClosedUserOptions: (user?: string) => {
40254
40253
  liquiditiesAtOpen: bigint[];
40255
40254
  liquiditiesCurrent: bigint[];
40256
40255
  __typename: "UserOption";
40257
- owner: string;
40256
+ ownerAddr: string;
40258
40257
  strikeTick: number;
40259
40258
  entryTick: number;
40260
40259
  fullyExercised: boolean;
@@ -40278,7 +40277,7 @@ declare const useClosedUserOptions: (user?: string) => {
40278
40277
  liquiditiesAtOpen: bigint[];
40279
40278
  liquiditiesCurrent: bigint[];
40280
40279
  __typename: "UserOption";
40281
- owner: string;
40280
+ ownerAddr: string;
40282
40281
  strikeTick: number;
40283
40282
  entryTick: number;
40284
40283
  fullyExercised: boolean;
@@ -40314,7 +40313,7 @@ declare const useClosedUserOptions: (user?: string) => {
40314
40313
  isRefetching: boolean;
40315
40314
  isStale: boolean;
40316
40315
  isEnabled: boolean;
40317
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
40316
+ refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
40318
40317
  id: bigint;
40319
40318
  marketAddr: Address;
40320
40319
  optionType: "CALL" | "PUT";
@@ -40325,7 +40324,7 @@ declare const useClosedUserOptions: (user?: string) => {
40325
40324
  liquiditiesAtOpen: bigint[];
40326
40325
  liquiditiesCurrent: bigint[];
40327
40326
  __typename: "UserOption";
40328
- owner: string;
40327
+ ownerAddr: string;
40329
40328
  strikeTick: number;
40330
40329
  entryTick: number;
40331
40330
  fullyExercised: boolean;
@@ -40338,7 +40337,7 @@ declare const useClosedUserOptions: (user?: string) => {
40338
40337
  transactionHash: string;
40339
40338
  } | null;
40340
40339
  }[] | undefined, Error>>;
40341
- fetchStatus: _tanstack_query_core0.FetchStatus;
40340
+ fetchStatus: _tanstack_query_core1.FetchStatus;
40342
40341
  promise: Promise<{
40343
40342
  id: bigint;
40344
40343
  marketAddr: Address;
@@ -40350,7 +40349,7 @@ declare const useClosedUserOptions: (user?: string) => {
40350
40349
  liquiditiesAtOpen: bigint[];
40351
40350
  liquiditiesCurrent: bigint[];
40352
40351
  __typename: "UserOption";
40353
- owner: string;
40352
+ ownerAddr: string;
40354
40353
  strikeTick: number;
40355
40354
  entryTick: number;
40356
40355
  fullyExercised: boolean;
@@ -40374,7 +40373,7 @@ declare const useClosedUserOptions: (user?: string) => {
40374
40373
  liquiditiesAtOpen: bigint[];
40375
40374
  liquiditiesCurrent: bigint[];
40376
40375
  __typename: "UserOption";
40377
- owner: string;
40376
+ ownerAddr: string;
40378
40377
  strikeTick: number;
40379
40378
  entryTick: number;
40380
40379
  fullyExercised: boolean;
@@ -40410,7 +40409,7 @@ declare const useClosedUserOptions: (user?: string) => {
40410
40409
  isRefetching: boolean;
40411
40410
  isStale: boolean;
40412
40411
  isEnabled: boolean;
40413
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
40412
+ refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
40414
40413
  id: bigint;
40415
40414
  marketAddr: Address;
40416
40415
  optionType: "CALL" | "PUT";
@@ -40421,7 +40420,7 @@ declare const useClosedUserOptions: (user?: string) => {
40421
40420
  liquiditiesAtOpen: bigint[];
40422
40421
  liquiditiesCurrent: bigint[];
40423
40422
  __typename: "UserOption";
40424
- owner: string;
40423
+ ownerAddr: string;
40425
40424
  strikeTick: number;
40426
40425
  entryTick: number;
40427
40426
  fullyExercised: boolean;
@@ -40434,7 +40433,7 @@ declare const useClosedUserOptions: (user?: string) => {
40434
40433
  transactionHash: string;
40435
40434
  } | null;
40436
40435
  }[] | undefined, Error>>;
40437
- fetchStatus: _tanstack_query_core0.FetchStatus;
40436
+ fetchStatus: _tanstack_query_core1.FetchStatus;
40438
40437
  promise: Promise<{
40439
40438
  id: bigint;
40440
40439
  marketAddr: Address;
@@ -40446,7 +40445,7 @@ declare const useClosedUserOptions: (user?: string) => {
40446
40445
  liquiditiesAtOpen: bigint[];
40447
40446
  liquiditiesCurrent: bigint[];
40448
40447
  __typename: "UserOption";
40449
- owner: string;
40448
+ ownerAddr: string;
40450
40449
  strikeTick: number;
40451
40450
  entryTick: number;
40452
40451
  fullyExercised: boolean;
@@ -40470,7 +40469,7 @@ declare const useClosedUserOptions: (user?: string) => {
40470
40469
  liquiditiesAtOpen: bigint[];
40471
40470
  liquiditiesCurrent: bigint[];
40472
40471
  __typename: "UserOption";
40473
- owner: string;
40472
+ ownerAddr: string;
40474
40473
  strikeTick: number;
40475
40474
  entryTick: number;
40476
40475
  fullyExercised: boolean;
@@ -40506,7 +40505,7 @@ declare const useClosedUserOptions: (user?: string) => {
40506
40505
  isRefetching: boolean;
40507
40506
  isStale: boolean;
40508
40507
  isEnabled: boolean;
40509
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
40508
+ refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<{
40510
40509
  id: bigint;
40511
40510
  marketAddr: Address;
40512
40511
  optionType: "CALL" | "PUT";
@@ -40517,7 +40516,7 @@ declare const useClosedUserOptions: (user?: string) => {
40517
40516
  liquiditiesAtOpen: bigint[];
40518
40517
  liquiditiesCurrent: bigint[];
40519
40518
  __typename: "UserOption";
40520
- owner: string;
40519
+ ownerAddr: string;
40521
40520
  strikeTick: number;
40522
40521
  entryTick: number;
40523
40522
  fullyExercised: boolean;
@@ -40530,7 +40529,7 @@ declare const useClosedUserOptions: (user?: string) => {
40530
40529
  transactionHash: string;
40531
40530
  } | null;
40532
40531
  }[] | undefined, Error>>;
40533
- fetchStatus: _tanstack_query_core0.FetchStatus;
40532
+ fetchStatus: _tanstack_query_core1.FetchStatus;
40534
40533
  promise: Promise<{
40535
40534
  id: bigint;
40536
40535
  marketAddr: Address;
@@ -40542,7 +40541,7 @@ declare const useClosedUserOptions: (user?: string) => {
40542
40541
  liquiditiesAtOpen: bigint[];
40543
40542
  liquiditiesCurrent: bigint[];
40544
40543
  __typename: "UserOption";
40545
- owner: string;
40544
+ ownerAddr: string;
40546
40545
  strikeTick: number;
40547
40546
  entryTick: number;
40548
40547
  fullyExercised: boolean;
@@ -40566,7 +40565,7 @@ declare const useClosedUserOptions: (user?: string) => {
40566
40565
  liquiditiesAtOpen: bigint[];
40567
40566
  liquiditiesCurrent: bigint[];
40568
40567
  __typename: "UserOption";
40569
- owner: string;
40568
+ ownerAddr: string;
40570
40569
  strikeTick: number;
40571
40570
  entryTick: number;
40572
40571
  fullyExercised: boolean;
@@ -40655,7 +40654,7 @@ declare const useLiquidityBlocks: (vault?: Address | TimelockVault) => {
40655
40654
  totalAmount1: Amount | undefined;
40656
40655
  borrowedAmount0: Amount | undefined;
40657
40656
  borrowedAmount1: Amount | undefined;
40658
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly {
40657
+ refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<readonly {
40659
40658
  tickLower: number;
40660
40659
  tickUpper: number;
40661
40660
  prevTickLower: number;
@@ -40704,7 +40703,7 @@ declare const useVaultTVL: (vault?: Address | TimelockVault) => {
40704
40703
  totalAmount1: Amount | undefined;
40705
40704
  borrowedAmount0: Amount | undefined;
40706
40705
  borrowedAmount1: Amount | undefined;
40707
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint], viem116.ReadContractErrorType>>;
40706
+ refetch: (options?: _tanstack_query_core1.RefetchOptions) => Promise<_tanstack_query_core1.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint], viem116.ReadContractErrorType>>;
40708
40707
  };
40709
40708
  //#endregion
40710
40709
  //#region src/hooks/useLens.d.ts