timelock-sdk 0.0.186 → 0.0.187

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,18 +1,18 @@
1
- import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-B0Om62Sk.cjs";
1
+ import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-B_dYiAnm.js";
2
2
  import * as viem491 from "viem";
3
3
  import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
4
+ import Big from "big.js";
5
+ import JSBI from "jsbi";
4
6
  import React, { ReactNode } from "react";
5
- import "graphql";
6
7
  import { GraphQLClient, RequestOptions } from "graphql-request";
7
- import * as _tanstack_react_query1 from "@tanstack/react-query";
8
+ import * as _tanstack_react_query0 from "@tanstack/react-query";
8
9
  import { NonUndefinedGuard } from "@tanstack/react-query";
9
10
  import * as wagmi0 from "wagmi";
11
+ import "graphql";
10
12
  import * as _tanstack_query_core0 from "@tanstack/query-core";
11
- import Big from "big.js";
12
- import JSBI from "jsbi";
13
13
  import * as _wagmi_core0 from "@wagmi/core";
14
- import * as wagmi_query3 from "wagmi/query";
15
- import * as abitype17 from "abitype";
14
+ import * as wagmi_query0 from "wagmi/query";
15
+ import * as abitype0 from "abitype";
16
16
 
17
17
  //#region src/generated/graphql.d.ts
