timelock-sdk 0.0.188 → 0.0.189
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-
|
|
1
|
+
import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-B0Om62Sk.cjs";
|
|
2
2
|
import * as viem491 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
|
-
import Big from "big.js";
|
|
5
|
-
import JSBI from "jsbi";
|
|
6
4
|
import React, { ReactNode } from "react";
|
|
5
|
+
import "graphql";
|
|
7
6
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
8
|
-
import * as
|
|
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_query0 from "wagmi/query";
|
|
15
|
+
import * as abitype0 from "abitype";
|
|
16
16
|
|
|
17
17
|
//#region src/generated/graphql.d.ts
|
|
18
18
|
type Exact<T$1 extends {
|
|
@@ -49254,7 +49254,7 @@ declare const useMarketState: (marketAddr: Address | undefined) => wagmi0.UseRea
|
|
|
49254
49254
|
}>;
|
|
49255
49255
|
//#endregion
|
|
49256
49256
|
//#region src/hooks/market/useMarketVolume.d.ts
|
|
49257
|
-
declare const useMarketVolume: (marketAddr: Address | undefined) =>
|
|
49257
|
+
declare const useMarketVolume: (marketAddr: Address | undefined) => _tanstack_react_query0.UseQueryResult<{
|
|
49258
49258
|
address: Address;
|
|
49259
49259
|
volume: bigint;
|
|
49260
49260
|
optionsCount: bigint;
|
|
@@ -49462,7 +49462,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
49462
49462
|
};
|
|
49463
49463
|
//#endregion
|
|
49464
49464
|
//#region src/hooks/options/useMintOption.d.ts
|
|
49465
|
-
declare const useMintOption: (marketAddr: Address | undefined) =>
|
|
49465
|
+
declare const useMintOption: (marketAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
49466
49466
|
optionType: "CALL" | "PUT";
|
|
49467
49467
|
amount: bigint;
|
|
49468
49468
|
duration: number;
|
|
@@ -49472,7 +49472,7 @@ declare const useMintOption: (marketAddr: Address | undefined) => _tanstack_reac
|
|
|
49472
49472
|
//#endregion
|
|
49473
49473
|
//#region src/hooks/options/useUserOptions.d.ts
|
|
49474
49474
|
type OptionData = NonUndefinedGuard<ReturnType<typeof useUserOptions>['data']>[number];
|
|
49475
|
-
declare const useUserOptions: (userAddr: Address | undefined, marketAddr: Address | "*" | undefined, active?: boolean) =>
|
|
49475
|
+
declare const useUserOptions: (userAddr: Address | undefined, marketAddr: Address | "*" | undefined, active?: boolean) => _tanstack_react_query0.UseQueryResult<{
|
|
49476
49476
|
optionId: bigint;
|
|
49477
49477
|
marketAddr: Address;
|
|
49478
49478
|
ownerAddr: Address;
|
|
@@ -49502,7 +49502,7 @@ declare const useUserOptions: (userAddr: Address | undefined, marketAddr: Addres
|
|
|
49502
49502
|
address: string;
|
|
49503
49503
|
} | null;
|
|
49504
49504
|
}[], Error>;
|
|
49505
|
-
declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address | "*") =>
|
|
49505
|
+
declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => _tanstack_react_query0.UseQueryResult<{
|
|
49506
49506
|
optionId: bigint;
|
|
49507
49507
|
marketAddr: Address;
|
|
49508
49508
|
ownerAddr: Address;
|
|
@@ -49532,7 +49532,7 @@ declare const useActiveUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
49532
49532
|
address: string;
|
|
49533
49533
|
} | null;
|
|
49534
49534
|
}[], Error>;
|
|
49535
|
-
declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address | "*") =>
|
|
49535
|
+
declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address | "*") => _tanstack_react_query0.UseQueryResult<{
|
|
49536
49536
|
optionId: bigint;
|
|
49537
49537
|
marketAddr: Address;
|
|
49538
49538
|
ownerAddr: Address;
|
|
@@ -49564,7 +49564,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
49564
49564
|
}[], Error>;
|
|
49565
49565
|
//#endregion
|
|
49566
49566
|
//#region src/hooks/options/useExerciseOption.d.ts
|
|
49567
|
-
declare const useExerciseOption: (marketAddr: Address | undefined) =>
|
|
49567
|
+
declare const useExerciseOption: (marketAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
49568
49568
|
option: OptionData;
|
|
49569
49569
|
liquidities: readonly bigint[];
|
|
49570
49570
|
}, unknown>;
|
|
@@ -49587,7 +49587,7 @@ declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "C
|
|
|
49587
49587
|
};
|
|
49588
49588
|
//#endregion
|
|
49589
49589
|
//#region src/hooks/options/useExtendOption.d.ts
|
|
49590
|
-
declare const useExtendOption: (marketAddr: Address | undefined) =>
|
|
49590
|
+
declare const useExtendOption: (marketAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
49591
49591
|
option: OptionData;
|
|
49592
49592
|
duration: number;
|
|
49593
49593
|
}, unknown>;
|
|
@@ -49603,7 +49603,7 @@ type ExerciseOptionEvent = Extract<OptionEvent, {
|
|
|
49603
49603
|
type ExtendEvent = Extract<OptionEvent, {
|
|
49604
49604
|
type: 'extend';
|
|
49605
49605
|
}>;
|
|
49606
|
-
declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: bigint | undefined) =>
|
|
49606
|
+
declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: bigint | undefined) => _tanstack_react_query0.UseQueryResult<({
|
|
49607
49607
|
type: "mint";
|
|
49608
49608
|
data: {
|
|
49609
49609
|
id: string;
|
|
@@ -49644,7 +49644,7 @@ declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: big
|
|
|
49644
49644
|
})[], Error>;
|
|
49645
49645
|
//#endregion
|
|
49646
49646
|
//#region src/hooks/perps/useMintPerp.d.ts
|
|
49647
|
-
declare const useMintPerp: (marketAddr: Address | undefined) =>
|
|
49647
|
+
declare const useMintPerp: (marketAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<void, Error, {
|
|
49648
49648
|
optionType: "CALL" | "PUT";
|
|
49649
49649
|
amount: bigint;
|
|
49650
49650
|
duration: number;
|
|
@@ -49652,17 +49652,17 @@ declare const useMintPerp: (marketAddr: Address | undefined) => _tanstack_react_
|
|
|
49652
49652
|
}, unknown>;
|
|
49653
49653
|
//#endregion
|
|
49654
49654
|
//#region src/hooks/perps/useClosePerp.d.ts
|
|
49655
|
-
declare const useClosePerp: () =>
|
|
49655
|
+
declare const useClosePerp: () => _tanstack_react_query0.UseMutationResult<void, Error, ExercisePerpBody, unknown>;
|
|
49656
49656
|
//#endregion
|
|
49657
49657
|
//#region src/hooks/perps/usePerpsOperator.d.ts
|
|
49658
49658
|
declare const usePerpsOperator: () => {
|
|
49659
49659
|
operator: PerpsOperator | undefined;
|
|
49660
49660
|
address: `0x${string}` | undefined;
|
|
49661
|
-
signMessage:
|
|
49661
|
+
signMessage: _tanstack_react_query0.UseMutationResult<void, Error, void, unknown>;
|
|
49662
49662
|
};
|
|
49663
49663
|
//#endregion
|
|
49664
49664
|
//#region src/hooks/perps/useUserPerps.d.ts
|
|
49665
|
-
declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined, type: "active" | "closed" | undefined) =>
|
|
49665
|
+
declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined, type: "active" | "closed" | undefined) => _tanstack_react_query0.UseQueryResult<{
|
|
49666
49666
|
optionId: bigint;
|
|
49667
49667
|
id: string;
|
|
49668
49668
|
ownerAddr: Address;
|
|
@@ -49671,7 +49671,7 @@ declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address
|
|
|
49671
49671
|
expiresAt: number;
|
|
49672
49672
|
closed: boolean;
|
|
49673
49673
|
}[] | undefined, Error>;
|
|
49674
|
-
declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) =>
|
|
49674
|
+
declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) => _tanstack_react_query0.UseQueryResult<{
|
|
49675
49675
|
optionId: bigint;
|
|
49676
49676
|
id: string;
|
|
49677
49677
|
ownerAddr: Address;
|
|
@@ -49680,7 +49680,7 @@ declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Ad
|
|
|
49680
49680
|
expiresAt: number;
|
|
49681
49681
|
closed: boolean;
|
|
49682
49682
|
}[] | undefined, Error>;
|
|
49683
|
-
declare const useClosedUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) =>
|
|
49683
|
+
declare const useClosedUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) => _tanstack_react_query0.UseQueryResult<{
|
|
49684
49684
|
optionId: bigint;
|
|
49685
49685
|
id: string;
|
|
49686
49686
|
ownerAddr: Address;
|
|
@@ -49904,7 +49904,7 @@ declare const useOperatorPerms: (marketAddr?: Address, userAddr?: Address, opera
|
|
|
49904
49904
|
};
|
|
49905
49905
|
//#endregion
|
|
49906
49906
|
//#region src/hooks/operators/useUserOperators.d.ts
|
|
49907
|
-
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) =>
|
|
49907
|
+
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => _tanstack_react_query0.UseQueryResult<{
|
|
49908
49908
|
spendingApproval: bigint;
|
|
49909
49909
|
operatorAddr: string;
|
|
49910
49910
|
__typename: "UserMarketOperator";
|
|
@@ -49920,7 +49920,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => _t
|
|
|
49920
49920
|
}[] | undefined, Error>;
|
|
49921
49921
|
//#endregion
|
|
49922
49922
|
//#region src/hooks/operators/useSetOperatorPerms.d.ts
|
|
49923
|
-
declare const useSetOperatorPerms: (marketAddr: Address | undefined) =>
|
|
49923
|
+
declare const useSetOperatorPerms: (marketAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
49924
49924
|
operator: Address;
|
|
49925
49925
|
canExtend: boolean;
|
|
49926
49926
|
canExercise: boolean;
|
|
@@ -50846,8 +50846,8 @@ declare const usePriceAtTick: (poolManager?: Address, poolKey?: PoolKey, tick?:
|
|
|
50846
50846
|
declare const usePriceAtSqrtPriceX96: (poolManager?: Address, poolKey?: PoolKey, sqrtPriceX96?: bigint) => Amount | undefined;
|
|
50847
50847
|
//#endregion
|
|
50848
50848
|
//#region src/hooks/pool/usePriceHistory.d.ts
|
|
50849
|
-
declare const usePriceHistory: (pool: Address | undefined, token: 0 | 1, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) =>
|
|
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_query0.UseQueryResult<PriceDataPoint[], Error>;
|
|
50850
|
+
declare const useMarketPriceHistory: (marketAddr: Address | undefined, resolution: PriceResolution, startTimestamp: Date, endTimestamp: Date) => _tanstack_react_query0.UseQueryResult<PriceDataPoint[], Error>;
|
|
50851
50851
|
//#endregion
|
|
50852
50852
|
//#region src/hooks/vault/useBurnLiquidity.d.ts
|
|
50853
50853
|
interface BurnPosition {
|
|
@@ -51266,7 +51266,7 @@ interface MintPositionParams {
|
|
|
51266
51266
|
tickUpper: number;
|
|
51267
51267
|
liquidity: bigint;
|
|
51268
51268
|
}
|
|
51269
|
-
declare const useMintLiquidity: (vaultAddr: Address | undefined) =>
|
|
51269
|
+
declare const useMintLiquidity: (vaultAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<void, Error, MintPositionParams | MintPositionParams[], unknown>;
|
|
51270
51270
|
//#endregion
|
|
51271
51271
|
//#region src/hooks/vault/useVaultData.d.ts
|
|
51272
51272
|
declare const useVaultData: (vaultAddr: Address | undefined) => Partial<NonUndefinedGuard<{
|
|
@@ -52456,33 +52456,27 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52456
52456
|
error: null;
|
|
52457
52457
|
data: undefined;
|
|
52458
52458
|
status: "idle";
|
|
52459
|
+
variables: undefined;
|
|
52459
52460
|
isError: false;
|
|
52461
|
+
isIdle: true;
|
|
52460
52462
|
isPending: false;
|
|
52461
52463
|
isSuccess: false;
|
|
52464
|
+
reset: () => void;
|
|
52465
|
+
context: unknown;
|
|
52462
52466
|
failureCount: number;
|
|
52463
52467
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52464
52468
|
isPaused: boolean;
|
|
52465
|
-
variables: undefined;
|
|
52466
|
-
isIdle: true;
|
|
52467
|
-
reset: () => void;
|
|
52468
|
-
context: unknown;
|
|
52469
52469
|
submittedAt: number;
|
|
52470
|
-
mutate:
|
|
52471
|
-
mutateAsync:
|
|
52472
|
-
writeContract:
|
|
52470
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52471
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52472
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52473
52473
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52474
52474
|
} | {
|
|
52475
52475
|
error: null;
|
|
52476
52476
|
data: undefined;
|
|
52477
52477
|
status: "pending";
|
|
52478
|
-
isError: false;
|
|
52479
|
-
isPending: true;
|
|
52480
|
-
isSuccess: false;
|
|
52481
|
-
failureCount: number;
|
|
52482
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52483
|
-
isPaused: boolean;
|
|
52484
52478
|
variables: {
|
|
52485
|
-
abi:
|
|
52479
|
+
abi: abitype0.Abi;
|
|
52486
52480
|
functionName: string;
|
|
52487
52481
|
args?: readonly unknown[] | undefined;
|
|
52488
52482
|
address: Address;
|
|
@@ -52506,7 +52500,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52506
52500
|
chainId?: number | undefined;
|
|
52507
52501
|
connector?: wagmi0.Connector | undefined;
|
|
52508
52502
|
} | {
|
|
52509
|
-
abi:
|
|
52503
|
+
abi: abitype0.Abi;
|
|
52510
52504
|
functionName: string;
|
|
52511
52505
|
args?: readonly unknown[] | undefined;
|
|
52512
52506
|
address: Address;
|
|
@@ -52530,7 +52524,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52530
52524
|
chainId?: number | undefined;
|
|
52531
52525
|
connector?: wagmi0.Connector | undefined;
|
|
52532
52526
|
} | {
|
|
52533
|
-
abi:
|
|
52527
|
+
abi: abitype0.Abi;
|
|
52534
52528
|
functionName: string;
|
|
52535
52529
|
args?: readonly unknown[] | undefined;
|
|
52536
52530
|
address: Address;
|
|
@@ -52554,7 +52548,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52554
52548
|
chainId?: number | undefined;
|
|
52555
52549
|
connector?: wagmi0.Connector | undefined;
|
|
52556
52550
|
} | {
|
|
52557
|
-
abi:
|
|
52551
|
+
abi: abitype0.Abi;
|
|
52558
52552
|
functionName: string;
|
|
52559
52553
|
args?: readonly unknown[] | undefined;
|
|
52560
52554
|
address: Address;
|
|
@@ -52578,7 +52572,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52578
52572
|
chainId?: number | undefined;
|
|
52579
52573
|
connector?: wagmi0.Connector | undefined;
|
|
52580
52574
|
} | {
|
|
52581
|
-
abi:
|
|
52575
|
+
abi: abitype0.Abi;
|
|
52582
52576
|
functionName: string;
|
|
52583
52577
|
args?: readonly unknown[] | undefined;
|
|
52584
52578
|
address: Address;
|
|
@@ -52602,7 +52596,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52602
52596
|
chainId?: number | undefined;
|
|
52603
52597
|
connector?: wagmi0.Connector | undefined;
|
|
52604
52598
|
} | {
|
|
52605
|
-
abi:
|
|
52599
|
+
abi: abitype0.Abi;
|
|
52606
52600
|
functionName: string;
|
|
52607
52601
|
args?: readonly unknown[] | undefined;
|
|
52608
52602
|
address: Address;
|
|
@@ -52626,26 +52620,26 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52626
52620
|
chainId?: number | undefined;
|
|
52627
52621
|
connector?: wagmi0.Connector | undefined;
|
|
52628
52622
|
};
|
|
52623
|
+
isError: false;
|
|
52629
52624
|
isIdle: false;
|
|
52625
|
+
isPending: true;
|
|
52626
|
+
isSuccess: false;
|
|
52630
52627
|
reset: () => void;
|
|
52631
52628
|
context: unknown;
|
|
52629
|
+
failureCount: number;
|
|
52630
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52631
|
+
isPaused: boolean;
|
|
52632
52632
|
submittedAt: number;
|
|
52633
|
-
mutate:
|
|
52634
|
-
mutateAsync:
|
|
52635
|
-
writeContract:
|
|
52633
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52634
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52635
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52636
52636
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52637
52637
|
} | {
|
|
52638
52638
|
error: _wagmi_core0.WriteContractErrorType;
|
|
52639
52639
|
data: undefined;
|
|
52640
52640
|
status: "error";
|
|
52641
|
-
isError: true;
|
|
52642
|
-
isPending: false;
|
|
52643
|
-
isSuccess: false;
|
|
52644
|
-
failureCount: number;
|
|
52645
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52646
|
-
isPaused: boolean;
|
|
52647
52641
|
variables: {
|
|
52648
|
-
abi:
|
|
52642
|
+
abi: abitype0.Abi;
|
|
52649
52643
|
functionName: string;
|
|
52650
52644
|
args?: readonly unknown[] | undefined;
|
|
52651
52645
|
address: Address;
|
|
@@ -52669,7 +52663,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52669
52663
|
chainId?: number | undefined;
|
|
52670
52664
|
connector?: wagmi0.Connector | undefined;
|
|
52671
52665
|
} | {
|
|
52672
|
-
abi:
|
|
52666
|
+
abi: abitype0.Abi;
|
|
52673
52667
|
functionName: string;
|
|
52674
52668
|
args?: readonly unknown[] | undefined;
|
|
52675
52669
|
address: Address;
|
|
@@ -52693,7 +52687,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52693
52687
|
chainId?: number | undefined;
|
|
52694
52688
|
connector?: wagmi0.Connector | undefined;
|
|
52695
52689
|
} | {
|
|
52696
|
-
abi:
|
|
52690
|
+
abi: abitype0.Abi;
|
|
52697
52691
|
functionName: string;
|
|
52698
52692
|
args?: readonly unknown[] | undefined;
|
|
52699
52693
|
address: Address;
|
|
@@ -52717,7 +52711,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52717
52711
|
chainId?: number | undefined;
|
|
52718
52712
|
connector?: wagmi0.Connector | undefined;
|
|
52719
52713
|
} | {
|
|
52720
|
-
abi:
|
|
52714
|
+
abi: abitype0.Abi;
|
|
52721
52715
|
functionName: string;
|
|
52722
52716
|
args?: readonly unknown[] | undefined;
|
|
52723
52717
|
address: Address;
|
|
@@ -52741,7 +52735,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52741
52735
|
chainId?: number | undefined;
|
|
52742
52736
|
connector?: wagmi0.Connector | undefined;
|
|
52743
52737
|
} | {
|
|
52744
|
-
abi:
|
|
52738
|
+
abi: abitype0.Abi;
|
|
52745
52739
|
functionName: string;
|
|
52746
52740
|
args?: readonly unknown[] | undefined;
|
|
52747
52741
|
address: Address;
|
|
@@ -52765,7 +52759,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52765
52759
|
chainId?: number | undefined;
|
|
52766
52760
|
connector?: wagmi0.Connector | undefined;
|
|
52767
52761
|
} | {
|
|
52768
|
-
abi:
|
|
52762
|
+
abi: abitype0.Abi;
|
|
52769
52763
|
functionName: string;
|
|
52770
52764
|
args?: readonly unknown[] | undefined;
|
|
52771
52765
|
address: Address;
|
|
@@ -52789,26 +52783,26 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52789
52783
|
chainId?: number | undefined;
|
|
52790
52784
|
connector?: wagmi0.Connector | undefined;
|
|
52791
52785
|
};
|
|
52786
|
+
isError: true;
|
|
52792
52787
|
isIdle: false;
|
|
52788
|
+
isPending: false;
|
|
52789
|
+
isSuccess: false;
|
|
52793
52790
|
reset: () => void;
|
|
52794
52791
|
context: unknown;
|
|
52792
|
+
failureCount: number;
|
|
52793
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52794
|
+
isPaused: boolean;
|
|
52795
52795
|
submittedAt: number;
|
|
52796
|
-
mutate:
|
|
52797
|
-
mutateAsync:
|
|
52798
|
-
writeContract:
|
|
52796
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52797
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52798
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52799
52799
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52800
52800
|
} | {
|
|
52801
52801
|
error: null;
|
|
52802
52802
|
data: `0x${string}`;
|
|
52803
52803
|
status: "success";
|
|
52804
|
-
isError: false;
|
|
52805
|
-
isPending: false;
|
|
52806
|
-
isSuccess: true;
|
|
52807
|
-
failureCount: number;
|
|
52808
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52809
|
-
isPaused: boolean;
|
|
52810
52804
|
variables: {
|
|
52811
|
-
abi:
|
|
52805
|
+
abi: abitype0.Abi;
|
|
52812
52806
|
functionName: string;
|
|
52813
52807
|
args?: readonly unknown[] | undefined;
|
|
52814
52808
|
address: Address;
|
|
@@ -52832,7 +52826,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52832
52826
|
chainId?: number | undefined;
|
|
52833
52827
|
connector?: wagmi0.Connector | undefined;
|
|
52834
52828
|
} | {
|
|
52835
|
-
abi:
|
|
52829
|
+
abi: abitype0.Abi;
|
|
52836
52830
|
functionName: string;
|
|
52837
52831
|
args?: readonly unknown[] | undefined;
|
|
52838
52832
|
address: Address;
|
|
@@ -52856,7 +52850,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52856
52850
|
chainId?: number | undefined;
|
|
52857
52851
|
connector?: wagmi0.Connector | undefined;
|
|
52858
52852
|
} | {
|
|
52859
|
-
abi:
|
|
52853
|
+
abi: abitype0.Abi;
|
|
52860
52854
|
functionName: string;
|
|
52861
52855
|
args?: readonly unknown[] | undefined;
|
|
52862
52856
|
address: Address;
|
|
@@ -52880,7 +52874,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52880
52874
|
chainId?: number | undefined;
|
|
52881
52875
|
connector?: wagmi0.Connector | undefined;
|
|
52882
52876
|
} | {
|
|
52883
|
-
abi:
|
|
52877
|
+
abi: abitype0.Abi;
|
|
52884
52878
|
functionName: string;
|
|
52885
52879
|
args?: readonly unknown[] | undefined;
|
|
52886
52880
|
address: Address;
|
|
@@ -52904,7 +52898,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52904
52898
|
chainId?: number | undefined;
|
|
52905
52899
|
connector?: wagmi0.Connector | undefined;
|
|
52906
52900
|
} | {
|
|
52907
|
-
abi:
|
|
52901
|
+
abi: abitype0.Abi;
|
|
52908
52902
|
functionName: string;
|
|
52909
52903
|
args?: readonly unknown[] | undefined;
|
|
52910
52904
|
address: Address;
|
|
@@ -52928,7 +52922,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52928
52922
|
chainId?: number | undefined;
|
|
52929
52923
|
connector?: wagmi0.Connector | undefined;
|
|
52930
52924
|
} | {
|
|
52931
|
-
abi:
|
|
52925
|
+
abi: abitype0.Abi;
|
|
52932
52926
|
functionName: string;
|
|
52933
52927
|
args?: readonly unknown[] | undefined;
|
|
52934
52928
|
address: Address;
|
|
@@ -52952,13 +52946,19 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52952
52946
|
chainId?: number | undefined;
|
|
52953
52947
|
connector?: wagmi0.Connector | undefined;
|
|
52954
52948
|
};
|
|
52949
|
+
isError: false;
|
|
52955
52950
|
isIdle: false;
|
|
52951
|
+
isPending: false;
|
|
52952
|
+
isSuccess: true;
|
|
52956
52953
|
reset: () => void;
|
|
52957
52954
|
context: unknown;
|
|
52955
|
+
failureCount: number;
|
|
52956
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52957
|
+
isPaused: boolean;
|
|
52958
52958
|
submittedAt: number;
|
|
52959
|
-
mutate:
|
|
52960
|
-
mutateAsync:
|
|
52961
|
-
writeContract:
|
|
52959
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52960
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52961
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52962
52962
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52963
52963
|
};
|
|
52964
52964
|
//#endregion
|
|
@@ -52967,33 +52967,27 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
52967
52967
|
error: null;
|
|
52968
52968
|
data: undefined;
|
|
52969
52969
|
status: "idle";
|
|
52970
|
+
variables: undefined;
|
|
52970
52971
|
isError: false;
|
|
52972
|
+
isIdle: true;
|
|
52971
52973
|
isPending: false;
|
|
52972
52974
|
isSuccess: false;
|
|
52975
|
+
reset: () => void;
|
|
52976
|
+
context: unknown;
|
|
52973
52977
|
failureCount: number;
|
|
52974
52978
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52975
52979
|
isPaused: boolean;
|
|
52976
|
-
variables: undefined;
|
|
52977
|
-
isIdle: true;
|
|
52978
|
-
reset: () => void;
|
|
52979
|
-
context: unknown;
|
|
52980
52980
|
submittedAt: number;
|
|
52981
|
-
mutate:
|
|
52982
|
-
mutateAsync:
|
|
52983
|
-
writeContract:
|
|
52981
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52982
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
52983
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
52984
52984
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
52985
52985
|
} | {
|
|
52986
52986
|
error: null;
|
|
52987
52987
|
data: undefined;
|
|
52988
52988
|
status: "pending";
|
|
52989
|
-
isError: false;
|
|
52990
|
-
isPending: true;
|
|
52991
|
-
isSuccess: false;
|
|
52992
|
-
failureCount: number;
|
|
52993
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52994
|
-
isPaused: boolean;
|
|
52995
52989
|
variables: {
|
|
52996
|
-
abi:
|
|
52990
|
+
abi: abitype0.Abi;
|
|
52997
52991
|
functionName: string;
|
|
52998
52992
|
args?: readonly unknown[] | undefined;
|
|
52999
52993
|
address: Address;
|
|
@@ -53017,7 +53011,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53017
53011
|
chainId?: number | undefined;
|
|
53018
53012
|
connector?: wagmi0.Connector | undefined;
|
|
53019
53013
|
} | {
|
|
53020
|
-
abi:
|
|
53014
|
+
abi: abitype0.Abi;
|
|
53021
53015
|
functionName: string;
|
|
53022
53016
|
args?: readonly unknown[] | undefined;
|
|
53023
53017
|
address: Address;
|
|
@@ -53041,7 +53035,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53041
53035
|
chainId?: number | undefined;
|
|
53042
53036
|
connector?: wagmi0.Connector | undefined;
|
|
53043
53037
|
} | {
|
|
53044
|
-
abi:
|
|
53038
|
+
abi: abitype0.Abi;
|
|
53045
53039
|
functionName: string;
|
|
53046
53040
|
args?: readonly unknown[] | undefined;
|
|
53047
53041
|
address: Address;
|
|
@@ -53065,7 +53059,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53065
53059
|
chainId?: number | undefined;
|
|
53066
53060
|
connector?: wagmi0.Connector | undefined;
|
|
53067
53061
|
} | {
|
|
53068
|
-
abi:
|
|
53062
|
+
abi: abitype0.Abi;
|
|
53069
53063
|
functionName: string;
|
|
53070
53064
|
args?: readonly unknown[] | undefined;
|
|
53071
53065
|
address: Address;
|
|
@@ -53089,7 +53083,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53089
53083
|
chainId?: number | undefined;
|
|
53090
53084
|
connector?: wagmi0.Connector | undefined;
|
|
53091
53085
|
} | {
|
|
53092
|
-
abi:
|
|
53086
|
+
abi: abitype0.Abi;
|
|
53093
53087
|
functionName: string;
|
|
53094
53088
|
args?: readonly unknown[] | undefined;
|
|
53095
53089
|
address: Address;
|
|
@@ -53113,7 +53107,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53113
53107
|
chainId?: number | undefined;
|
|
53114
53108
|
connector?: wagmi0.Connector | undefined;
|
|
53115
53109
|
} | {
|
|
53116
|
-
abi:
|
|
53110
|
+
abi: abitype0.Abi;
|
|
53117
53111
|
functionName: string;
|
|
53118
53112
|
args?: readonly unknown[] | undefined;
|
|
53119
53113
|
address: Address;
|
|
@@ -53137,26 +53131,26 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53137
53131
|
chainId?: number | undefined;
|
|
53138
53132
|
connector?: wagmi0.Connector | undefined;
|
|
53139
53133
|
};
|
|
53134
|
+
isError: false;
|
|
53140
53135
|
isIdle: false;
|
|
53136
|
+
isPending: true;
|
|
53137
|
+
isSuccess: false;
|
|
53141
53138
|
reset: () => void;
|
|
53142
53139
|
context: unknown;
|
|
53140
|
+
failureCount: number;
|
|
53141
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53142
|
+
isPaused: boolean;
|
|
53143
53143
|
submittedAt: number;
|
|
53144
|
-
mutate:
|
|
53145
|
-
mutateAsync:
|
|
53146
|
-
writeContract:
|
|
53144
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53145
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53146
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53147
53147
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53148
53148
|
} | {
|
|
53149
53149
|
error: _wagmi_core0.WriteContractErrorType;
|
|
53150
53150
|
data: undefined;
|
|
53151
53151
|
status: "error";
|
|
53152
|
-
isError: true;
|
|
53153
|
-
isPending: false;
|
|
53154
|
-
isSuccess: false;
|
|
53155
|
-
failureCount: number;
|
|
53156
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53157
|
-
isPaused: boolean;
|
|
53158
53152
|
variables: {
|
|
53159
|
-
abi:
|
|
53153
|
+
abi: abitype0.Abi;
|
|
53160
53154
|
functionName: string;
|
|
53161
53155
|
args?: readonly unknown[] | undefined;
|
|
53162
53156
|
address: Address;
|
|
@@ -53180,7 +53174,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53180
53174
|
chainId?: number | undefined;
|
|
53181
53175
|
connector?: wagmi0.Connector | undefined;
|
|
53182
53176
|
} | {
|
|
53183
|
-
abi:
|
|
53177
|
+
abi: abitype0.Abi;
|
|
53184
53178
|
functionName: string;
|
|
53185
53179
|
args?: readonly unknown[] | undefined;
|
|
53186
53180
|
address: Address;
|
|
@@ -53204,7 +53198,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53204
53198
|
chainId?: number | undefined;
|
|
53205
53199
|
connector?: wagmi0.Connector | undefined;
|
|
53206
53200
|
} | {
|
|
53207
|
-
abi:
|
|
53201
|
+
abi: abitype0.Abi;
|
|
53208
53202
|
functionName: string;
|
|
53209
53203
|
args?: readonly unknown[] | undefined;
|
|
53210
53204
|
address: Address;
|
|
@@ -53228,7 +53222,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53228
53222
|
chainId?: number | undefined;
|
|
53229
53223
|
connector?: wagmi0.Connector | undefined;
|
|
53230
53224
|
} | {
|
|
53231
|
-
abi:
|
|
53225
|
+
abi: abitype0.Abi;
|
|
53232
53226
|
functionName: string;
|
|
53233
53227
|
args?: readonly unknown[] | undefined;
|
|
53234
53228
|
address: Address;
|
|
@@ -53252,7 +53246,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53252
53246
|
chainId?: number | undefined;
|
|
53253
53247
|
connector?: wagmi0.Connector | undefined;
|
|
53254
53248
|
} | {
|
|
53255
|
-
abi:
|
|
53249
|
+
abi: abitype0.Abi;
|
|
53256
53250
|
functionName: string;
|
|
53257
53251
|
args?: readonly unknown[] | undefined;
|
|
53258
53252
|
address: Address;
|
|
@@ -53276,7 +53270,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53276
53270
|
chainId?: number | undefined;
|
|
53277
53271
|
connector?: wagmi0.Connector | undefined;
|
|
53278
53272
|
} | {
|
|
53279
|
-
abi:
|
|
53273
|
+
abi: abitype0.Abi;
|
|
53280
53274
|
functionName: string;
|
|
53281
53275
|
args?: readonly unknown[] | undefined;
|
|
53282
53276
|
address: Address;
|
|
@@ -53300,26 +53294,26 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53300
53294
|
chainId?: number | undefined;
|
|
53301
53295
|
connector?: wagmi0.Connector | undefined;
|
|
53302
53296
|
};
|
|
53297
|
+
isError: true;
|
|
53303
53298
|
isIdle: false;
|
|
53299
|
+
isPending: false;
|
|
53300
|
+
isSuccess: false;
|
|
53304
53301
|
reset: () => void;
|
|
53305
53302
|
context: unknown;
|
|
53303
|
+
failureCount: number;
|
|
53304
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53305
|
+
isPaused: boolean;
|
|
53306
53306
|
submittedAt: number;
|
|
53307
|
-
mutate:
|
|
53308
|
-
mutateAsync:
|
|
53309
|
-
writeContract:
|
|
53307
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53308
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53309
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53310
53310
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53311
53311
|
} | {
|
|
53312
53312
|
error: null;
|
|
53313
53313
|
data: `0x${string}`;
|
|
53314
53314
|
status: "success";
|
|
53315
|
-
isError: false;
|
|
53316
|
-
isPending: false;
|
|
53317
|
-
isSuccess: true;
|
|
53318
|
-
failureCount: number;
|
|
53319
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53320
|
-
isPaused: boolean;
|
|
53321
53315
|
variables: {
|
|
53322
|
-
abi:
|
|
53316
|
+
abi: abitype0.Abi;
|
|
53323
53317
|
functionName: string;
|
|
53324
53318
|
args?: readonly unknown[] | undefined;
|
|
53325
53319
|
address: Address;
|
|
@@ -53343,7 +53337,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53343
53337
|
chainId?: number | undefined;
|
|
53344
53338
|
connector?: wagmi0.Connector | undefined;
|
|
53345
53339
|
} | {
|
|
53346
|
-
abi:
|
|
53340
|
+
abi: abitype0.Abi;
|
|
53347
53341
|
functionName: string;
|
|
53348
53342
|
args?: readonly unknown[] | undefined;
|
|
53349
53343
|
address: Address;
|
|
@@ -53367,7 +53361,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53367
53361
|
chainId?: number | undefined;
|
|
53368
53362
|
connector?: wagmi0.Connector | undefined;
|
|
53369
53363
|
} | {
|
|
53370
|
-
abi:
|
|
53364
|
+
abi: abitype0.Abi;
|
|
53371
53365
|
functionName: string;
|
|
53372
53366
|
args?: readonly unknown[] | undefined;
|
|
53373
53367
|
address: Address;
|
|
@@ -53391,7 +53385,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53391
53385
|
chainId?: number | undefined;
|
|
53392
53386
|
connector?: wagmi0.Connector | undefined;
|
|
53393
53387
|
} | {
|
|
53394
|
-
abi:
|
|
53388
|
+
abi: abitype0.Abi;
|
|
53395
53389
|
functionName: string;
|
|
53396
53390
|
args?: readonly unknown[] | undefined;
|
|
53397
53391
|
address: Address;
|
|
@@ -53415,7 +53409,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53415
53409
|
chainId?: number | undefined;
|
|
53416
53410
|
connector?: wagmi0.Connector | undefined;
|
|
53417
53411
|
} | {
|
|
53418
|
-
abi:
|
|
53412
|
+
abi: abitype0.Abi;
|
|
53419
53413
|
functionName: string;
|
|
53420
53414
|
args?: readonly unknown[] | undefined;
|
|
53421
53415
|
address: Address;
|
|
@@ -53439,7 +53433,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53439
53433
|
chainId?: number | undefined;
|
|
53440
53434
|
connector?: wagmi0.Connector | undefined;
|
|
53441
53435
|
} | {
|
|
53442
|
-
abi:
|
|
53436
|
+
abi: abitype0.Abi;
|
|
53443
53437
|
functionName: string;
|
|
53444
53438
|
args?: readonly unknown[] | undefined;
|
|
53445
53439
|
address: Address;
|
|
@@ -53463,13 +53457,19 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53463
53457
|
chainId?: number | undefined;
|
|
53464
53458
|
connector?: wagmi0.Connector | undefined;
|
|
53465
53459
|
};
|
|
53460
|
+
isError: false;
|
|
53466
53461
|
isIdle: false;
|
|
53462
|
+
isPending: false;
|
|
53463
|
+
isSuccess: true;
|
|
53467
53464
|
reset: () => void;
|
|
53468
53465
|
context: unknown;
|
|
53466
|
+
failureCount: number;
|
|
53467
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53468
|
+
isPaused: boolean;
|
|
53469
53469
|
submittedAt: number;
|
|
53470
|
-
mutate:
|
|
53471
|
-
mutateAsync:
|
|
53472
|
-
writeContract:
|
|
53470
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53471
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53472
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53473
53473
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
53474
53474
|
};
|
|
53475
53475
|
//#endregion
|
|
@@ -53487,20 +53487,20 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53487
53487
|
error: null;
|
|
53488
53488
|
data: undefined;
|
|
53489
53489
|
status: "idle";
|
|
53490
|
+
variables: undefined;
|
|
53490
53491
|
isError: false;
|
|
53492
|
+
isIdle: true;
|
|
53491
53493
|
isPending: false;
|
|
53492
53494
|
isSuccess: false;
|
|
53495
|
+
reset: () => void;
|
|
53496
|
+
context: unknown;
|
|
53493
53497
|
failureCount: number;
|
|
53494
53498
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53495
53499
|
isPaused: boolean;
|
|
53496
|
-
variables: undefined;
|
|
53497
|
-
isIdle: true;
|
|
53498
|
-
reset: () => void;
|
|
53499
|
-
context: unknown;
|
|
53500
53500
|
submittedAt: number;
|
|
53501
|
-
mutate:
|
|
53502
|
-
mutateAsync:
|
|
53503
|
-
writeContract:
|
|
53501
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53502
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53503
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53504
53504
|
updateMarketFees: (rates: {
|
|
53505
53505
|
openingFeeRate?: number;
|
|
53506
53506
|
baseFeeRate?: number;
|
|
@@ -53516,14 +53516,8 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53516
53516
|
error: null;
|
|
53517
53517
|
data: undefined;
|
|
53518
53518
|
status: "pending";
|
|
53519
|
-
isError: false;
|
|
53520
|
-
isPending: true;
|
|
53521
|
-
isSuccess: false;
|
|
53522
|
-
failureCount: number;
|
|
53523
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53524
|
-
isPaused: boolean;
|
|
53525
53519
|
variables: {
|
|
53526
|
-
abi:
|
|
53520
|
+
abi: abitype0.Abi;
|
|
53527
53521
|
functionName: string;
|
|
53528
53522
|
args?: readonly unknown[] | undefined;
|
|
53529
53523
|
address: Address;
|
|
@@ -53547,7 +53541,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53547
53541
|
chainId?: number | undefined;
|
|
53548
53542
|
connector?: wagmi0.Connector | undefined;
|
|
53549
53543
|
} | {
|
|
53550
|
-
abi:
|
|
53544
|
+
abi: abitype0.Abi;
|
|
53551
53545
|
functionName: string;
|
|
53552
53546
|
args?: readonly unknown[] | undefined;
|
|
53553
53547
|
address: Address;
|
|
@@ -53571,7 +53565,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53571
53565
|
chainId?: number | undefined;
|
|
53572
53566
|
connector?: wagmi0.Connector | undefined;
|
|
53573
53567
|
} | {
|
|
53574
|
-
abi:
|
|
53568
|
+
abi: abitype0.Abi;
|
|
53575
53569
|
functionName: string;
|
|
53576
53570
|
args?: readonly unknown[] | undefined;
|
|
53577
53571
|
address: Address;
|
|
@@ -53595,7 +53589,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53595
53589
|
chainId?: number | undefined;
|
|
53596
53590
|
connector?: wagmi0.Connector | undefined;
|
|
53597
53591
|
} | {
|
|
53598
|
-
abi:
|
|
53592
|
+
abi: abitype0.Abi;
|
|
53599
53593
|
functionName: string;
|
|
53600
53594
|
args?: readonly unknown[] | undefined;
|
|
53601
53595
|
address: Address;
|
|
@@ -53619,7 +53613,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53619
53613
|
chainId?: number | undefined;
|
|
53620
53614
|
connector?: wagmi0.Connector | undefined;
|
|
53621
53615
|
} | {
|
|
53622
|
-
abi:
|
|
53616
|
+
abi: abitype0.Abi;
|
|
53623
53617
|
functionName: string;
|
|
53624
53618
|
args?: readonly unknown[] | undefined;
|
|
53625
53619
|
address: Address;
|
|
@@ -53643,7 +53637,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53643
53637
|
chainId?: number | undefined;
|
|
53644
53638
|
connector?: wagmi0.Connector | undefined;
|
|
53645
53639
|
} | {
|
|
53646
|
-
abi:
|
|
53640
|
+
abi: abitype0.Abi;
|
|
53647
53641
|
functionName: string;
|
|
53648
53642
|
args?: readonly unknown[] | undefined;
|
|
53649
53643
|
address: Address;
|
|
@@ -53667,13 +53661,19 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53667
53661
|
chainId?: number | undefined;
|
|
53668
53662
|
connector?: wagmi0.Connector | undefined;
|
|
53669
53663
|
};
|
|
53664
|
+
isError: false;
|
|
53670
53665
|
isIdle: false;
|
|
53666
|
+
isPending: true;
|
|
53667
|
+
isSuccess: false;
|
|
53671
53668
|
reset: () => void;
|
|
53672
53669
|
context: unknown;
|
|
53670
|
+
failureCount: number;
|
|
53671
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53672
|
+
isPaused: boolean;
|
|
53673
53673
|
submittedAt: number;
|
|
53674
|
-
mutate:
|
|
53675
|
-
mutateAsync:
|
|
53676
|
-
writeContract:
|
|
53674
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53675
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53676
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53677
53677
|
updateMarketFees: (rates: {
|
|
53678
53678
|
openingFeeRate?: number;
|
|
53679
53679
|
baseFeeRate?: number;
|
|
@@ -53689,14 +53689,8 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53689
53689
|
error: _wagmi_core0.WriteContractErrorType;
|
|
53690
53690
|
data: undefined;
|
|
53691
53691
|
status: "error";
|
|
53692
|
-
isError: true;
|
|
53693
|
-
isPending: false;
|
|
53694
|
-
isSuccess: false;
|
|
53695
|
-
failureCount: number;
|
|
53696
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53697
|
-
isPaused: boolean;
|
|
53698
53692
|
variables: {
|
|
53699
|
-
abi:
|
|
53693
|
+
abi: abitype0.Abi;
|
|
53700
53694
|
functionName: string;
|
|
53701
53695
|
args?: readonly unknown[] | undefined;
|
|
53702
53696
|
address: Address;
|
|
@@ -53720,7 +53714,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53720
53714
|
chainId?: number | undefined;
|
|
53721
53715
|
connector?: wagmi0.Connector | undefined;
|
|
53722
53716
|
} | {
|
|
53723
|
-
abi:
|
|
53717
|
+
abi: abitype0.Abi;
|
|
53724
53718
|
functionName: string;
|
|
53725
53719
|
args?: readonly unknown[] | undefined;
|
|
53726
53720
|
address: Address;
|
|
@@ -53744,7 +53738,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53744
53738
|
chainId?: number | undefined;
|
|
53745
53739
|
connector?: wagmi0.Connector | undefined;
|
|
53746
53740
|
} | {
|
|
53747
|
-
abi:
|
|
53741
|
+
abi: abitype0.Abi;
|
|
53748
53742
|
functionName: string;
|
|
53749
53743
|
args?: readonly unknown[] | undefined;
|
|
53750
53744
|
address: Address;
|
|
@@ -53768,7 +53762,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53768
53762
|
chainId?: number | undefined;
|
|
53769
53763
|
connector?: wagmi0.Connector | undefined;
|
|
53770
53764
|
} | {
|
|
53771
|
-
abi:
|
|
53765
|
+
abi: abitype0.Abi;
|
|
53772
53766
|
functionName: string;
|
|
53773
53767
|
args?: readonly unknown[] | undefined;
|
|
53774
53768
|
address: Address;
|
|
@@ -53792,7 +53786,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53792
53786
|
chainId?: number | undefined;
|
|
53793
53787
|
connector?: wagmi0.Connector | undefined;
|
|
53794
53788
|
} | {
|
|
53795
|
-
abi:
|
|
53789
|
+
abi: abitype0.Abi;
|
|
53796
53790
|
functionName: string;
|
|
53797
53791
|
args?: readonly unknown[] | undefined;
|
|
53798
53792
|
address: Address;
|
|
@@ -53816,7 +53810,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53816
53810
|
chainId?: number | undefined;
|
|
53817
53811
|
connector?: wagmi0.Connector | undefined;
|
|
53818
53812
|
} | {
|
|
53819
|
-
abi:
|
|
53813
|
+
abi: abitype0.Abi;
|
|
53820
53814
|
functionName: string;
|
|
53821
53815
|
args?: readonly unknown[] | undefined;
|
|
53822
53816
|
address: Address;
|
|
@@ -53840,13 +53834,19 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53840
53834
|
chainId?: number | undefined;
|
|
53841
53835
|
connector?: wagmi0.Connector | undefined;
|
|
53842
53836
|
};
|
|
53837
|
+
isError: true;
|
|
53843
53838
|
isIdle: false;
|
|
53839
|
+
isPending: false;
|
|
53840
|
+
isSuccess: false;
|
|
53844
53841
|
reset: () => void;
|
|
53845
53842
|
context: unknown;
|
|
53843
|
+
failureCount: number;
|
|
53844
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53845
|
+
isPaused: boolean;
|
|
53846
53846
|
submittedAt: number;
|
|
53847
|
-
mutate:
|
|
53848
|
-
mutateAsync:
|
|
53849
|
-
writeContract:
|
|
53847
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53848
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
53849
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
53850
53850
|
updateMarketFees: (rates: {
|
|
53851
53851
|
openingFeeRate?: number;
|
|
53852
53852
|
baseFeeRate?: number;
|
|
@@ -53862,14 +53862,8 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53862
53862
|
error: null;
|
|
53863
53863
|
data: `0x${string}`;
|
|
53864
53864
|
status: "success";
|
|
53865
|
-
isError: false;
|
|
53866
|
-
isPending: false;
|
|
53867
|
-
isSuccess: true;
|
|
53868
|
-
failureCount: number;
|
|
53869
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53870
|
-
isPaused: boolean;
|
|
53871
53865
|
variables: {
|
|
53872
|
-
abi:
|
|
53866
|
+
abi: abitype0.Abi;
|
|
53873
53867
|
functionName: string;
|
|
53874
53868
|
args?: readonly unknown[] | undefined;
|
|
53875
53869
|
address: Address;
|
|
@@ -53893,7 +53887,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53893
53887
|
chainId?: number | undefined;
|
|
53894
53888
|
connector?: wagmi0.Connector | undefined;
|
|
53895
53889
|
} | {
|
|
53896
|
-
abi:
|
|
53890
|
+
abi: abitype0.Abi;
|
|
53897
53891
|
functionName: string;
|
|
53898
53892
|
args?: readonly unknown[] | undefined;
|
|
53899
53893
|
address: Address;
|
|
@@ -53917,7 +53911,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53917
53911
|
chainId?: number | undefined;
|
|
53918
53912
|
connector?: wagmi0.Connector | undefined;
|
|
53919
53913
|
} | {
|
|
53920
|
-
abi:
|
|
53914
|
+
abi: abitype0.Abi;
|
|
53921
53915
|
functionName: string;
|
|
53922
53916
|
args?: readonly unknown[] | undefined;
|
|
53923
53917
|
address: Address;
|
|
@@ -53941,7 +53935,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53941
53935
|
chainId?: number | undefined;
|
|
53942
53936
|
connector?: wagmi0.Connector | undefined;
|
|
53943
53937
|
} | {
|
|
53944
|
-
abi:
|
|
53938
|
+
abi: abitype0.Abi;
|
|
53945
53939
|
functionName: string;
|
|
53946
53940
|
args?: readonly unknown[] | undefined;
|
|
53947
53941
|
address: Address;
|
|
@@ -53965,7 +53959,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53965
53959
|
chainId?: number | undefined;
|
|
53966
53960
|
connector?: wagmi0.Connector | undefined;
|
|
53967
53961
|
} | {
|
|
53968
|
-
abi:
|
|
53962
|
+
abi: abitype0.Abi;
|
|
53969
53963
|
functionName: string;
|
|
53970
53964
|
args?: readonly unknown[] | undefined;
|
|
53971
53965
|
address: Address;
|
|
@@ -53989,7 +53983,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53989
53983
|
chainId?: number | undefined;
|
|
53990
53984
|
connector?: wagmi0.Connector | undefined;
|
|
53991
53985
|
} | {
|
|
53992
|
-
abi:
|
|
53986
|
+
abi: abitype0.Abi;
|
|
53993
53987
|
functionName: string;
|
|
53994
53988
|
args?: readonly unknown[] | undefined;
|
|
53995
53989
|
address: Address;
|
|
@@ -54013,13 +54007,19 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
54013
54007
|
chainId?: number | undefined;
|
|
54014
54008
|
connector?: wagmi0.Connector | undefined;
|
|
54015
54009
|
};
|
|
54010
|
+
isError: false;
|
|
54016
54011
|
isIdle: false;
|
|
54012
|
+
isPending: false;
|
|
54013
|
+
isSuccess: true;
|
|
54017
54014
|
reset: () => void;
|
|
54018
54015
|
context: unknown;
|
|
54016
|
+
failureCount: number;
|
|
54017
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
54018
|
+
isPaused: boolean;
|
|
54019
54019
|
submittedAt: number;
|
|
54020
|
-
mutate:
|
|
54021
|
-
mutateAsync:
|
|
54022
|
-
writeContract:
|
|
54020
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
54021
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
54022
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
54023
54023
|
updateMarketFees: (rates: {
|
|
54024
54024
|
openingFeeRate?: number;
|
|
54025
54025
|
baseFeeRate?: number;
|
|
@@ -55012,20 +55012,20 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55012
55012
|
error: null;
|
|
55013
55013
|
data: undefined;
|
|
55014
55014
|
status: "idle";
|
|
55015
|
+
variables: undefined;
|
|
55015
55016
|
isError: false;
|
|
55017
|
+
isIdle: true;
|
|
55016
55018
|
isPending: false;
|
|
55017
55019
|
isSuccess: false;
|
|
55020
|
+
reset: () => void;
|
|
55021
|
+
context: unknown;
|
|
55018
55022
|
failureCount: number;
|
|
55019
55023
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55020
55024
|
isPaused: boolean;
|
|
55021
|
-
variables: undefined;
|
|
55022
|
-
isIdle: true;
|
|
55023
|
-
reset: () => void;
|
|
55024
|
-
context: unknown;
|
|
55025
55025
|
submittedAt: number;
|
|
55026
|
-
mutate:
|
|
55027
|
-
mutateAsync:
|
|
55028
|
-
writeContract:
|
|
55026
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55027
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55028
|
+
writeContract: wagmi_query0.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> & {
|
|
@@ -55039,14 +55039,8 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55039
55039
|
error: null;
|
|
55040
55040
|
data: undefined;
|
|
55041
55041
|
status: "pending";
|
|
55042
|
-
isError: false;
|
|
55043
|
-
isPending: true;
|
|
55044
|
-
isSuccess: false;
|
|
55045
|
-
failureCount: number;
|
|
55046
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55047
|
-
isPaused: boolean;
|
|
55048
55042
|
variables: {
|
|
55049
|
-
abi:
|
|
55043
|
+
abi: abitype0.Abi;
|
|
55050
55044
|
functionName: string;
|
|
55051
55045
|
args?: readonly unknown[] | undefined;
|
|
55052
55046
|
address: Address;
|
|
@@ -55070,7 +55064,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55070
55064
|
chainId?: number | undefined;
|
|
55071
55065
|
connector?: wagmi0.Connector | undefined;
|
|
55072
55066
|
} | {
|
|
55073
|
-
abi:
|
|
55067
|
+
abi: abitype0.Abi;
|
|
55074
55068
|
functionName: string;
|
|
55075
55069
|
args?: readonly unknown[] | undefined;
|
|
55076
55070
|
address: Address;
|
|
@@ -55094,7 +55088,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55094
55088
|
chainId?: number | undefined;
|
|
55095
55089
|
connector?: wagmi0.Connector | undefined;
|
|
55096
55090
|
} | {
|
|
55097
|
-
abi:
|
|
55091
|
+
abi: abitype0.Abi;
|
|
55098
55092
|
functionName: string;
|
|
55099
55093
|
args?: readonly unknown[] | undefined;
|
|
55100
55094
|
address: Address;
|
|
@@ -55118,7 +55112,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55118
55112
|
chainId?: number | undefined;
|
|
55119
55113
|
connector?: wagmi0.Connector | undefined;
|
|
55120
55114
|
} | {
|
|
55121
|
-
abi:
|
|
55115
|
+
abi: abitype0.Abi;
|
|
55122
55116
|
functionName: string;
|
|
55123
55117
|
args?: readonly unknown[] | undefined;
|
|
55124
55118
|
address: Address;
|
|
@@ -55142,7 +55136,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55142
55136
|
chainId?: number | undefined;
|
|
55143
55137
|
connector?: wagmi0.Connector | undefined;
|
|
55144
55138
|
} | {
|
|
55145
|
-
abi:
|
|
55139
|
+
abi: abitype0.Abi;
|
|
55146
55140
|
functionName: string;
|
|
55147
55141
|
args?: readonly unknown[] | undefined;
|
|
55148
55142
|
address: Address;
|
|
@@ -55166,7 +55160,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55166
55160
|
chainId?: number | undefined;
|
|
55167
55161
|
connector?: wagmi0.Connector | undefined;
|
|
55168
55162
|
} | {
|
|
55169
|
-
abi:
|
|
55163
|
+
abi: abitype0.Abi;
|
|
55170
55164
|
functionName: string;
|
|
55171
55165
|
args?: readonly unknown[] | undefined;
|
|
55172
55166
|
address: Address;
|
|
@@ -55190,13 +55184,19 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55190
55184
|
chainId?: number | undefined;
|
|
55191
55185
|
connector?: wagmi0.Connector | undefined;
|
|
55192
55186
|
};
|
|
55187
|
+
isError: false;
|
|
55193
55188
|
isIdle: false;
|
|
55189
|
+
isPending: true;
|
|
55190
|
+
isSuccess: false;
|
|
55194
55191
|
reset: () => void;
|
|
55195
55192
|
context: unknown;
|
|
55193
|
+
failureCount: number;
|
|
55194
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55195
|
+
isPaused: boolean;
|
|
55196
55196
|
submittedAt: number;
|
|
55197
|
-
mutate:
|
|
55198
|
-
mutateAsync:
|
|
55199
|
-
writeContract:
|
|
55197
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55198
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55199
|
+
writeContract: wagmi_query0.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> & {
|
|
@@ -55210,14 +55210,8 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55210
55210
|
error: _wagmi_core0.WriteContractErrorType;
|
|
55211
55211
|
data: undefined;
|
|
55212
55212
|
status: "error";
|
|
55213
|
-
isError: true;
|
|
55214
|
-
isPending: false;
|
|
55215
|
-
isSuccess: false;
|
|
55216
|
-
failureCount: number;
|
|
55217
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55218
|
-
isPaused: boolean;
|
|
55219
55213
|
variables: {
|
|
55220
|
-
abi:
|
|
55214
|
+
abi: abitype0.Abi;
|
|
55221
55215
|
functionName: string;
|
|
55222
55216
|
args?: readonly unknown[] | undefined;
|
|
55223
55217
|
address: Address;
|
|
@@ -55241,7 +55235,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55241
55235
|
chainId?: number | undefined;
|
|
55242
55236
|
connector?: wagmi0.Connector | undefined;
|
|
55243
55237
|
} | {
|
|
55244
|
-
abi:
|
|
55238
|
+
abi: abitype0.Abi;
|
|
55245
55239
|
functionName: string;
|
|
55246
55240
|
args?: readonly unknown[] | undefined;
|
|
55247
55241
|
address: Address;
|
|
@@ -55265,7 +55259,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55265
55259
|
chainId?: number | undefined;
|
|
55266
55260
|
connector?: wagmi0.Connector | undefined;
|
|
55267
55261
|
} | {
|
|
55268
|
-
abi:
|
|
55262
|
+
abi: abitype0.Abi;
|
|
55269
55263
|
functionName: string;
|
|
55270
55264
|
args?: readonly unknown[] | undefined;
|
|
55271
55265
|
address: Address;
|
|
@@ -55289,7 +55283,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55289
55283
|
chainId?: number | undefined;
|
|
55290
55284
|
connector?: wagmi0.Connector | undefined;
|
|
55291
55285
|
} | {
|
|
55292
|
-
abi:
|
|
55286
|
+
abi: abitype0.Abi;
|
|
55293
55287
|
functionName: string;
|
|
55294
55288
|
args?: readonly unknown[] | undefined;
|
|
55295
55289
|
address: Address;
|
|
@@ -55313,7 +55307,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55313
55307
|
chainId?: number | undefined;
|
|
55314
55308
|
connector?: wagmi0.Connector | undefined;
|
|
55315
55309
|
} | {
|
|
55316
|
-
abi:
|
|
55310
|
+
abi: abitype0.Abi;
|
|
55317
55311
|
functionName: string;
|
|
55318
55312
|
args?: readonly unknown[] | undefined;
|
|
55319
55313
|
address: Address;
|
|
@@ -55337,7 +55331,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55337
55331
|
chainId?: number | undefined;
|
|
55338
55332
|
connector?: wagmi0.Connector | undefined;
|
|
55339
55333
|
} | {
|
|
55340
|
-
abi:
|
|
55334
|
+
abi: abitype0.Abi;
|
|
55341
55335
|
functionName: string;
|
|
55342
55336
|
args?: readonly unknown[] | undefined;
|
|
55343
55337
|
address: Address;
|
|
@@ -55361,13 +55355,19 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55361
55355
|
chainId?: number | undefined;
|
|
55362
55356
|
connector?: wagmi0.Connector | undefined;
|
|
55363
55357
|
};
|
|
55358
|
+
isError: true;
|
|
55364
55359
|
isIdle: false;
|
|
55360
|
+
isPending: false;
|
|
55361
|
+
isSuccess: false;
|
|
55365
55362
|
reset: () => void;
|
|
55366
55363
|
context: unknown;
|
|
55364
|
+
failureCount: number;
|
|
55365
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55366
|
+
isPaused: boolean;
|
|
55367
55367
|
submittedAt: number;
|
|
55368
|
-
mutate:
|
|
55369
|
-
mutateAsync:
|
|
55370
|
-
writeContract:
|
|
55368
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55369
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55370
|
+
writeContract: wagmi_query0.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> & {
|
|
@@ -55381,14 +55381,8 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55381
55381
|
error: null;
|
|
55382
55382
|
data: `0x${string}`;
|
|
55383
55383
|
status: "success";
|
|
55384
|
-
isError: false;
|
|
55385
|
-
isPending: false;
|
|
55386
|
-
isSuccess: true;
|
|
55387
|
-
failureCount: number;
|
|
55388
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55389
|
-
isPaused: boolean;
|
|
55390
55384
|
variables: {
|
|
55391
|
-
abi:
|
|
55385
|
+
abi: abitype0.Abi;
|
|
55392
55386
|
functionName: string;
|
|
55393
55387
|
args?: readonly unknown[] | undefined;
|
|
55394
55388
|
address: Address;
|
|
@@ -55412,7 +55406,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55412
55406
|
chainId?: number | undefined;
|
|
55413
55407
|
connector?: wagmi0.Connector | undefined;
|
|
55414
55408
|
} | {
|
|
55415
|
-
abi:
|
|
55409
|
+
abi: abitype0.Abi;
|
|
55416
55410
|
functionName: string;
|
|
55417
55411
|
args?: readonly unknown[] | undefined;
|
|
55418
55412
|
address: Address;
|
|
@@ -55436,7 +55430,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55436
55430
|
chainId?: number | undefined;
|
|
55437
55431
|
connector?: wagmi0.Connector | undefined;
|
|
55438
55432
|
} | {
|
|
55439
|
-
abi:
|
|
55433
|
+
abi: abitype0.Abi;
|
|
55440
55434
|
functionName: string;
|
|
55441
55435
|
args?: readonly unknown[] | undefined;
|
|
55442
55436
|
address: Address;
|
|
@@ -55460,7 +55454,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55460
55454
|
chainId?: number | undefined;
|
|
55461
55455
|
connector?: wagmi0.Connector | undefined;
|
|
55462
55456
|
} | {
|
|
55463
|
-
abi:
|
|
55457
|
+
abi: abitype0.Abi;
|
|
55464
55458
|
functionName: string;
|
|
55465
55459
|
args?: readonly unknown[] | undefined;
|
|
55466
55460
|
address: Address;
|
|
@@ -55484,7 +55478,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55484
55478
|
chainId?: number | undefined;
|
|
55485
55479
|
connector?: wagmi0.Connector | undefined;
|
|
55486
55480
|
} | {
|
|
55487
|
-
abi:
|
|
55481
|
+
abi: abitype0.Abi;
|
|
55488
55482
|
functionName: string;
|
|
55489
55483
|
args?: readonly unknown[] | undefined;
|
|
55490
55484
|
address: Address;
|
|
@@ -55508,7 +55502,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55508
55502
|
chainId?: number | undefined;
|
|
55509
55503
|
connector?: wagmi0.Connector | undefined;
|
|
55510
55504
|
} | {
|
|
55511
|
-
abi:
|
|
55505
|
+
abi: abitype0.Abi;
|
|
55512
55506
|
functionName: string;
|
|
55513
55507
|
args?: readonly unknown[] | undefined;
|
|
55514
55508
|
address: Address;
|
|
@@ -55532,13 +55526,19 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55532
55526
|
chainId?: number | undefined;
|
|
55533
55527
|
connector?: wagmi0.Connector | undefined;
|
|
55534
55528
|
};
|
|
55529
|
+
isError: false;
|
|
55535
55530
|
isIdle: false;
|
|
55531
|
+
isPending: false;
|
|
55532
|
+
isSuccess: true;
|
|
55536
55533
|
reset: () => void;
|
|
55537
55534
|
context: unknown;
|
|
55535
|
+
failureCount: number;
|
|
55536
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55537
|
+
isPaused: boolean;
|
|
55538
55538
|
submittedAt: number;
|
|
55539
|
-
mutate:
|
|
55540
|
-
mutateAsync:
|
|
55541
|
-
writeContract:
|
|
55539
|
+
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55540
|
+
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55541
|
+
writeContract: wagmi_query0.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-bpABXvJa.d.cts.map
|