timelock-sdk 0.0.187 → 0.0.188
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-D_0Cm9hR.d.cts → client-BIJ-W30I.d.cts} +624 -592
- package/dist/{client-8AJEd9YL.d.ts → client-q6so0Zef.d.ts} +247 -215
- package/dist/client.d.cts +1 -2
- package/dist/client.d.ts +1 -2
- package/dist/package.cjs +0 -1
- package/dist/package.d.cts +1 -2
- package/dist/package.d.ts +1 -2
- package/dist/package.js +0 -1
- package/package.json +6 -6
|
@@ -5,14 +5,14 @@ import Big from "big.js";
|
|
|
5
5
|
import JSBI from "jsbi";
|
|
6
6
|
import React, { ReactNode } from "react";
|
|
7
7
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
8
|
-
import * as
|
|
8
|
+
import * as _tanstack_react_query3 from "@tanstack/react-query";
|
|
9
9
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
10
10
|
import * as wagmi0 from "wagmi";
|
|
11
11
|
import "graphql";
|
|
12
12
|
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
13
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 {
|
|
@@ -49254,7 +49254,7 @@ declare const useMarketState: (marketAddr: Address | undefined) => wagmi0.UseRea
|
|
|
49254
49254
|
}>;
|
|
49255
49255
|
//#endregion
|
|
49256
49256
|
//#region src/hooks/market/useMarketVolume.d.ts
|
|
49257
|
-
declare const useMarketVolume: (marketAddr: Address | undefined) =>
|
|
49257
|
+
declare const useMarketVolume: (marketAddr: Address | undefined) => _tanstack_react_query3.UseQueryResult<{
|
|
49258
49258
|
address: Address;
|
|
49259
49259
|
volume: bigint;
|
|
49260
49260
|
optionsCount: bigint;
|
|
@@ -49462,7 +49462,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49462
49462
|
};
|
|
49463
49463
|
//#endregion
|
|
49464
49464
|
//#region src/hooks/options/useMintOption.d.ts
|
|
49465
|
-
declare const useMintOption: (marketAddr: Address | undefined) =>
|
|
49465
|
+
declare const useMintOption: (marketAddr: Address | undefined) => _tanstack_react_query3.UseMutationResult<`0x${string}`, Error, {
|
|
49466
49466
|
optionType: "CALL" | "PUT";
|
|
49467
49467
|
amount: bigint;
|
|
49468
49468
|
duration: number;
|
|
@@ -49472,7 +49472,7 @@ declare const useMintOption: (marketAddr: Address | undefined) => _tanstack_reac
|
|
|
49472
49472
|
//#endregion
|
|
49473
49473
|
//#region src/hooks/options/useUserOptions.d.ts
|
|
49474
49474
|
type OptionData = NonUndefinedGuard<ReturnType<typeof useUserOptions>['data']>[number];
|
|
49475
|
-
declare const useUserOptions: (userAddr: Address | undefined, marketAddr: Address | "*" | undefined, active?: boolean) =>
|
|
49475
|
+
declare const useUserOptions: (userAddr: Address | undefined, marketAddr: Address | "*" | undefined, active?: boolean) => _tanstack_react_query3.UseQueryResult<{
|
|
49476
49476
|
optionId: bigint;
|
|
49477
49477
|
marketAddr: Address;
|
|
49478
49478
|
ownerAddr: Address;
|
|
@@ -49502,7 +49502,7 @@ declare const useUserOptions: (userAddr: Address | undefined, marketAddr: Addres
|
|
|
49502
49502
|
address: string;
|
|
49503
49503
|
} | null;
|
|
49504
49504
|
}[], Error>;
|
|
49505
|
-
declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address | "*") =>
|
|
49505
|
+
declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => _tanstack_react_query3.UseQueryResult<{
|
|
49506
49506
|
optionId: bigint;
|
|
49507
49507
|
marketAddr: Address;
|
|
49508
49508
|
ownerAddr: Address;
|
|
@@ -49532,7 +49532,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
49532
49532
|
address: string;
|
|
49533
49533
|
} | null;
|
|
49534
49534
|
}[], Error>;
|
|
49535
|
-
declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address | "*") =>
|
|
49535
|
+
declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => _tanstack_react_query3.UseQueryResult<{
|
|
49536
49536
|
optionId: bigint;
|
|
49537
49537
|
marketAddr: Address;
|
|
49538
49538
|
ownerAddr: Address;
|
|
@@ -49564,7 +49564,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
49564
49564
|
}[], Error>;
|
|
49565
49565
|
//#endregion
|
|
49566
49566
|
//#region src/hooks/options/useExerciseOption.d.ts
|
|
49567
|
-
declare const useExerciseOption: (marketAddr: Address | undefined) =>
|
|
49567
|
+
declare const useExerciseOption: (marketAddr: Address | undefined) => _tanstack_react_query3.UseMutationResult<`0x${string}`, Error, {
|
|
49568
49568
|
option: OptionData;
|
|
49569
49569
|
liquidities: readonly bigint[];
|
|
49570
49570
|
}, unknown>;
|
|
@@ -49587,7 +49587,7 @@ declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "C
|
|
|
49587
49587
|
};
|
|
49588
49588
|
//#endregion
|
|
49589
49589
|
//#region src/hooks/options/useExtendOption.d.ts
|
|
49590
|
-
declare const useExtendOption: (marketAddr: Address | undefined) =>
|
|
49590
|
+
declare const useExtendOption: (marketAddr: Address | undefined) => _tanstack_react_query3.UseMutationResult<`0x${string}`, Error, {
|
|
49591
49591
|
option: OptionData;
|
|
49592
49592
|
duration: number;
|
|
49593
49593
|
}, unknown>;
|
|
@@ -49603,7 +49603,7 @@ type ExerciseOptionEvent = Extract<OptionEvent, {
|
|
|
49603
49603
|
type ExtendEvent = Extract<OptionEvent, {
|
|
49604
49604
|
type: 'extend';
|
|
49605
49605
|
}>;
|
|
49606
|
-
declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: bigint | undefined) =>
|
|
49606
|
+
declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: bigint | undefined) => _tanstack_react_query3.UseQueryResult<({
|
|
49607
49607
|
type: "mint";
|
|
49608
49608
|
data: {
|
|
49609
49609
|
id: string;
|
|
@@ -49644,7 +49644,7 @@ declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: big
|
|
|
49644
49644
|
})[], Error>;
|
|
49645
49645
|
//#endregion
|
|
49646
49646
|
//#region src/hooks/perps/useMintPerp.d.ts
|
|
49647
|
-
declare const useMintPerp: (marketAddr: Address | undefined) =>
|
|
49647
|
+
declare const useMintPerp: (marketAddr: Address | undefined) => _tanstack_react_query3.UseMutationResult<void, Error, {
|
|
49648
49648
|
optionType: "CALL" | "PUT";
|
|
49649
49649
|
amount: bigint;
|
|
49650
49650
|
duration: number;
|
|
@@ -49652,17 +49652,17 @@ declare const useMintPerp: (marketAddr: Address | undefined) => _tanstack_react_
|
|
|
49652
49652
|
}, unknown>;
|
|
49653
49653
|
//#endregion
|
|
49654
49654
|
//#region src/hooks/perps/useClosePerp.d.ts
|
|
49655
|
-
declare const useClosePerp: () =>
|
|
49655
|
+
declare const useClosePerp: () => _tanstack_react_query3.UseMutationResult<void, Error, ExercisePerpBody, unknown>;
|
|
49656
49656
|
//#endregion
|
|
49657
49657
|
//#region src/hooks/perps/usePerpsOperator.d.ts
|
|
49658
49658
|
declare const usePerpsOperator: () => {
|
|
49659
49659
|
operator: PerpsOperator | undefined;
|
|
49660
49660
|
address: `0x${string}` | undefined;
|
|
49661
|
-
signMessage:
|
|
49661
|
+
signMessage: _tanstack_react_query3.UseMutationResult<void, Error, void, unknown>;
|
|
49662
49662
|
};
|
|
49663
49663
|
//#endregion
|
|
49664
49664
|
//#region src/hooks/perps/useUserPerps.d.ts
|
|
49665
|
-
declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined, type: "active" | "closed" | undefined) =>
|
|
49665
|
+
declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined, type: "active" | "closed" | undefined) => _tanstack_react_query3.UseQueryResult<{
|
|
49666
49666
|
optionId: bigint;
|
|
49667
49667
|
id: string;
|
|
49668
49668
|
ownerAddr: Address;
|
|
@@ -49671,7 +49671,7 @@ declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address
|
|
|
49671
49671
|
expiresAt: number;
|
|
49672
49672
|
closed: boolean;
|
|
49673
49673
|
}[] | undefined, Error>;
|
|
49674
|
-
declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) =>
|
|
49674
|
+
declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) => _tanstack_react_query3.UseQueryResult<{
|
|
49675
49675
|
optionId: bigint;
|
|
49676
49676
|
id: string;
|
|
49677
49677
|
ownerAddr: Address;
|
|
@@ -49680,7 +49680,7 @@ declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Ad
|
|
|
49680
49680
|
expiresAt: number;
|
|
49681
49681
|
closed: boolean;
|
|
49682
49682
|
}[] | undefined, Error>;
|
|
49683
|
-
declare const useClosedUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) =>
|
|
49683
|
+
declare const useClosedUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) => _tanstack_react_query3.UseQueryResult<{
|
|
49684
49684
|
optionId: bigint;
|
|
49685
49685
|
id: string;
|
|
49686
49686
|
ownerAddr: Address;
|
|
@@ -49904,7 +49904,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49904
49904
|
};
|
|
49905
49905
|
//#endregion
|
|
49906
49906
|
//#region src/hooks/operators/useUserOperators.d.ts
|
|
49907
|
-
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) =>
|
|
49907
|
+
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => _tanstack_react_query3.UseQueryResult<{
|
|
49908
49908
|
spendingApproval: bigint;
|
|
49909
49909
|
operatorAddr: string;
|
|
49910
49910
|
__typename: "UserMarketOperator";
|
|
@@ -49920,7 +49920,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => _t
|
|
|
49920
49920
|
}[] | undefined, Error>;
|
|
49921
49921
|
//#endregion
|
|
49922
49922
|
//#region src/hooks/operators/useSetOperatorPerms.d.ts
|
|
49923
|
-
declare const useSetOperatorPerms: (marketAddr: Address | undefined) =>
|
|
49923
|
+
declare const useSetOperatorPerms: (marketAddr: Address | undefined) => _tanstack_react_query3.UseMutationResult<`0x${string}`, Error, {
|
|
49924
49924
|
operator: Address;
|
|
49925
49925
|
canExtend: boolean;
|
|
49926
49926
|
canExercise: boolean;
|
|
@@ -50846,8 +50846,8 @@ declare const usePriceAtTick: (poolManager?: Address, poolKey?: PoolKey, tick?:
|
|
|
50846
50846
|
declare const usePriceAtSqrtPriceX96: (poolManager?: Address, poolKey?: PoolKey, sqrtPriceX96?: bigint) => Amount | undefined;
|
|
50847
50847
|
//#endregion
|
|
50848
50848
|
//#region src/hooks/pool/usePriceHistory.d.ts
|
|
50849
|
-
declare const usePriceHistory: (pool: Address | undefined, token: 0 | 1, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) =>
|
|
50850
|
-
declare const useMarketPriceHistory: (marketAddr: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) =>
|
|
50849
|
+
declare const usePriceHistory: (pool: Address | undefined, token: 0 | 1, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query3.UseQueryResult<PriceDataPoint[], Error>;
|
|
50850
|
+
declare const useMarketPriceHistory: (marketAddr: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query3.UseQueryResult<PriceDataPoint[], Error>;
|
|
50851
50851
|
//#endregion
|
|
50852
50852
|
//#region src/hooks/vault/useBurnLiquidity.d.ts
|
|
50853
50853
|
interface BurnPosition {
|
|
@@ -51266,7 +51266,7 @@ interface MintPositionParams {
|
|
|
51266
51266
|
tickUpper: number;
|
|
51267
51267
|
liquidity: bigint;
|
|
51268
51268
|
}
|
|
51269
|
-
declare const useMintLiquidity: (vaultAddr: Address | undefined) =>
|
|
51269
|
+
declare const useMintLiquidity: (vaultAddr: Address | undefined) => _tanstack_react_query3.UseMutationResult<void, Error, MintPositionParams | MintPositionParams[], unknown>;
|
|
51270
51270
|
//#endregion
|
|
51271
51271
|
//#region src/hooks/vault/useVaultData.d.ts
|
|
51272
51272
|
declare const useVaultData: (vaultAddr: Address | undefined) => Partial<NonUndefinedGuard<{
|
|
@@ -52453,28 +52453,36 @@ 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
|
-
data: undefined;
|
|
52457
52456
|
error: null;
|
|
52457
|
+
data: undefined;
|
|
52458
52458
|
status: "idle";
|
|
52459
|
-
variables: undefined;
|
|
52460
52459
|
isError: false;
|
|
52461
|
-
isIdle: true;
|
|
52462
52460
|
isPending: false;
|
|
52463
52461
|
isSuccess: false;
|
|
52464
|
-
reset: () => void;
|
|
52465
|
-
context: unknown;
|
|
52466
52462
|
failureCount: number;
|
|
52467
52463
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52468
52464
|
isPaused: boolean;
|
|
52465
|
+
variables: undefined;
|
|
52466
|
+
isIdle: true;
|
|
52467
|
+
reset: () => void;
|
|
52468
|
+
context: unknown;
|
|
52469
52469
|
submittedAt: number;
|
|
52470
|
-
|
|
52470
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52471
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52472
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52471
52473
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52472
52474
|
} | {
|
|
52473
|
-
data: undefined;
|
|
52474
52475
|
error: null;
|
|
52476
|
+
data: undefined;
|
|
52475
52477
|
status: "pending";
|
|
52478
|
+
isError: false;
|
|
52479
|
+
isPending: true;
|
|
52480
|
+
isSuccess: false;
|
|
52481
|
+
failureCount: number;
|
|
52482
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52483
|
+
isPaused: boolean;
|
|
52476
52484
|
variables: {
|
|
52477
|
-
abi:
|
|
52485
|
+
abi: abitype17.Abi;
|
|
52478
52486
|
functionName: string;
|
|
52479
52487
|
args?: readonly unknown[] | undefined;
|
|
52480
52488
|
address: Address;
|
|
@@ -52498,7 +52506,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52498
52506
|
chainId?: number | undefined;
|
|
52499
52507
|
connector?: wagmi0.Connector | undefined;
|
|
52500
52508
|
} | {
|
|
52501
|
-
abi:
|
|
52509
|
+
abi: abitype17.Abi;
|
|
52502
52510
|
functionName: string;
|
|
52503
52511
|
args?: readonly unknown[] | undefined;
|
|
52504
52512
|
address: Address;
|
|
@@ -52522,7 +52530,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52522
52530
|
chainId?: number | undefined;
|
|
52523
52531
|
connector?: wagmi0.Connector | undefined;
|
|
52524
52532
|
} | {
|
|
52525
|
-
abi:
|
|
52533
|
+
abi: abitype17.Abi;
|
|
52526
52534
|
functionName: string;
|
|
52527
52535
|
args?: readonly unknown[] | undefined;
|
|
52528
52536
|
address: Address;
|
|
@@ -52546,7 +52554,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52546
52554
|
chainId?: number | undefined;
|
|
52547
52555
|
connector?: wagmi0.Connector | undefined;
|
|
52548
52556
|
} | {
|
|
52549
|
-
abi:
|
|
52557
|
+
abi: abitype17.Abi;
|
|
52550
52558
|
functionName: string;
|
|
52551
52559
|
args?: readonly unknown[] | undefined;
|
|
52552
52560
|
address: Address;
|
|
@@ -52570,7 +52578,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52570
52578
|
chainId?: number | undefined;
|
|
52571
52579
|
connector?: wagmi0.Connector | undefined;
|
|
52572
52580
|
} | {
|
|
52573
|
-
abi:
|
|
52581
|
+
abi: abitype17.Abi;
|
|
52574
52582
|
functionName: string;
|
|
52575
52583
|
args?: readonly unknown[] | undefined;
|
|
52576
52584
|
address: Address;
|
|
@@ -52594,7 +52602,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52594
52602
|
chainId?: number | undefined;
|
|
52595
52603
|
connector?: wagmi0.Connector | undefined;
|
|
52596
52604
|
} | {
|
|
52597
|
-
abi:
|
|
52605
|
+
abi: abitype17.Abi;
|
|
52598
52606
|
functionName: string;
|
|
52599
52607
|
args?: readonly unknown[] | undefined;
|
|
52600
52608
|
address: Address;
|
|
@@ -52618,24 +52626,26 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52618
52626
|
chainId?: number | undefined;
|
|
52619
52627
|
connector?: wagmi0.Connector | undefined;
|
|
52620
52628
|
};
|
|
52621
|
-
isError: false;
|
|
52622
52629
|
isIdle: false;
|
|
52623
|
-
isPending: true;
|
|
52624
|
-
isSuccess: false;
|
|
52625
52630
|
reset: () => void;
|
|
52626
52631
|
context: unknown;
|
|
52627
|
-
failureCount: number;
|
|
52628
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52629
|
-
isPaused: boolean;
|
|
52630
52632
|
submittedAt: number;
|
|
52631
|
-
|
|
52633
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52634
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52635
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52632
52636
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52633
52637
|
} | {
|
|
52634
|
-
data: undefined;
|
|
52635
52638
|
error: _wagmi_core0.WriteContractErrorType;
|
|
52639
|
+
data: undefined;
|
|
52636
52640
|
status: "error";
|
|
52641
|
+
isError: true;
|
|
52642
|
+
isPending: false;
|
|
52643
|
+
isSuccess: false;
|
|
52644
|
+
failureCount: number;
|
|
52645
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52646
|
+
isPaused: boolean;
|
|
52637
52647
|
variables: {
|
|
52638
|
-
abi:
|
|
52648
|
+
abi: abitype17.Abi;
|
|
52639
52649
|
functionName: string;
|
|
52640
52650
|
args?: readonly unknown[] | undefined;
|
|
52641
52651
|
address: Address;
|
|
@@ -52659,7 +52669,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52659
52669
|
chainId?: number | undefined;
|
|
52660
52670
|
connector?: wagmi0.Connector | undefined;
|
|
52661
52671
|
} | {
|
|
52662
|
-
abi:
|
|
52672
|
+
abi: abitype17.Abi;
|
|
52663
52673
|
functionName: string;
|
|
52664
52674
|
args?: readonly unknown[] | undefined;
|
|
52665
52675
|
address: Address;
|
|
@@ -52683,7 +52693,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52683
52693
|
chainId?: number | undefined;
|
|
52684
52694
|
connector?: wagmi0.Connector | undefined;
|
|
52685
52695
|
} | {
|
|
52686
|
-
abi:
|
|
52696
|
+
abi: abitype17.Abi;
|
|
52687
52697
|
functionName: string;
|
|
52688
52698
|
args?: readonly unknown[] | undefined;
|
|
52689
52699
|
address: Address;
|
|
@@ -52707,7 +52717,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52707
52717
|
chainId?: number | undefined;
|
|
52708
52718
|
connector?: wagmi0.Connector | undefined;
|
|
52709
52719
|
} | {
|
|
52710
|
-
abi:
|
|
52720
|
+
abi: abitype17.Abi;
|
|
52711
52721
|
functionName: string;
|
|
52712
52722
|
args?: readonly unknown[] | undefined;
|
|
52713
52723
|
address: Address;
|
|
@@ -52731,7 +52741,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52731
52741
|
chainId?: number | undefined;
|
|
52732
52742
|
connector?: wagmi0.Connector | undefined;
|
|
52733
52743
|
} | {
|
|
52734
|
-
abi:
|
|
52744
|
+
abi: abitype17.Abi;
|
|
52735
52745
|
functionName: string;
|
|
52736
52746
|
args?: readonly unknown[] | undefined;
|
|
52737
52747
|
address: Address;
|
|
@@ -52755,7 +52765,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52755
52765
|
chainId?: number | undefined;
|
|
52756
52766
|
connector?: wagmi0.Connector | undefined;
|
|
52757
52767
|
} | {
|
|
52758
|
-
abi:
|
|
52768
|
+
abi: abitype17.Abi;
|
|
52759
52769
|
functionName: string;
|
|
52760
52770
|
args?: readonly unknown[] | undefined;
|
|
52761
52771
|
address: Address;
|
|
@@ -52779,24 +52789,26 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52779
52789
|
chainId?: number | undefined;
|
|
52780
52790
|
connector?: wagmi0.Connector | undefined;
|
|
52781
52791
|
};
|
|
52782
|
-
isError: true;
|
|
52783
52792
|
isIdle: false;
|
|
52784
|
-
isPending: false;
|
|
52785
|
-
isSuccess: false;
|
|
52786
52793
|
reset: () => void;
|
|
52787
52794
|
context: unknown;
|
|
52788
|
-
failureCount: number;
|
|
52789
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52790
|
-
isPaused: boolean;
|
|
52791
52795
|
submittedAt: number;
|
|
52792
|
-
|
|
52796
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52797
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52798
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52793
52799
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52794
52800
|
} | {
|
|
52795
|
-
data: `0x${string}`;
|
|
52796
52801
|
error: null;
|
|
52802
|
+
data: `0x${string}`;
|
|
52797
52803
|
status: "success";
|
|
52804
|
+
isError: false;
|
|
52805
|
+
isPending: false;
|
|
52806
|
+
isSuccess: true;
|
|
52807
|
+
failureCount: number;
|
|
52808
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52809
|
+
isPaused: boolean;
|
|
52798
52810
|
variables: {
|
|
52799
|
-
abi:
|
|
52811
|
+
abi: abitype17.Abi;
|
|
52800
52812
|
functionName: string;
|
|
52801
52813
|
args?: readonly unknown[] | undefined;
|
|
52802
52814
|
address: Address;
|
|
@@ -52820,7 +52832,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52820
52832
|
chainId?: number | undefined;
|
|
52821
52833
|
connector?: wagmi0.Connector | undefined;
|
|
52822
52834
|
} | {
|
|
52823
|
-
abi:
|
|
52835
|
+
abi: abitype17.Abi;
|
|
52824
52836
|
functionName: string;
|
|
52825
52837
|
args?: readonly unknown[] | undefined;
|
|
52826
52838
|
address: Address;
|
|
@@ -52844,7 +52856,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52844
52856
|
chainId?: number | undefined;
|
|
52845
52857
|
connector?: wagmi0.Connector | undefined;
|
|
52846
52858
|
} | {
|
|
52847
|
-
abi:
|
|
52859
|
+
abi: abitype17.Abi;
|
|
52848
52860
|
functionName: string;
|
|
52849
52861
|
args?: readonly unknown[] | undefined;
|
|
52850
52862
|
address: Address;
|
|
@@ -52868,7 +52880,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52868
52880
|
chainId?: number | undefined;
|
|
52869
52881
|
connector?: wagmi0.Connector | undefined;
|
|
52870
52882
|
} | {
|
|
52871
|
-
abi:
|
|
52883
|
+
abi: abitype17.Abi;
|
|
52872
52884
|
functionName: string;
|
|
52873
52885
|
args?: readonly unknown[] | undefined;
|
|
52874
52886
|
address: Address;
|
|
@@ -52892,7 +52904,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52892
52904
|
chainId?: number | undefined;
|
|
52893
52905
|
connector?: wagmi0.Connector | undefined;
|
|
52894
52906
|
} | {
|
|
52895
|
-
abi:
|
|
52907
|
+
abi: abitype17.Abi;
|
|
52896
52908
|
functionName: string;
|
|
52897
52909
|
args?: readonly unknown[] | undefined;
|
|
52898
52910
|
address: Address;
|
|
@@ -52916,7 +52928,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52916
52928
|
chainId?: number | undefined;
|
|
52917
52929
|
connector?: wagmi0.Connector | undefined;
|
|
52918
52930
|
} | {
|
|
52919
|
-
abi:
|
|
52931
|
+
abi: abitype17.Abi;
|
|
52920
52932
|
functionName: string;
|
|
52921
52933
|
args?: readonly unknown[] | undefined;
|
|
52922
52934
|
address: Address;
|
|
@@ -52940,44 +52952,48 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52940
52952
|
chainId?: number | undefined;
|
|
52941
52953
|
connector?: wagmi0.Connector | undefined;
|
|
52942
52954
|
};
|
|
52943
|
-
isError: false;
|
|
52944
52955
|
isIdle: false;
|
|
52945
|
-
isPending: false;
|
|
52946
|
-
isSuccess: true;
|
|
52947
52956
|
reset: () => void;
|
|
52948
52957
|
context: unknown;
|
|
52949
|
-
failureCount: number;
|
|
52950
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52951
|
-
isPaused: boolean;
|
|
52952
52958
|
submittedAt: number;
|
|
52953
|
-
|
|
52959
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52960
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52961
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52954
52962
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52955
52963
|
};
|
|
52956
52964
|
//#endregion
|
|
52957
52965
|
//#region src/hooks/guardian/usePauseMarketTrading.d.ts
|
|
52958
52966
|
declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
52959
|
-
data: undefined;
|
|
52960
52967
|
error: null;
|
|
52968
|
+
data: undefined;
|
|
52961
52969
|
status: "idle";
|
|
52962
|
-
variables: undefined;
|
|
52963
52970
|
isError: false;
|
|
52964
|
-
isIdle: true;
|
|
52965
52971
|
isPending: false;
|
|
52966
52972
|
isSuccess: false;
|
|
52967
|
-
reset: () => void;
|
|
52968
|
-
context: unknown;
|
|
52969
52973
|
failureCount: number;
|
|
52970
52974
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52971
52975
|
isPaused: boolean;
|
|
52976
|
+
variables: undefined;
|
|
52977
|
+
isIdle: true;
|
|
52978
|
+
reset: () => void;
|
|
52979
|
+
context: unknown;
|
|
52972
52980
|
submittedAt: number;
|
|
52973
|
-
|
|
52981
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52982
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52983
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52974
52984
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52975
52985
|
} | {
|
|
52976
|
-
data: undefined;
|
|
52977
52986
|
error: null;
|
|
52987
|
+
data: undefined;
|
|
52978
52988
|
status: "pending";
|
|
52989
|
+
isError: false;
|
|
52990
|
+
isPending: true;
|
|
52991
|
+
isSuccess: false;
|
|
52992
|
+
failureCount: number;
|
|
52993
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52994
|
+
isPaused: boolean;
|
|
52979
52995
|
variables: {
|
|
52980
|
-
abi:
|
|
52996
|
+
abi: abitype17.Abi;
|
|
52981
52997
|
functionName: string;
|
|
52982
52998
|
args?: readonly unknown[] | undefined;
|
|
52983
52999
|
address: Address;
|
|
@@ -53001,7 +53017,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53001
53017
|
chainId?: number | undefined;
|
|
53002
53018
|
connector?: wagmi0.Connector | undefined;
|
|
53003
53019
|
} | {
|
|
53004
|
-
abi:
|
|
53020
|
+
abi: abitype17.Abi;
|
|
53005
53021
|
functionName: string;
|
|
53006
53022
|
args?: readonly unknown[] | undefined;
|
|
53007
53023
|
address: Address;
|
|
@@ -53025,7 +53041,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53025
53041
|
chainId?: number | undefined;
|
|
53026
53042
|
connector?: wagmi0.Connector | undefined;
|
|
53027
53043
|
} | {
|
|
53028
|
-
abi:
|
|
53044
|
+
abi: abitype17.Abi;
|
|
53029
53045
|
functionName: string;
|
|
53030
53046
|
args?: readonly unknown[] | undefined;
|
|
53031
53047
|
address: Address;
|
|
@@ -53049,7 +53065,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53049
53065
|
chainId?: number | undefined;
|
|
53050
53066
|
connector?: wagmi0.Connector | undefined;
|
|
53051
53067
|
} | {
|
|
53052
|
-
abi:
|
|
53068
|
+
abi: abitype17.Abi;
|
|
53053
53069
|
functionName: string;
|
|
53054
53070
|
args?: readonly unknown[] | undefined;
|
|
53055
53071
|
address: Address;
|
|
@@ -53073,7 +53089,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53073
53089
|
chainId?: number | undefined;
|
|
53074
53090
|
connector?: wagmi0.Connector | undefined;
|
|
53075
53091
|
} | {
|
|
53076
|
-
abi:
|
|
53092
|
+
abi: abitype17.Abi;
|
|
53077
53093
|
functionName: string;
|
|
53078
53094
|
args?: readonly unknown[] | undefined;
|
|
53079
53095
|
address: Address;
|
|
@@ -53097,7 +53113,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53097
53113
|
chainId?: number | undefined;
|
|
53098
53114
|
connector?: wagmi0.Connector | undefined;
|
|
53099
53115
|
} | {
|
|
53100
|
-
abi:
|
|
53116
|
+
abi: abitype17.Abi;
|
|
53101
53117
|
functionName: string;
|
|
53102
53118
|
args?: readonly unknown[] | undefined;
|
|
53103
53119
|
address: Address;
|
|
@@ -53121,24 +53137,26 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53121
53137
|
chainId?: number | undefined;
|
|
53122
53138
|
connector?: wagmi0.Connector | undefined;
|
|
53123
53139
|
};
|
|
53124
|
-
isError: false;
|
|
53125
53140
|
isIdle: false;
|
|
53126
|
-
isPending: true;
|
|
53127
|
-
isSuccess: false;
|
|
53128
53141
|
reset: () => void;
|
|
53129
53142
|
context: unknown;
|
|
53130
|
-
failureCount: number;
|
|
53131
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53132
|
-
isPaused: boolean;
|
|
53133
53143
|
submittedAt: number;
|
|
53134
|
-
|
|
53144
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53145
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53146
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53135
53147
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53136
53148
|
} | {
|
|
53137
|
-
data: undefined;
|
|
53138
53149
|
error: _wagmi_core0.WriteContractErrorType;
|
|
53150
|
+
data: undefined;
|
|
53139
53151
|
status: "error";
|
|
53152
|
+
isError: true;
|
|
53153
|
+
isPending: false;
|
|
53154
|
+
isSuccess: false;
|
|
53155
|
+
failureCount: number;
|
|
53156
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53157
|
+
isPaused: boolean;
|
|
53140
53158
|
variables: {
|
|
53141
|
-
abi:
|
|
53159
|
+
abi: abitype17.Abi;
|
|
53142
53160
|
functionName: string;
|
|
53143
53161
|
args?: readonly unknown[] | undefined;
|
|
53144
53162
|
address: Address;
|
|
@@ -53162,7 +53180,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53162
53180
|
chainId?: number | undefined;
|
|
53163
53181
|
connector?: wagmi0.Connector | undefined;
|
|
53164
53182
|
} | {
|
|
53165
|
-
abi:
|
|
53183
|
+
abi: abitype17.Abi;
|
|
53166
53184
|
functionName: string;
|
|
53167
53185
|
args?: readonly unknown[] | undefined;
|
|
53168
53186
|
address: Address;
|
|
@@ -53186,7 +53204,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53186
53204
|
chainId?: number | undefined;
|
|
53187
53205
|
connector?: wagmi0.Connector | undefined;
|
|
53188
53206
|
} | {
|
|
53189
|
-
abi:
|
|
53207
|
+
abi: abitype17.Abi;
|
|
53190
53208
|
functionName: string;
|
|
53191
53209
|
args?: readonly unknown[] | undefined;
|
|
53192
53210
|
address: Address;
|
|
@@ -53210,7 +53228,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53210
53228
|
chainId?: number | undefined;
|
|
53211
53229
|
connector?: wagmi0.Connector | undefined;
|
|
53212
53230
|
} | {
|
|
53213
|
-
abi:
|
|
53231
|
+
abi: abitype17.Abi;
|
|
53214
53232
|
functionName: string;
|
|
53215
53233
|
args?: readonly unknown[] | undefined;
|
|
53216
53234
|
address: Address;
|
|
@@ -53234,7 +53252,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53234
53252
|
chainId?: number | undefined;
|
|
53235
53253
|
connector?: wagmi0.Connector | undefined;
|
|
53236
53254
|
} | {
|
|
53237
|
-
abi:
|
|
53255
|
+
abi: abitype17.Abi;
|
|
53238
53256
|
functionName: string;
|
|
53239
53257
|
args?: readonly unknown[] | undefined;
|
|
53240
53258
|
address: Address;
|
|
@@ -53258,7 +53276,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53258
53276
|
chainId?: number | undefined;
|
|
53259
53277
|
connector?: wagmi0.Connector | undefined;
|
|
53260
53278
|
} | {
|
|
53261
|
-
abi:
|
|
53279
|
+
abi: abitype17.Abi;
|
|
53262
53280
|
functionName: string;
|
|
53263
53281
|
args?: readonly unknown[] | undefined;
|
|
53264
53282
|
address: Address;
|
|
@@ -53282,24 +53300,26 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53282
53300
|
chainId?: number | undefined;
|
|
53283
53301
|
connector?: wagmi0.Connector | undefined;
|
|
53284
53302
|
};
|
|
53285
|
-
isError: true;
|
|
53286
53303
|
isIdle: false;
|
|
53287
|
-
isPending: false;
|
|
53288
|
-
isSuccess: false;
|
|
53289
53304
|
reset: () => void;
|
|
53290
53305
|
context: unknown;
|
|
53291
|
-
failureCount: number;
|
|
53292
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53293
|
-
isPaused: boolean;
|
|
53294
53306
|
submittedAt: number;
|
|
53295
|
-
|
|
53307
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53308
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53309
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53296
53310
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53297
53311
|
} | {
|
|
53298
|
-
data: `0x${string}`;
|
|
53299
53312
|
error: null;
|
|
53313
|
+
data: `0x${string}`;
|
|
53300
53314
|
status: "success";
|
|
53315
|
+
isError: false;
|
|
53316
|
+
isPending: false;
|
|
53317
|
+
isSuccess: true;
|
|
53318
|
+
failureCount: number;
|
|
53319
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53320
|
+
isPaused: boolean;
|
|
53301
53321
|
variables: {
|
|
53302
|
-
abi:
|
|
53322
|
+
abi: abitype17.Abi;
|
|
53303
53323
|
functionName: string;
|
|
53304
53324
|
args?: readonly unknown[] | undefined;
|
|
53305
53325
|
address: Address;
|
|
@@ -53323,7 +53343,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53323
53343
|
chainId?: number | undefined;
|
|
53324
53344
|
connector?: wagmi0.Connector | undefined;
|
|
53325
53345
|
} | {
|
|
53326
|
-
abi:
|
|
53346
|
+
abi: abitype17.Abi;
|
|
53327
53347
|
functionName: string;
|
|
53328
53348
|
args?: readonly unknown[] | undefined;
|
|
53329
53349
|
address: Address;
|
|
@@ -53347,7 +53367,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53347
53367
|
chainId?: number | undefined;
|
|
53348
53368
|
connector?: wagmi0.Connector | undefined;
|
|
53349
53369
|
} | {
|
|
53350
|
-
abi:
|
|
53370
|
+
abi: abitype17.Abi;
|
|
53351
53371
|
functionName: string;
|
|
53352
53372
|
args?: readonly unknown[] | undefined;
|
|
53353
53373
|
address: Address;
|
|
@@ -53371,7 +53391,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53371
53391
|
chainId?: number | undefined;
|
|
53372
53392
|
connector?: wagmi0.Connector | undefined;
|
|
53373
53393
|
} | {
|
|
53374
|
-
abi:
|
|
53394
|
+
abi: abitype17.Abi;
|
|
53375
53395
|
functionName: string;
|
|
53376
53396
|
args?: readonly unknown[] | undefined;
|
|
53377
53397
|
address: Address;
|
|
@@ -53395,7 +53415,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53395
53415
|
chainId?: number | undefined;
|
|
53396
53416
|
connector?: wagmi0.Connector | undefined;
|
|
53397
53417
|
} | {
|
|
53398
|
-
abi:
|
|
53418
|
+
abi: abitype17.Abi;
|
|
53399
53419
|
functionName: string;
|
|
53400
53420
|
args?: readonly unknown[] | undefined;
|
|
53401
53421
|
address: Address;
|
|
@@ -53419,7 +53439,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53419
53439
|
chainId?: number | undefined;
|
|
53420
53440
|
connector?: wagmi0.Connector | undefined;
|
|
53421
53441
|
} | {
|
|
53422
|
-
abi:
|
|
53442
|
+
abi: abitype17.Abi;
|
|
53423
53443
|
functionName: string;
|
|
53424
53444
|
args?: readonly unknown[] | undefined;
|
|
53425
53445
|
address: Address;
|
|
@@ -53443,17 +53463,13 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53443
53463
|
chainId?: number | undefined;
|
|
53444
53464
|
connector?: wagmi0.Connector | undefined;
|
|
53445
53465
|
};
|
|
53446
|
-
isError: false;
|
|
53447
53466
|
isIdle: false;
|
|
53448
|
-
isPending: false;
|
|
53449
|
-
isSuccess: true;
|
|
53450
53467
|
reset: () => void;
|
|
53451
53468
|
context: unknown;
|
|
53452
|
-
failureCount: number;
|
|
53453
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53454
|
-
isPaused: boolean;
|
|
53455
53469
|
submittedAt: number;
|
|
53456
|
-
|
|
53470
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53471
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53472
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53457
53473
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53458
53474
|
};
|
|
53459
53475
|
//#endregion
|
|
@@ -53468,21 +53484,23 @@ declare const useFeeRates: (feeStrategy?: Address) => Partial<NonUndefinedGuard<
|
|
|
53468
53484
|
//#endregion
|
|
53469
53485
|
//#region src/hooks/fees/useUpdateMarketFees.d.ts
|
|
53470
53486
|
declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
53471
|
-
data: undefined;
|
|
53472
53487
|
error: null;
|
|
53488
|
+
data: undefined;
|
|
53473
53489
|
status: "idle";
|
|
53474
|
-
variables: undefined;
|
|
53475
53490
|
isError: false;
|
|
53476
|
-
isIdle: true;
|
|
53477
53491
|
isPending: false;
|
|
53478
53492
|
isSuccess: false;
|
|
53479
|
-
reset: () => void;
|
|
53480
|
-
context: unknown;
|
|
53481
53493
|
failureCount: number;
|
|
53482
53494
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53483
53495
|
isPaused: boolean;
|
|
53496
|
+
variables: undefined;
|
|
53497
|
+
isIdle: true;
|
|
53498
|
+
reset: () => void;
|
|
53499
|
+
context: unknown;
|
|
53484
53500
|
submittedAt: number;
|
|
53485
|
-
|
|
53501
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53502
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53503
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53486
53504
|
updateMarketFees: (rates: {
|
|
53487
53505
|
openingFeeRate?: number;
|
|
53488
53506
|
baseFeeRate?: number;
|
|
@@ -53495,11 +53513,17 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53495
53513
|
newFeeStrategy: `0x${string}`;
|
|
53496
53514
|
}>;
|
|
53497
53515
|
} | {
|
|
53498
|
-
data: undefined;
|
|
53499
53516
|
error: null;
|
|
53517
|
+
data: undefined;
|
|
53500
53518
|
status: "pending";
|
|
53519
|
+
isError: false;
|
|
53520
|
+
isPending: true;
|
|
53521
|
+
isSuccess: false;
|
|
53522
|
+
failureCount: number;
|
|
53523
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53524
|
+
isPaused: boolean;
|
|
53501
53525
|
variables: {
|
|
53502
|
-
abi:
|
|
53526
|
+
abi: abitype17.Abi;
|
|
53503
53527
|
functionName: string;
|
|
53504
53528
|
args?: readonly unknown[] | undefined;
|
|
53505
53529
|
address: Address;
|
|
@@ -53523,7 +53547,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53523
53547
|
chainId?: number | undefined;
|
|
53524
53548
|
connector?: wagmi0.Connector | undefined;
|
|
53525
53549
|
} | {
|
|
53526
|
-
abi:
|
|
53550
|
+
abi: abitype17.Abi;
|
|
53527
53551
|
functionName: string;
|
|
53528
53552
|
args?: readonly unknown[] | undefined;
|
|
53529
53553
|
address: Address;
|
|
@@ -53547,7 +53571,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53547
53571
|
chainId?: number | undefined;
|
|
53548
53572
|
connector?: wagmi0.Connector | undefined;
|
|
53549
53573
|
} | {
|
|
53550
|
-
abi:
|
|
53574
|
+
abi: abitype17.Abi;
|
|
53551
53575
|
functionName: string;
|
|
53552
53576
|
args?: readonly unknown[] | undefined;
|
|
53553
53577
|
address: Address;
|
|
@@ -53571,7 +53595,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53571
53595
|
chainId?: number | undefined;
|
|
53572
53596
|
connector?: wagmi0.Connector | undefined;
|
|
53573
53597
|
} | {
|
|
53574
|
-
abi:
|
|
53598
|
+
abi: abitype17.Abi;
|
|
53575
53599
|
functionName: string;
|
|
53576
53600
|
args?: readonly unknown[] | undefined;
|
|
53577
53601
|
address: Address;
|
|
@@ -53595,7 +53619,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53595
53619
|
chainId?: number | undefined;
|
|
53596
53620
|
connector?: wagmi0.Connector | undefined;
|
|
53597
53621
|
} | {
|
|
53598
|
-
abi:
|
|
53622
|
+
abi: abitype17.Abi;
|
|
53599
53623
|
functionName: string;
|
|
53600
53624
|
args?: readonly unknown[] | undefined;
|
|
53601
53625
|
address: Address;
|
|
@@ -53619,7 +53643,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53619
53643
|
chainId?: number | undefined;
|
|
53620
53644
|
connector?: wagmi0.Connector | undefined;
|
|
53621
53645
|
} | {
|
|
53622
|
-
abi:
|
|
53646
|
+
abi: abitype17.Abi;
|
|
53623
53647
|
functionName: string;
|
|
53624
53648
|
args?: readonly unknown[] | undefined;
|
|
53625
53649
|
address: Address;
|
|
@@ -53643,17 +53667,13 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53643
53667
|
chainId?: number | undefined;
|
|
53644
53668
|
connector?: wagmi0.Connector | undefined;
|
|
53645
53669
|
};
|
|
53646
|
-
isError: false;
|
|
53647
53670
|
isIdle: false;
|
|
53648
|
-
isPending: true;
|
|
53649
|
-
isSuccess: false;
|
|
53650
53671
|
reset: () => void;
|
|
53651
53672
|
context: unknown;
|
|
53652
|
-
failureCount: number;
|
|
53653
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53654
|
-
isPaused: boolean;
|
|
53655
53673
|
submittedAt: number;
|
|
53656
|
-
|
|
53674
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53675
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53676
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53657
53677
|
updateMarketFees: (rates: {
|
|
53658
53678
|
openingFeeRate?: number;
|
|
53659
53679
|
baseFeeRate?: number;
|
|
@@ -53666,11 +53686,17 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53666
53686
|
newFeeStrategy: `0x${string}`;
|
|
53667
53687
|
}>;
|
|
53668
53688
|
} | {
|
|
53669
|
-
data: undefined;
|
|
53670
53689
|
error: _wagmi_core0.WriteContractErrorType;
|
|
53690
|
+
data: undefined;
|
|
53671
53691
|
status: "error";
|
|
53692
|
+
isError: true;
|
|
53693
|
+
isPending: false;
|
|
53694
|
+
isSuccess: false;
|
|
53695
|
+
failureCount: number;
|
|
53696
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53697
|
+
isPaused: boolean;
|
|
53672
53698
|
variables: {
|
|
53673
|
-
abi:
|
|
53699
|
+
abi: abitype17.Abi;
|
|
53674
53700
|
functionName: string;
|
|
53675
53701
|
args?: readonly unknown[] | undefined;
|
|
53676
53702
|
address: Address;
|
|
@@ -53694,7 +53720,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53694
53720
|
chainId?: number | undefined;
|
|
53695
53721
|
connector?: wagmi0.Connector | undefined;
|
|
53696
53722
|
} | {
|
|
53697
|
-
abi:
|
|
53723
|
+
abi: abitype17.Abi;
|
|
53698
53724
|
functionName: string;
|
|
53699
53725
|
args?: readonly unknown[] | undefined;
|
|
53700
53726
|
address: Address;
|
|
@@ -53718,7 +53744,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53718
53744
|
chainId?: number | undefined;
|
|
53719
53745
|
connector?: wagmi0.Connector | undefined;
|
|
53720
53746
|
} | {
|
|
53721
|
-
abi:
|
|
53747
|
+
abi: abitype17.Abi;
|
|
53722
53748
|
functionName: string;
|
|
53723
53749
|
args?: readonly unknown[] | undefined;
|
|
53724
53750
|
address: Address;
|
|
@@ -53742,7 +53768,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53742
53768
|
chainId?: number | undefined;
|
|
53743
53769
|
connector?: wagmi0.Connector | undefined;
|
|
53744
53770
|
} | {
|
|
53745
|
-
abi:
|
|
53771
|
+
abi: abitype17.Abi;
|
|
53746
53772
|
functionName: string;
|
|
53747
53773
|
args?: readonly unknown[] | undefined;
|
|
53748
53774
|
address: Address;
|
|
@@ -53766,7 +53792,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53766
53792
|
chainId?: number | undefined;
|
|
53767
53793
|
connector?: wagmi0.Connector | undefined;
|
|
53768
53794
|
} | {
|
|
53769
|
-
abi:
|
|
53795
|
+
abi: abitype17.Abi;
|
|
53770
53796
|
functionName: string;
|
|
53771
53797
|
args?: readonly unknown[] | undefined;
|
|
53772
53798
|
address: Address;
|
|
@@ -53790,7 +53816,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53790
53816
|
chainId?: number | undefined;
|
|
53791
53817
|
connector?: wagmi0.Connector | undefined;
|
|
53792
53818
|
} | {
|
|
53793
|
-
abi:
|
|
53819
|
+
abi: abitype17.Abi;
|
|
53794
53820
|
functionName: string;
|
|
53795
53821
|
args?: readonly unknown[] | undefined;
|
|
53796
53822
|
address: Address;
|
|
@@ -53814,17 +53840,13 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53814
53840
|
chainId?: number | undefined;
|
|
53815
53841
|
connector?: wagmi0.Connector | undefined;
|
|
53816
53842
|
};
|
|
53817
|
-
isError: true;
|
|
53818
53843
|
isIdle: false;
|
|
53819
|
-
isPending: false;
|
|
53820
|
-
isSuccess: false;
|
|
53821
53844
|
reset: () => void;
|
|
53822
53845
|
context: unknown;
|
|
53823
|
-
failureCount: number;
|
|
53824
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53825
|
-
isPaused: boolean;
|
|
53826
53846
|
submittedAt: number;
|
|
53827
|
-
|
|
53847
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53848
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53849
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53828
53850
|
updateMarketFees: (rates: {
|
|
53829
53851
|
openingFeeRate?: number;
|
|
53830
53852
|
baseFeeRate?: number;
|
|
@@ -53837,11 +53859,17 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53837
53859
|
newFeeStrategy: `0x${string}`;
|
|
53838
53860
|
}>;
|
|
53839
53861
|
} | {
|
|
53840
|
-
data: `0x${string}`;
|
|
53841
53862
|
error: null;
|
|
53863
|
+
data: `0x${string}`;
|
|
53842
53864
|
status: "success";
|
|
53865
|
+
isError: false;
|
|
53866
|
+
isPending: false;
|
|
53867
|
+
isSuccess: true;
|
|
53868
|
+
failureCount: number;
|
|
53869
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53870
|
+
isPaused: boolean;
|
|
53843
53871
|
variables: {
|
|
53844
|
-
abi:
|
|
53872
|
+
abi: abitype17.Abi;
|
|
53845
53873
|
functionName: string;
|
|
53846
53874
|
args?: readonly unknown[] | undefined;
|
|
53847
53875
|
address: Address;
|
|
@@ -53865,7 +53893,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53865
53893
|
chainId?: number | undefined;
|
|
53866
53894
|
connector?: wagmi0.Connector | undefined;
|
|
53867
53895
|
} | {
|
|
53868
|
-
abi:
|
|
53896
|
+
abi: abitype17.Abi;
|
|
53869
53897
|
functionName: string;
|
|
53870
53898
|
args?: readonly unknown[] | undefined;
|
|
53871
53899
|
address: Address;
|
|
@@ -53889,7 +53917,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53889
53917
|
chainId?: number | undefined;
|
|
53890
53918
|
connector?: wagmi0.Connector | undefined;
|
|
53891
53919
|
} | {
|
|
53892
|
-
abi:
|
|
53920
|
+
abi: abitype17.Abi;
|
|
53893
53921
|
functionName: string;
|
|
53894
53922
|
args?: readonly unknown[] | undefined;
|
|
53895
53923
|
address: Address;
|
|
@@ -53913,7 +53941,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53913
53941
|
chainId?: number | undefined;
|
|
53914
53942
|
connector?: wagmi0.Connector | undefined;
|
|
53915
53943
|
} | {
|
|
53916
|
-
abi:
|
|
53944
|
+
abi: abitype17.Abi;
|
|
53917
53945
|
functionName: string;
|
|
53918
53946
|
args?: readonly unknown[] | undefined;
|
|
53919
53947
|
address: Address;
|
|
@@ -53937,7 +53965,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53937
53965
|
chainId?: number | undefined;
|
|
53938
53966
|
connector?: wagmi0.Connector | undefined;
|
|
53939
53967
|
} | {
|
|
53940
|
-
abi:
|
|
53968
|
+
abi: abitype17.Abi;
|
|
53941
53969
|
functionName: string;
|
|
53942
53970
|
args?: readonly unknown[] | undefined;
|
|
53943
53971
|
address: Address;
|
|
@@ -53961,7 +53989,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53961
53989
|
chainId?: number | undefined;
|
|
53962
53990
|
connector?: wagmi0.Connector | undefined;
|
|
53963
53991
|
} | {
|
|
53964
|
-
abi:
|
|
53992
|
+
abi: abitype17.Abi;
|
|
53965
53993
|
functionName: string;
|
|
53966
53994
|
args?: readonly unknown[] | undefined;
|
|
53967
53995
|
address: Address;
|
|
@@ -53985,17 +54013,13 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53985
54013
|
chainId?: number | undefined;
|
|
53986
54014
|
connector?: wagmi0.Connector | undefined;
|
|
53987
54015
|
};
|
|
53988
|
-
isError: false;
|
|
53989
54016
|
isIdle: false;
|
|
53990
|
-
isPending: false;
|
|
53991
|
-
isSuccess: true;
|
|
53992
54017
|
reset: () => void;
|
|
53993
54018
|
context: unknown;
|
|
53994
|
-
failureCount: number;
|
|
53995
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53996
|
-
isPaused: boolean;
|
|
53997
54019
|
submittedAt: number;
|
|
53998
|
-
|
|
54020
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
54021
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
54022
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53999
54023
|
updateMarketFees: (rates: {
|
|
54000
54024
|
openingFeeRate?: number;
|
|
54001
54025
|
baseFeeRate?: number;
|
|
@@ -54985,21 +55009,23 @@ declare const useStaticPricingParams: (pricingAddr: Address | undefined) => Part
|
|
|
54985
55009
|
//#endregion
|
|
54986
55010
|
//#region src/hooks/pricing/useUpdateMarketPricing.d.ts
|
|
54987
55011
|
declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
54988
|
-
data: undefined;
|
|
54989
55012
|
error: null;
|
|
55013
|
+
data: undefined;
|
|
54990
55014
|
status: "idle";
|
|
54991
|
-
variables: undefined;
|
|
54992
55015
|
isError: false;
|
|
54993
|
-
isIdle: true;
|
|
54994
55016
|
isPending: false;
|
|
54995
55017
|
isSuccess: false;
|
|
54996
|
-
reset: () => void;
|
|
54997
|
-
context: unknown;
|
|
54998
55018
|
failureCount: number;
|
|
54999
55019
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55000
55020
|
isPaused: boolean;
|
|
55021
|
+
variables: undefined;
|
|
55022
|
+
isIdle: true;
|
|
55023
|
+
reset: () => void;
|
|
55024
|
+
context: unknown;
|
|
55001
55025
|
submittedAt: number;
|
|
55002
|
-
|
|
55026
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55027
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55028
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55003
55029
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55004
55030
|
model: "static";
|
|
55005
55031
|
} : Partial<OptionPricingParams> & {
|
|
@@ -55010,11 +55036,17 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55010
55036
|
newPricingAddr: `0x${string}`;
|
|
55011
55037
|
}>;
|
|
55012
55038
|
} | {
|
|
55013
|
-
data: undefined;
|
|
55014
55039
|
error: null;
|
|
55040
|
+
data: undefined;
|
|
55015
55041
|
status: "pending";
|
|
55042
|
+
isError: false;
|
|
55043
|
+
isPending: true;
|
|
55044
|
+
isSuccess: false;
|
|
55045
|
+
failureCount: number;
|
|
55046
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55047
|
+
isPaused: boolean;
|
|
55016
55048
|
variables: {
|
|
55017
|
-
abi:
|
|
55049
|
+
abi: abitype17.Abi;
|
|
55018
55050
|
functionName: string;
|
|
55019
55051
|
args?: readonly unknown[] | undefined;
|
|
55020
55052
|
address: Address;
|
|
@@ -55038,7 +55070,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55038
55070
|
chainId?: number | undefined;
|
|
55039
55071
|
connector?: wagmi0.Connector | undefined;
|
|
55040
55072
|
} | {
|
|
55041
|
-
abi:
|
|
55073
|
+
abi: abitype17.Abi;
|
|
55042
55074
|
functionName: string;
|
|
55043
55075
|
args?: readonly unknown[] | undefined;
|
|
55044
55076
|
address: Address;
|
|
@@ -55062,7 +55094,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55062
55094
|
chainId?: number | undefined;
|
|
55063
55095
|
connector?: wagmi0.Connector | undefined;
|
|
55064
55096
|
} | {
|
|
55065
|
-
abi:
|
|
55097
|
+
abi: abitype17.Abi;
|
|
55066
55098
|
functionName: string;
|
|
55067
55099
|
args?: readonly unknown[] | undefined;
|
|
55068
55100
|
address: Address;
|
|
@@ -55086,7 +55118,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55086
55118
|
chainId?: number | undefined;
|
|
55087
55119
|
connector?: wagmi0.Connector | undefined;
|
|
55088
55120
|
} | {
|
|
55089
|
-
abi:
|
|
55121
|
+
abi: abitype17.Abi;
|
|
55090
55122
|
functionName: string;
|
|
55091
55123
|
args?: readonly unknown[] | undefined;
|
|
55092
55124
|
address: Address;
|
|
@@ -55110,7 +55142,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55110
55142
|
chainId?: number | undefined;
|
|
55111
55143
|
connector?: wagmi0.Connector | undefined;
|
|
55112
55144
|
} | {
|
|
55113
|
-
abi:
|
|
55145
|
+
abi: abitype17.Abi;
|
|
55114
55146
|
functionName: string;
|
|
55115
55147
|
args?: readonly unknown[] | undefined;
|
|
55116
55148
|
address: Address;
|
|
@@ -55134,7 +55166,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55134
55166
|
chainId?: number | undefined;
|
|
55135
55167
|
connector?: wagmi0.Connector | undefined;
|
|
55136
55168
|
} | {
|
|
55137
|
-
abi:
|
|
55169
|
+
abi: abitype17.Abi;
|
|
55138
55170
|
functionName: string;
|
|
55139
55171
|
args?: readonly unknown[] | undefined;
|
|
55140
55172
|
address: Address;
|
|
@@ -55158,17 +55190,13 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55158
55190
|
chainId?: number | undefined;
|
|
55159
55191
|
connector?: wagmi0.Connector | undefined;
|
|
55160
55192
|
};
|
|
55161
|
-
isError: false;
|
|
55162
55193
|
isIdle: false;
|
|
55163
|
-
isPending: true;
|
|
55164
|
-
isSuccess: false;
|
|
55165
55194
|
reset: () => void;
|
|
55166
55195
|
context: unknown;
|
|
55167
|
-
failureCount: number;
|
|
55168
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55169
|
-
isPaused: boolean;
|
|
55170
55196
|
submittedAt: number;
|
|
55171
|
-
|
|
55197
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55198
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55199
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55172
55200
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55173
55201
|
model: "static";
|
|
55174
55202
|
} : Partial<OptionPricingParams> & {
|
|
@@ -55179,11 +55207,17 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55179
55207
|
newPricingAddr: `0x${string}`;
|
|
55180
55208
|
}>;
|
|
55181
55209
|
} | {
|
|
55182
|
-
data: undefined;
|
|
55183
55210
|
error: _wagmi_core0.WriteContractErrorType;
|
|
55211
|
+
data: undefined;
|
|
55184
55212
|
status: "error";
|
|
55213
|
+
isError: true;
|
|
55214
|
+
isPending: false;
|
|
55215
|
+
isSuccess: false;
|
|
55216
|
+
failureCount: number;
|
|
55217
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55218
|
+
isPaused: boolean;
|
|
55185
55219
|
variables: {
|
|
55186
|
-
abi:
|
|
55220
|
+
abi: abitype17.Abi;
|
|
55187
55221
|
functionName: string;
|
|
55188
55222
|
args?: readonly unknown[] | undefined;
|
|
55189
55223
|
address: Address;
|
|
@@ -55207,7 +55241,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55207
55241
|
chainId?: number | undefined;
|
|
55208
55242
|
connector?: wagmi0.Connector | undefined;
|
|
55209
55243
|
} | {
|
|
55210
|
-
abi:
|
|
55244
|
+
abi: abitype17.Abi;
|
|
55211
55245
|
functionName: string;
|
|
55212
55246
|
args?: readonly unknown[] | undefined;
|
|
55213
55247
|
address: Address;
|
|
@@ -55231,7 +55265,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55231
55265
|
chainId?: number | undefined;
|
|
55232
55266
|
connector?: wagmi0.Connector | undefined;
|
|
55233
55267
|
} | {
|
|
55234
|
-
abi:
|
|
55268
|
+
abi: abitype17.Abi;
|
|
55235
55269
|
functionName: string;
|
|
55236
55270
|
args?: readonly unknown[] | undefined;
|
|
55237
55271
|
address: Address;
|
|
@@ -55255,7 +55289,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55255
55289
|
chainId?: number | undefined;
|
|
55256
55290
|
connector?: wagmi0.Connector | undefined;
|
|
55257
55291
|
} | {
|
|
55258
|
-
abi:
|
|
55292
|
+
abi: abitype17.Abi;
|
|
55259
55293
|
functionName: string;
|
|
55260
55294
|
args?: readonly unknown[] | undefined;
|
|
55261
55295
|
address: Address;
|
|
@@ -55279,7 +55313,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55279
55313
|
chainId?: number | undefined;
|
|
55280
55314
|
connector?: wagmi0.Connector | undefined;
|
|
55281
55315
|
} | {
|
|
55282
|
-
abi:
|
|
55316
|
+
abi: abitype17.Abi;
|
|
55283
55317
|
functionName: string;
|
|
55284
55318
|
args?: readonly unknown[] | undefined;
|
|
55285
55319
|
address: Address;
|
|
@@ -55303,7 +55337,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55303
55337
|
chainId?: number | undefined;
|
|
55304
55338
|
connector?: wagmi0.Connector | undefined;
|
|
55305
55339
|
} | {
|
|
55306
|
-
abi:
|
|
55340
|
+
abi: abitype17.Abi;
|
|
55307
55341
|
functionName: string;
|
|
55308
55342
|
args?: readonly unknown[] | undefined;
|
|
55309
55343
|
address: Address;
|
|
@@ -55327,17 +55361,13 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55327
55361
|
chainId?: number | undefined;
|
|
55328
55362
|
connector?: wagmi0.Connector | undefined;
|
|
55329
55363
|
};
|
|
55330
|
-
isError: true;
|
|
55331
55364
|
isIdle: false;
|
|
55332
|
-
isPending: false;
|
|
55333
|
-
isSuccess: false;
|
|
55334
55365
|
reset: () => void;
|
|
55335
55366
|
context: unknown;
|
|
55336
|
-
failureCount: number;
|
|
55337
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55338
|
-
isPaused: boolean;
|
|
55339
55367
|
submittedAt: number;
|
|
55340
|
-
|
|
55368
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55369
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55370
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55341
55371
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55342
55372
|
model: "static";
|
|
55343
55373
|
} : Partial<OptionPricingParams> & {
|
|
@@ -55348,11 +55378,17 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55348
55378
|
newPricingAddr: `0x${string}`;
|
|
55349
55379
|
}>;
|
|
55350
55380
|
} | {
|
|
55351
|
-
data: `0x${string}`;
|
|
55352
55381
|
error: null;
|
|
55382
|
+
data: `0x${string}`;
|
|
55353
55383
|
status: "success";
|
|
55384
|
+
isError: false;
|
|
55385
|
+
isPending: false;
|
|
55386
|
+
isSuccess: true;
|
|
55387
|
+
failureCount: number;
|
|
55388
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55389
|
+
isPaused: boolean;
|
|
55354
55390
|
variables: {
|
|
55355
|
-
abi:
|
|
55391
|
+
abi: abitype17.Abi;
|
|
55356
55392
|
functionName: string;
|
|
55357
55393
|
args?: readonly unknown[] | undefined;
|
|
55358
55394
|
address: Address;
|
|
@@ -55376,7 +55412,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55376
55412
|
chainId?: number | undefined;
|
|
55377
55413
|
connector?: wagmi0.Connector | undefined;
|
|
55378
55414
|
} | {
|
|
55379
|
-
abi:
|
|
55415
|
+
abi: abitype17.Abi;
|
|
55380
55416
|
functionName: string;
|
|
55381
55417
|
args?: readonly unknown[] | undefined;
|
|
55382
55418
|
address: Address;
|
|
@@ -55400,7 +55436,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55400
55436
|
chainId?: number | undefined;
|
|
55401
55437
|
connector?: wagmi0.Connector | undefined;
|
|
55402
55438
|
} | {
|
|
55403
|
-
abi:
|
|
55439
|
+
abi: abitype17.Abi;
|
|
55404
55440
|
functionName: string;
|
|
55405
55441
|
args?: readonly unknown[] | undefined;
|
|
55406
55442
|
address: Address;
|
|
@@ -55424,7 +55460,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55424
55460
|
chainId?: number | undefined;
|
|
55425
55461
|
connector?: wagmi0.Connector | undefined;
|
|
55426
55462
|
} | {
|
|
55427
|
-
abi:
|
|
55463
|
+
abi: abitype17.Abi;
|
|
55428
55464
|
functionName: string;
|
|
55429
55465
|
args?: readonly unknown[] | undefined;
|
|
55430
55466
|
address: Address;
|
|
@@ -55448,7 +55484,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55448
55484
|
chainId?: number | undefined;
|
|
55449
55485
|
connector?: wagmi0.Connector | undefined;
|
|
55450
55486
|
} | {
|
|
55451
|
-
abi:
|
|
55487
|
+
abi: abitype17.Abi;
|
|
55452
55488
|
functionName: string;
|
|
55453
55489
|
args?: readonly unknown[] | undefined;
|
|
55454
55490
|
address: Address;
|
|
@@ -55472,7 +55508,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55472
55508
|
chainId?: number | undefined;
|
|
55473
55509
|
connector?: wagmi0.Connector | undefined;
|
|
55474
55510
|
} | {
|
|
55475
|
-
abi:
|
|
55511
|
+
abi: abitype17.Abi;
|
|
55476
55512
|
functionName: string;
|
|
55477
55513
|
args?: readonly unknown[] | undefined;
|
|
55478
55514
|
address: Address;
|
|
@@ -55496,17 +55532,13 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55496
55532
|
chainId?: number | undefined;
|
|
55497
55533
|
connector?: wagmi0.Connector | undefined;
|
|
55498
55534
|
};
|
|
55499
|
-
isError: false;
|
|
55500
55535
|
isIdle: false;
|
|
55501
|
-
isPending: false;
|
|
55502
|
-
isSuccess: true;
|
|
55503
55536
|
reset: () => void;
|
|
55504
55537
|
context: unknown;
|
|
55505
|
-
failureCount: number;
|
|
55506
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55507
|
-
isPaused: boolean;
|
|
55508
55538
|
submittedAt: number;
|
|
55509
|
-
|
|
55539
|
+
mutate: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55540
|
+
mutateAsync: wagmi_query11.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55541
|
+
writeContract: wagmi_query11.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55510
55542
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55511
55543
|
model: "static";
|
|
55512
55544
|
} : Partial<OptionPricingParams> & {
|
|
@@ -97744,4 +97776,4 @@ declare const useLens: () => {
|
|
|
97744
97776
|
};
|
|
97745
97777
|
//#endregion
|
|
97746
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 };
|
|
97747
|
-
//# sourceMappingURL=client-
|
|
97779
|
+
//# sourceMappingURL=client-q6so0Zef.d.ts.map
|