18
18
  type Exact<T$1 extends {
@@ -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_query1.UseQueryResult<{
49257
+ declare const useMarketVolume: (marketAddr: Address | undefined) => _tanstack_react_query0.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_query1.UseMutationResult<`0x${string}`, Error, {
49465
+ declare const useMintOption: (marketAddr: Address | undefined) => _tanstack_react_query0.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_query1.UseQueryResult<{
49475
+ declare const useUserOptions: (userAddr: Address | undefined, marketAddr: Address | "*" | undefined, active?: boolean) => _tanstack_react_query0.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_query1.UseQueryResult<{
49505
+ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => _tanstack_react_query0.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_query1.UseQueryResult<{
49535
+ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => _tanstack_react_query0.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_query1.UseMutationResult<`0x${string}`, Error, {
49567
+ declare const useExerciseOption: (marketAddr: Address | undefined) => _tanstack_react_query0.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_query1.UseMutationResult<`0x${string}`, Error, {
49590
+ declare const useExtendOption: (marketAddr: Address | undefined) => _tanstack_react_query0.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_query1.UseQueryResult<({
49606
+ declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: bigint | undefined) => _tanstack_react_query0.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_query1.UseMutationResult<void, Error, {
49647
+ declare const useMintPerp: (marketAddr: Address | undefined) => _tanstack_react_query0.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_query1.UseMutationResult<void, Error, ExercisePerpBody, unknown>;
49655
+ declare const useClosePerp: () => _tanstack_react_query0.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_query1.UseMutationResult<void, Error, void, unknown>;
49661
+ signMessage: _tanstack_react_query0.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_query1.UseQueryResult<{
49665
+ declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined, type: "active" | "closed" | undefined) => _tanstack_react_query0.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_query1.UseQueryResult<{
49674
+ declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) => _tanstack_react_query0.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_query1.UseQueryResult<{
49683
+ declare const useClosedUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) => _tanstack_react_query0.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_query1.UseQueryResult<{
49907
+ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => _tanstack_react_query0.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_query1.UseMutationResult<`0x${string}`, Error, {
49923
+ declare const useSetOperatorPerms: (marketAddr: Address | undefined) => _tanstack_react_query0.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_query1.UseQueryResult<PriceDataPoint[], Error>;
50850
- declare const useMarketPriceHistory: (marketAddr: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query1.UseQueryResult<PriceDataPoint[], Error>;
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>;
50851
50851
  //#endregion
50852
50852
  //#region src/hooks/vault/useBurnLiquidity.d.ts
50853
50853
  interface BurnPosition {
@@ -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_query1.UseMutationResult<void, Error, MintPositionParams | MintPositionParams[], unknown>;
51269
+ declare const useMintLiquidity: (vaultAddr: Address | undefined) => _tanstack_react_query0.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<{
@@ -52453,34 +52453,28 @@ 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
+ variables: undefined;
52459
52460
  isError: false;
52461
+ isIdle: true;
52460
52462
  isPending: false;
52461
52463
  isSuccess: false;
52464
+ reset: () => void;
52465
+ context: unknown;
52462
52466
  failureCount: number;
52463
52467
  failureReason: _wagmi_core0.WriteContractErrorType | null;
52464
52468
  isPaused: boolean;
52465
- variables: undefined;
52466
- isIdle: true;
52467
- reset: () => void;
52468
- context: unknown;
52469
52469
  submittedAt: number;
52470
- writeContract: wagmi_query3.WriteContractMutate<wagmi0.Config, unknown>;
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
- isError: false;
52477
- isPending: true;
52478
- isSuccess: false;
52479
- failureCount: number;
52480
- failureReason: _wagmi_core0.WriteContractErrorType | null;
52481
- isPaused: boolean;
52482
52476
  variables: {
52483
- abi: abitype17.Abi;
52477
+ abi: abitype0.Abi;
52484
52478
  functionName: string;
52485
52479
  args?: readonly unknown[] | undefined;
52486
52480
  address: Address;
@@ -52504,7 +52498,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52504
52498
  chainId?: number | undefined;
52505
52499
  connector?: wagmi0.Connector | undefined;
52506
52500
  } | {
52507
- abi: abitype17.Abi;
52501
+ abi: abitype0.Abi;
52508
52502
  functionName: string;
52509
52503
  args?: readonly unknown[] | undefined;
52510
52504
  address: Address;
@@ -52528,7 +52522,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52528
52522
  chainId?: number | undefined;
52529
52523
  connector?: wagmi0.Connector | undefined;
52530
52524
  } | {
52531
- abi: abitype17.Abi;
52525
+ abi: abitype0.Abi;
52532
52526
  functionName: string;
52533
52527
  args?: readonly unknown[] | undefined;
52534
52528
  address: Address;
@@ -52552,7 +52546,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52552
52546
  chainId?: number | undefined;
52553
52547
  connector?: wagmi0.Connector | undefined;
52554
52548
  } | {
52555
- abi: abitype17.Abi;
52549
+ abi: abitype0.Abi;
52556
52550
  functionName: string;
52557
52551
  args?: readonly unknown[] | undefined;
52558
52552
  address: Address;
@@ -52576,7 +52570,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52576
52570
  chainId?: number | undefined;
52577
52571
  connector?: wagmi0.Connector | undefined;
52578
52572
  } | {
52579
- abi: abitype17.Abi;
52573
+ abi: abitype0.Abi;
52580
52574
  functionName: string;
52581
52575
  args?: readonly unknown[] | undefined;
52582
52576
  address: Address;
@@ -52600,7 +52594,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52600
52594
  chainId?: number | undefined;
52601
52595
  connector?: wagmi0.Connector | undefined;
52602
52596
  } | {
52603
- abi: abitype17.Abi;
52597
+ abi: abitype0.Abi;
52604
52598
  functionName: string;
52605
52599
  args?: readonly unknown[] | undefined;
52606
52600
  address: Address;
@@ -52624,24 +52618,24 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52624
52618
  chainId?: number | undefined;
52625
52619
  connector?: wagmi0.Connector | undefined;
52626
52620
  };
52621
+ isError: false;
52627
52622
  isIdle: false;
52623
+ isPending: true;
52624
+ isSuccess: false;
52628
52625
  reset: () => void;
52629
52626
  context: unknown;
52627
+ failureCount: number;
52628
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
52629
+ isPaused: boolean;
52630
52630
  submittedAt: number;
52631
- writeContract: wagmi_query3.WriteContractMutate<wagmi0.Config, unknown>;
52631
+ writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
52632
52632
  pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
52633
52633
  } | {
52634
- error: _wagmi_core0.WriteContractErrorType;
52635
52634
  data: undefined;
52635
+ error: _wagmi_core0.WriteContractErrorType;
52636
52636
  status: "error";
52637
- isError: true;
52638
- isPending: false;
52639
- isSuccess: false;
52640
- failureCount: number;
52641
- failureReason: _wagmi_core0.WriteContractErrorType | null;
52642
- isPaused: boolean;
52643
52637
  variables: {
52644
- abi: abitype17.Abi;
52638
+ abi: abitype0.Abi;
52645
52639
  functionName: string;
52646
52640
  args?: readonly unknown[] | undefined;
52647
52641
  address: Address;
@@ -52665,7 +52659,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52665
52659
  chainId?: number | undefined;
52666
52660
  connector?: wagmi0.Connector | undefined;
52667
52661
  } | {
52668
- abi: abitype17.Abi;
52662
+ abi: abitype0.Abi;
52669
52663
  functionName: string;
52670
52664
  args?: readonly unknown[] | undefined;
52671
52665
  address: Address;
@@ -52689,7 +52683,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52689
52683
  chainId?: number | undefined;
52690
52684
  connector?: wagmi0.Connector | undefined;
52691
52685
  } | {
52692
- abi: abitype17.Abi;
52686
+ abi: abitype0.Abi;
52693
52687
  functionName: string;
52694
52688
  args?: readonly unknown[] | undefined;
52695
52689
  address: Address;
@@ -52713,7 +52707,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52713
52707
  chainId?: number | undefined;
52714
52708
  connector?: wagmi0.Connector | undefined;
52715
52709
  } | {
52716
- abi: abitype17.Abi;
52710
+ abi: abitype0.Abi;
52717
52711
  functionName: string;
52718
52712
  args?: readonly unknown[] | undefined;
52719
52713
  address: Address;
@@ -52737,7 +52731,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52737
52731
  chainId?: number | undefined;
52738
52732
  connector?: wagmi0.Connector | undefined;
52739
52733
  } | {
52740
- abi: abitype17.Abi;
52734
+ abi: abitype0.Abi;
52741
52735
  functionName: string;
52742
52736
  args?: readonly unknown[] | undefined;
52743
52737
  address: Address;
@@ -52761,7 +52755,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52761
52755
  chainId?: number | undefined;
52762
52756
  connector?: wagmi0.Connector | undefined;
52763
52757
  } | {
52764
- abi: abitype17.Abi;
52758
+ abi: abitype0.Abi;
52765
52759
  functionName: string;
52766
52760
  args?: readonly unknown[] | undefined;
52767
52761
  address: Address;
@@ -52785,24 +52779,24 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52785
52779
  chainId?: number | undefined;
52786
52780
  connector?: wagmi0.Connector | undefined;
52787
52781
  };
52782
+ isError: true;
52788
52783
  isIdle: false;
52784
+ isPending: false;
52785
+ isSuccess: false;
52789
52786
  reset: () => void;
52790
52787
  context: unknown;
52788
+ failureCount: number;
52789
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
52790
+ isPaused: boolean;
52791
52791
  submittedAt: number;
52792
- writeContract: wagmi_query3.WriteContractMutate<wagmi0.Config, unknown>;
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
- isError: false;
52799
- isPending: false;
52800
- isSuccess: true;
52801
- failureCount: number;
52802
- failureReason: _wagmi_core0.WriteContractErrorType | null;
52803
- isPaused: boolean;
52804
52798
  variables: {
52805
- abi: abitype17.Abi;
52799
+ abi: abitype0.Abi;
52806
52800
  functionName: string;
52807
52801
  args?: readonly unknown[] | undefined;
52808
52802
  address: Address;
@@ -52826,7 +52820,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52826
52820
  chainId?: number | undefined;
52827
52821
  connector?: wagmi0.Connector | undefined;
52828
52822
  } | {
52829
- abi: abitype17.Abi;
52823
+ abi: abitype0.Abi;
52830
52824
  functionName: string;
52831
52825
  args?: readonly unknown[] | undefined;
52832
52826
  address: Address;
@@ -52850,7 +52844,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52850
52844
  chainId?: number | undefined;
52851
52845
  connector?: wagmi0.Connector | undefined;
52852
52846
  } | {
52853
- abi: abitype17.Abi;
52847
+ abi: abitype0.Abi;
52854
52848
  functionName: string;
52855
52849
  args?: readonly unknown[] | undefined;
52856
52850
  address: Address;
@@ -52874,7 +52868,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52874
52868
  chainId?: number | undefined;
52875
52869
  connector?: wagmi0.Connector | undefined;
52876
52870
  } | {
52877
- abi: abitype17.Abi;
52871
+ abi: abitype0.Abi;
52878
52872
  functionName: string;
52879
52873
  args?: readonly unknown[] | undefined;
52880
52874
  address: Address;
@@ -52898,7 +52892,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52898
52892
  chainId?: number | undefined;
52899
52893
  connector?: wagmi0.Connector | undefined;
52900
52894
  } | {
52901
- abi: abitype17.Abi;
52895
+ abi: abitype0.Abi;
52902
52896
  functionName: string;
52903
52897
  args?: readonly unknown[] | undefined;
52904
52898
  address: Address;
@@ -52922,7 +52916,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52922
52916
  chainId?: number | undefined;
52923
52917
  connector?: wagmi0.Connector | undefined;
52924
52918
  } | {
52925
- abi: abitype17.Abi;
52919
+ abi: abitype0.Abi;
52926
52920
  functionName: string;
52927
52921
  args?: readonly unknown[] | undefined;
52928
52922
  address: Address;
@@ -52946,44 +52940,44 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52946
52940
  chainId?: number | undefined;
52947
52941
  connector?: wagmi0.Connector | undefined;
52948
52942
  };
52943
+ isError: false;
52949
52944
  isIdle: false;
52945
+ isPending: false;
52946
+ isSuccess: true;
52950
52947
  reset: () => void;
52951
52948
  context: unknown;
52949
+ failureCount: number;
52950
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
52951
+ isPaused: boolean;
52952
52952
  submittedAt: number;
52953
- writeContract: wagmi_query3.WriteContractMutate<wagmi0.Config, unknown>;
52953
+ writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
52954
52954
  pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
52955
52955
  };
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
+ variables: undefined;
52962
52963
  isError: false;
52964
+ isIdle: true;
52963
52965
  isPending: false;
52964
52966
  isSuccess: false;
52967
+ reset: () => void;
52968
+ context: unknown;
52965
52969
  failureCount: number;
52966
52970
  failureReason: _wagmi_core0.WriteContractErrorType | null;
52967
52971
  isPaused: boolean;
52968
- variables: undefined;
52969
- isIdle: true;
52970
- reset: () => void;
52971
- context: unknown;
52972
52972
  submittedAt: number;
52973
- writeContract: wagmi_query3.WriteContractMutate<wagmi0.Config, unknown>;
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
- isError: false;
52980
- isPending: true;
52981
- isSuccess: false;
52982
- failureCount: number;
52983
- failureReason: _wagmi_core0.WriteContractErrorType | null;
52984
- isPaused: boolean;
52985
52979
  variables: {
52986
- abi: abitype17.Abi;
52980
+ abi: abitype0.Abi;
52987
52981
  functionName: string;
52988
52982
  args?: readonly unknown[] | undefined;
52989
52983
  address: Address;
@@ -53007,7 +53001,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53007
53001
  chainId?: number | undefined;
53008
53002
  connector?: wagmi0.Connector | undefined;
53009
53003
  } | {
53010
- abi: abitype17.Abi;
53004
+ abi: abitype0.Abi;
53011
53005
  functionName: string;
53012
53006
  args?: readonly unknown[] | undefined;
53013
53007
  address: Address;
@@ -53031,7 +53025,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53031
53025
  chainId?: number | undefined;
53032
53026
  connector?: wagmi0.Connector | undefined;
53033
53027
  } | {
53034
- abi: abitype17.Abi;
53028
+ abi: abitype0.Abi;
53035
53029
  functionName: string;
53036
53030
  args?: readonly unknown[] | undefined;
53037
53031
  address: Address;
@@ -53055,7 +53049,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53055
53049
  chainId?: number | undefined;
53056
53050
  connector?: wagmi0.Connector | undefined;
53057
53051
  } | {
53058
- abi: abitype17.Abi;
53052
+ abi: abitype0.Abi;
53059
53053
  functionName: string;
53060
53054
  args?: readonly unknown[] | undefined;
53061
53055
  address: Address;
@@ -53079,7 +53073,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53079
53073
  chainId?: number | undefined;
53080
53074
  connector?: wagmi0.Connector | undefined;
53081
53075
  } | {
53082
- abi: abitype17.Abi;
53076
+ abi: abitype0.Abi;
53083
53077
  functionName: string;
53084
53078
  args?: readonly unknown[] | undefined;
53085
53079
  address: Address;
@@ -53103,7 +53097,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53103
53097
  chainId?: number | undefined;
53104
53098
  connector?: wagmi0.Connector | undefined;
53105
53099
  } | {
53106
- abi: abitype17.Abi;
53100
+ abi: abitype0.Abi;
53107
53101
  functionName: string;
53108
53102
  args?: readonly unknown[] | undefined;
53109
53103
  address: Address;
@@ -53127,24 +53121,24 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53127
53121
  chainId?: number | undefined;
53128
53122
  connector?: wagmi0.Connector | undefined;
53129
53123
  };
53124
+ isError: false;
53130
53125
  isIdle: false;
53126
+ isPending: true;
53127
+ isSuccess: false;
53131
53128
  reset: () => void;
53132
53129
  context: unknown;
53130
+ failureCount: number;
53131
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
53132
+ isPaused: boolean;
53133
53133
  submittedAt: number;
53134
- writeContract: wagmi_query3.WriteContractMutate<wagmi0.Config, unknown>;
53134
+ writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
53135
53135
  pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
53136
53136
  } | {
53137
- error: _wagmi_core0.WriteContractErrorType;
53138
53137
  data: undefined;
53138
+ error: _wagmi_core0.WriteContractErrorType;
53139
53139
  status: "error";
53140
- isError: true;
53141
- isPending: false;
53142
- isSuccess: false;
53143
- failureCount: number;
53144
- failureReason: _wagmi_core0.WriteContractErrorType | null;
53145
- isPaused: boolean;
53146
53140
  variables: {
53147
- abi: abitype17.Abi;
53141
+ abi: abitype0.Abi;
53148
53142
  functionName: string;
53149
53143
  args?: readonly unknown[] | undefined;
53150
53144
  address: Address;
@@ -53168,7 +53162,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53168
53162
  chainId?: number | undefined;
53169
53163
  connector?: wagmi0.Connector | undefined;
53170
53164
  } | {
53171
- abi: abitype17.Abi;
53165
+ abi: abitype0.Abi;
53172
53166
  functionName: string;
53173
53167
  args?: readonly unknown[] | undefined;
53174
53168
  address: Address;
@@ -53192,7 +53186,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53192
53186
  chainId?: number | undefined;
53193
53187
  connector?: wagmi0.Connector | undefined;
53194
53188
  } | {
53195
- abi: abitype17.Abi;
53189
+ abi: abitype0.Abi;
53196
53190
  functionName: string;
53197
53191
  args?: readonly unknown[] | undefined;
53198
53192
  address: Address;
@@ -53216,7 +53210,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53216
53210
  chainId?: number | undefined;
53217
53211
  connector?: wagmi0.Connector | undefined;
53218
53212
  } | {
53219
- abi: abitype17.Abi;
53213
+ abi: abitype0.Abi;
53220
53214
  functionName: string;
53221
53215
  args?: readonly unknown[] | undefined;
53222
53216
  address: Address;
@@ -53240,7 +53234,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53240
53234
  chainId?: number | undefined;
53241
53235
  connector?: wagmi0.Connector | undefined;
53242
53236
  } | {
53243
- abi: abitype17.Abi;
53237
+ abi: abitype0.Abi;
53244
53238
  functionName: string;
53245
53239
  args?: readonly unknown[] | undefined;
53246
53240
  address: Address;
@@ -53264,7 +53258,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53264
53258
  chainId?: number | undefined;
53265
53259
  connector?: wagmi0.Connector | undefined;
53266
53260
  } | {
53267
- abi: abitype17.Abi;
53261
+ abi: abitype0.Abi;
53268
53262
  functionName: string;
53269
53263
  args?: readonly unknown[] | undefined;
53270
53264
  address: Address;
@@ -53288,24 +53282,24 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53288
53282
  chainId?: number | undefined;
53289
53283
  connector?: wagmi0.Connector | undefined;
53290
53284
  };
53285
+ isError: true;
53291
53286
  isIdle: false;
53287
+ isPending: false;
53288
+ isSuccess: false;
53292
53289
  reset: () => void;
53293
53290
  context: unknown;
53291
+ failureCount: number;
53292
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
53293
+ isPaused: boolean;
53294
53294
  submittedAt: number;
53295
- writeContract: wagmi_query3.WriteContractMutate<wagmi0.Config, unknown>;
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
- isError: false;
53302
- isPending: false;
53303
- isSuccess: true;
53304
- failureCount: number;
53305
- failureReason: _wagmi_core0.WriteContractErrorType | null;
53306
- isPaused: boolean;
53307
53301
  variables: {
53308
- abi: abitype17.Abi;
53302
+ abi: abitype0.Abi;
53309
53303
  functionName: string;
53310
53304
  args?: readonly unknown[] | undefined;
53311
53305
  address: Address;
@@ -53329,7 +53323,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53329
53323
  chainId?: number | undefined;
53330
53324
  connector?: wagmi0.Connector | undefined;
53331
53325
  } | {
53332
- abi: abitype17.Abi;
53326
+ abi: abitype0.Abi;
53333
53327
  functionName: string;
53334
53328
  args?: readonly unknown[] | undefined;
53335
53329
  address: Address;
@@ -53353,7 +53347,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53353
53347
  chainId?: number | undefined;
53354
53348
  connector?: wagmi0.Connector | undefined;
53355
53349
  } | {
53356
- abi: abitype17.Abi;
53350
+ abi: abitype0.Abi;
53357
53351
  functionName: string;
53358
53352
  args?: readonly unknown[] | undefined;
53359
53353
  address: Address;
@@ -53377,7 +53371,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53377
53371
  chainId?: number | undefined;
53378
53372
  connector?: wagmi0.Connector | undefined;
53379
53373
  } | {
53380
- abi: abitype17.Abi;
53374
+ abi: abitype0.Abi;
53381
53375
  functionName: string;
53382
53376
  args?: readonly unknown[] | undefined;
53383
53377
  address: Address;
@@ -53401,7 +53395,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53401
53395
  chainId?: number | undefined;
53402
53396
  connector?: wagmi0.Connector | undefined;
53403
53397
  } | {
53404
- abi: abitype17.Abi;
53398
+ abi: abitype0.Abi;
53405
53399
  functionName: string;
53406
53400
  args?: readonly unknown[] | undefined;
53407
53401
  address: Address;
@@ -53425,7 +53419,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53425
53419
  chainId?: number | undefined;
53426
53420
  connector?: wagmi0.Connector | undefined;
53427
53421
  } | {
53428
- abi: abitype17.Abi;
53422
+ abi: abitype0.Abi;
53429
53423
  functionName: string;
53430
53424
  args?: readonly unknown[] | undefined;
53431
53425
  address: Address;
@@ -53449,11 +53443,17 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53449
53443
  chainId?: number | undefined;
53450
53444
  connector?: wagmi0.Connector | undefined;
53451
53445
  };
53446
+ isError: false;
53452
53447
  isIdle: false;
53448
+ isPending: false;
53449
+ isSuccess: true;
53453
53450
  reset: () => void;
53454
53451
  context: unknown;
53452
+ failureCount: number;
53453
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
53454
+ isPaused: boolean;
53455
53455
  submittedAt: number;
53456
- writeContract: wagmi_query3.WriteContractMutate<wagmi0.Config, unknown>;
53456
+ writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
53457
53457
  pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
53458
53458
  };
53459
53459
  //#endregion
@@ -53468,21 +53468,21 @@ 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
+ variables: undefined;
53474
53475
  isError: false;
53476
+ isIdle: true;
53475
53477
  isPending: false;
53476
53478
  isSuccess: false;
53479
+ reset: () => void;
53480
+ context: unknown;
53477
53481
  failureCount: number;
53478
53482
  failureReason: _wagmi_core0.WriteContractErrorType | null;
53479
53483
  isPaused: boolean;
53480
- variables: undefined;
53481
- isIdle: true;
53482
- reset: () => void;
53483
- context: unknown;
53484
53484
  submittedAt: number;
53485
- writeContract: wagmi_query3.WriteContractMutate<wagmi0.Config, unknown>;
53485
+ writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
53486
53486
  updateMarketFees: (rates: {
53487
53487
  openingFeeRate?: number;
53488
53488
  baseFeeRate?: number;
@@ -53495,17 +53495,11 @@ 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
- isError: false;
53502
- isPending: true;
53503
- isSuccess: false;
53504
- failureCount: number;
53505
- failureReason: _wagmi_core0.WriteContractErrorType | null;
53506
- isPaused: boolean;
53507
53501
  variables: {
53508
- abi: abitype17.Abi;
53502
+ abi: abitype0.Abi;
53509
53503
  functionName: string;
53510
53504
  args?: readonly unknown[] | undefined;
53511
53505
  address: Address;
@@ -53529,7 +53523,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53529
53523
  chainId?: number | undefined;
53530
53524
  connector?: wagmi0.Connector | undefined;
53531
53525
  } | {
53532
- abi: abitype17.Abi;
53526
+ abi: abitype0.Abi;
53533
53527
  functionName: string;
53534
53528
  args?: readonly unknown[] | undefined;
53535
53529
  address: Address;
@@ -53553,7 +53547,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53553
53547
  chainId?: number | undefined;
53554
53548
  connector?: wagmi0.Connector | undefined;
53555
53549
  } | {
53556
- abi: abitype17.Abi;
53550
+ abi: abitype0.Abi;
53557
53551
  functionName: string;
53558
53552
  args?: readonly unknown[] | undefined;
53559
53553
  address: Address;
@@ -53577,7 +53571,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53577
53571
  chainId?: number | undefined;
53578
53572
  connector?: wagmi0.Connector | undefined;
53579
53573
  } | {
53580
- abi: abitype17.Abi;
53574
+ abi: abitype0.Abi;
53581
53575
  functionName: string;
53582
53576
  args?: readonly unknown[] | undefined;
53583
53577
  address: Address;
@@ -53601,7 +53595,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53601
53595
  chainId?: number | undefined;
53602
53596
  connector?: wagmi0.Connector | undefined;
53603
53597
  } | {
53604
- abi: abitype17.Abi;
53598
+ abi: abitype0.Abi;
53605
53599
  functionName: string;
53606
53600
  args?: readonly unknown[] | undefined;
53607
53601
  address: Address;
@@ -53625,7 +53619,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53625
53619
  chainId?: number | undefined;
53626
53620
  connector?: wagmi0.Connector | undefined;
53627
53621
  } | {
53628
- abi: abitype17.Abi;
53622
+ abi: abitype0.Abi;
53629
53623
  functionName: string;
53630
53624
  args?: readonly unknown[] | undefined;
53631
53625
  address: Address;
@@ -53649,11 +53643,17 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53649
53643
  chainId?: number | undefined;
53650
53644
  connector?: wagmi0.Connector | undefined;
53651
53645
  };
53646
+ isError: false;
53652
53647
  isIdle: false;
53648
+ isPending: true;
53649
+ isSuccess: false;
53653
53650
  reset: () => void;
53654
53651
  context: unknown;
53652
+ failureCount: number;
53653
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
53654
+ isPaused: boolean;
53655
53655
  submittedAt: number;
53656
- writeContract: wagmi_query3.WriteContractMutate<wagmi0.Config, unknown>;
53656
+ writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
53657
53657
  updateMarketFees: (rates: {
53658
53658
  openingFeeRate?: number;
53659
53659
  baseFeeRate?: number;
@@ -53666,17 +53666,11 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53666
53666
  newFeeStrategy: `0x${string}`;
53667
53667
  }>;
53668
53668
  } | {
53669
- error: _wagmi_core0.WriteContractErrorType;
53670
53669
  data: undefined;
53670
+ error: _wagmi_core0.WriteContractErrorType;
53671
53671
  status: "error";
53672
- isError: true;
53673
- isPending: false;
53674
- isSuccess: false;
53675
- failureCount: number;
53676
- failureReason: _wagmi_core0.WriteContractErrorType | null;
53677
- isPaused: boolean;
53678
53672
  variables: {
53679
- abi: abitype17.Abi;
53673
+ abi: abitype0.Abi;
53680
53674
  functionName: string;
53681
53675
  args?: readonly unknown[] | undefined;
53682
53676
  address: Address;
@@ -53700,7 +53694,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53700
53694
  chainId?: number | undefined;
53701
53695
  connector?: wagmi0.Connector | undefined;
53702
53696
  } | {
53703
- abi: abitype17.Abi;
53697
+ abi: abitype0.Abi;
53704
53698
  functionName: string;
53705
53699
  args?: readonly unknown[] | undefined;
53706
53700
  address: Address;
@@ -53724,7 +53718,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53724
53718
  chainId?: number | undefined;
53725
53719
  connector?: wagmi0.Connector | undefined;
53726
53720
  } | {
53727
- abi: abitype17.Abi;
53721
+ abi: abitype0.Abi;
53728
53722
  functionName: string;
53729
53723
  args?: readonly unknown[] | undefined;
53730
53724
  address: Address;
@@ -53748,7 +53742,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53748
53742
  chainId?: number | undefined;
53749
53743
  connector?: wagmi0.Connector | undefined;
53750
53744
  } | {
53751
- abi: abitype17.Abi;
53745
+ abi: abitype0.Abi;
53752
53746
  functionName: string;
53753
53747
  args?: readonly unknown[] | undefined;
53754
53748
  address: Address;
@@ -53772,7 +53766,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53772
53766
  chainId?: number | undefined;
53773
53767
  connector?: wagmi0.Connector | undefined;
53774
53768
  } | {
53775
- abi: abitype17.Abi;
53769
+ abi: abitype0.Abi;
53776
53770
  functionName: string;
53777
53771
  args?: readonly unknown[] | undefined;
53778
53772
  address: Address;
@@ -53796,7 +53790,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53796
53790
  chainId?: number | undefined;
53797
53791
  connector?: wagmi0.Connector | undefined;
53798
53792
  } | {
53799
- abi: abitype17.Abi;
53793
+ abi: abitype0.Abi;
53800
53794
  functionName: string;
53801
53795
  args?: readonly unknown[] | undefined;
53802
53796
  address: Address;
@@ -53820,11 +53814,17 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53820
53814
  chainId?: number | undefined;
53821
53815
  connector?: wagmi0.Connector | undefined;
53822
53816
  };
53817
+ isError: true;
53823
53818
  isIdle: false;
53819
+ isPending: false;
53820
+ isSuccess: false;
53824
53821
  reset: () => void;
53825
53822
  context: unknown;
53823
+ failureCount: number;
53824
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
53825
+ isPaused: boolean;
53826
53826
  submittedAt: number;
53827
- writeContract: wagmi_query3.WriteContractMutate<wagmi0.Config, unknown>;
53827
+ writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
53828
53828
  updateMarketFees: (rates: {
53829
53829
  openingFeeRate?: number;
53830
53830
  baseFeeRate?: number;
@@ -53837,17 +53837,11 @@ 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
- isError: false;
53844
- isPending: false;
53845
- isSuccess: true;
53846
- failureCount: number;
53847
- failureReason: _wagmi_core0.WriteContractErrorType | null;
53848
- isPaused: boolean;
53849
53843
  variables: {
53850
- abi: abitype17.Abi;
53844
+ abi: abitype0.Abi;
53851
53845
  functionName: string;
53852
53846
  args?: readonly unknown[] | undefined;
53853
53847
  address: Address;
@@ -53871,7 +53865,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53871
53865
  chainId?: number | undefined;
53872
53866
  connector?: wagmi0.Connector | undefined;
53873
53867
  } | {
53874
- abi: abitype17.Abi;
53868
+ abi: abitype0.Abi;
53875
53869
  functionName: string;
53876
53870
  args?: readonly unknown[] | undefined;
53877
53871
  address: Address;
@@ -53895,7 +53889,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53895
53889
  chainId?: number | undefined;
53896
53890
  connector?: wagmi0.Connector | undefined;
53897
53891
  } | {
53898
- abi: abitype17.Abi;
53892
+ abi: abitype0.Abi;
53899
53893
  functionName: string;
53900
53894
  args?: readonly unknown[] | undefined;
53901
53895
  address: Address;
@@ -53919,7 +53913,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53919
53913
  chainId?: number | undefined;
53920
53914
  connector?: wagmi0.Connector | undefined;
53921
53915
  } | {
53922
- abi: abitype17.Abi;
53916
+ abi: abitype0.Abi;
53923
53917
  functionName: string;
53924
53918
  args?: readonly unknown[] | undefined;
53925
53919
  address: Address;
@@ -53943,7 +53937,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53943
53937
  chainId?: number | undefined;
53944
53938
  connector?: wagmi0.Connector | undefined;
53945
53939
  } | {
53946
- abi: abitype17.Abi;
53940
+ abi: abitype0.Abi;
53947
53941
  functionName: string;
53948
53942
  args?: readonly unknown[] | undefined;
53949
53943
  address: Address;
@@ -53967,7 +53961,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53967
53961
  chainId?: number | undefined;
53968
53962
  connector?: wagmi0.Connector | undefined;
53969
53963
  } | {
53970
- abi: abitype17.Abi;
53964
+ abi: abitype0.Abi;
53971
53965
  functionName: string;
53972
53966
  args?: readonly unknown[] | undefined;
53973
53967
  address: Address;
@@ -53991,11 +53985,17 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53991
53985
  chainId?: number | undefined;
53992
53986
  connector?: wagmi0.Connector | undefined;
53993
53987
  };
53988
+ isError: false;
53994
53989
  isIdle: false;
53990
+ isPending: false;
53991
+ isSuccess: true;
53995
53992
  reset: () => void;
53996
53993
  context: unknown;
53994
+ failureCount: number;
53995
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
53996
+ isPaused: boolean;
53997
53997
  submittedAt: number;
53998
- writeContract: wagmi_query3.WriteContractMutate<wagmi0.Config, unknown>;
53998
+ writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
53999
53999
  updateMarketFees: (rates: {
54000
54000
  openingFeeRate?: number;
54001
54001
  baseFeeRate?: number;
@@ -54985,21 +54985,21 @@ 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
+ variables: undefined;
54991
54992
  isError: false;
54993
+ isIdle: true;
54992
54994
  isPending: false;
54993
54995
  isSuccess: false;
54996
+ reset: () => void;
54997
+ context: unknown;
54994
54998
  failureCount: number;
54995
54999
  failureReason: _wagmi_core0.WriteContractErrorType | null;
54996
55000
  isPaused: boolean;
54997
- variables: undefined;
54998
- isIdle: true;
54999
- reset: () => void;
55000
- context: unknown;
55001
55001
  submittedAt: number;
55002
- writeContract: wagmi_query3.WriteContractMutate<wagmi0.Config, unknown>;
55002
+ writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
55003
55003
  updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
55004
55004
  model: "static";
55005
55005
  } : Partial<OptionPricingParams> & {
@@ -55010,17 +55010,11 @@ 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
- isError: false;
55017
- isPending: true;
55018
- isSuccess: false;
55019
- failureCount: number;
55020
- failureReason: _wagmi_core0.WriteContractErrorType | null;
55021
- isPaused: boolean;
55022
55016
  variables: {
55023
- abi: abitype17.Abi;
55017
+ abi: abitype0.Abi;
55024
55018
  functionName: string;
55025
55019
  args?: readonly unknown[] | undefined;
55026
55020
  address: Address;
@@ -55044,7 +55038,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55044
55038
  chainId?: number | undefined;
55045
55039
  connector?: wagmi0.Connector | undefined;
55046
55040
  } | {
55047
- abi: abitype17.Abi;
55041
+ abi: abitype0.Abi;
55048
55042
  functionName: string;
55049
55043
  args?: readonly unknown[] | undefined;
55050
55044
  address: Address;
@@ -55068,7 +55062,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55068
55062
  chainId?: number | undefined;
55069
55063
  connector?: wagmi0.Connector | undefined;
55070
55064
  } | {
55071
- abi: abitype17.Abi;
55065
+ abi: abitype0.Abi;
55072
55066
  functionName: string;
55073
55067
  args?: readonly unknown[] | undefined;
55074
55068
  address: Address;
@@ -55092,7 +55086,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55092
55086
  chainId?: number | undefined;
55093
55087
  connector?: wagmi0.Connector | undefined;
55094
55088
  } | {
55095
- abi: abitype17.Abi;
55089
+ abi: abitype0.Abi;
55096
55090
  functionName: string;
55097
55091
  args?: readonly unknown[] | undefined;
55098
55092
  address: Address;
@@ -55116,7 +55110,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55116
55110
  chainId?: number | undefined;
55117
55111
  connector?: wagmi0.Connector | undefined;
55118
55112
  } | {
55119
- abi: abitype17.Abi;
55113
+ abi: abitype0.Abi;
55120
55114
  functionName: string;
55121
55115
  args?: readonly unknown[] | undefined;
55122
55116
  address: Address;
@@ -55140,7 +55134,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55140
55134
  chainId?: number | undefined;
55141
55135
  connector?: wagmi0.Connector | undefined;
55142
55136
  } | {
55143
- abi: abitype17.Abi;
55137
+ abi: abitype0.Abi;
55144
55138
  functionName: string;
55145
55139
  args?: readonly unknown[] | undefined;
55146
55140
  address: Address;
@@ -55164,11 +55158,17 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55164
55158
  chainId?: number | undefined;
55165
55159
  connector?: wagmi0.Connector | undefined;
55166
55160
  };
55161
+ isError: false;
55167
55162
  isIdle: false;
55163
+ isPending: true;
55164
+ isSuccess: false;
55168
55165
  reset: () => void;
55169
55166
  context: unknown;
55167
+ failureCount: number;
55168
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
55169
+ isPaused: boolean;
55170
55170
  submittedAt: number;
55171
- writeContract: wagmi_query3.WriteContractMutate<wagmi0.Config, unknown>;
55171
+ writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
55172
55172
  updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
55173
55173
  model: "static";
55174
55174
  } : Partial<OptionPricingParams> & {
@@ -55179,17 +55179,11 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55179
55179
  newPricingAddr: `0x${string}`;
55180
55180
  }>;
55181
55181
  } | {
55182
- error: _wagmi_core0.WriteContractErrorType;
55183
55182
  data: undefined;
55183
+ error: _wagmi_core0.WriteContractErrorType;
55184
55184
  status: "error";
55185
- isError: true;
55186
- isPending: false;
55187
- isSuccess: false;
55188
- failureCount: number;
55189
- failureReason: _wagmi_core0.WriteContractErrorType | null;
55190
- isPaused: boolean;
55191
55185
  variables: {
55192
- abi: abitype17.Abi;
55186
+ abi: abitype0.Abi;
55193
55187
  functionName: string;
55194
55188
  args?: readonly unknown[] | undefined;
55195
55189
  address: Address;
@@ -55213,7 +55207,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55213
55207
  chainId?: number | undefined;
55214
55208
  connector?: wagmi0.Connector | undefined;
55215
55209
  } | {
55216
- abi: abitype17.Abi;
55210
+ abi: abitype0.Abi;
55217
55211
  functionName: string;
55218
55212
  args?: readonly unknown[] | undefined;
55219
55213
  address: Address;
@@ -55237,7 +55231,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55237
55231
  chainId?: number | undefined;
55238
55232
  connector?: wagmi0.Connector | undefined;
55239
55233
  } | {
55240
- abi: abitype17.Abi;
55234
+ abi: abitype0.Abi;
55241
55235
  functionName: string;
55242
55236
  args?: readonly unknown[] | undefined;
55243
55237
  address: Address;
@@ -55261,7 +55255,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55261
55255
  chainId?: number | undefined;
55262
55256
  connector?: wagmi0.Connector | undefined;
55263
55257
  } | {
55264
- abi: abitype17.Abi;
55258
+ abi: abitype0.Abi;
55265
55259
  functionName: string;
55266
55260
  args?: readonly unknown[] | undefined;
55267
55261
  address: Address;
@@ -55285,7 +55279,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55285
55279
  chainId?: number | undefined;
55286
55280
  connector?: wagmi0.Connector | undefined;
55287
55281
  } | {
55288
- abi: abitype17.Abi;
55282
+ abi: abitype0.Abi;
55289
55283
  functionName: string;
55290
55284
  args?: readonly unknown[] | undefined;
55291
55285
  address: Address;
@@ -55309,7 +55303,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55309
55303
  chainId?: number | undefined;
55310
55304
  connector?: wagmi0.Connector | undefined;
55311
55305
  } | {
55312
- abi: abitype17.Abi;
55306
+ abi: abitype0.Abi;
55313
55307
  functionName: string;
55314
55308
  args?: readonly unknown[] | undefined;
55315
55309
  address: Address;
@@ -55333,11 +55327,17 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55333
55327
  chainId?: number | undefined;
55334
55328
  connector?: wagmi0.Connector | undefined;
55335
55329
  };
55330
+ isError: true;
55336
55331
  isIdle: false;
55332
+ isPending: false;
55333
+ isSuccess: false;
55337
55334
  reset: () => void;
55338
55335
  context: unknown;
55336
+ failureCount: number;
55337
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
55338
+ isPaused: boolean;
55339
55339
  submittedAt: number;
55340
- writeContract: wagmi_query3.WriteContractMutate<wagmi0.Config, unknown>;
55340
+ writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
55341
55341
  updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
55342
55342
  model: "static";
55343
55343
  } : Partial<OptionPricingParams> & {
@@ -55348,17 +55348,11 @@ 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
- isError: false;
55355
- isPending: false;
55356
- isSuccess: true;
55357
- failureCount: number;
55358
- failureReason: _wagmi_core0.WriteContractErrorType | null;
55359
- isPaused: boolean;
55360
55354
  variables: {
55361
- abi: abitype17.Abi;
55355
+ abi: abitype0.Abi;
55362
55356
  functionName: string;
55363
55357
  args?: readonly unknown[] | undefined;
55364
55358
  address: Address;
@@ -55382,7 +55376,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55382
55376
  chainId?: number | undefined;
55383
55377
  connector?: wagmi0.Connector | undefined;
55384
55378
  } | {
55385
- abi: abitype17.Abi;
55379
+ abi: abitype0.Abi;
55386
55380
  functionName: string;
55387
55381
  args?: readonly unknown[] | undefined;
55388
55382
  address: Address;
@@ -55406,7 +55400,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55406
55400
  chainId?: number | undefined;
55407
55401
  connector?: wagmi0.Connector | undefined;
55408
55402
  } | {
55409
- abi: abitype17.Abi;
55403
+ abi: abitype0.Abi;
55410
55404
  functionName: string;
55411
55405
  args?: readonly unknown[] | undefined;
55412
55406
  address: Address;
@@ -55430,7 +55424,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55430
55424
  chainId?: number | undefined;
55431
55425
  connector?: wagmi0.Connector | undefined;
55432
55426
  } | {
55433
- abi: abitype17.Abi;
55427
+ abi: abitype0.Abi;
55434
55428
  functionName: string;
55435
55429
  args?: readonly unknown[] | undefined;
55436
55430
  address: Address;
@@ -55454,7 +55448,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55454
55448
  chainId?: number | undefined;
55455
55449
  connector?: wagmi0.Connector | undefined;
55456
55450
  } | {
55457
- abi: abitype17.Abi;
55451
+ abi: abitype0.Abi;
55458
55452
  functionName: string;
55459
55453
  args?: readonly unknown[] | undefined;
55460
55454
  address: Address;
@@ -55478,7 +55472,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55478
55472
  chainId?: number | undefined;
55479
55473
  connector?: wagmi0.Connector | undefined;
55480
55474
  } | {
55481
- abi: abitype17.Abi;
55475
+ abi: abitype0.Abi;
55482
55476
  functionName: string;
55483
55477
  args?: readonly unknown[] | undefined;
55484
55478
  address: Address;
@@ -55502,11 +55496,17 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55502
55496
  chainId?: number | undefined;
55503
55497
  connector?: wagmi0.Connector | undefined;
55504
55498
  };
55499
+ isError: false;
55505
55500
  isIdle: false;
55501
+ isPending: false;
55502
+ isSuccess: true;
55506
55503
  reset: () => void;
55507
55504
  context: unknown;
55505
+ failureCount: number;
55506
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
55507
+ isPaused: boolean;
55508
55508
  submittedAt: number;
55509
- writeContract: wagmi_query3.WriteContractMutate<wagmi0.Config, unknown>;
55509
+ writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
55510
55510
  updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
55511
55511
  model: "static";
55512
55512
  } : Partial<OptionPricingParams> & {
@@ -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-DS3Ll673.d.cts.map
97747
+ //# sourceMappingURL=client-8AJEd9YL.d.ts.map