timelock-sdk 0.0.190 → 0.0.192

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 viem0 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
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_query11 from "wagmi/query";
15
- import * as abitype17 from "abitype";
14
+ import * as wagmi_query23 from "wagmi/query";
15
+ import * as abitype35 from "abitype";
16
16
 
17
17
  //#region src/generated/graphql.d.ts
18
18
  type Exact<T$1 extends {
@@ -162,7 +162,9 @@ type GetMarketVolumeQuery = {
162
162
  address: string;
163
163
  optionsCount: any;
164
164
  tradersCount: any;
165
- volume: any;
165
+ totalVolume: any;
166
+ totalPremium: any;
167
+ totalProfit: any;
166
168
  }>;
167
169
  };
168
170
  type GetUserMarketOperatorsQueryVariables = Exact<{
@@ -426,7 +428,7 @@ declare const getErc20: (address: Address, client: Client) => {
426
428
  }];
427
429
  readonly stateMutability: "nonpayable";
428
430
  }], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
429
- decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
431
+ allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
430
432
  readonly type: "constructor";
431
433
  readonly inputs: readonly [{
432
434
  readonly name: "name_";
@@ -604,8 +606,8 @@ declare const getErc20: (address: Address, client: Client) => {
604
606
  readonly internalType: "bool";
605
607
  }];
606
608
  readonly stateMutability: "nonpayable";
607
- }], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
608
- name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
609
+ }], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
610
+ balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
609
611
  readonly type: "constructor";
610
612
  readonly inputs: readonly [{
611
613
  readonly name: "name_";
@@ -783,8 +785,8 @@ declare const getErc20: (address: Address, client: Client) => {
783
785
  readonly internalType: "bool";
784
786
  }];
785
787
  readonly stateMutability: "nonpayable";
786
- }], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
787
- allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
788
+ }], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
789
+ decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
788
790
  readonly type: "constructor";
789
791
  readonly inputs: readonly [{
790
792
  readonly name: "name_";
@@ -962,8 +964,8 @@ declare const getErc20: (address: Address, client: Client) => {
962
964
  readonly internalType: "bool";
963
965
  }];
964
966
  readonly stateMutability: "nonpayable";
965
- }], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
966
- balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
967
+ }], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
968
+ name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
967
969
  readonly type: "constructor";
968
970
  readonly inputs: readonly [{
969
971
  readonly name: "name_";
@@ -1141,7 +1143,7 @@ declare const getErc20: (address: Address, client: Client) => {
1141
1143
  readonly internalType: "bool";
1142
1144
  }];
1143
1145
  readonly stateMutability: "nonpayable";
1144
- }], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
1146
+ }], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
1145
1147
  totalSupply: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
1146
1148
  readonly type: "constructor";
