timelock-sdk 0.0.183 → 0.0.184

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.
@@ -5,12 +5,12 @@ import Big from "big.js";
5
5
  import JSBI from "jsbi";
6
6
  import React, { ReactNode } from "react";
7
7
  import { GraphQLClient, RequestOptions } from "graphql-request";
8
- import * as _tanstack_react_query0 from "@tanstack/react-query";
8
+ import * as _tanstack_react_query6 from "@tanstack/react-query";
9
9
  import { NonUndefinedGuard } from "@tanstack/react-query";
10
10
  import * as wagmi0 from "wagmi";
11
11
  import "graphql";
12
12
  import * as _tanstack_query_core0 from "@tanstack/query-core";
13
- import * as _wagmi_core20 from "@wagmi/core";
13
+ import * as _wagmi_core0 from "@wagmi/core";
14
14
  import * as wagmi_query0 from "wagmi/query";
15
15
  import * as abitype0 from "abitype";
16
16
 
@@ -49254,7 +49254,7 @@ declare const useMarketState: (marketAddr: Address | undefined) => wagmi0.UseRea
49254
49254
  }>;
49255
49255
  //#endregion
49256
49256
  //#region src/hooks/market/useMarketVolume.d.ts
49257
- declare const useMarketVolume: (marketAddr: Address | undefined) => _tanstack_react_query0.UseQueryResult<{
49257
+ declare const useMarketVolume: (marketAddr: Address | undefined) => _tanstack_react_query6.UseQueryResult<{
49258
49258
  address: Address;
49259
49259
  volume: bigint;
49260
49260
  optionsCount: bigint;
@@ -49462,7 +49462,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
49462
49462
  };
49463
49463
  //#endregion
49464
49464
  //#region src/hooks/options/useMintOption.d.ts
49465
- declare const useMintOption: (marketAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
49465
+ declare const useMintOption: (marketAddr: Address | undefined) => _tanstack_react_query6.UseMutationResult<`0x${string}`, Error, {
49466
49466
  optionType: "CALL" | "PUT";
49467
49467
  amount: bigint;
49468
49468
  duration: number;
@@ -49472,7 +49472,7 @@ declare const useMintOption: (marketAddr: Address | undefined) => _tanstack_reac
49472
49472
  //#endregion
49473
49473
  //#region src/hooks/options/useUserOptions.d.ts
49474
49474
  type OptionData = NonUndefinedGuard<ReturnType<typeof useUserOptions>['data']>[number];
49475
- declare const useUserOptions: (userAddr: Address | undefined, marketAddr: Address | "*" | undefined, active?: boolean) => _tanstack_react_query0.UseQueryResult<{
49475
+ declare const useUserOptions: (userAddr: Address | undefined, marketAddr: Address | "*" | undefined, active?: boolean) => _tanstack_react_query6.UseQueryResult<{
49476
49476
  optionId: bigint;
49477
49477
  marketAddr: Address;
49478
49478
  ownerAddr: Address;
@@ -49502,7 +49502,7 @@ declare const useUserOptions: (userAddr: Address | undefined, marketAddr: Addres
49502
49502
  address: string;
49503
49503
  } | null;
49504
49504
  }[], Error>;
49505
- declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => _tanstack_react_query0.UseQueryResult<{
49505
+ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => _tanstack_react_query6.UseQueryResult<{
49506
49506
  optionId: bigint;
49507
49507
  marketAddr: Address;
49508
49508
  ownerAddr: Address;
@@ -49532,7 +49532,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
49532
49532
  address: string;
49533
49533
  } | null;
49534
49534
  }[], Error>;
49535
- declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => _tanstack_react_query0.UseQueryResult<{
49535
+ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => _tanstack_react_query6.UseQueryResult<{
49536
49536
  optionId: bigint;
49537
49537
  marketAddr: Address;
49538
49538
  ownerAddr: Address;
@@ -49564,7 +49564,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
49564
49564
  }[], Error>;
49565
49565
  //#endregion
49566
49566
  //#region src/hooks/options/useExerciseOption.d.ts
49567
- declare const useExerciseOption: (marketAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
49567
+ declare const useExerciseOption: (marketAddr: Address | undefined) => _tanstack_react_query6.UseMutationResult<`0x${string}`, Error, {
49568
49568
  option: OptionData;
49569
49569
  liquidities: readonly bigint[];
49570
49570
  }, unknown>;
@@ -49587,7 +49587,7 @@ declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "C
49587
49587
  };
49588
49588
  //#endregion
49589
49589
  //#region src/hooks/options/useExtendOption.d.ts
49590
- declare const useExtendOption: (marketAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
49590
+ declare const useExtendOption: (marketAddr: Address | undefined) => _tanstack_react_query6.UseMutationResult<`0x${string}`, Error, {
49591
49591
  option: OptionData;
49592
49592
  duration: number;
49593
49593
  }, unknown>;
@@ -49603,7 +49603,7 @@ type ExerciseOptionEvent = Extract<OptionEvent, {
49603
49603
  type ExtendEvent = Extract<OptionEvent, {
49604
49604
  type: 'extend';
49605
49605
  }>;
49606
- declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: bigint | undefined) => _tanstack_react_query0.UseQueryResult<({
49606
+ declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: bigint | undefined) => _tanstack_react_query6.UseQueryResult<({
49607
49607
  type: "mint";
49608
49608
  data: {
49609
49609
  id: string;
@@ -49644,7 +49644,7 @@ declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: big
49644
49644
  })[], Error>;
49645
49645
  //#endregion
49646
49646
  //#region src/hooks/perps/useMintPerp.d.ts
49647
- declare const useMintPerp: (marketAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<void, Error, {
49647
+ declare const useMintPerp: (marketAddr: Address | undefined) => _tanstack_react_query6.UseMutationResult<void, Error, {
49648
49648
  optionType: "CALL" | "PUT";
49649
49649
  amount: bigint;
49650
49650
  duration: number;
@@ -49652,17 +49652,17 @@ declare const useMintPerp: (marketAddr: Address | undefined) => _tanstack_react_
49652
49652
  }, unknown>;
49653
49653
  //#endregion
49654
49654
  //#region src/hooks/perps/useClosePerp.d.ts
49655
- declare const useClosePerp: () => _tanstack_react_query0.UseMutationResult<void, Error, ExercisePerpBody, unknown>;
49655
+ declare const useClosePerp: () => _tanstack_react_query6.UseMutationResult<void, Error, ExercisePerpBody, unknown>;
49656
49656
  //#endregion
49657
49657
  //#region src/hooks/perps/usePerpsOperator.d.ts
49658
49658
  declare const usePerpsOperator: () => {
49659
49659
  operator: PerpsOperator | undefined;
49660
49660
  address: `0x${string}` | undefined;
49661
- signMessage: _tanstack_react_query0.UseMutationResult<void, Error, void, unknown>;
49661
+ signMessage: _tanstack_react_query6.UseMutationResult<void, Error, void, unknown>;
49662
49662
  };
49663
49663
  //#endregion
49664
49664
  //#region src/hooks/perps/useUserPerps.d.ts
49665
- declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined, type: "active" | "closed" | undefined) => _tanstack_react_query0.UseQueryResult<{
49665
+ declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined, type: "active" | "closed" | undefined) => _tanstack_react_query6.UseQueryResult<{
49666
49666
  optionId: bigint;
49667
49667
  id: string;
49668
49668
  ownerAddr: Address;
@@ -49671,7 +49671,7 @@ declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address
49671
49671
  expiresAt: number;
49672
49672
  closed: boolean;
49673
49673
  }[] | undefined, Error>;
49674
- declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) => _tanstack_react_query0.UseQueryResult<{
49674
+ declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) => _tanstack_react_query6.UseQueryResult<{
49675
49675
  optionId: bigint;
49676
49676
  id: string;
49677
49677
  ownerAddr: Address;
@@ -49680,7 +49680,7 @@ declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Ad
49680
49680
  expiresAt: number;
49681
49681
  closed: boolean;
49682
49682
  }[] | undefined, Error>;
49683
- declare const useClosedUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) => _tanstack_react_query0.UseQueryResult<{
49683
+ declare const useClosedUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) => _tanstack_react_query6.UseQueryResult<{
49684
49684
  optionId: bigint;
49685
49685
  id: string;
49686
49686
  ownerAddr: Address;
@@ -49904,7 +49904,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
49904
49904
  };
49905
49905
  //#endregion
49906
49906
  //#region src/hooks/operators/useUserOperators.d.ts
49907
- declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => _tanstack_react_query0.UseQueryResult<{
49907
+ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => _tanstack_react_query6.UseQueryResult<{
49908
49908
  spendingApproval: bigint;
49909
49909
  operatorAddr: string;
49910
49910
  __typename: "UserMarketOperator";
@@ -49920,7 +49920,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => _t
49920
49920
  }[] | undefined, Error>;
49921
49921
  //#endregion
49922
49922
  //#region src/hooks/operators/useSetOperatorPerms.d.ts
49923
- declare const useSetOperatorPerms: (marketAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
49923
+ declare const useSetOperatorPerms: (marketAddr: Address | undefined) => _tanstack_react_query6.UseMutationResult<`0x${string}`, Error, {
49924
49924
  operator: Address;
49925
49925
  canExtend: boolean;
49926
49926
  canExercise: boolean;
@@ -50846,8 +50846,8 @@ declare const usePriceAtTick: (poolManager?: Address, poolKey?: PoolKey, tick?:
50846
50846
  declare const usePriceAtSqrtPriceX96: (poolManager?: Address, poolKey?: PoolKey, sqrtPriceX96?: bigint) => Amount | undefined;
50847
50847
  //#endregion
50848
50848
  //#region src/hooks/pool/usePriceHistory.d.ts
50849
- declare const usePriceHistory: (pool: Address | undefined, token: 0 | 1, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query0.UseQueryResult<PriceDataPoint[], Error>;
50850
- declare const useMarketPriceHistory: (marketAddr: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query0.UseQueryResult<PriceDataPoint[], Error>;
50849
+ declare const usePriceHistory: (pool: Address | undefined, token: 0 | 1, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query6.UseQueryResult<PriceDataPoint[], Error>;
50850
+ declare const useMarketPriceHistory: (marketAddr: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query6.UseQueryResult<PriceDataPoint[], Error>;
50851
50851
  //#endregion
50852
50852
  //#region src/hooks/vault/useBurnLiquidity.d.ts
50853
50853
  interface BurnPosition {
@@ -50862,7 +50862,7 @@ declare const useBurnLiquidity: (vaultAddr: Address | undefined) => {
50862
50862
  isPending: boolean;
50863
50863
  isConfirming: boolean;
50864
50864
  isSuccess: boolean;
50865
- error: _wagmi_core20.WriteContractErrorType | null;
50865
+ error: _wagmi_core0.WriteContractErrorType | null;
50866
50866
  isLoading: boolean;
50867
50867
  };
50868
50868
  //#endregion
@@ -51266,7 +51266,7 @@ interface MintPositionParams {
51266
51266
  tickUpper: number;
51267
51267
  liquidity: bigint;
51268
51268
  }
51269
- declare const useMintLiquidity: (vaultAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<void, Error, MintPositionParams | MintPositionParams[], unknown>;
51269
+ declare const useMintLiquidity: (vaultAddr: Address | undefined) => _tanstack_react_query6.UseMutationResult<void, Error, MintPositionParams | MintPositionParams[], unknown>;
51270
51270
  //#endregion
51271
51271
  //#region src/hooks/vault/useVaultData.d.ts
51272
51272
  declare const useVaultData: (vaultAddr: Address | undefined) => Partial<NonUndefinedGuard<{
@@ -51486,7 +51486,7 @@ declare const useApproval: () => {
51486
51486
  askForApproval: (tokenAddress: Address, spenderAddress: Address, amount: bigint) => Promise<void>;
51487
51487
  hash: `0x${string}` | undefined;
51488
51488
  isPending: boolean;
51489
- error: _wagmi_core20.WriteContractErrorType | null;
51489
+ error: _wagmi_core0.WriteContractErrorType | null;
51490
51490
  reset: () => void;
51491
51491
  };
51492
51492
  //#endregion
@@ -52453,14 +52453,14 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => wagmi0.UseRead
52453
52453
  //#endregion
52454
52454
  //#region src/hooks/guardian/usePauseGlobalTrading.d.ts
52455
52455
  declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52456
- error: null;
52457
52456
  data: undefined;
52457
+ error: null;
52458
52458
  status: "idle";
52459
52459
  isError: false;
52460
52460
  isPending: false;
52461
52461
  isSuccess: false;
52462
52462
  failureCount: number;
52463
- failureReason: _wagmi_core20.WriteContractErrorType | null;
52463
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
52464
52464
  isPaused: boolean;
52465
52465
  variables: undefined;
52466
52466
  isIdle: true;
@@ -52470,14 +52470,14 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52470
52470
  writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
52471
52471
  pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
52472
52472
  } | {
52473
- error: null;
52474
52473
  data: undefined;
52474
+ error: null;
52475
52475
  status: "pending";
52476
52476
  isError: false;
52477
52477
  isPending: true;
52478
52478
  isSuccess: false;
52479
52479
  failureCount: number;
52480
- failureReason: _wagmi_core20.WriteContractErrorType | null;
52480
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
52481
52481
  isPaused: boolean;
52482
52482
  variables: {
52483
52483
  abi: abitype0.Abi;
@@ -52631,14 +52631,14 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52631
52631
  writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
52632
52632
  pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
52633
52633
  } | {
52634
- error: _wagmi_core20.WriteContractErrorType;
52635
52634
  data: undefined;
52635
+ error: _wagmi_core0.WriteContractErrorType;
52636
52636
  status: "error";
52637
52637
  isError: true;
52638
52638
  isPending: false;
52639
52639
  isSuccess: false;
52640
52640
  failureCount: number;
52641
- failureReason: _wagmi_core20.WriteContractErrorType | null;
52641
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
52642
52642
  isPaused: boolean;
52643
52643
  variables: {
52644
52644
  abi: abitype0.Abi;
@@ -52792,14 +52792,14 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52792
52792
  writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
52793
52793
  pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
52794
52794
  } | {
52795
- error: null;
52796
52795
  data: `0x${string}`;
52796
+ error: null;
52797
52797
  status: "success";
52798
52798
  isError: false;
52799
52799
  isPending: false;
52800
52800
  isSuccess: true;
52801
52801
  failureCount: number;
52802
- failureReason: _wagmi_core20.WriteContractErrorType | null;
52802
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
52803
52803
  isPaused: boolean;
52804
52804
  variables: {
52805
52805
  abi: abitype0.Abi;
@@ -52956,14 +52956,14 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52956
52956
  //#endregion
52957
52957
  //#region src/hooks/guardian/usePauseMarketTrading.d.ts
52958
52958
  declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
52959
- error: null;
52960
52959
  data: undefined;
52960
+ error: null;
52961
52961
  status: "idle";
52962
52962
  isError: false;
52963
52963
  isPending: false;
52964
52964
  isSuccess: false;
52965
52965
  failureCount: number;
52966
- failureReason: _wagmi_core20.WriteContractErrorType | null;
52966
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
52967
52967
  isPaused: boolean;
52968
52968
  variables: undefined;
52969
52969
  isIdle: true;
@@ -52973,14 +52973,14 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
52973
52973
  writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
52974
52974
  pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
52975
52975
  } | {
52976
- error: null;
52977
52976
  data: undefined;
52977
+ error: null;
52978
52978
  status: "pending";
52979
52979
  isError: false;
52980
52980
  isPending: true;
52981
52981
  isSuccess: false;
52982
52982
  failureCount: number;
52983
- failureReason: _wagmi_core20.WriteContractErrorType | null;
52983
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
52984
52984
  isPaused: boolean;
52985
52985
  variables: {
52986
52986
  abi: abitype0.Abi;
@@ -53134,14 +53134,14 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53134
53134
  writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
53135
53135
  pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
53136
53136
  } | {
53137
- error: _wagmi_core20.WriteContractErrorType;
53138
53137
  data: undefined;
53138
+ error: _wagmi_core0.WriteContractErrorType;
53139
53139
  status: "error";
53140
53140
  isError: true;
53141
53141
  isPending: false;
53142
53142
  isSuccess: false;
53143
53143
  failureCount: number;
53144
- failureReason: _wagmi_core20.WriteContractErrorType | null;
53144
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
53145
53145
  isPaused: boolean;
53146
53146
  variables: {
53147
53147
  abi: abitype0.Abi;
@@ -53295,14 +53295,14 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53295
53295
  writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
53296
53296
  pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
53297
53297
  } | {
53298
- error: null;
53299
53298
  data: `0x${string}`;
53299
+ error: null;
53300
53300
  status: "success";
53301
53301
  isError: false;
53302
53302
  isPending: false;
53303
53303
  isSuccess: true;
53304
53304
  failureCount: number;
53305
- failureReason: _wagmi_core20.WriteContractErrorType | null;
53305
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
53306
53306
  isPaused: boolean;
53307
53307
  variables: {
53308
53308
  abi: abitype0.Abi;
@@ -53468,14 +53468,14 @@ declare const useFeeRates: (feeStrategy?: Address) => Partial<NonUndefinedGuard<
53468
53468
  //#endregion
53469
53469
  //#region src/hooks/fees/useUpdateMarketFees.d.ts
53470
53470
  declare const useUpdateMarketFees: (marketAddr: Address) => {
53471
- error: null;
53472
53471
  data: undefined;
53472
+ error: null;
53473
53473
  status: "idle";
53474
53474
  isError: false;
53475
53475
  isPending: false;
53476
53476
  isSuccess: false;
53477
53477
  failureCount: number;
53478
- failureReason: _wagmi_core20.WriteContractErrorType | null;
53478
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
53479
53479
  isPaused: boolean;
53480
53480
  variables: undefined;
53481
53481
  isIdle: true;
@@ -53495,14 +53495,14 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53495
53495
  newFeeStrategy: `0x${string}`;
53496
53496
  }>;
53497
53497
  } | {
53498
- error: null;
53499
53498
  data: undefined;
53499
+ error: null;
53500
53500
  status: "pending";
53501
53501
  isError: false;
53502
53502
  isPending: true;
53503
53503
  isSuccess: false;
53504
53504
  failureCount: number;
53505
- failureReason: _wagmi_core20.WriteContractErrorType | null;
53505
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
53506
53506
  isPaused: boolean;
53507
53507
  variables: {
53508
53508
  abi: abitype0.Abi;
@@ -53666,14 +53666,14 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53666
53666
  newFeeStrategy: `0x${string}`;
53667
53667
  }>;
53668
53668
  } | {
53669
- error: _wagmi_core20.WriteContractErrorType;
53670
53669
  data: undefined;
53670
+ error: _wagmi_core0.WriteContractErrorType;
53671
53671
  status: "error";
53672
53672
  isError: true;
53673
53673
  isPending: false;
53674
53674
  isSuccess: false;
53675
53675
  failureCount: number;
53676
- failureReason: _wagmi_core20.WriteContractErrorType | null;
53676
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
53677
53677
  isPaused: boolean;
53678
53678
  variables: {
53679
53679
  abi: abitype0.Abi;
@@ -53837,14 +53837,14 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53837
53837
  newFeeStrategy: `0x${string}`;
53838
53838
  }>;
53839
53839
  } | {
53840
- error: null;
53841
53840
  data: `0x${string}`;
53841
+ error: null;
53842
53842
  status: "success";
53843
53843
  isError: false;
53844
53844
  isPending: false;
53845
53845
  isSuccess: true;
53846
53846
  failureCount: number;
53847
- failureReason: _wagmi_core20.WriteContractErrorType | null;
53847
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
53848
53848
  isPaused: boolean;
53849
53849
  variables: {
53850
53850
  abi: abitype0.Abi;
@@ -54985,14 +54985,14 @@ declare const useStaticPricingParams: (pricingAddr: Address | undefined) => Part
54985
54985
  //#endregion
54986
54986
  //#region src/hooks/pricing/useUpdateMarketPricing.d.ts
54987
54987
  declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
54988
- error: null;
54989
54988
  data: undefined;
54989
+ error: null;
54990
54990
  status: "idle";
54991
54991
  isError: false;
54992
54992
  isPending: false;
54993
54993
  isSuccess: false;
54994
54994
  failureCount: number;
54995
- failureReason: _wagmi_core20.WriteContractErrorType | null;
54995
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
54996
54996
  isPaused: boolean;
54997
54997
  variables: undefined;
54998
54998
  isIdle: true;
@@ -55010,14 +55010,14 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55010
55010
  newPricingAddr: `0x${string}`;
55011
55011
  }>;
55012
55012
  } | {
55013
- error: null;
55014
55013
  data: undefined;
55014
+ error: null;
55015
55015
  status: "pending";
55016
55016
  isError: false;
55017
55017
  isPending: true;
55018
55018
  isSuccess: false;
55019
55019
  failureCount: number;
55020
- failureReason: _wagmi_core20.WriteContractErrorType | null;
55020
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
55021
55021
  isPaused: boolean;
55022
55022
  variables: {
55023
55023
  abi: abitype0.Abi;
@@ -55179,14 +55179,14 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55179
55179
  newPricingAddr: `0x${string}`;
55180
55180
  }>;
55181
55181
  } | {
55182
- error: _wagmi_core20.WriteContractErrorType;
55183
55182
  data: undefined;
55183
+ error: _wagmi_core0.WriteContractErrorType;
55184
55184
  status: "error";
55185
55185
  isError: true;
55186
55186
  isPending: false;
55187
55187
  isSuccess: false;
55188
55188
  failureCount: number;
55189
- failureReason: _wagmi_core20.WriteContractErrorType | null;
55189
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
55190
55190
  isPaused: boolean;
55191
55191
  variables: {
55192
55192
  abi: abitype0.Abi;
@@ -55348,14 +55348,14 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55348
55348
  newPricingAddr: `0x${string}`;
55349
55349
  }>;
55350
55350
  } | {
55351
- error: null;
55352
55351
  data: `0x${string}`;
55352
+ error: null;
55353
55353
  status: "success";
55354
55354
  isError: false;
55355
55355
  isPending: false;
55356
55356
  isSuccess: true;
55357
55357
  failureCount: number;
55358
- failureReason: _wagmi_core20.WriteContractErrorType | null;
55358
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
55359
55359
  isPaused: boolean;
55360
55360
  variables: {
55361
55361
  abi: abitype0.Abi;
@@ -97744,4 +97744,4 @@ declare const useLens: () => {
97744
97744
  };
97745
97745
  //#endregion
97746
97746
  export { PriceResolution as $, swapRouters as $t, useCurrentPrice as A, scaleAmount as At, getPriceAtTick as B, useMarketState as Bt, useLiquidityBlocks as C, useMintOption as Ct, usePriceAtSqrtPriceX96 as D, formatCondensed as Dt, usePriceHistory as E, formatAmount as Et, getPayoutAtTick as F, wrapAmountUnscaled as Ft, liquiditiesToAmounts as G, TimelockLens as Gt, getTickAtPrice as H, TimelockProvider as Ht, PRICE_PRECISION as I, wrapPrice as It, token0ToToken1AtTick as J, getErc20 as Jt, roundTick as K, TimelockMarket as Kt, getAmountsFromLiquidity as L, wrapPriceUnscaled as Lt, UniswapPoolData as M, unscaleAmount as Mt, usePoolData as N, unscalePrice as Nt, usePriceAtTick as O, formatUSD as Ot, getPayoutAtPrice as P, wrapAmount as Pt, PriceDataPoint as Q, stateViews as Qt, getNearestValidStrikeTick as R, zero as Rt, LiquidityBlockData as S, useClosedUserOptions as St, useMarketPriceHistory as T, Amount as Tt, liquiditiesToAmount0 as U, useCurrentMarket as Ut, getSqrtPriceX96AtPrice as V, useMarketData as Vt, liquiditiesToAmount1 as W, useTimelockConfig as Wt, token1ToToken0AtTick as X, getTimelockLens as Xt, token1ToToken0 as Y, getStateView as Yt, PriceData as Z, getTimelockMarket as Zt, useTokenData as _, useOptionPremium as _t, OptionPricingParams as a, useActiveUserPerps as at, batchGetAmountsFromLiquidity as b, OptionData as bt, usePricingParams as c, usePerpsOperator as ct, usePauseMarketTrading as d, ExerciseOptionEvent as dt, swappers as en, getCurrentPrice as et, usePauseGlobalTrading as f, ExtendEvent as ft, TokenData as g, useExtendOption as gt, useTokenBalance as h, useOptionTimeline as ht, useOptionPricingParams as i, useOperatorPerms as it, PoolKey as j, scalePrice as jt, useCurrentTick as k, formatVagueAmount as kt, useUpdateMarketFees as l, useClosePerp as lt, useApproval as m, OptionEvent as mt, useUpdateMarketPricing as n, timelockLenses as nn, useSetOperatorPerms as nt, PricingParams as o, useClosedUserPerps as ot, useGuardianGlobalState as p, MintOptionEvent as pt, token0ToToken1 as q, TimelockMarketData as qt, useStaticPricingParams as r, useUserOperators as rt, StaticPricingParams as s, useUserPerps as st, useLens as t, timelockFactories as tn, getPriceHistory as tt, useFeeRates as u, useMintPerp as ut, useVaultTVL as v, useOptionPnl as vt, useBurnLiquidity as w, useMaxPositionSize as wt, useMintLiquidity as x, useActiveUserOptions as xt, useVaultData as y, useExerciseOption as yt, getPriceAtSqrtPriceX96 as z, useMarketVolume as zt };
97747
- //# sourceMappingURL=client-A7eleq1r.d.ts.map
97747
+ //# sourceMappingURL=client-mb6de6Cl.d.ts.map
package/dist/client.cjs CHANGED
@@ -1,7 +1,6 @@
1
1
  'use client';
2
2
 
3
-
4
- const require_optionUtils = require('./optionUtils-BGGv24We.cjs');
3
+ const require_optionUtils = require('./optionUtils-CEVvDS1q.cjs');
5
4
  const require_statelessStateView = require('./statelessStateView-Dl3QIl1g.cjs');
6
5
  const require_factory = require('./factory-DitVXzjQ.cjs');
7
6
  let viem = require("viem");