timelock-sdk 0.0.189 → 0.0.190
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.
- package/dist/{client-bpABXvJa.d.cts → client-BX2dCGNQ.d.ts} +587 -587
- package/dist/{client-D-cR5vCY.d.ts → client-DyoqV6dM.d.cts} +151 -151
- package/dist/client.cjs +6 -1
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +6 -1
- package/dist/client.js.map +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-
|
|
1
|
+
import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-B0Om62Sk.cjs";
|
|
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";
|
|
6
4
|
import React, { ReactNode } from "react";
|
|
5
|
+
import "graphql";
|
|
7
6
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
8
7
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
9
8
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
10
9
|
import * as wagmi0 from "wagmi";
|
|
11
|
-
import "graphql";
|
|
12
10
|
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
|
|
15
|
-
import * as
|
|
14
|
+
import * as wagmi_query11 from "wagmi/query";
|
|
15
|
+
import * as abitype17 from "abitype";
|
|
16
16
|
|
|
17
17
|
//#region src/generated/graphql.d.ts
|
|
18
18
|
type Exact<T$1 extends {
|
|
@@ -426,7 +426,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
426
426
|
}];
|
|
427
427
|
readonly stateMutability: "nonpayable";
|
|
428
428
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
429
|
-
|
|
429
|
+
decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
430
430
|
readonly type: "constructor";
|
|
431
431
|
readonly inputs: readonly [{
|
|
432
432
|
readonly name: "name_";
|
|
@@ -604,8 +604,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
604
604
|
readonly internalType: "bool";
|
|
605
605
|
}];
|
|
606
606
|
readonly stateMutability: "nonpayable";
|
|
607
|
-
}], "
|
|
608
|
-
|
|
607
|
+
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
608
|
+
name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
609
609
|
readonly type: "constructor";
|
|
610
610
|
readonly inputs: readonly [{
|
|
611
611
|
readonly name: "name_";
|
|
@@ -783,8 +783,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
783
783
|
readonly internalType: "bool";
|
|
784
784
|
}];
|
|
785
785
|
readonly stateMutability: "nonpayable";
|
|
786
|
-
}], "
|
|
787
|
-
|
|
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
788
|
readonly type: "constructor";
|
|
789
789
|
readonly inputs: readonly [{
|
|
790
790
|
readonly name: "name_";
|
|
@@ -962,8 +962,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
962
962
|
readonly internalType: "bool";
|
|
963
963
|
}];
|
|
964
964
|
readonly stateMutability: "nonpayable";
|
|
965
|
-
}], "
|
|
966
|
-
|
|
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
967
|
readonly type: "constructor";
|
|
968
968
|
readonly inputs: readonly [{
|
|
969
969
|
readonly name: "name_";
|
|
@@ -1141,7 +1141,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1141
1141
|
readonly internalType: "bool";
|
|
1142
1142
|
}];
|
|
1143
1143
|
readonly stateMutability: "nonpayable";
|
|
1144
|
-
}], "
|
|
1144
|
+
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
1145
1145
|
totalSupply: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
1146
1146
|
readonly type: "constructor";
|
|
1147
1147
|
readonly inputs: readonly [{
|
|
@@ -52453,8 +52453,8 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => wagmi0.UseRead
|
|
|
52453
52453
|
//#endregion
|
|
52454
52454
|
//#region src/hooks/guardian/usePauseGlobalTrading.d.ts
|
|
52455
52455
|
declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
52456
|
-
error: null;
|
|
52457
52456
|
data: undefined;
|
|
52457
|
+
error: null;
|
|
52458
52458
|
status: "idle";
|
|
52459
52459
|
variables: undefined;
|
|
52460
52460
|
isError: false;
|
|
@@ -52467,16 +52467,16 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52467
52467
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52468
52468
|
isPaused: boolean;
|
|
52469
52469
|
submittedAt: number;
|
|
52470
|
-
mutate:
|
|
52471
|
-
mutateAsync:
|
|
52472
|
-
writeContract:
|
|
52470
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52471
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52472
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52473
52473
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52474
52474
|
} | {
|
|
52475
|
-
error: null;
|
|
52476
52475
|
data: undefined;
|
|
52476
|
+
error: null;
|
|
52477
52477
|
status: "pending";
|
|
52478
52478
|
variables: {
|
|
52479
|
-
abi:
|
|
52479
|
+
abi: abitype17.Abi;
|
|
52480
52480
|
functionName: string;
|
|
52481
52481
|
args?: readonly unknown[] | undefined;
|
|
52482
52482
|
address: Address;
|
|
@@ -52500,7 +52500,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52500
52500
|
chainId?: number | undefined;
|
|
52501
52501
|
connector?: wagmi0.Connector | undefined;
|
|
52502
52502
|
} | {
|
|
52503
|
-
abi:
|
|
52503
|
+
abi: abitype17.Abi;
|
|
52504
52504
|
functionName: string;
|
|
52505
52505
|
args?: readonly unknown[] | undefined;
|
|
52506
52506
|
address: Address;
|
|
@@ -52524,7 +52524,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52524
52524
|
chainId?: number | undefined;
|
|
52525
52525
|
connector?: wagmi0.Connector | undefined;
|
|
52526
52526
|
} | {
|
|
52527
|
-
abi:
|
|
52527
|
+
abi: abitype17.Abi;
|
|
52528
52528
|
functionName: string;
|
|
52529
52529
|
args?: readonly unknown[] | undefined;
|
|
52530
52530
|
address: Address;
|
|
@@ -52548,7 +52548,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52548
52548
|
chainId?: number | undefined;
|
|
52549
52549
|
connector?: wagmi0.Connector | undefined;
|
|
52550
52550
|
} | {
|
|
52551
|
-
abi:
|
|
52551
|
+
abi: abitype17.Abi;
|
|
52552
52552
|
functionName: string;
|
|
52553
52553
|
args?: readonly unknown[] | undefined;
|
|
52554
52554
|
address: Address;
|
|
@@ -52572,7 +52572,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52572
52572
|
chainId?: number | undefined;
|
|
52573
52573
|
connector?: wagmi0.Connector | undefined;
|
|
52574
52574
|
} | {
|
|
52575
|
-
abi:
|
|
52575
|
+
abi: abitype17.Abi;
|
|
52576
52576
|
functionName: string;
|
|
52577
52577
|
args?: readonly unknown[] | undefined;
|
|
52578
52578
|
address: Address;
|
|
@@ -52596,7 +52596,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52596
52596
|
chainId?: number | undefined;
|
|
52597
52597
|
connector?: wagmi0.Connector | undefined;
|
|
52598
52598
|
} | {
|
|
52599
|
-
abi:
|
|
52599
|
+
abi: abitype17.Abi;
|
|
52600
52600
|
functionName: string;
|
|
52601
52601
|
args?: readonly unknown[] | undefined;
|
|
52602
52602
|
address: Address;
|
|
@@ -52630,16 +52630,16 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52630
52630
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52631
52631
|
isPaused: boolean;
|
|
52632
52632
|
submittedAt: number;
|
|
52633
|
-
mutate:
|
|
52634
|
-
mutateAsync:
|
|
52635
|
-
writeContract:
|
|
52633
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52634
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52635
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52636
52636
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52637
52637
|
} | {
|
|
52638
|
-
error: _wagmi_core0.WriteContractErrorType;
|
|
52639
52638
|
data: undefined;
|
|
52639
|
+
error: _wagmi_core0.WriteContractErrorType;
|
|
52640
52640
|
status: "error";
|
|
52641
52641
|
variables: {
|
|
52642
|
-
abi:
|
|
52642
|
+
abi: abitype17.Abi;
|
|
52643
52643
|
functionName: string;
|
|
52644
52644
|
args?: readonly unknown[] | undefined;
|
|
52645
52645
|
address: Address;
|
|
@@ -52663,7 +52663,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52663
52663
|
chainId?: number | undefined;
|
|
52664
52664
|
connector?: wagmi0.Connector | undefined;
|
|
52665
52665
|
} | {
|
|
52666
|
-
abi:
|
|
52666
|
+
abi: abitype17.Abi;
|
|
52667
52667
|
functionName: string;
|
|
52668
52668
|
args?: readonly unknown[] | undefined;
|
|
52669
52669
|
address: Address;
|
|
@@ -52687,7 +52687,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52687
52687
|
chainId?: number | undefined;
|
|
52688
52688
|
connector?: wagmi0.Connector | undefined;
|
|
52689
52689
|
} | {
|
|
52690
|
-
abi:
|
|
52690
|
+
abi: abitype17.Abi;
|
|
52691
52691
|
functionName: string;
|
|
52692
52692
|
args?: readonly unknown[] | undefined;
|
|
52693
52693
|
address: Address;
|
|
@@ -52711,7 +52711,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52711
52711
|
chainId?: number | undefined;
|
|
52712
52712
|
connector?: wagmi0.Connector | undefined;
|
|
52713
52713
|
} | {
|
|
52714
|
-
abi:
|
|
52714
|
+
abi: abitype17.Abi;
|
|
52715
52715
|
functionName: string;
|
|
52716
52716
|
args?: readonly unknown[] | undefined;
|
|
52717
52717
|
address: Address;
|
|
@@ -52735,7 +52735,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52735
52735
|
chainId?: number | undefined;
|
|
52736
52736
|
connector?: wagmi0.Connector | undefined;
|
|
52737
52737
|
} | {
|
|
52738
|
-
abi:
|
|
52738
|
+
abi: abitype17.Abi;
|
|
52739
52739
|
functionName: string;
|
|
52740
52740
|
args?: readonly unknown[] | undefined;
|
|
52741
52741
|
address: Address;
|
|
@@ -52759,7 +52759,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52759
52759
|
chainId?: number | undefined;
|
|
52760
52760
|
connector?: wagmi0.Connector | undefined;
|
|
52761
52761
|
} | {
|
|
52762
|
-
abi:
|
|
52762
|
+
abi: abitype17.Abi;
|
|
52763
52763
|
functionName: string;
|
|
52764
52764
|
args?: readonly unknown[] | undefined;
|
|
52765
52765
|
address: Address;
|
|
@@ -52793,16 +52793,16 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52793
52793
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52794
52794
|
isPaused: boolean;
|
|
52795
52795
|
submittedAt: number;
|
|
52796
|
-
mutate:
|
|
52797
|
-
mutateAsync:
|
|
52798
|
-
writeContract:
|
|
52796
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52797
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52798
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52799
52799
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52800
52800
|
} | {
|
|
52801
|
-
error: null;
|
|
52802
52801
|
data: `0x${string}`;
|
|
52802
|
+
error: null;
|
|
52803
52803
|
status: "success";
|
|
52804
52804
|
variables: {
|
|
52805
|
-
abi:
|
|
52805
|
+
abi: abitype17.Abi;
|
|
52806
52806
|
functionName: string;
|
|
52807
52807
|
args?: readonly unknown[] | undefined;
|
|
52808
52808
|
address: Address;
|
|
@@ -52826,7 +52826,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52826
52826
|
chainId?: number | undefined;
|
|
52827
52827
|
connector?: wagmi0.Connector | undefined;
|
|
52828
52828
|
} | {
|
|
52829
|
-
abi:
|
|
52829
|
+
abi: abitype17.Abi;
|
|
52830
52830
|
functionName: string;
|
|
52831
52831
|
args?: readonly unknown[] | undefined;
|
|
52832
52832
|
address: Address;
|
|
@@ -52850,7 +52850,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52850
52850
|
chainId?: number | undefined;
|
|
52851
52851
|
connector?: wagmi0.Connector | undefined;
|
|
52852
52852
|
} | {
|
|
52853
|
-
abi:
|
|
52853
|
+
abi: abitype17.Abi;
|
|
52854
52854
|
functionName: string;
|
|
52855
52855
|
args?: readonly unknown[] | undefined;
|
|
52856
52856
|
address: Address;
|
|
@@ -52874,7 +52874,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52874
52874
|
chainId?: number | undefined;
|
|
52875
52875
|
connector?: wagmi0.Connector | undefined;
|
|
52876
52876
|
} | {
|
|
52877
|
-
abi:
|
|
52877
|
+
abi: abitype17.Abi;
|
|
52878
52878
|
functionName: string;
|
|
52879
52879
|
args?: readonly unknown[] | undefined;
|
|
52880
52880
|
address: Address;
|
|
@@ -52898,7 +52898,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52898
52898
|
chainId?: number | undefined;
|
|
52899
52899
|
connector?: wagmi0.Connector | undefined;
|
|
52900
52900
|
} | {
|
|
52901
|
-
abi:
|
|
52901
|
+
abi: abitype17.Abi;
|
|
52902
52902
|
functionName: string;
|
|
52903
52903
|
args?: readonly unknown[] | undefined;
|
|
52904
52904
|
address: Address;
|
|
@@ -52922,7 +52922,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52922
52922
|
chainId?: number | undefined;
|
|
52923
52923
|
connector?: wagmi0.Connector | undefined;
|
|
52924
52924
|
} | {
|
|
52925
|
-
abi:
|
|
52925
|
+
abi: abitype17.Abi;
|
|
52926
52926
|
functionName: string;
|
|
52927
52927
|
args?: readonly unknown[] | undefined;
|
|
52928
52928
|
address: Address;
|
|
@@ -52956,16 +52956,16 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52956
52956
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52957
52957
|
isPaused: boolean;
|
|
52958
52958
|
submittedAt: number;
|
|
52959
|
-
mutate:
|
|
52960
|
-
mutateAsync:
|
|
52961
|
-
writeContract:
|
|
52959
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52960
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52961
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52962
52962
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52963
52963
|
};
|
|
52964
52964
|
//#endregion
|
|
52965
52965
|
//#region src/hooks/guardian/usePauseMarketTrading.d.ts
|
|
52966
52966
|
declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
52967
|
-
error: null;
|
|
52968
52967
|
data: undefined;
|
|
52968
|
+
error: null;
|
|
52969
52969
|
status: "idle";
|
|
52970
52970
|
variables: undefined;
|
|
52971
52971
|
isError: false;
|
|
@@ -52978,16 +52978,16 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
52978
52978
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52979
52979
|
isPaused: boolean;
|
|
52980
52980
|
submittedAt: number;
|
|
52981
|
-
mutate:
|
|
52982
|
-
mutateAsync:
|
|
52983
|
-
writeContract:
|
|
52981
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52982
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52983
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52984
52984
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52985
52985
|
} | {
|
|
52986
|
-
error: null;
|
|
52987
52986
|
data: undefined;
|
|
52987
|
+
error: null;
|
|
52988
52988
|
status: "pending";
|
|
52989
52989
|
variables: {
|
|
52990
|
-
abi:
|
|
52990
|
+
abi: abitype17.Abi;
|
|
52991
52991
|
functionName: string;
|
|
52992
52992
|
args?: readonly unknown[] | undefined;
|
|
52993
52993
|
address: Address;
|
|
@@ -53011,7 +53011,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53011
53011
|
chainId?: number | undefined;
|
|
53012
53012
|
connector?: wagmi0.Connector | undefined;
|
|
53013
53013
|
} | {
|
|
53014
|
-
abi:
|
|
53014
|
+
abi: abitype17.Abi;
|
|
53015
53015
|
functionName: string;
|
|
53016
53016
|
args?: readonly unknown[] | undefined;
|
|
53017
53017
|
address: Address;
|
|
@@ -53035,7 +53035,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53035
53035
|
chainId?: number | undefined;
|
|
53036
53036
|
connector?: wagmi0.Connector | undefined;
|
|
53037
53037
|
} | {
|
|
53038
|
-
abi:
|
|
53038
|
+
abi: abitype17.Abi;
|
|
53039
53039
|
functionName: string;
|
|
53040
53040
|
args?: readonly unknown[] | undefined;
|
|
53041
53041
|
address: Address;
|
|
@@ -53059,7 +53059,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53059
53059
|
chainId?: number | undefined;
|
|
53060
53060
|
connector?: wagmi0.Connector | undefined;
|
|
53061
53061
|
} | {
|
|
53062
|
-
abi:
|
|
53062
|
+
abi: abitype17.Abi;
|
|
53063
53063
|
functionName: string;
|
|
53064
53064
|
args?: readonly unknown[] | undefined;
|
|
53065
53065
|
address: Address;
|
|
@@ -53083,7 +53083,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53083
53083
|
chainId?: number | undefined;
|
|
53084
53084
|
connector?: wagmi0.Connector | undefined;
|
|
53085
53085
|
} | {
|
|
53086
|
-
abi:
|
|
53086
|
+
abi: abitype17.Abi;
|
|
53087
53087
|
functionName: string;
|
|
53088
53088
|
args?: readonly unknown[] | undefined;
|
|
53089
53089
|
address: Address;
|
|
@@ -53107,7 +53107,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53107
53107
|
chainId?: number | undefined;
|
|
53108
53108
|
connector?: wagmi0.Connector | undefined;
|
|
53109
53109
|
} | {
|
|
53110
|
-
abi:
|
|
53110
|
+
abi: abitype17.Abi;
|
|
53111
53111
|
functionName: string;
|
|
53112
53112
|
args?: readonly unknown[] | undefined;
|
|
53113
53113
|
address: Address;
|
|
@@ -53141,16 +53141,16 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53141
53141
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53142
53142
|
isPaused: boolean;
|
|
53143
53143
|
submittedAt: number;
|
|
53144
|
-
mutate:
|
|
53145
|
-
mutateAsync:
|
|
53146
|
-
writeContract:
|
|
53144
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53145
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53146
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53147
53147
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53148
53148
|
} | {
|
|
53149
|
-
error: _wagmi_core0.WriteContractErrorType;
|
|
53150
53149
|
data: undefined;
|
|
53150
|
+
error: _wagmi_core0.WriteContractErrorType;
|
|
53151
53151
|
status: "error";
|
|
53152
53152
|
variables: {
|
|
53153
|
-
abi:
|
|
53153
|
+
abi: abitype17.Abi;
|
|
53154
53154
|
functionName: string;
|
|
53155
53155
|
args?: readonly unknown[] | undefined;
|
|
53156
53156
|
address: Address;
|
|
@@ -53174,7 +53174,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53174
53174
|
chainId?: number | undefined;
|
|
53175
53175
|
connector?: wagmi0.Connector | undefined;
|
|
53176
53176
|
} | {
|
|
53177
|
-
abi:
|
|
53177
|
+
abi: abitype17.Abi;
|
|
53178
53178
|
functionName: string;
|
|
53179
53179
|
args?: readonly unknown[] | undefined;
|
|
53180
53180
|
address: Address;
|
|
@@ -53198,7 +53198,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53198
53198
|
chainId?: number | undefined;
|
|
53199
53199
|
connector?: wagmi0.Connector | undefined;
|
|
53200
53200
|
} | {
|
|
53201
|
-
abi:
|
|
53201
|
+
abi: abitype17.Abi;
|
|
53202
53202
|
functionName: string;
|
|
53203
53203
|
args?: readonly unknown[] | undefined;
|
|
53204
53204
|
address: Address;
|
|
@@ -53222,7 +53222,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53222
53222
|
chainId?: number | undefined;
|
|
53223
53223
|
connector?: wagmi0.Connector | undefined;
|
|
53224
53224
|
} | {
|
|
53225
|
-
abi:
|
|
53225
|
+
abi: abitype17.Abi;
|
|
53226
53226
|
functionName: string;
|
|
53227
53227
|
args?: readonly unknown[] | undefined;
|
|
53228
53228
|
address: Address;
|
|
@@ -53246,7 +53246,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53246
53246
|
chainId?: number | undefined;
|
|
53247
53247
|
connector?: wagmi0.Connector | undefined;
|
|
53248
53248
|
} | {
|
|
53249
|
-
abi:
|
|
53249
|
+
abi: abitype17.Abi;
|
|
53250
53250
|
functionName: string;
|
|
53251
53251
|
args?: readonly unknown[] | undefined;
|
|
53252
53252
|
address: Address;
|
|
@@ -53270,7 +53270,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53270
53270
|
chainId?: number | undefined;
|
|
53271
53271
|
connector?: wagmi0.Connector | undefined;
|
|
53272
53272
|
} | {
|
|
53273
|
-
abi:
|
|
53273
|
+
abi: abitype17.Abi;
|
|
53274
53274
|
functionName: string;
|
|
53275
53275
|
args?: readonly unknown[] | undefined;
|
|
53276
53276
|
address: Address;
|
|
@@ -53304,16 +53304,16 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53304
53304
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53305
53305
|
isPaused: boolean;
|
|
53306
53306
|
submittedAt: number;
|
|
53307
|
-
mutate:
|
|
53308
|
-
mutateAsync:
|
|
53309
|
-
writeContract:
|
|
53307
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53308
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53309
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53310
53310
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53311
53311
|
} | {
|
|
53312
|
-
error: null;
|
|
53313
53312
|
data: `0x${string}`;
|
|
53313
|
+
error: null;
|
|
53314
53314
|
status: "success";
|
|
53315
53315
|
variables: {
|
|
53316
|
-
abi:
|
|
53316
|
+
abi: abitype17.Abi;
|
|
53317
53317
|
functionName: string;
|
|
53318
53318
|
args?: readonly unknown[] | undefined;
|
|
53319
53319
|
address: Address;
|
|
@@ -53337,7 +53337,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53337
53337
|
chainId?: number | undefined;
|
|
53338
53338
|
connector?: wagmi0.Connector | undefined;
|
|
53339
53339
|
} | {
|
|
53340
|
-
abi:
|
|
53340
|
+
abi: abitype17.Abi;
|
|
53341
53341
|
functionName: string;
|
|
53342
53342
|
args?: readonly unknown[] | undefined;
|
|
53343
53343
|
address: Address;
|
|
@@ -53361,7 +53361,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53361
53361
|
chainId?: number | undefined;
|
|
53362
53362
|
connector?: wagmi0.Connector | undefined;
|
|
53363
53363
|
} | {
|
|
53364
|
-
abi:
|
|
53364
|
+
abi: abitype17.Abi;
|
|
53365
53365
|
functionName: string;
|
|
53366
53366
|
args?: readonly unknown[] | undefined;
|
|
53367
53367
|
address: Address;
|
|
@@ -53385,7 +53385,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53385
53385
|
chainId?: number | undefined;
|
|
53386
53386
|
connector?: wagmi0.Connector | undefined;
|
|
53387
53387
|
} | {
|
|
53388
|
-
abi:
|
|
53388
|
+
abi: abitype17.Abi;
|
|
53389
53389
|
functionName: string;
|
|
53390
53390
|
args?: readonly unknown[] | undefined;
|
|
53391
53391
|
address: Address;
|
|
@@ -53409,7 +53409,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53409
53409
|
chainId?: number | undefined;
|
|
53410
53410
|
connector?: wagmi0.Connector | undefined;
|
|
53411
53411
|
} | {
|
|
53412
|
-
abi:
|
|
53412
|
+
abi: abitype17.Abi;
|
|
53413
53413
|
functionName: string;
|
|
53414
53414
|
args?: readonly unknown[] | undefined;
|
|
53415
53415
|
address: Address;
|
|
@@ -53433,7 +53433,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53433
53433
|
chainId?: number | undefined;
|
|
53434
53434
|
connector?: wagmi0.Connector | undefined;
|
|
53435
53435
|
} | {
|
|
53436
|
-
abi:
|
|
53436
|
+
abi: abitype17.Abi;
|
|
53437
53437
|
functionName: string;
|
|
53438
53438
|
args?: readonly unknown[] | undefined;
|
|
53439
53439
|
address: Address;
|
|
@@ -53467,9 +53467,9 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53467
53467
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53468
53468
|
isPaused: boolean;
|
|
53469
53469
|
submittedAt: number;
|
|
53470
|
-
mutate:
|
|
53471
|
-
mutateAsync:
|
|
53472
|
-
writeContract:
|
|
53470
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53471
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53472
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53473
53473
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53474
53474
|
};
|
|
53475
53475
|
//#endregion
|
|
@@ -53484,8 +53484,8 @@ declare const useFeeRates: (feeStrategy?: Address) => Partial<NonUndefinedGuard<
|
|
|
53484
53484
|
//#endregion
|
|
53485
53485
|
//#region src/hooks/fees/useUpdateMarketFees.d.ts
|
|
53486
53486
|
declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
53487
|
-
error: null;
|
|
53488
53487
|
data: undefined;
|
|
53488
|
+
error: null;
|
|
53489
53489
|
status: "idle";
|
|
53490
53490
|
variables: undefined;
|
|
53491
53491
|
isError: false;
|
|
@@ -53498,9 +53498,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53498
53498
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53499
53499
|
isPaused: boolean;
|
|
53500
53500
|
submittedAt: number;
|
|
53501
|
-
mutate:
|
|
53502
|
-
mutateAsync:
|
|
53503
|
-
writeContract:
|
|
53501
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53502
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53503
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53504
53504
|
updateMarketFees: (rates: {
|
|
53505
53505
|
openingFeeRate?: number;
|
|
53506
53506
|
baseFeeRate?: number;
|
|
@@ -53513,11 +53513,11 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53513
53513
|
newFeeStrategy: `0x${string}`;
|
|
53514
53514
|
}>;
|
|
53515
53515
|
} | {
|
|
53516
|
-
error: null;
|
|
53517
53516
|
data: undefined;
|
|
53517
|
+
error: null;
|
|
53518
53518
|
status: "pending";
|
|
53519
53519
|
variables: {
|
|
53520
|
-
abi:
|
|
53520
|
+
abi: abitype17.Abi;
|
|
53521
53521
|
functionName: string;
|
|
53522
53522
|
args?: readonly unknown[] | undefined;
|
|
53523
53523
|
address: Address;
|
|
@@ -53541,7 +53541,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53541
53541
|
chainId?: number | undefined;
|
|
53542
53542
|
connector?: wagmi0.Connector | undefined;
|
|
53543
53543
|
} | {
|
|
53544
|
-
abi:
|
|
53544
|
+
abi: abitype17.Abi;
|
|
53545
53545
|
functionName: string;
|
|
53546
53546
|
args?: readonly unknown[] | undefined;
|
|
53547
53547
|
address: Address;
|
|
@@ -53565,7 +53565,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53565
53565
|
chainId?: number | undefined;
|
|
53566
53566
|
connector?: wagmi0.Connector | undefined;
|
|
53567
53567
|
} | {
|
|
53568
|
-
abi:
|
|
53568
|
+
abi: abitype17.Abi;
|
|
53569
53569
|
functionName: string;
|
|
53570
53570
|
args?: readonly unknown[] | undefined;
|
|
53571
53571
|
address: Address;
|
|
@@ -53589,7 +53589,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53589
53589
|
chainId?: number | undefined;
|
|
53590
53590
|
connector?: wagmi0.Connector | undefined;
|
|
53591
53591
|
} | {
|
|
53592
|
-
abi:
|
|
53592
|
+
abi: abitype17.Abi;
|
|
53593
53593
|
functionName: string;
|
|
53594
53594
|
args?: readonly unknown[] | undefined;
|
|
53595
53595
|
address: Address;
|
|
@@ -53613,7 +53613,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53613
53613
|
chainId?: number | undefined;
|
|
53614
53614
|
connector?: wagmi0.Connector | undefined;
|
|
53615
53615
|
} | {
|
|
53616
|
-
abi:
|
|
53616
|
+
abi: abitype17.Abi;
|
|
53617
53617
|
functionName: string;
|
|
53618
53618
|
args?: readonly unknown[] | undefined;
|
|
53619
53619
|
address: Address;
|
|
@@ -53637,7 +53637,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53637
53637
|
chainId?: number | undefined;
|
|
53638
53638
|
connector?: wagmi0.Connector | undefined;
|
|
53639
53639
|
} | {
|
|
53640
|
-
abi:
|
|
53640
|
+
abi: abitype17.Abi;
|
|
53641
53641
|
functionName: string;
|
|
53642
53642
|
args?: readonly unknown[] | undefined;
|
|
53643
53643
|
address: Address;
|
|
@@ -53671,9 +53671,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53671
53671
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53672
53672
|
isPaused: boolean;
|
|
53673
53673
|
submittedAt: number;
|
|
53674
|
-
mutate:
|
|
53675
|
-
mutateAsync:
|
|
53676
|
-
writeContract:
|
|
53674
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53675
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53676
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53677
53677
|
updateMarketFees: (rates: {
|
|
53678
53678
|
openingFeeRate?: number;
|
|
53679
53679
|
baseFeeRate?: number;
|
|
@@ -53686,11 +53686,11 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53686
53686
|
newFeeStrategy: `0x${string}`;
|
|
53687
53687
|
}>;
|
|
53688
53688
|
} | {
|
|
53689
|
-
error: _wagmi_core0.WriteContractErrorType;
|
|
53690
53689
|
data: undefined;
|
|
53690
|
+
error: _wagmi_core0.WriteContractErrorType;
|
|
53691
53691
|
status: "error";
|
|
53692
53692
|
variables: {
|
|
53693
|
-
abi:
|
|
53693
|
+
abi: abitype17.Abi;
|
|
53694
53694
|
functionName: string;
|
|
53695
53695
|
args?: readonly unknown[] | undefined;
|
|
53696
53696
|
address: Address;
|
|
@@ -53714,7 +53714,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53714
53714
|
chainId?: number | undefined;
|
|
53715
53715
|
connector?: wagmi0.Connector | undefined;
|
|
53716
53716
|
} | {
|
|
53717
|
-
abi:
|
|
53717
|
+
abi: abitype17.Abi;
|
|
53718
53718
|
functionName: string;
|
|
53719
53719
|
args?: readonly unknown[] | undefined;
|
|
53720
53720
|
address: Address;
|
|
@@ -53738,7 +53738,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53738
53738
|
chainId?: number | undefined;
|
|
53739
53739
|
connector?: wagmi0.Connector | undefined;
|
|
53740
53740
|
} | {
|
|
53741
|
-
abi:
|
|
53741
|
+
abi: abitype17.Abi;
|
|
53742
53742
|
functionName: string;
|
|
53743
53743
|
args?: readonly unknown[] | undefined;
|
|
53744
53744
|
address: Address;
|
|
@@ -53762,7 +53762,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53762
53762
|
chainId?: number | undefined;
|
|
53763
53763
|
connector?: wagmi0.Connector | undefined;
|
|
53764
53764
|
} | {
|
|
53765
|
-
abi:
|
|
53765
|
+
abi: abitype17.Abi;
|
|
53766
53766
|
functionName: string;
|
|
53767
53767
|
args?: readonly unknown[] | undefined;
|
|
53768
53768
|
address: Address;
|
|
@@ -53786,7 +53786,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53786
53786
|
chainId?: number | undefined;
|
|
53787
53787
|
connector?: wagmi0.Connector | undefined;
|
|
53788
53788
|
} | {
|
|
53789
|
-
abi:
|
|
53789
|
+
abi: abitype17.Abi;
|
|
53790
53790
|
functionName: string;
|
|
53791
53791
|
args?: readonly unknown[] | undefined;
|
|
53792
53792
|
address: Address;
|
|
@@ -53810,7 +53810,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53810
53810
|
chainId?: number | undefined;
|
|
53811
53811
|
connector?: wagmi0.Connector | undefined;
|
|
53812
53812
|
} | {
|
|
53813
|
-
abi:
|
|
53813
|
+
abi: abitype17.Abi;
|
|
53814
53814
|
functionName: string;
|
|
53815
53815
|
args?: readonly unknown[] | undefined;
|
|
53816
53816
|
address: Address;
|
|
@@ -53844,9 +53844,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53844
53844
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53845
53845
|
isPaused: boolean;
|
|
53846
53846
|
submittedAt: number;
|
|
53847
|
-
mutate:
|
|
53848
|
-
mutateAsync:
|
|
53849
|
-
writeContract:
|
|
53847
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53848
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53849
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53850
53850
|
updateMarketFees: (rates: {
|
|
53851
53851
|
openingFeeRate?: number;
|
|
53852
53852
|
baseFeeRate?: number;
|
|
@@ -53859,11 +53859,11 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53859
53859
|
newFeeStrategy: `0x${string}`;
|
|
53860
53860
|
}>;
|
|
53861
53861
|
} | {
|
|
53862
|
-
error: null;
|
|
53863
53862
|
data: `0x${string}`;
|
|
53863
|
+
error: null;
|
|
53864
53864
|
status: "success";
|
|
53865
53865
|
variables: {
|
|
53866
|
-
abi:
|
|
53866
|
+
abi: abitype17.Abi;
|
|
53867
53867
|
functionName: string;
|
|
53868
53868
|
args?: readonly unknown[] | undefined;
|
|
53869
53869
|
address: Address;
|
|
@@ -53887,7 +53887,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53887
53887
|
chainId?: number | undefined;
|
|
53888
53888
|
connector?: wagmi0.Connector | undefined;
|
|
53889
53889
|
} | {
|
|
53890
|
-
abi:
|
|
53890
|
+
abi: abitype17.Abi;
|
|
53891
53891
|
functionName: string;
|
|
53892
53892
|
args?: readonly unknown[] | undefined;
|
|
53893
53893
|
address: Address;
|
|
@@ -53911,7 +53911,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53911
53911
|
chainId?: number | undefined;
|
|
53912
53912
|
connector?: wagmi0.Connector | undefined;
|
|
53913
53913
|
} | {
|
|
53914
|
-
abi:
|
|
53914
|
+
abi: abitype17.Abi;
|
|
53915
53915
|
functionName: string;
|
|
53916
53916
|
args?: readonly unknown[] | undefined;
|
|
53917
53917
|
address: Address;
|
|
@@ -53935,7 +53935,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53935
53935
|
chainId?: number | undefined;
|
|
53936
53936
|
connector?: wagmi0.Connector | undefined;
|
|
53937
53937
|
} | {
|
|
53938
|
-
abi:
|
|
53938
|
+
abi: abitype17.Abi;
|
|
53939
53939
|
functionName: string;
|
|
53940
53940
|
args?: readonly unknown[] | undefined;
|
|
53941
53941
|
address: Address;
|
|
@@ -53959,7 +53959,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53959
53959
|
chainId?: number | undefined;
|
|
53960
53960
|
connector?: wagmi0.Connector | undefined;
|
|
53961
53961
|
} | {
|
|
53962
|
-
abi:
|
|
53962
|
+
abi: abitype17.Abi;
|
|
53963
53963
|
functionName: string;
|
|
53964
53964
|
args?: readonly unknown[] | undefined;
|
|
53965
53965
|
address: Address;
|
|
@@ -53983,7 +53983,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53983
53983
|
chainId?: number | undefined;
|
|
53984
53984
|
connector?: wagmi0.Connector | undefined;
|
|
53985
53985
|
} | {
|
|
53986
|
-
abi:
|
|
53986
|
+
abi: abitype17.Abi;
|
|
53987
53987
|
functionName: string;
|
|
53988
53988
|
args?: readonly unknown[] | undefined;
|
|
53989
53989
|
address: Address;
|
|
@@ -54017,9 +54017,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
54017
54017
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
54018
54018
|
isPaused: boolean;
|
|
54019
54019
|
submittedAt: number;
|
|
54020
|
-
mutate:
|
|
54021
|
-
mutateAsync:
|
|
54022
|
-
writeContract:
|
|
54020
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
54021
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
54022
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
54023
54023
|
updateMarketFees: (rates: {
|
|
54024
54024
|
openingFeeRate?: number;
|
|
54025
54025
|
baseFeeRate?: number;
|
|
@@ -55009,8 +55009,8 @@ declare const useStaticPricingParams: (pricingAddr: Address | undefined) => Part
|
|
|
55009
55009
|
//#endregion
|
|
55010
55010
|
//#region src/hooks/pricing/useUpdateMarketPricing.d.ts
|
|
55011
55011
|
declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
55012
|
-
error: null;
|
|
55013
55012
|
data: undefined;
|
|
55013
|
+
error: null;
|
|
55014
55014
|
status: "idle";
|
|
55015
55015
|
variables: undefined;
|
|
55016
55016
|
isError: false;
|
|
@@ -55023,9 +55023,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55023
55023
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55024
55024
|
isPaused: boolean;
|
|
55025
55025
|
submittedAt: number;
|
|
55026
|
-
mutate:
|
|
55027
|
-
mutateAsync:
|
|
55028
|
-
writeContract:
|
|
55026
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55027
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55028
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55029
55029
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55030
55030
|
model: "static";
|
|
55031
55031
|
} : Partial<OptionPricingParams> & {
|
|
@@ -55036,11 +55036,11 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55036
55036
|
newPricingAddr: `0x${string}`;
|
|
55037
55037
|
}>;
|
|
55038
55038
|
} | {
|
|
55039
|
-
error: null;
|
|
55040
55039
|
data: undefined;
|
|
55040
|
+
error: null;
|
|
55041
55041
|
status: "pending";
|
|
55042
55042
|
variables: {
|
|
55043
|
-
abi:
|
|
55043
|
+
abi: abitype17.Abi;
|
|
55044
55044
|
functionName: string;
|
|
55045
55045
|
args?: readonly unknown[] | undefined;
|
|
55046
55046
|
address: Address;
|
|
@@ -55064,7 +55064,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55064
55064
|
chainId?: number | undefined;
|
|
55065
55065
|
connector?: wagmi0.Connector | undefined;
|
|
55066
55066
|
} | {
|
|
55067
|
-
abi:
|
|
55067
|
+
abi: abitype17.Abi;
|
|
55068
55068
|
functionName: string;
|
|
55069
55069
|
args?: readonly unknown[] | undefined;
|
|
55070
55070
|
address: Address;
|
|
@@ -55088,7 +55088,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55088
55088
|
chainId?: number | undefined;
|
|
55089
55089
|
connector?: wagmi0.Connector | undefined;
|
|
55090
55090
|
} | {
|
|
55091
|
-
abi:
|
|
55091
|
+
abi: abitype17.Abi;
|
|
55092
55092
|
functionName: string;
|
|
55093
55093
|
args?: readonly unknown[] | undefined;
|
|
55094
55094
|
address: Address;
|
|
@@ -55112,7 +55112,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55112
55112
|
chainId?: number | undefined;
|
|
55113
55113
|
connector?: wagmi0.Connector | undefined;
|
|
55114
55114
|
} | {
|
|
55115
|
-
abi:
|
|
55115
|
+
abi: abitype17.Abi;
|
|
55116
55116
|
functionName: string;
|
|
55117
55117
|
args?: readonly unknown[] | undefined;
|
|
55118
55118
|
address: Address;
|
|
@@ -55136,7 +55136,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55136
55136
|
chainId?: number | undefined;
|
|
55137
55137
|
connector?: wagmi0.Connector | undefined;
|
|
55138
55138
|
} | {
|
|
55139
|
-
abi:
|
|
55139
|
+
abi: abitype17.Abi;
|
|
55140
55140
|
functionName: string;
|
|
55141
55141
|
args?: readonly unknown[] | undefined;
|
|
55142
55142
|
address: Address;
|
|
@@ -55160,7 +55160,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55160
55160
|
chainId?: number | undefined;
|
|
55161
55161
|
connector?: wagmi0.Connector | undefined;
|
|
55162
55162
|
} | {
|
|
55163
|
-
abi:
|
|
55163
|
+
abi: abitype17.Abi;
|
|
55164
55164
|
functionName: string;
|
|
55165
55165
|
args?: readonly unknown[] | undefined;
|
|
55166
55166
|
address: Address;
|
|
@@ -55194,9 +55194,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55194
55194
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55195
55195
|
isPaused: boolean;
|
|
55196
55196
|
submittedAt: number;
|
|
55197
|
-
mutate:
|
|
55198
|
-
mutateAsync:
|
|
55199
|
-
writeContract:
|
|
55197
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55198
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55199
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55200
55200
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55201
55201
|
model: "static";
|
|
55202
55202
|
} : Partial<OptionPricingParams> & {
|
|
@@ -55207,11 +55207,11 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55207
55207
|
newPricingAddr: `0x${string}`;
|
|
55208
55208
|
}>;
|
|
55209
55209
|
} | {
|
|
55210
|
-
error: _wagmi_core0.WriteContractErrorType;
|
|
55211
55210
|
data: undefined;
|
|
55211
|
+
error: _wagmi_core0.WriteContractErrorType;
|
|
55212
55212
|
status: "error";
|
|
55213
55213
|
variables: {
|
|
55214
|
-
abi:
|
|
55214
|
+
abi: abitype17.Abi;
|
|
55215
55215
|
functionName: string;
|
|
55216
55216
|
args?: readonly unknown[] | undefined;
|
|
55217
55217
|
address: Address;
|
|
@@ -55235,7 +55235,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55235
55235
|
chainId?: number | undefined;
|
|
55236
55236
|
connector?: wagmi0.Connector | undefined;
|
|
55237
55237
|
} | {
|
|
55238
|
-
abi:
|
|
55238
|
+
abi: abitype17.Abi;
|
|
55239
55239
|
functionName: string;
|
|
55240
55240
|
args?: readonly unknown[] | undefined;
|
|
55241
55241
|
address: Address;
|
|
@@ -55259,7 +55259,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55259
55259
|
chainId?: number | undefined;
|
|
55260
55260
|
connector?: wagmi0.Connector | undefined;
|
|
55261
55261
|
} | {
|
|
55262
|
-
abi:
|
|
55262
|
+
abi: abitype17.Abi;
|
|
55263
55263
|
functionName: string;
|
|
55264
55264
|
args?: readonly unknown[] | undefined;
|
|
55265
55265
|
address: Address;
|
|
@@ -55283,7 +55283,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55283
55283
|
chainId?: number | undefined;
|
|
55284
55284
|
connector?: wagmi0.Connector | undefined;
|
|
55285
55285
|
} | {
|
|
55286
|
-
abi:
|
|
55286
|
+
abi: abitype17.Abi;
|
|
55287
55287
|
functionName: string;
|
|
55288
55288
|
args?: readonly unknown[] | undefined;
|
|
55289
55289
|
address: Address;
|
|
@@ -55307,7 +55307,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55307
55307
|
chainId?: number | undefined;
|
|
55308
55308
|
connector?: wagmi0.Connector | undefined;
|
|
55309
55309
|
} | {
|
|
55310
|
-
abi:
|
|
55310
|
+
abi: abitype17.Abi;
|
|
55311
55311
|
functionName: string;
|
|
55312
55312
|
args?: readonly unknown[] | undefined;
|
|
55313
55313
|
address: Address;
|
|
@@ -55331,7 +55331,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55331
55331
|
chainId?: number | undefined;
|
|
55332
55332
|
connector?: wagmi0.Connector | undefined;
|
|
55333
55333
|
} | {
|
|
55334
|
-
abi:
|
|
55334
|
+
abi: abitype17.Abi;
|
|
55335
55335
|
functionName: string;
|
|
55336
55336
|
args?: readonly unknown[] | undefined;
|
|
55337
55337
|
address: Address;
|
|
@@ -55365,9 +55365,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55365
55365
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55366
55366
|
isPaused: boolean;
|
|
55367
55367
|
submittedAt: number;
|
|
55368
|
-
mutate:
|
|
55369
|
-
mutateAsync:
|
|
55370
|
-
writeContract:
|
|
55368
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55369
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55370
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55371
55371
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55372
55372
|
model: "static";
|
|
55373
55373
|
} : Partial<OptionPricingParams> & {
|
|
@@ -55378,11 +55378,11 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55378
55378
|
newPricingAddr: `0x${string}`;
|
|
55379
55379
|
}>;
|
|
55380
55380
|
} | {
|
|
55381
|
-
error: null;
|
|
55382
55381
|
data: `0x${string}`;
|
|
55382
|
+
error: null;
|
|
55383
55383
|
status: "success";
|
|
55384
55384
|
variables: {
|
|
55385
|
-
abi:
|
|
55385
|
+
abi: abitype17.Abi;
|
|
55386
55386
|
functionName: string;
|
|
55387
55387
|
args?: readonly unknown[] | undefined;
|
|
55388
55388
|
address: Address;
|
|
@@ -55406,7 +55406,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55406
55406
|
chainId?: number | undefined;
|
|
55407
55407
|
connector?: wagmi0.Connector | undefined;
|
|
55408
55408
|
} | {
|
|
55409
|
-
abi:
|
|
55409
|
+
abi: abitype17.Abi;
|
|
55410
55410
|
functionName: string;
|
|
55411
55411
|
args?: readonly unknown[] | undefined;
|
|
55412
55412
|
address: Address;
|
|
@@ -55430,7 +55430,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55430
55430
|
chainId?: number | undefined;
|
|
55431
55431
|
connector?: wagmi0.Connector | undefined;
|
|
55432
55432
|
} | {
|
|
55433
|
-
abi:
|
|
55433
|
+
abi: abitype17.Abi;
|
|
55434
55434
|
functionName: string;
|
|
55435
55435
|
args?: readonly unknown[] | undefined;
|
|
55436
55436
|
address: Address;
|
|
@@ -55454,7 +55454,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55454
55454
|
chainId?: number | undefined;
|
|
55455
55455
|
connector?: wagmi0.Connector | undefined;
|
|
55456
55456
|
} | {
|
|
55457
|
-
abi:
|
|
55457
|
+
abi: abitype17.Abi;
|
|
55458
55458
|
functionName: string;
|
|
55459
55459
|
args?: readonly unknown[] | undefined;
|
|
55460
55460
|
address: Address;
|
|
@@ -55478,7 +55478,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55478
55478
|
chainId?: number | undefined;
|
|
55479
55479
|
connector?: wagmi0.Connector | undefined;
|
|
55480
55480
|
} | {
|
|
55481
|
-
abi:
|
|
55481
|
+
abi: abitype17.Abi;
|
|
55482
55482
|
functionName: string;
|
|
55483
55483
|
args?: readonly unknown[] | undefined;
|
|
55484
55484
|
address: Address;
|
|
@@ -55502,7 +55502,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55502
55502
|
chainId?: number | undefined;
|
|
55503
55503
|
connector?: wagmi0.Connector | undefined;
|
|
55504
55504
|
} | {
|
|
55505
|
-
abi:
|
|
55505
|
+
abi: abitype17.Abi;
|
|
55506
55506
|
functionName: string;
|
|
55507
55507
|
args?: readonly unknown[] | undefined;
|
|
55508
55508
|
address: Address;
|
|
@@ -55536,9 +55536,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55536
55536
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55537
55537
|
isPaused: boolean;
|
|
55538
55538
|
submittedAt: number;
|
|
55539
|
-
mutate:
|
|
55540
|
-
mutateAsync:
|
|
55541
|
-
writeContract:
|
|
55539
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55540
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55541
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55542
55542
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55543
55543
|
model: "static";
|
|
55544
55544
|
} : Partial<OptionPricingParams> & {
|
|
@@ -97776,4 +97776,4 @@ declare const useLens: () => {
|
|
|
97776
97776
|
};
|
|
97777
97777
|
//#endregion
|
|
97778
97778
|
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-
|
|
97779
|
+
//# sourceMappingURL=client-DyoqV6dM.d.cts.map
|