1147
1149
  readonly inputs: readonly [{
@@ -49256,7 +49258,9 @@ declare const useMarketState: (marketAddr: Address | undefined) => wagmi0.UseRea
49256
49258
  //#region src/hooks/market/useMarketVolume.d.ts
49257
49259
  declare const useMarketVolume: (marketAddr: Address | undefined) => _tanstack_react_query0.UseQueryResult<{
49258
49260
  address: Address;
49259
- volume: bigint;
49261
+ totalVolume: bigint;
49262
+ totalPremium: bigint;
49263
+ totalProfit: bigint;
49260
49264
  optionsCount: bigint;
49261
49265
  tradersCount: bigint;
49262
49266
  __typename: "TimelockMarket";
@@ -52453,30 +52457,36 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => wagmi0.UseRead
52453
52457
  //#endregion
52454
52458
  //#region src/hooks/guardian/usePauseGlobalTrading.d.ts
52455
52459
  declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52456
- data: undefined;
52457
52460
  error: null;
52461
+ data: undefined;
52458
52462
  status: "idle";
52459
- variables: undefined;
52460
52463
  isError: false;
52461
- isIdle: true;
52462
52464
  isPending: false;
52463
52465
  isSuccess: false;
52464
- reset: () => void;
52465
- context: unknown;
52466
52466
  failureCount: number;
52467
52467
  failureReason: _wagmi_core0.WriteContractErrorType | null;
52468
52468
  isPaused: boolean;
52469
+ variables: undefined;
52470
+ isIdle: true;
52471
+ reset: () => void;
52472
+ context: unknown;
52469
52473
  submittedAt: number;
52470
- mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
52471
- mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
52472
- writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
52474
+ mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
52475
+ mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
52476
+ writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
52473
52477
  pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
52474
52478
  } | {
52475
- data: undefined;
52476
52479
  error: null;
52480
+ data: undefined;
52477
52481
  status: "pending";
52482
+ isError: false;
52483
+ isPending: true;
52484
+ isSuccess: false;
52485
+ failureCount: number;
52486
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
52487
+ isPaused: boolean;
52478
52488
  variables: {
52479
- abi: abitype17.Abi;
52489
+ abi: abitype35.Abi;
52480
52490
  functionName: string;
52481
52491
  args?: readonly unknown[] | undefined;
52482
52492
  address: Address;
@@ -52500,7 +52510,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52500
52510
  chainId?: number | undefined;
52501
52511
  connector?: wagmi0.Connector | undefined;
52502
52512
  } | {
52503
- abi: abitype17.Abi;
52513
+ abi: abitype35.Abi;
52504
52514
  functionName: string;
52505
52515
  args?: readonly unknown[] | undefined;
52506
52516
  address: Address;
@@ -52524,7 +52534,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52524
52534
  chainId?: number | undefined;
52525
52535
  connector?: wagmi0.Connector | undefined;
52526
52536
  } | {
52527
- abi: abitype17.Abi;
52537
+ abi: abitype35.Abi;
52528
52538
  functionName: string;
52529
52539
  args?: readonly unknown[] | undefined;
52530
52540
  address: Address;
@@ -52548,7 +52558,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52548
52558
  chainId?: number | undefined;
52549
52559
  connector?: wagmi0.Connector | undefined;
52550
52560
  } | {
52551
- abi: abitype17.Abi;
52561
+ abi: abitype35.Abi;
52552
52562
  functionName: string;
52553
52563
  args?: readonly unknown[] | undefined;
52554
52564
  address: Address;
@@ -52572,7 +52582,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52572
52582
  chainId?: number | undefined;
52573
52583
  connector?: wagmi0.Connector | undefined;
52574
52584
  } | {
52575
- abi: abitype17.Abi;
52585
+ abi: abitype35.Abi;
52576
52586
  functionName: string;
52577
52587
  args?: readonly unknown[] | undefined;
52578
52588
  address: Address;
@@ -52596,7 +52606,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52596
52606
  chainId?: number | undefined;
52597
52607
  connector?: wagmi0.Connector | undefined;
52598
52608
  } | {
52599
- abi: abitype17.Abi;
52609
+ abi: abitype35.Abi;
52600
52610
  functionName: string;
52601
52611
  args?: readonly unknown[] | undefined;
52602
52612
  address: Address;
@@ -52620,26 +52630,26 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52620
52630
  chainId?: number | undefined;
52621
52631
  connector?: wagmi0.Connector | undefined;
52622
52632
  };
52623
- isError: false;
52624
52633
  isIdle: false;
52625
- isPending: true;
52626
- isSuccess: false;
52627
52634
  reset: () => void;
52628
52635
  context: unknown;
52629
- failureCount: number;
52630
- failureReason: _wagmi_core0.WriteContractErrorType | null;
52631
- isPaused: boolean;
52632
52636
  submittedAt: number;
52633
- mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
52634
- mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
52635
- writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
52637
+ mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
52638
+ mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
52639
+ writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
52636
52640
  pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
52637
52641
  } | {
52638
- data: undefined;
52639
52642
  error: _wagmi_core0.WriteContractErrorType;
52643
+ data: undefined;
52640
52644
  status: "error";
52645
+ isError: true;
52646
+ isPending: false;
52647
+ isSuccess: false;
52648
+ failureCount: number;
52649
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
52650
+ isPaused: boolean;
52641
52651
  variables: {
52642
- abi: abitype17.Abi;
52652
+ abi: abitype35.Abi;
52643
52653
  functionName: string;
52644
52654
  args?: readonly unknown[] | undefined;
52645
52655
  address: Address;
@@ -52663,7 +52673,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52663
52673
  chainId?: number | undefined;
52664
52674
  connector?: wagmi0.Connector | undefined;
52665
52675
  } | {
52666
- abi: abitype17.Abi;
52676
+ abi: abitype35.Abi;
52667
52677
  functionName: string;
52668
52678
  args?: readonly unknown[] | undefined;
52669
52679
  address: Address;
@@ -52687,7 +52697,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52687
52697
  chainId?: number | undefined;
52688
52698
  connector?: wagmi0.Connector | undefined;
52689
52699
  } | {
52690
- abi: abitype17.Abi;
52700
+ abi: abitype35.Abi;
52691
52701
  functionName: string;
52692
52702
  args?: readonly unknown[] | undefined;
52693
52703
  address: Address;
@@ -52711,7 +52721,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52711
52721
  chainId?: number | undefined;
52712
52722
  connector?: wagmi0.Connector | undefined;
52713
52723
  } | {
52714
- abi: abitype17.Abi;
52724
+ abi: abitype35.Abi;
52715
52725
  functionName: string;
52716
52726
  args?: readonly unknown[] | undefined;
52717
52727
  address: Address;
@@ -52735,7 +52745,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52735
52745
  chainId?: number | undefined;
52736
52746
  connector?: wagmi0.Connector | undefined;
52737
52747
  } | {
52738
- abi: abitype17.Abi;
52748
+ abi: abitype35.Abi;
52739
52749
  functionName: string;
52740
52750
  args?: readonly unknown[] | undefined;
52741
52751
  address: Address;
@@ -52759,7 +52769,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52759
52769
  chainId?: number | undefined;
52760
52770
  connector?: wagmi0.Connector | undefined;
52761
52771
  } | {
52762
- abi: abitype17.Abi;
52772
+ abi: abitype35.Abi;
52763
52773
  functionName: string;
52764
52774
  args?: readonly unknown[] | undefined;
52765
52775
  address: Address;
@@ -52783,26 +52793,26 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52783
52793
  chainId?: number | undefined;
52784
52794
  connector?: wagmi0.Connector | undefined;
52785
52795
  };
52786
- isError: true;
52787
52796
  isIdle: false;
52788
- isPending: false;
52789
- isSuccess: false;
52790
52797
  reset: () => void;
52791
52798
  context: unknown;
52792
- failureCount: number;
52793
- failureReason: _wagmi_core0.WriteContractErrorType | null;
52794
- isPaused: boolean;
52795
52799
  submittedAt: number;
52796
- mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
52797
- mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
52798
- writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
52800
+ mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
52801
+ mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
52802
+ writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
52799
52803
  pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
52800
52804
  } | {
52801
- data: `0x${string}`;
52802
52805
  error: null;
52806
+ data: `0x${string}`;
52803
52807
  status: "success";
52808
+ isError: false;
52809
+ isPending: false;
52810
+ isSuccess: true;
52811
+ failureCount: number;
52812
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
52813
+ isPaused: boolean;
52804
52814
  variables: {
52805
- abi: abitype17.Abi;
52815
+ abi: abitype35.Abi;
52806
52816
  functionName: string;
52807
52817
  args?: readonly unknown[] | undefined;
52808
52818
  address: Address;
@@ -52826,7 +52836,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52826
52836
  chainId?: number | undefined;
52827
52837
  connector?: wagmi0.Connector | undefined;
52828
52838
  } | {
52829
- abi: abitype17.Abi;
52839
+ abi: abitype35.Abi;
52830
52840
  functionName: string;
52831
52841
  args?: readonly unknown[] | undefined;
52832
52842
  address: Address;
@@ -52850,7 +52860,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52850
52860
  chainId?: number | undefined;
52851
52861
  connector?: wagmi0.Connector | undefined;
52852
52862
  } | {
52853
- abi: abitype17.Abi;
52863
+ abi: abitype35.Abi;
52854
52864
  functionName: string;
52855
52865
  args?: readonly unknown[] | undefined;
52856
52866
  address: Address;
@@ -52874,7 +52884,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52874
52884
  chainId?: number | undefined;
52875
52885
  connector?: wagmi0.Connector | undefined;
52876
52886
  } | {
52877
- abi: abitype17.Abi;
52887
+ abi: abitype35.Abi;
52878
52888
  functionName: string;
52879
52889
  args?: readonly unknown[] | undefined;
52880
52890
  address: Address;
@@ -52898,7 +52908,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52898
52908
  chainId?: number | undefined;
52899
52909
  connector?: wagmi0.Connector | undefined;
52900
52910
  } | {
52901
- abi: abitype17.Abi;
52911
+ abi: abitype35.Abi;
52902
52912
  functionName: string;
52903
52913
  args?: readonly unknown[] | undefined;
52904
52914
  address: Address;
@@ -52922,7 +52932,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52922
52932
  chainId?: number | undefined;
52923
52933
  connector?: wagmi0.Connector | undefined;
52924
52934
  } | {
52925
- abi: abitype17.Abi;
52935
+ abi: abitype35.Abi;
52926
52936
  functionName: string;
52927
52937
  args?: readonly unknown[] | undefined;
52928
52938
  address: Address;
@@ -52946,48 +52956,48 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
52946
52956
  chainId?: number | undefined;
52947
52957
  connector?: wagmi0.Connector | undefined;
52948
52958
  };
52949
- isError: false;
52950
52959
  isIdle: false;
52951
- isPending: false;
52952
- isSuccess: true;
52953
52960
  reset: () => void;
52954
52961
  context: unknown;
52955
- failureCount: number;
52956
- failureReason: _wagmi_core0.WriteContractErrorType | null;
52957
- isPaused: boolean;
52958
52962
  submittedAt: number;
52959
- mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
52960
- mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
52961
- writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
52963
+ mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
52964
+ mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
52965
+ writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
52962
52966
  pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
52963
52967
  };
52964
52968
  //#endregion
52965
52969
  //#region src/hooks/guardian/usePauseMarketTrading.d.ts
52966
52970
  declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
52967
- data: undefined;
52968
52971
  error: null;
52972
+ data: undefined;
52969
52973
  status: "idle";
52970
- variables: undefined;
52971
52974
  isError: false;
52972
- isIdle: true;
52973
52975
  isPending: false;
52974
52976
  isSuccess: false;
52975
- reset: () => void;
52976
- context: unknown;
52977
52977
  failureCount: number;
52978
52978
  failureReason: _wagmi_core0.WriteContractErrorType | null;
52979
52979
  isPaused: boolean;
52980
+ variables: undefined;
52981
+ isIdle: true;
52982
+ reset: () => void;
52983
+ context: unknown;
52980
52984
  submittedAt: number;
52981
- mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
52982
- mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
52983
- writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
52985
+ mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
52986
+ mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
52987
+ writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
52984
52988
  pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
52985
52989
  } | {
52986
- data: undefined;
52987
52990
  error: null;
52991
+ data: undefined;
52988
52992
  status: "pending";
52993
+ isError: false;
52994
+ isPending: true;
52995
+ isSuccess: false;
52996
+ failureCount: number;
52997
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
52998
+ isPaused: boolean;
52989
52999
  variables: {
52990
- abi: abitype17.Abi;
53000
+ abi: abitype35.Abi;
52991
53001
  functionName: string;
52992
53002
  args?: readonly unknown[] | undefined;
52993
53003
  address: Address;
@@ -53011,7 +53021,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53011
53021
  chainId?: number | undefined;
53012
53022
  connector?: wagmi0.Connector | undefined;
53013
53023
  } | {
53014
- abi: abitype17.Abi;
53024
+ abi: abitype35.Abi;
53015
53025
  functionName: string;
53016
53026
  args?: readonly unknown[] | undefined;
53017
53027
  address: Address;
@@ -53035,7 +53045,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53035
53045
  chainId?: number | undefined;
53036
53046
  connector?: wagmi0.Connector | undefined;
53037
53047
  } | {
53038
- abi: abitype17.Abi;
53048
+ abi: abitype35.Abi;
53039
53049
  functionName: string;
53040
53050
  args?: readonly unknown[] | undefined;
53041
53051
  address: Address;
@@ -53059,7 +53069,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53059
53069
  chainId?: number | undefined;
53060
53070
  connector?: wagmi0.Connector | undefined;
53061
53071
  } | {
53062
- abi: abitype17.Abi;
53072
+ abi: abitype35.Abi;
53063
53073
  functionName: string;
53064
53074
  args?: readonly unknown[] | undefined;
53065
53075
  address: Address;
@@ -53083,7 +53093,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53083
53093
  chainId?: number | undefined;
53084
53094
  connector?: wagmi0.Connector | undefined;
53085
53095
  } | {
53086
- abi: abitype17.Abi;
53096
+ abi: abitype35.Abi;
53087
53097
  functionName: string;
53088
53098
  args?: readonly unknown[] | undefined;
53089
53099
  address: Address;
@@ -53107,7 +53117,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53107
53117
  chainId?: number | undefined;
53108
53118
  connector?: wagmi0.Connector | undefined;
53109
53119
  } | {
53110
- abi: abitype17.Abi;
53120
+ abi: abitype35.Abi;
53111
53121
  functionName: string;
53112
53122
  args?: readonly unknown[] | undefined;
53113
53123
  address: Address;
@@ -53131,26 +53141,26 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53131
53141
  chainId?: number | undefined;
53132
53142
  connector?: wagmi0.Connector | undefined;
53133
53143
  };
53134
- isError: false;
53135
53144
  isIdle: false;
53136
- isPending: true;
53137
- isSuccess: false;
53138
53145
  reset: () => void;
53139
53146
  context: unknown;
53140
- failureCount: number;
53141
- failureReason: _wagmi_core0.WriteContractErrorType | null;
53142
- isPaused: boolean;
53143
53147
  submittedAt: number;
53144
- mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
53145
- mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
53146
- writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
53148
+ mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
53149
+ mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
53150
+ writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
53147
53151
  pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
53148
53152
  } | {
53149
- data: undefined;
53150
53153
  error: _wagmi_core0.WriteContractErrorType;
53154
+ data: undefined;
53151
53155
  status: "error";
53156
+ isError: true;
53157
+ isPending: false;
53158
+ isSuccess: false;
53159
+ failureCount: number;
53160
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
53161
+ isPaused: boolean;
53152
53162
  variables: {
53153
- abi: abitype17.Abi;
53163
+ abi: abitype35.Abi;
53154
53164
  functionName: string;
53155
53165
  args?: readonly unknown[] | undefined;
53156
53166
  address: Address;
@@ -53174,7 +53184,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53174
53184
  chainId?: number | undefined;
53175
53185
  connector?: wagmi0.Connector | undefined;
53176
53186
  } | {
53177
- abi: abitype17.Abi;
53187
+ abi: abitype35.Abi;
53178
53188
  functionName: string;
53179
53189
  args?: readonly unknown[] | undefined;
53180
53190
  address: Address;
@@ -53198,7 +53208,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53198
53208
  chainId?: number | undefined;
53199
53209
  connector?: wagmi0.Connector | undefined;
53200
53210
  } | {
53201
- abi: abitype17.Abi;
53211
+ abi: abitype35.Abi;
53202
53212
  functionName: string;
53203
53213
  args?: readonly unknown[] | undefined;
53204
53214
  address: Address;
@@ -53222,7 +53232,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53222
53232
  chainId?: number | undefined;
53223
53233
  connector?: wagmi0.Connector | undefined;
53224
53234
  } | {
53225
- abi: abitype17.Abi;
53235
+ abi: abitype35.Abi;
53226
53236
  functionName: string;
53227
53237
  args?: readonly unknown[] | undefined;
53228
53238
  address: Address;
@@ -53246,7 +53256,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53246
53256
  chainId?: number | undefined;
53247
53257
  connector?: wagmi0.Connector | undefined;
53248
53258
  } | {
53249
- abi: abitype17.Abi;
53259
+ abi: abitype35.Abi;
53250
53260
  functionName: string;
53251
53261
  args?: readonly unknown[] | undefined;
53252
53262
  address: Address;
@@ -53270,7 +53280,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53270
53280
  chainId?: number | undefined;
53271
53281
  connector?: wagmi0.Connector | undefined;
53272
53282
  } | {
53273
- abi: abitype17.Abi;
53283
+ abi: abitype35.Abi;
53274
53284
  functionName: string;
53275
53285
  args?: readonly unknown[] | undefined;
53276
53286
  address: Address;
@@ -53294,26 +53304,26 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53294
53304
  chainId?: number | undefined;
53295
53305
  connector?: wagmi0.Connector | undefined;
53296
53306
  };
53297
- isError: true;
53298
53307
  isIdle: false;
53299
- isPending: false;
53300
- isSuccess: false;
53301
53308
  reset: () => void;
53302
53309
  context: unknown;
53303
- failureCount: number;
53304
- failureReason: _wagmi_core0.WriteContractErrorType | null;
53305
- isPaused: boolean;
53306
53310
  submittedAt: number;
53307
- mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
53308
- mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
53309
- writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
53311
+ mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
53312
+ mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
53313
+ writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
53310
53314
  pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
53311
53315
  } | {
53312
- data: `0x${string}`;
53313
53316
  error: null;
53317
+ data: `0x${string}`;
53314
53318
  status: "success";
53319
+ isError: false;
53320
+ isPending: false;
53321
+ isSuccess: true;
53322
+ failureCount: number;
53323
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
53324
+ isPaused: boolean;
53315
53325
  variables: {
53316
- abi: abitype17.Abi;
53326
+ abi: abitype35.Abi;
53317
53327
  functionName: string;
53318
53328
  args?: readonly unknown[] | undefined;
53319
53329
  address: Address;
@@ -53337,7 +53347,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53337
53347
  chainId?: number | undefined;
53338
53348
  connector?: wagmi0.Connector | undefined;
53339
53349
  } | {
53340
- abi: abitype17.Abi;
53350
+ abi: abitype35.Abi;
53341
53351
  functionName: string;
53342
53352
  args?: readonly unknown[] | undefined;
53343
53353
  address: Address;
@@ -53361,7 +53371,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53361
53371
  chainId?: number | undefined;
53362
53372
  connector?: wagmi0.Connector | undefined;
53363
53373
  } | {
53364
- abi: abitype17.Abi;
53374
+ abi: abitype35.Abi;
53365
53375
  functionName: string;
53366
53376
  args?: readonly unknown[] | undefined;
53367
53377
  address: Address;
@@ -53385,7 +53395,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53385
53395
  chainId?: number | undefined;
53386
53396
  connector?: wagmi0.Connector | undefined;
53387
53397
  } | {
53388
- abi: abitype17.Abi;
53398
+ abi: abitype35.Abi;
53389
53399
  functionName: string;
53390
53400
  args?: readonly unknown[] | undefined;
53391
53401
  address: Address;
@@ -53409,7 +53419,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53409
53419
  chainId?: number | undefined;
53410
53420
  connector?: wagmi0.Connector | undefined;
53411
53421
  } | {
53412
- abi: abitype17.Abi;
53422
+ abi: abitype35.Abi;
53413
53423
  functionName: string;
53414
53424
  args?: readonly unknown[] | undefined;
53415
53425
  address: Address;
@@ -53433,7 +53443,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53433
53443
  chainId?: number | undefined;
53434
53444
  connector?: wagmi0.Connector | undefined;
53435
53445
  } | {
53436
- abi: abitype17.Abi;
53446
+ abi: abitype35.Abi;
53437
53447
  functionName: string;
53438
53448
  args?: readonly unknown[] | undefined;
53439
53449
  address: Address;
@@ -53457,19 +53467,13 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
53457
53467
  chainId?: number | undefined;
53458
53468
  connector?: wagmi0.Connector | undefined;
53459
53469
  };
53460
- isError: false;
53461
53470
  isIdle: false;
53462
- isPending: false;
53463
- isSuccess: true;
53464
53471
  reset: () => void;
53465
53472
  context: unknown;
53466
- failureCount: number;
53467
- failureReason: _wagmi_core0.WriteContractErrorType | null;
53468
- isPaused: boolean;
53469
53473
  submittedAt: number;
53470
- mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
53471
- mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
53472
- writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
53474
+ mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
53475
+ mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
53476
+ writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
53473
53477
  pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
53474
53478
  };
53475
53479
  //#endregion
@@ -53484,23 +53488,23 @@ declare const useFeeRates: (feeStrategy?: Address) => Partial<NonUndefinedGuard<
53484
53488
  //#endregion
53485
53489
  //#region src/hooks/fees/useUpdateMarketFees.d.ts
53486
53490
  declare const useUpdateMarketFees: (marketAddr: Address) => {
53487
- data: undefined;
53488
53491
  error: null;
53492
+ data: undefined;
53489
53493
  status: "idle";
53490
- variables: undefined;
53491
53494
  isError: false;
53492
- isIdle: true;
53493
53495
  isPending: false;
53494
53496
  isSuccess: false;
53495
- reset: () => void;
53496
- context: unknown;
53497
53497
  failureCount: number;
53498
53498
  failureReason: _wagmi_core0.WriteContractErrorType | null;
53499
53499
  isPaused: boolean;
53500
+ variables: undefined;
53501
+ isIdle: true;
53502
+ reset: () => void;
53503
+ context: unknown;
53500
53504
  submittedAt: number;
53501
- mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
53502
- mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
53503
- writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
53505
+ mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
53506
+ mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
53507
+ writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
53504
53508
  updateMarketFees: (rates: {
53505
53509
  openingFeeRate?: number;
53506
53510
  baseFeeRate?: number;
@@ -53513,11 +53517,17 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53513
53517
  newFeeStrategy: `0x${string}`;
53514
53518
  }>;
53515
53519
  } | {
53516
- data: undefined;
53517
53520
  error: null;
53521
+ data: undefined;
53518
53522
  status: "pending";
53523
+ isError: false;
53524
+ isPending: true;
53525
+ isSuccess: false;
53526
+ failureCount: number;
53527
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
53528
+ isPaused: boolean;
53519
53529
  variables: {
53520
- abi: abitype17.Abi;
53530
+ abi: abitype35.Abi;
53521
53531
  functionName: string;
53522
53532
  args?: readonly unknown[] | undefined;
53523
53533
  address: Address;
@@ -53541,7 +53551,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53541
53551
  chainId?: number | undefined;
53542
53552
  connector?: wagmi0.Connector | undefined;
53543
53553
  } | {
53544
- abi: abitype17.Abi;
53554
+ abi: abitype35.Abi;
53545
53555
  functionName: string;
53546
53556
  args?: readonly unknown[] | undefined;
53547
53557
  address: Address;
@@ -53565,7 +53575,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53565
53575
  chainId?: number | undefined;
53566
53576
  connector?: wagmi0.Connector | undefined;
53567
53577
  } | {
53568
- abi: abitype17.Abi;
53578
+ abi: abitype35.Abi;
53569
53579
  functionName: string;
53570
53580
  args?: readonly unknown[] | undefined;
53571
53581
  address: Address;
@@ -53589,7 +53599,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53589
53599
  chainId?: number | undefined;
53590
53600
  connector?: wagmi0.Connector | undefined;
53591
53601
  } | {
53592
- abi: abitype17.Abi;
53602
+ abi: abitype35.Abi;
53593
53603
  functionName: string;
53594
53604
  args?: readonly unknown[] | undefined;
53595
53605
  address: Address;
@@ -53613,7 +53623,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53613
53623
  chainId?: number | undefined;
53614
53624
  connector?: wagmi0.Connector | undefined;
53615
53625
  } | {
53616
- abi: abitype17.Abi;
53626
+ abi: abitype35.Abi;
53617
53627
  functionName: string;
53618
53628
  args?: readonly unknown[] | undefined;
53619
53629
  address: Address;
@@ -53637,7 +53647,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53637
53647
  chainId?: number | undefined;
53638
53648
  connector?: wagmi0.Connector | undefined;
53639
53649
  } | {
53640
- abi: abitype17.Abi;
53650
+ abi: abitype35.Abi;
53641
53651
  functionName: string;
53642
53652
  args?: readonly unknown[] | undefined;
53643
53653
  address: Address;
@@ -53661,19 +53671,13 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53661
53671
  chainId?: number | undefined;
53662
53672
  connector?: wagmi0.Connector | undefined;
53663
53673
  };
53664
- isError: false;
53665
53674
  isIdle: false;
53666
- isPending: true;
53667
- isSuccess: false;
53668
53675
  reset: () => void;
53669
53676
  context: unknown;
53670
- failureCount: number;
53671
- failureReason: _wagmi_core0.WriteContractErrorType | null;
53672
- isPaused: boolean;
53673
53677
  submittedAt: number;
53674
- mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
53675
- mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
53676
- writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
53678
+ mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
53679
+ mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
53680
+ writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
53677
53681
  updateMarketFees: (rates: {
53678
53682
  openingFeeRate?: number;
53679
53683
  baseFeeRate?: number;
@@ -53686,11 +53690,17 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53686
53690
  newFeeStrategy: `0x${string}`;
53687
53691
  }>;
53688
53692
  } | {
53689
- data: undefined;
53690
53693
  error: _wagmi_core0.WriteContractErrorType;
53694
+ data: undefined;
53691
53695
  status: "error";
53696
+ isError: true;
53697
+ isPending: false;
53698
+ isSuccess: false;
53699
+ failureCount: number;
53700
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
53701
+ isPaused: boolean;
53692
53702
  variables: {
53693
- abi: abitype17.Abi;
53703
+ abi: abitype35.Abi;
53694
53704
  functionName: string;
53695
53705
  args?: readonly unknown[] | undefined;
53696
53706
  address: Address;
@@ -53714,7 +53724,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53714
53724
  chainId?: number | undefined;
53715
53725
  connector?: wagmi0.Connector | undefined;
53716
53726
  } | {
53717
- abi: abitype17.Abi;
53727
+ abi: abitype35.Abi;
53718
53728
  functionName: string;
53719
53729
  args?: readonly unknown[] | undefined;
53720
53730
  address: Address;
@@ -53738,7 +53748,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53738
53748
  chainId?: number | undefined;
53739
53749
  connector?: wagmi0.Connector | undefined;
53740
53750
  } | {
53741
- abi: abitype17.Abi;
53751
+ abi: abitype35.Abi;
53742
53752
  functionName: string;
53743
53753
  args?: readonly unknown[] | undefined;
53744
53754
  address: Address;
@@ -53762,7 +53772,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53762
53772
  chainId?: number | undefined;
53763
53773
  connector?: wagmi0.Connector | undefined;
53764
53774
  } | {
53765
- abi: abitype17.Abi;
53775
+ abi: abitype35.Abi;
53766
53776
  functionName: string;
53767
53777
  args?: readonly unknown[] | undefined;
53768
53778
  address: Address;
@@ -53786,7 +53796,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53786
53796
  chainId?: number | undefined;
53787
53797
  connector?: wagmi0.Connector | undefined;
53788
53798
  } | {
53789
- abi: abitype17.Abi;
53799
+ abi: abitype35.Abi;
53790
53800
  functionName: string;
53791
53801
  args?: readonly unknown[] | undefined;
53792
53802
  address: Address;
@@ -53810,7 +53820,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53810
53820
  chainId?: number | undefined;
53811
53821
  connector?: wagmi0.Connector | undefined;
53812
53822
  } | {
53813
- abi: abitype17.Abi;
53823
+ abi: abitype35.Abi;
53814
53824
  functionName: string;
53815
53825
  args?: readonly unknown[] | undefined;
53816
53826
  address: Address;
@@ -53834,19 +53844,13 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53834
53844
  chainId?: number | undefined;
53835
53845
  connector?: wagmi0.Connector | undefined;
53836
53846
  };
53837
- isError: true;
53838
53847
  isIdle: false;
53839
- isPending: false;
53840
- isSuccess: false;
53841
53848
  reset: () => void;
53842
53849
  context: unknown;
53843
- failureCount: number;
53844
- failureReason: _wagmi_core0.WriteContractErrorType | null;
53845
- isPaused: boolean;
53846
53850
  submittedAt: number;
53847
- mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
53848
- mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
53849
- writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
53851
+ mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
53852
+ mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
53853
+ writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
53850
53854
  updateMarketFees: (rates: {
53851
53855
  openingFeeRate?: number;
53852
53856
  baseFeeRate?: number;
@@ -53859,11 +53863,17 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53859
53863
  newFeeStrategy: `0x${string}`;
53860
53864
  }>;
53861
53865
  } | {
53862
- data: `0x${string}`;
53863
53866
  error: null;
53867
+ data: `0x${string}`;
53864
53868
  status: "success";
53869
+ isError: false;
53870
+ isPending: false;
53871
+ isSuccess: true;
53872
+ failureCount: number;
53873
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
53874
+ isPaused: boolean;
53865
53875
  variables: {
53866
- abi: abitype17.Abi;
53876
+ abi: abitype35.Abi;
53867
53877
  functionName: string;
53868
53878
  args?: readonly unknown[] | undefined;
53869
53879
  address: Address;
@@ -53887,7 +53897,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53887
53897
  chainId?: number | undefined;
53888
53898
  connector?: wagmi0.Connector | undefined;
53889
53899
  } | {
53890
- abi: abitype17.Abi;
53900
+ abi: abitype35.Abi;
53891
53901
  functionName: string;
53892
53902
  args?: readonly unknown[] | undefined;
53893
53903
  address: Address;
@@ -53911,7 +53921,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53911
53921
  chainId?: number | undefined;
53912
53922
  connector?: wagmi0.Connector | undefined;
53913
53923
  } | {
53914
- abi: abitype17.Abi;
53924
+ abi: abitype35.Abi;
53915
53925
  functionName: string;
53916
53926
  args?: readonly unknown[] | undefined;
53917
53927
  address: Address;
@@ -53935,7 +53945,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53935
53945
  chainId?: number | undefined;
53936
53946
  connector?: wagmi0.Connector | undefined;
53937
53947
  } | {
53938
- abi: abitype17.Abi;
53948
+ abi: abitype35.Abi;
53939
53949
  functionName: string;
53940
53950
  args?: readonly unknown[] | undefined;
53941
53951
  address: Address;
@@ -53959,7 +53969,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53959
53969
  chainId?: number | undefined;
53960
53970
  connector?: wagmi0.Connector | undefined;
53961
53971
  } | {
53962
- abi: abitype17.Abi;
53972
+ abi: abitype35.Abi;
53963
53973
  functionName: string;
53964
53974
  args?: readonly unknown[] | undefined;
53965
53975
  address: Address;
@@ -53983,7 +53993,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
53983
53993
  chainId?: number | undefined;
53984
53994
  connector?: wagmi0.Connector | undefined;
53985
53995
  } | {
53986
- abi: abitype17.Abi;
53996
+ abi: abitype35.Abi;
53987
53997
  functionName: string;
53988
53998
  args?: readonly unknown[] | undefined;
53989
53999
  address: Address;
@@ -54007,19 +54017,13 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
54007
54017
  chainId?: number | undefined;
54008
54018
  connector?: wagmi0.Connector | undefined;
54009
54019
  };
54010
- isError: false;
54011
54020
  isIdle: false;
54012
- isPending: false;
54013
- isSuccess: true;
54014
54021
  reset: () => void;
54015
54022
  context: unknown;
54016
- failureCount: number;
54017
- failureReason: _wagmi_core0.WriteContractErrorType | null;
54018
- isPaused: boolean;
54019
54023
  submittedAt: number;
54020
- mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
54021
- mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
54022
- writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
54024
+ mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
54025
+ mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
54026
+ writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
54023
54027
  updateMarketFees: (rates: {
54024
54028
  openingFeeRate?: number;
54025
54029
  baseFeeRate?: number;
@@ -55009,23 +55013,23 @@ declare const useStaticPricingParams: (pricingAddr: Address | undefined) => Part
55009
55013
  //#endregion
55010
55014
  //#region src/hooks/pricing/useUpdateMarketPricing.d.ts
55011
55015
  declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55012
- data: undefined;
55013
55016
  error: null;
55017
+ data: undefined;
55014
55018
  status: "idle";
55015
- variables: undefined;
55016
55019
  isError: false;
55017
- isIdle: true;
55018
55020
  isPending: false;
55019
55021
  isSuccess: false;
55020
- reset: () => void;
55021
- context: unknown;
55022
55022
  failureCount: number;
55023
55023
  failureReason: _wagmi_core0.WriteContractErrorType | null;
55024
55024
  isPaused: boolean;
55025
+ variables: undefined;
55026
+ isIdle: true;
55027
+ reset: () => void;
55028
+ context: unknown;
55025
55029
  submittedAt: number;
55026
- mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
55027
- mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
55028
- writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
55030
+ mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
55031
+ mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
55032
+ writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
55029
55033
  updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
55030
55034
  model: "static";
55031
55035
  } : Partial<OptionPricingParams> & {
@@ -55036,11 +55040,17 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55036
55040
  newPricingAddr: `0x${string}`;
55037
55041
  }>;
55038
55042
  } | {
55039
- data: undefined;
55040
55043
  error: null;
55044
+ data: undefined;
55041
55045
  status: "pending";
55046
+ isError: false;
55047
+ isPending: true;
55048
+ isSuccess: false;
55049
+ failureCount: number;
55050
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
55051
+ isPaused: boolean;
55042
55052
  variables: {
55043
- abi: abitype17.Abi;
55053
+ abi: abitype35.Abi;
55044
55054
  functionName: string;
55045
55055
  args?: readonly unknown[] | undefined;
55046
55056
  address: Address;
@@ -55064,7 +55074,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55064
55074
  chainId?: number | undefined;
55065
55075
  connector?: wagmi0.Connector | undefined;
55066
55076
  } | {
55067
- abi: abitype17.Abi;
55077
+ abi: abitype35.Abi;
55068
55078
  functionName: string;
55069
55079
  args?: readonly unknown[] | undefined;
55070
55080
  address: Address;
@@ -55088,7 +55098,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55088
55098
  chainId?: number | undefined;
55089
55099
  connector?: wagmi0.Connector | undefined;
55090
55100
  } | {
55091
- abi: abitype17.Abi;
55101
+ abi: abitype35.Abi;
55092
55102
  functionName: string;
55093
55103
  args?: readonly unknown[] | undefined;
55094
55104
  address: Address;
@@ -55112,7 +55122,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55112
55122
  chainId?: number | undefined;
55113
55123
  connector?: wagmi0.Connector | undefined;
55114
55124
  } | {
55115
- abi: abitype17.Abi;
55125
+ abi: abitype35.Abi;
55116
55126
  functionName: string;
55117
55127
  args?: readonly unknown[] | undefined;
55118
55128
  address: Address;
@@ -55136,7 +55146,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55136
55146
  chainId?: number | undefined;
55137
55147
  connector?: wagmi0.Connector | undefined;
55138
55148
  } | {
55139
- abi: abitype17.Abi;
55149
+ abi: abitype35.Abi;
55140
55150
  functionName: string;
55141
55151
  args?: readonly unknown[] | undefined;
55142
55152
  address: Address;
@@ -55160,7 +55170,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55160
55170
  chainId?: number | undefined;
55161
55171
  connector?: wagmi0.Connector | undefined;
55162
55172
  } | {
55163
- abi: abitype17.Abi;
55173
+ abi: abitype35.Abi;
55164
55174
  functionName: string;
55165
55175
  args?: readonly unknown[] | undefined;
55166
55176
  address: Address;
@@ -55184,19 +55194,13 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55184
55194
  chainId?: number | undefined;
55185
55195
  connector?: wagmi0.Connector | undefined;
55186
55196
  };
55187
- isError: false;
55188
55197
  isIdle: false;
55189
- isPending: true;
55190
- isSuccess: false;
55191
55198
  reset: () => void;
55192
55199
  context: unknown;
55193
- failureCount: number;
55194
- failureReason: _wagmi_core0.WriteContractErrorType | null;
55195
- isPaused: boolean;
55196
55200
  submittedAt: number;
55197
- mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
55198
- mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
55199
- writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
55201
+ mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
55202
+ mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
55203
+ writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
55200
55204
  updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
55201
55205
  model: "static";
55202
55206
  } : Partial<OptionPricingParams> & {
@@ -55207,11 +55211,17 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55207
55211
  newPricingAddr: `0x${string}`;
55208
55212
  }>;
55209
55213
  } | {
55210
- data: undefined;
55211
55214
  error: _wagmi_core0.WriteContractErrorType;
55215
+ data: undefined;
55212
55216
  status: "error";
55217
+ isError: true;
55218
+ isPending: false;
55219
+ isSuccess: false;
55220
+ failureCount: number;
55221
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
55222
+ isPaused: boolean;
55213
55223
  variables: {
55214
- abi: abitype17.Abi;
55224
+ abi: abitype35.Abi;
55215
55225
  functionName: string;
55216
55226
  args?: readonly unknown[] | undefined;
55217
55227
  address: Address;
@@ -55235,7 +55245,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55235
55245
  chainId?: number | undefined;
55236
55246
  connector?: wagmi0.Connector | undefined;
55237
55247
  } | {
55238
- abi: abitype17.Abi;
55248
+ abi: abitype35.Abi;
55239
55249
  functionName: string;
55240
55250
  args?: readonly unknown[] | undefined;
55241
55251
  address: Address;
@@ -55259,7 +55269,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55259
55269
  chainId?: number | undefined;
55260
55270
  connector?: wagmi0.Connector | undefined;
55261
55271
  } | {
55262
- abi: abitype17.Abi;
55272
+ abi: abitype35.Abi;
55263
55273
  functionName: string;
55264
55274
  args?: readonly unknown[] | undefined;
55265
55275
  address: Address;
@@ -55283,7 +55293,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55283
55293
  chainId?: number | undefined;
55284
55294
  connector?: wagmi0.Connector | undefined;
55285
55295
  } | {
55286
- abi: abitype17.Abi;
55296
+ abi: abitype35.Abi;
55287
55297
  functionName: string;
55288
55298
  args?: readonly unknown[] | undefined;
55289
55299
  address: Address;
@@ -55307,7 +55317,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55307
55317
  chainId?: number | undefined;
55308
55318
  connector?: wagmi0.Connector | undefined;
55309
55319
  } | {
55310
- abi: abitype17.Abi;
55320
+ abi: abitype35.Abi;
55311
55321
  functionName: string;
55312
55322
  args?: readonly unknown[] | undefined;
55313
55323
  address: Address;
@@ -55331,7 +55341,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55331
55341
  chainId?: number | undefined;
55332
55342
  connector?: wagmi0.Connector | undefined;
55333
55343
  } | {
55334
- abi: abitype17.Abi;
55344
+ abi: abitype35.Abi;
55335
55345
  functionName: string;
55336
55346
  args?: readonly unknown[] | undefined;
55337
55347
  address: Address;
@@ -55355,19 +55365,13 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55355
55365
  chainId?: number | undefined;
55356
55366
  connector?: wagmi0.Connector | undefined;
55357
55367
  };
55358
- isError: true;
55359
55368
  isIdle: false;
55360
- isPending: false;
55361
- isSuccess: false;
55362
55369
  reset: () => void;
55363
55370
  context: unknown;
55364
- failureCount: number;
55365
- failureReason: _wagmi_core0.WriteContractErrorType | null;
55366
- isPaused: boolean;
55367
55371
  submittedAt: number;
55368
- mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
55369
- mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
55370
- writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
55372
+ mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
55373
+ mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
55374
+ writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
55371
55375
  updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
55372
55376
  model: "static";
55373
55377
  } : Partial<OptionPricingParams> & {
@@ -55378,11 +55382,17 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55378
55382
  newPricingAddr: `0x${string}`;
55379
55383
  }>;
55380
55384
  } | {
55381
- data: `0x${string}`;
55382
55385
  error: null;
55386
+ data: `0x${string}`;
55383
55387
  status: "success";
55388
+ isError: false;
55389
+ isPending: false;
55390
+ isSuccess: true;
55391
+ failureCount: number;
55392
+ failureReason: _wagmi_core0.WriteContractErrorType | null;
55393
+ isPaused: boolean;
55384
55394
  variables: {
55385
- abi: abitype17.Abi;
55395
+ abi: abitype35.Abi;
55386
55396
  functionName: string;
55387
55397
  args?: readonly unknown[] | undefined;
55388
55398
  address: Address;
@@ -55406,7 +55416,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55406
55416
  chainId?: number | undefined;
55407
55417
  connector?: wagmi0.Connector | undefined;
55408
55418
  } | {
55409
- abi: abitype17.Abi;
55419
+ abi: abitype35.Abi;
55410
55420
  functionName: string;
55411
55421
  args?: readonly unknown[] | undefined;
55412
55422
  address: Address;
@@ -55430,7 +55440,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55430
55440
  chainId?: number | undefined;
55431
55441
  connector?: wagmi0.Connector | undefined;
55432
55442
  } | {
55433
- abi: abitype17.Abi;
55443
+ abi: abitype35.Abi;
55434
55444
  functionName: string;
55435
55445
  args?: readonly unknown[] | undefined;
55436
55446
  address: Address;
@@ -55454,7 +55464,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55454
55464
  chainId?: number | undefined;
55455
55465
  connector?: wagmi0.Connector | undefined;
55456
55466
  } | {
55457
- abi: abitype17.Abi;
55467
+ abi: abitype35.Abi;
55458
55468
  functionName: string;
55459
55469
  args?: readonly unknown[] | undefined;
55460
55470
  address: Address;
@@ -55478,7 +55488,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55478
55488
  chainId?: number | undefined;
55479
55489
  connector?: wagmi0.Connector | undefined;
55480
55490
  } | {
55481
- abi: abitype17.Abi;
55491
+ abi: abitype35.Abi;
55482
55492
  functionName: string;
55483
55493
  args?: readonly unknown[] | undefined;
55484
55494
  address: Address;
@@ -55502,7 +55512,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55502
55512
  chainId?: number | undefined;
55503
55513
  connector?: wagmi0.Connector | undefined;
55504
55514
  } | {
55505
- abi: abitype17.Abi;
55515
+ abi: abitype35.Abi;
55506
55516
  functionName: string;
55507
55517
  args?: readonly unknown[] | undefined;
55508
55518
  address: Address;
@@ -55526,19 +55536,13 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
55526
55536
  chainId?: number | undefined;
55527
55537
  connector?: wagmi0.Connector | undefined;
55528
55538
  };
55529
- isError: false;
55530
55539
  isIdle: false;
55531
- isPending: false;
55532
- isSuccess: true;
55533
55540
  reset: () => void;
55534
55541
  context: unknown;
55535
- failureCount: number;
55536
- failureReason: _wagmi_core0.WriteContractErrorType | null;
55537
- isPaused: boolean;
55538
55542
  submittedAt: number;
55539
- mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
55540
- mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
55541
- writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
55543
+ mutate: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
55544
+ mutateAsync: wagmi_query23.WriteContractMutateAsync<wagmi0.Config, unknown>;
55545
+ writeContract: wagmi_query23.WriteContractMutate<wagmi0.Config, unknown>;
55542
55546
  updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
55543
55547
  model: "static";
55544
55548
  } : Partial<OptionPricingParams> & {
@@ -97776,4 +97780,4 @@ declare const useLens: () => {
97776
97780
  };
97777
97781
  //#endregion
97778
97782
  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 };
97779
- //# sourceMappingURL=client-DyoqV6dM.d.cts.map
97783
+ //# sourceMappingURL=client-DiPQ92xm.d.ts.map