timelock-sdk 0.0.190 → 0.0.191
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-BX2dCGNQ.d.ts → client-9wbQVrDG.d.ts} +743 -743
- package/dist/{client-DyoqV6dM.d.cts → client-CEtNglT8.d.cts} +307 -307
- package/dist/client.cjs +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +1 -1
- package/dist/{optionUtils-BjPxfPAz.js → optionUtils-96oUNrzV.js} +2 -3
- package/dist/optionUtils-96oUNrzV.js.map +1 -0
- package/dist/{optionUtils-Dj9hOtZo.cjs → optionUtils-DsqMIDm1.cjs} +2 -3
- package/dist/optionUtils-DsqMIDm1.cjs.map +1 -0
- package/dist/package.cjs +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/dist/package.js +1 -1
- package/package.json +1 -1
- package/dist/optionUtils-BjPxfPAz.js.map +0 -1
- package/dist/optionUtils-Dj9hOtZo.cjs.map +0 -1
|
@@ -11,8 +11,8 @@ import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
|
11
11
|
import Big from "big.js";
|
|
12
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 {
|
|
@@ -426,7 +426,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
426
426
|
}];
|
|
427
427
|
readonly stateMutability: "nonpayable";
|
|
428
428
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
429
|
-
|
|
429
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
430
430
|
readonly type: "constructor";
|
|
431
431
|
readonly inputs: readonly [{
|
|
432
432
|
readonly name: "name_";
|
|
@@ -604,8 +604,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
604
604
|
readonly internalType: "bool";
|
|
605
605
|
}];
|
|
606
606
|
readonly stateMutability: "nonpayable";
|
|
607
|
-
}], "
|
|
608
|
-
|
|
607
|
+
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
608
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
609
609
|
readonly type: "constructor";
|
|
610
610
|
readonly inputs: readonly [{
|
|
611
611
|
readonly name: "name_";
|
|
@@ -783,8 +783,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
783
783
|
readonly internalType: "bool";
|
|
784
784
|
}];
|
|
785
785
|
readonly stateMutability: "nonpayable";
|
|
786
|
-
}], "
|
|
787
|
-
|
|
786
|
+
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
787
|
+
decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
788
788
|
readonly type: "constructor";
|
|
789
789
|
readonly inputs: readonly [{
|
|
790
790
|
readonly name: "name_";
|
|
@@ -962,8 +962,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
962
962
|
readonly internalType: "bool";
|
|
963
963
|
}];
|
|
964
964
|
readonly stateMutability: "nonpayable";
|
|
965
|
-
}], "
|
|
966
|
-
|
|
965
|
+
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
966
|
+
name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
967
967
|
readonly type: "constructor";
|
|
968
968
|
readonly inputs: readonly [{
|
|
969
969
|
readonly name: "name_";
|
|
@@ -1141,7 +1141,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1141
1141
|
readonly internalType: "bool";
|
|
1142
1142
|
}];
|
|
1143
1143
|
readonly stateMutability: "nonpayable";
|
|
1144
|
-
}], "
|
|
1144
|
+
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
1145
1145
|
totalSupply: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
1146
1146
|
readonly type: "constructor";
|
|
1147
1147
|
readonly inputs: readonly [{
|
|
@@ -52453,30 +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
|
-
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
|
-
data: undefined;
|
|
52476
52475
|
error: null;
|
|
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;
|
|
52478
52484
|
variables: {
|
|
52479
|
-
abi:
|
|
52485
|
+
abi: abitype0.Abi;
|
|
52480
52486
|
functionName: string;
|
|
52481
52487
|
args?: readonly unknown[] | undefined;
|
|
52482
52488
|
address: Address;
|
|
@@ -52484,9 +52490,9 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52484
52490
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52485
52491
|
value?: bigint | undefined;
|
|
52486
52492
|
dataSuffix?: `0x${string}` | undefined;
|
|
52487
|
-
type?: "legacy" | undefined;
|
|
52488
52493
|
gas?: bigint | undefined;
|
|
52489
52494
|
nonce?: number | undefined;
|
|
52495
|
+
type?: "legacy" | undefined;
|
|
52490
52496
|
blobs?: undefined;
|
|
52491
52497
|
blobVersionedHashes?: undefined;
|
|
52492
52498
|
kzg?: undefined;
|
|
@@ -52500,7 +52506,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52500
52506
|
chainId?: number | undefined;
|
|
52501
52507
|
connector?: wagmi0.Connector | undefined;
|
|
52502
52508
|
} | {
|
|
52503
|
-
abi:
|
|
52509
|
+
abi: abitype0.Abi;
|
|
52504
52510
|
functionName: string;
|
|
52505
52511
|
args?: readonly unknown[] | undefined;
|
|
52506
52512
|
address: Address;
|
|
@@ -52508,9 +52514,9 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52508
52514
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52509
52515
|
value?: bigint | undefined;
|
|
52510
52516
|
dataSuffix?: `0x${string}` | undefined;
|
|
52511
|
-
type?: "eip2930" | undefined;
|
|
52512
52517
|
gas?: bigint | undefined;
|
|
52513
52518
|
nonce?: number | undefined;
|
|
52519
|
+
type?: "eip2930" | undefined;
|
|
52514
52520
|
blobs?: undefined;
|
|
52515
52521
|
blobVersionedHashes?: undefined;
|
|
52516
52522
|
kzg?: undefined;
|
|
@@ -52524,7 +52530,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52524
52530
|
chainId?: number | undefined;
|
|
52525
52531
|
connector?: wagmi0.Connector | undefined;
|
|
52526
52532
|
} | {
|
|
52527
|
-
abi:
|
|
52533
|
+
abi: abitype0.Abi;
|
|
52528
52534
|
functionName: string;
|
|
52529
52535
|
args?: readonly unknown[] | undefined;
|
|
52530
52536
|
address: Address;
|
|
@@ -52532,9 +52538,9 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52532
52538
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52533
52539
|
value?: bigint | undefined;
|
|
52534
52540
|
dataSuffix?: `0x${string}` | undefined;
|
|
52535
|
-
type?: "eip1559" | undefined;
|
|
52536
52541
|
gas?: bigint | undefined;
|
|
52537
52542
|
nonce?: number | undefined;
|
|
52543
|
+
type?: "eip1559" | undefined;
|
|
52538
52544
|
blobs?: undefined;
|
|
52539
52545
|
blobVersionedHashes?: undefined;
|
|
52540
52546
|
kzg?: undefined;
|
|
@@ -52548,7 +52554,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52548
52554
|
chainId?: number | undefined;
|
|
52549
52555
|
connector?: wagmi0.Connector | undefined;
|
|
52550
52556
|
} | {
|
|
52551
|
-
abi:
|
|
52557
|
+
abi: abitype0.Abi;
|
|
52552
52558
|
functionName: string;
|
|
52553
52559
|
args?: readonly unknown[] | undefined;
|
|
52554
52560
|
address: Address;
|
|
@@ -52556,9 +52562,9 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52556
52562
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52557
52563
|
value?: bigint | undefined;
|
|
52558
52564
|
dataSuffix?: `0x${string}` | undefined;
|
|
52559
|
-
type?: "eip4844" | undefined;
|
|
52560
52565
|
gas?: bigint | undefined;
|
|
52561
52566
|
nonce?: number | undefined;
|
|
52567
|
+
type?: "eip4844" | undefined;
|
|
52562
52568
|
blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
|
|
52563
52569
|
blobVersionedHashes: readonly viem0.Hex[];
|
|
52564
52570
|
kzg?: undefined;
|
|
@@ -52572,7 +52578,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52572
52578
|
chainId?: number | undefined;
|
|
52573
52579
|
connector?: wagmi0.Connector | undefined;
|
|
52574
52580
|
} | {
|
|
52575
|
-
abi:
|
|
52581
|
+
abi: abitype0.Abi;
|
|
52576
52582
|
functionName: string;
|
|
52577
52583
|
args?: readonly unknown[] | undefined;
|
|
52578
52584
|
address: Address;
|
|
@@ -52580,9 +52586,9 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52580
52586
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52581
52587
|
value?: bigint | undefined;
|
|
52582
52588
|
dataSuffix?: `0x${string}` | undefined;
|
|
52583
|
-
type?: "eip4844" | undefined;
|
|
52584
52589
|
gas?: bigint | undefined;
|
|
52585
52590
|
nonce?: number | undefined;
|
|
52591
|
+
type?: "eip4844" | undefined;
|
|
52586
52592
|
blobs: readonly viem0.Hex[] | readonly viem0.ByteArray[];
|
|
52587
52593
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
52588
52594
|
kzg?: viem0.Kzg | undefined;
|
|
@@ -52596,7 +52602,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52596
52602
|
chainId?: number | undefined;
|
|
52597
52603
|
connector?: wagmi0.Connector | undefined;
|
|
52598
52604
|
} | {
|
|
52599
|
-
abi:
|
|
52605
|
+
abi: abitype0.Abi;
|
|
52600
52606
|
functionName: string;
|
|
52601
52607
|
args?: readonly unknown[] | undefined;
|
|
52602
52608
|
address: Address;
|
|
@@ -52604,9 +52610,9 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52604
52610
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52605
52611
|
value?: bigint | undefined;
|
|
52606
52612
|
dataSuffix?: `0x${string}` | undefined;
|
|
52607
|
-
type?: "eip7702" | undefined;
|
|
52608
52613
|
gas?: bigint | undefined;
|
|
52609
52614
|
nonce?: number | undefined;
|
|
52615
|
+
type?: "eip7702" | undefined;
|
|
52610
52616
|
blobs?: undefined;
|
|
52611
52617
|
blobVersionedHashes?: undefined;
|
|
52612
52618
|
kzg?: undefined;
|
|
@@ -52620,26 +52626,26 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52620
52626
|
chainId?: number | undefined;
|
|
52621
52627
|
connector?: wagmi0.Connector | undefined;
|
|
52622
52628
|
};
|
|
52623
|
-
isError: false;
|
|
52624
52629
|
isIdle: false;
|
|
52625
|
-
isPending: true;
|
|
52626
|
-
isSuccess: false;
|
|
52627
52630
|
reset: () => void;
|
|
52628
52631
|
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
|
-
data: undefined;
|
|
52639
52638
|
error: _wagmi_core0.WriteContractErrorType;
|
|
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;
|
|
52641
52647
|
variables: {
|
|
52642
|
-
abi:
|
|
52648
|
+
abi: abitype0.Abi;
|
|
52643
52649
|
functionName: string;
|
|
52644
52650
|
args?: readonly unknown[] | undefined;
|
|
52645
52651
|
address: Address;
|
|
@@ -52647,9 +52653,9 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52647
52653
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52648
52654
|
value?: bigint | undefined;
|
|
52649
52655
|
dataSuffix?: `0x${string}` | undefined;
|
|
52650
|
-
type?: "legacy" | undefined;
|
|
52651
52656
|
gas?: bigint | undefined;
|
|
52652
52657
|
nonce?: number | undefined;
|
|
52658
|
+
type?: "legacy" | undefined;
|
|
52653
52659
|
blobs?: undefined;
|
|
52654
52660
|
blobVersionedHashes?: undefined;
|
|
52655
52661
|
kzg?: undefined;
|
|
@@ -52663,7 +52669,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52663
52669
|
chainId?: number | undefined;
|
|
52664
52670
|
connector?: wagmi0.Connector | undefined;
|
|
52665
52671
|
} | {
|
|
52666
|
-
abi:
|
|
52672
|
+
abi: abitype0.Abi;
|
|
52667
52673
|
functionName: string;
|
|
52668
52674
|
args?: readonly unknown[] | undefined;
|
|
52669
52675
|
address: Address;
|
|
@@ -52671,9 +52677,9 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52671
52677
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52672
52678
|
value?: bigint | undefined;
|
|
52673
52679
|
dataSuffix?: `0x${string}` | undefined;
|
|
52674
|
-
type?: "eip2930" | undefined;
|
|
52675
52680
|
gas?: bigint | undefined;
|
|
52676
52681
|
nonce?: number | undefined;
|
|
52682
|
+
type?: "eip2930" | undefined;
|
|
52677
52683
|
blobs?: undefined;
|
|
52678
52684
|
blobVersionedHashes?: undefined;
|
|
52679
52685
|
kzg?: undefined;
|
|
@@ -52687,7 +52693,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52687
52693
|
chainId?: number | undefined;
|
|
52688
52694
|
connector?: wagmi0.Connector | undefined;
|
|
52689
52695
|
} | {
|
|
52690
|
-
abi:
|
|
52696
|
+
abi: abitype0.Abi;
|
|
52691
52697
|
functionName: string;
|
|
52692
52698
|
args?: readonly unknown[] | undefined;
|
|
52693
52699
|
address: Address;
|
|
@@ -52695,9 +52701,9 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52695
52701
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52696
52702
|
value?: bigint | undefined;
|
|
52697
52703
|
dataSuffix?: `0x${string}` | undefined;
|
|
52698
|
-
type?: "eip1559" | undefined;
|
|
52699
52704
|
gas?: bigint | undefined;
|
|
52700
52705
|
nonce?: number | undefined;
|
|
52706
|
+
type?: "eip1559" | undefined;
|
|
52701
52707
|
blobs?: undefined;
|
|
52702
52708
|
blobVersionedHashes?: undefined;
|
|
52703
52709
|
kzg?: undefined;
|
|
@@ -52711,7 +52717,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52711
52717
|
chainId?: number | undefined;
|
|
52712
52718
|
connector?: wagmi0.Connector | undefined;
|
|
52713
52719
|
} | {
|
|
52714
|
-
abi:
|
|
52720
|
+
abi: abitype0.Abi;
|
|
52715
52721
|
functionName: string;
|
|
52716
52722
|
args?: readonly unknown[] | undefined;
|
|
52717
52723
|
address: Address;
|
|
@@ -52719,9 +52725,9 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52719
52725
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52720
52726
|
value?: bigint | undefined;
|
|
52721
52727
|
dataSuffix?: `0x${string}` | undefined;
|
|
52722
|
-
type?: "eip4844" | undefined;
|
|
52723
52728
|
gas?: bigint | undefined;
|
|
52724
52729
|
nonce?: number | undefined;
|
|
52730
|
+
type?: "eip4844" | undefined;
|
|
52725
52731
|
blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
|
|
52726
52732
|
blobVersionedHashes: readonly viem0.Hex[];
|
|
52727
52733
|
kzg?: undefined;
|
|
@@ -52735,7 +52741,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52735
52741
|
chainId?: number | undefined;
|
|
52736
52742
|
connector?: wagmi0.Connector | undefined;
|
|
52737
52743
|
} | {
|
|
52738
|
-
abi:
|
|
52744
|
+
abi: abitype0.Abi;
|
|
52739
52745
|
functionName: string;
|
|
52740
52746
|
args?: readonly unknown[] | undefined;
|
|
52741
52747
|
address: Address;
|
|
@@ -52743,9 +52749,9 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52743
52749
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52744
52750
|
value?: bigint | undefined;
|
|
52745
52751
|
dataSuffix?: `0x${string}` | undefined;
|
|
52746
|
-
type?: "eip4844" | undefined;
|
|
52747
52752
|
gas?: bigint | undefined;
|
|
52748
52753
|
nonce?: number | undefined;
|
|
52754
|
+
type?: "eip4844" | undefined;
|
|
52749
52755
|
blobs: readonly viem0.Hex[] | readonly viem0.ByteArray[];
|
|
52750
52756
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
52751
52757
|
kzg?: viem0.Kzg | undefined;
|
|
@@ -52759,7 +52765,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52759
52765
|
chainId?: number | undefined;
|
|
52760
52766
|
connector?: wagmi0.Connector | undefined;
|
|
52761
52767
|
} | {
|
|
52762
|
-
abi:
|
|
52768
|
+
abi: abitype0.Abi;
|
|
52763
52769
|
functionName: string;
|
|
52764
52770
|
args?: readonly unknown[] | undefined;
|
|
52765
52771
|
address: Address;
|
|
@@ -52767,9 +52773,9 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52767
52773
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52768
52774
|
value?: bigint | undefined;
|
|
52769
52775
|
dataSuffix?: `0x${string}` | undefined;
|
|
52770
|
-
type?: "eip7702" | undefined;
|
|
52771
52776
|
gas?: bigint | undefined;
|
|
52772
52777
|
nonce?: number | undefined;
|
|
52778
|
+
type?: "eip7702" | undefined;
|
|
52773
52779
|
blobs?: undefined;
|
|
52774
52780
|
blobVersionedHashes?: undefined;
|
|
52775
52781
|
kzg?: undefined;
|
|
@@ -52783,26 +52789,26 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52783
52789
|
chainId?: number | undefined;
|
|
52784
52790
|
connector?: wagmi0.Connector | undefined;
|
|
52785
52791
|
};
|
|
52786
|
-
isError: true;
|
|
52787
52792
|
isIdle: false;
|
|
52788
|
-
isPending: false;
|
|
52789
|
-
isSuccess: false;
|
|
52790
52793
|
reset: () => void;
|
|
52791
52794
|
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
|
-
data: `0x${string}`;
|
|
52802
52801
|
error: null;
|
|
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;
|
|
52804
52810
|
variables: {
|
|
52805
|
-
abi:
|
|
52811
|
+
abi: abitype0.Abi;
|
|
52806
52812
|
functionName: string;
|
|
52807
52813
|
args?: readonly unknown[] | undefined;
|
|
52808
52814
|
address: Address;
|
|
@@ -52810,9 +52816,9 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52810
52816
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52811
52817
|
value?: bigint | undefined;
|
|
52812
52818
|
dataSuffix?: `0x${string}` | undefined;
|
|
52813
|
-
type?: "legacy" | undefined;
|
|
52814
52819
|
gas?: bigint | undefined;
|
|
52815
52820
|
nonce?: number | undefined;
|
|
52821
|
+
type?: "legacy" | undefined;
|
|
52816
52822
|
blobs?: undefined;
|
|
52817
52823
|
blobVersionedHashes?: undefined;
|
|
52818
52824
|
kzg?: undefined;
|
|
@@ -52826,7 +52832,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52826
52832
|
chainId?: number | undefined;
|
|
52827
52833
|
connector?: wagmi0.Connector | undefined;
|
|
52828
52834
|
} | {
|
|
52829
|
-
abi:
|
|
52835
|
+
abi: abitype0.Abi;
|
|
52830
52836
|
functionName: string;
|
|
52831
52837
|
args?: readonly unknown[] | undefined;
|
|
52832
52838
|
address: Address;
|
|
@@ -52834,9 +52840,9 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52834
52840
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52835
52841
|
value?: bigint | undefined;
|
|
52836
52842
|
dataSuffix?: `0x${string}` | undefined;
|
|
52837
|
-
type?: "eip2930" | undefined;
|
|
52838
52843
|
gas?: bigint | undefined;
|
|
52839
52844
|
nonce?: number | undefined;
|
|
52845
|
+
type?: "eip2930" | undefined;
|
|
52840
52846
|
blobs?: undefined;
|
|
52841
52847
|
blobVersionedHashes?: undefined;
|
|
52842
52848
|
kzg?: undefined;
|
|
@@ -52850,7 +52856,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52850
52856
|
chainId?: number | undefined;
|
|
52851
52857
|
connector?: wagmi0.Connector | undefined;
|
|
52852
52858
|
} | {
|
|
52853
|
-
abi:
|
|
52859
|
+
abi: abitype0.Abi;
|
|
52854
52860
|
functionName: string;
|
|
52855
52861
|
args?: readonly unknown[] | undefined;
|
|
52856
52862
|
address: Address;
|
|
@@ -52858,9 +52864,9 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52858
52864
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52859
52865
|
value?: bigint | undefined;
|
|
52860
52866
|
dataSuffix?: `0x${string}` | undefined;
|
|
52861
|
-
type?: "eip1559" | undefined;
|
|
52862
52867
|
gas?: bigint | undefined;
|
|
52863
52868
|
nonce?: number | undefined;
|
|
52869
|
+
type?: "eip1559" | undefined;
|
|
52864
52870
|
blobs?: undefined;
|
|
52865
52871
|
blobVersionedHashes?: undefined;
|
|
52866
52872
|
kzg?: undefined;
|
|
@@ -52874,7 +52880,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52874
52880
|
chainId?: number | undefined;
|
|
52875
52881
|
connector?: wagmi0.Connector | undefined;
|
|
52876
52882
|
} | {
|
|
52877
|
-
abi:
|
|
52883
|
+
abi: abitype0.Abi;
|
|
52878
52884
|
functionName: string;
|
|
52879
52885
|
args?: readonly unknown[] | undefined;
|
|
52880
52886
|
address: Address;
|
|
@@ -52882,9 +52888,9 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52882
52888
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52883
52889
|
value?: bigint | undefined;
|
|
52884
52890
|
dataSuffix?: `0x${string}` | undefined;
|
|
52885
|
-
type?: "eip4844" | undefined;
|
|
52886
52891
|
gas?: bigint | undefined;
|
|
52887
52892
|
nonce?: number | undefined;
|
|
52893
|
+
type?: "eip4844" | undefined;
|
|
52888
52894
|
blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
|
|
52889
52895
|
blobVersionedHashes: readonly viem0.Hex[];
|
|
52890
52896
|
kzg?: undefined;
|
|
@@ -52898,7 +52904,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52898
52904
|
chainId?: number | undefined;
|
|
52899
52905
|
connector?: wagmi0.Connector | undefined;
|
|
52900
52906
|
} | {
|
|
52901
|
-
abi:
|
|
52907
|
+
abi: abitype0.Abi;
|
|
52902
52908
|
functionName: string;
|
|
52903
52909
|
args?: readonly unknown[] | undefined;
|
|
52904
52910
|
address: Address;
|
|
@@ -52906,9 +52912,9 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52906
52912
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52907
52913
|
value?: bigint | undefined;
|
|
52908
52914
|
dataSuffix?: `0x${string}` | undefined;
|
|
52909
|
-
type?: "eip4844" | undefined;
|
|
52910
52915
|
gas?: bigint | undefined;
|
|
52911
52916
|
nonce?: number | undefined;
|
|
52917
|
+
type?: "eip4844" | undefined;
|
|
52912
52918
|
blobs: readonly viem0.Hex[] | readonly viem0.ByteArray[];
|
|
52913
52919
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
52914
52920
|
kzg?: viem0.Kzg | undefined;
|
|
@@ -52922,7 +52928,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52922
52928
|
chainId?: number | undefined;
|
|
52923
52929
|
connector?: wagmi0.Connector | undefined;
|
|
52924
52930
|
} | {
|
|
52925
|
-
abi:
|
|
52931
|
+
abi: abitype0.Abi;
|
|
52926
52932
|
functionName: string;
|
|
52927
52933
|
args?: readonly unknown[] | undefined;
|
|
52928
52934
|
address: Address;
|
|
@@ -52930,9 +52936,9 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52930
52936
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52931
52937
|
value?: bigint | undefined;
|
|
52932
52938
|
dataSuffix?: `0x${string}` | undefined;
|
|
52933
|
-
type?: "eip7702" | undefined;
|
|
52934
52939
|
gas?: bigint | undefined;
|
|
52935
52940
|
nonce?: number | undefined;
|
|
52941
|
+
type?: "eip7702" | undefined;
|
|
52936
52942
|
blobs?: undefined;
|
|
52937
52943
|
blobVersionedHashes?: undefined;
|
|
52938
52944
|
kzg?: undefined;
|
|
@@ -52946,48 +52952,48 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
52946
52952
|
chainId?: number | undefined;
|
|
52947
52953
|
connector?: wagmi0.Connector | undefined;
|
|
52948
52954
|
};
|
|
52949
|
-
isError: false;
|
|
52950
52955
|
isIdle: false;
|
|
52951
|
-
isPending: false;
|
|
52952
|
-
isSuccess: true;
|
|
52953
52956
|
reset: () => void;
|
|
52954
52957
|
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
|
|
52965
52965
|
//#region src/hooks/guardian/usePauseMarketTrading.d.ts
|
|
52966
52966
|
declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
52967
|
-
data: undefined;
|
|
52968
52967
|
error: null;
|
|
52968
|
+
data: undefined;
|
|
52969
52969
|
status: "idle";
|
|
52970
|
-
variables: undefined;
|
|
52971
52970
|
isError: false;
|
|
52972
|
-
isIdle: true;
|
|
52973
52971
|
isPending: false;
|
|
52974
52972
|
isSuccess: false;
|
|
52975
|
-
reset: () => void;
|
|
52976
|
-
context: unknown;
|
|
52977
52973
|
failureCount: number;
|
|
52978
52974
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
52979
52975
|
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
|
-
data: undefined;
|
|
52987
52986
|
error: null;
|
|
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;
|
|
52989
52995
|
variables: {
|
|
52990
|
-
abi:
|
|
52996
|
+
abi: abitype0.Abi;
|
|
52991
52997
|
functionName: string;
|
|
52992
52998
|
args?: readonly unknown[] | undefined;
|
|
52993
52999
|
address: Address;
|
|
@@ -52995,9 +53001,9 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
52995
53001
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
52996
53002
|
value?: bigint | undefined;
|
|
52997
53003
|
dataSuffix?: `0x${string}` | undefined;
|
|
52998
|
-
type?: "legacy" | undefined;
|
|
52999
53004
|
gas?: bigint | undefined;
|
|
53000
53005
|
nonce?: number | undefined;
|
|
53006
|
+
type?: "legacy" | undefined;
|
|
53001
53007
|
blobs?: undefined;
|
|
53002
53008
|
blobVersionedHashes?: undefined;
|
|
53003
53009
|
kzg?: undefined;
|
|
@@ -53011,7 +53017,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53011
53017
|
chainId?: number | undefined;
|
|
53012
53018
|
connector?: wagmi0.Connector | undefined;
|
|
53013
53019
|
} | {
|
|
53014
|
-
abi:
|
|
53020
|
+
abi: abitype0.Abi;
|
|
53015
53021
|
functionName: string;
|
|
53016
53022
|
args?: readonly unknown[] | undefined;
|
|
53017
53023
|
address: Address;
|
|
@@ -53019,9 +53025,9 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53019
53025
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53020
53026
|
value?: bigint | undefined;
|
|
53021
53027
|
dataSuffix?: `0x${string}` | undefined;
|
|
53022
|
-
type?: "eip2930" | undefined;
|
|
53023
53028
|
gas?: bigint | undefined;
|
|
53024
53029
|
nonce?: number | undefined;
|
|
53030
|
+
type?: "eip2930" | undefined;
|
|
53025
53031
|
blobs?: undefined;
|
|
53026
53032
|
blobVersionedHashes?: undefined;
|
|
53027
53033
|
kzg?: undefined;
|
|
@@ -53035,7 +53041,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53035
53041
|
chainId?: number | undefined;
|
|
53036
53042
|
connector?: wagmi0.Connector | undefined;
|
|
53037
53043
|
} | {
|
|
53038
|
-
abi:
|
|
53044
|
+
abi: abitype0.Abi;
|
|
53039
53045
|
functionName: string;
|
|
53040
53046
|
args?: readonly unknown[] | undefined;
|
|
53041
53047
|
address: Address;
|
|
@@ -53043,9 +53049,9 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53043
53049
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53044
53050
|
value?: bigint | undefined;
|
|
53045
53051
|
dataSuffix?: `0x${string}` | undefined;
|
|
53046
|
-
type?: "eip1559" | undefined;
|
|
53047
53052
|
gas?: bigint | undefined;
|
|
53048
53053
|
nonce?: number | undefined;
|
|
53054
|
+
type?: "eip1559" | undefined;
|
|
53049
53055
|
blobs?: undefined;
|
|
53050
53056
|
blobVersionedHashes?: undefined;
|
|
53051
53057
|
kzg?: undefined;
|
|
@@ -53059,7 +53065,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53059
53065
|
chainId?: number | undefined;
|
|
53060
53066
|
connector?: wagmi0.Connector | undefined;
|
|
53061
53067
|
} | {
|
|
53062
|
-
abi:
|
|
53068
|
+
abi: abitype0.Abi;
|
|
53063
53069
|
functionName: string;
|
|
53064
53070
|
args?: readonly unknown[] | undefined;
|
|
53065
53071
|
address: Address;
|
|
@@ -53067,9 +53073,9 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53067
53073
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53068
53074
|
value?: bigint | undefined;
|
|
53069
53075
|
dataSuffix?: `0x${string}` | undefined;
|
|
53070
|
-
type?: "eip4844" | undefined;
|
|
53071
53076
|
gas?: bigint | undefined;
|
|
53072
53077
|
nonce?: number | undefined;
|
|
53078
|
+
type?: "eip4844" | undefined;
|
|
53073
53079
|
blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
|
|
53074
53080
|
blobVersionedHashes: readonly viem0.Hex[];
|
|
53075
53081
|
kzg?: undefined;
|
|
@@ -53083,7 +53089,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53083
53089
|
chainId?: number | undefined;
|
|
53084
53090
|
connector?: wagmi0.Connector | undefined;
|
|
53085
53091
|
} | {
|
|
53086
|
-
abi:
|
|
53092
|
+
abi: abitype0.Abi;
|
|
53087
53093
|
functionName: string;
|
|
53088
53094
|
args?: readonly unknown[] | undefined;
|
|
53089
53095
|
address: Address;
|
|
@@ -53091,9 +53097,9 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53091
53097
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53092
53098
|
value?: bigint | undefined;
|
|
53093
53099
|
dataSuffix?: `0x${string}` | undefined;
|
|
53094
|
-
type?: "eip4844" | undefined;
|
|
53095
53100
|
gas?: bigint | undefined;
|
|
53096
53101
|
nonce?: number | undefined;
|
|
53102
|
+
type?: "eip4844" | undefined;
|
|
53097
53103
|
blobs: readonly viem0.Hex[] | readonly viem0.ByteArray[];
|
|
53098
53104
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
53099
53105
|
kzg?: viem0.Kzg | undefined;
|
|
@@ -53107,7 +53113,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53107
53113
|
chainId?: number | undefined;
|
|
53108
53114
|
connector?: wagmi0.Connector | undefined;
|
|
53109
53115
|
} | {
|
|
53110
|
-
abi:
|
|
53116
|
+
abi: abitype0.Abi;
|
|
53111
53117
|
functionName: string;
|
|
53112
53118
|
args?: readonly unknown[] | undefined;
|
|
53113
53119
|
address: Address;
|
|
@@ -53115,9 +53121,9 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53115
53121
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53116
53122
|
value?: bigint | undefined;
|
|
53117
53123
|
dataSuffix?: `0x${string}` | undefined;
|
|
53118
|
-
type?: "eip7702" | undefined;
|
|
53119
53124
|
gas?: bigint | undefined;
|
|
53120
53125
|
nonce?: number | undefined;
|
|
53126
|
+
type?: "eip7702" | undefined;
|
|
53121
53127
|
blobs?: undefined;
|
|
53122
53128
|
blobVersionedHashes?: undefined;
|
|
53123
53129
|
kzg?: undefined;
|
|
@@ -53131,26 +53137,26 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53131
53137
|
chainId?: number | undefined;
|
|
53132
53138
|
connector?: wagmi0.Connector | undefined;
|
|
53133
53139
|
};
|
|
53134
|
-
isError: false;
|
|
53135
53140
|
isIdle: false;
|
|
53136
|
-
isPending: true;
|
|
53137
|
-
isSuccess: false;
|
|
53138
53141
|
reset: () => void;
|
|
53139
53142
|
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
|
-
data: undefined;
|
|
53150
53149
|
error: _wagmi_core0.WriteContractErrorType;
|
|
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;
|
|
53152
53158
|
variables: {
|
|
53153
|
-
abi:
|
|
53159
|
+
abi: abitype0.Abi;
|
|
53154
53160
|
functionName: string;
|
|
53155
53161
|
args?: readonly unknown[] | undefined;
|
|
53156
53162
|
address: Address;
|
|
@@ -53158,9 +53164,9 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53158
53164
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53159
53165
|
value?: bigint | undefined;
|
|
53160
53166
|
dataSuffix?: `0x${string}` | undefined;
|
|
53161
|
-
type?: "legacy" | undefined;
|
|
53162
53167
|
gas?: bigint | undefined;
|
|
53163
53168
|
nonce?: number | undefined;
|
|
53169
|
+
type?: "legacy" | undefined;
|
|
53164
53170
|
blobs?: undefined;
|
|
53165
53171
|
blobVersionedHashes?: undefined;
|
|
53166
53172
|
kzg?: undefined;
|
|
@@ -53174,7 +53180,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53174
53180
|
chainId?: number | undefined;
|
|
53175
53181
|
connector?: wagmi0.Connector | undefined;
|
|
53176
53182
|
} | {
|
|
53177
|
-
abi:
|
|
53183
|
+
abi: abitype0.Abi;
|
|
53178
53184
|
functionName: string;
|
|
53179
53185
|
args?: readonly unknown[] | undefined;
|
|
53180
53186
|
address: Address;
|
|
@@ -53182,9 +53188,9 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53182
53188
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53183
53189
|
value?: bigint | undefined;
|
|
53184
53190
|
dataSuffix?: `0x${string}` | undefined;
|
|
53185
|
-
type?: "eip2930" | undefined;
|
|
53186
53191
|
gas?: bigint | undefined;
|
|
53187
53192
|
nonce?: number | undefined;
|
|
53193
|
+
type?: "eip2930" | undefined;
|
|
53188
53194
|
blobs?: undefined;
|
|
53189
53195
|
blobVersionedHashes?: undefined;
|
|
53190
53196
|
kzg?: undefined;
|
|
@@ -53198,7 +53204,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53198
53204
|
chainId?: number | undefined;
|
|
53199
53205
|
connector?: wagmi0.Connector | undefined;
|
|
53200
53206
|
} | {
|
|
53201
|
-
abi:
|
|
53207
|
+
abi: abitype0.Abi;
|
|
53202
53208
|
functionName: string;
|
|
53203
53209
|
args?: readonly unknown[] | undefined;
|
|
53204
53210
|
address: Address;
|
|
@@ -53206,9 +53212,9 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53206
53212
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53207
53213
|
value?: bigint | undefined;
|
|
53208
53214
|
dataSuffix?: `0x${string}` | undefined;
|
|
53209
|
-
type?: "eip1559" | undefined;
|
|
53210
53215
|
gas?: bigint | undefined;
|
|
53211
53216
|
nonce?: number | undefined;
|
|
53217
|
+
type?: "eip1559" | undefined;
|
|
53212
53218
|
blobs?: undefined;
|
|
53213
53219
|
blobVersionedHashes?: undefined;
|
|
53214
53220
|
kzg?: undefined;
|
|
@@ -53222,7 +53228,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53222
53228
|
chainId?: number | undefined;
|
|
53223
53229
|
connector?: wagmi0.Connector | undefined;
|
|
53224
53230
|
} | {
|
|
53225
|
-
abi:
|
|
53231
|
+
abi: abitype0.Abi;
|
|
53226
53232
|
functionName: string;
|
|
53227
53233
|
args?: readonly unknown[] | undefined;
|
|
53228
53234
|
address: Address;
|
|
@@ -53230,9 +53236,9 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53230
53236
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53231
53237
|
value?: bigint | undefined;
|
|
53232
53238
|
dataSuffix?: `0x${string}` | undefined;
|
|
53233
|
-
type?: "eip4844" | undefined;
|
|
53234
53239
|
gas?: bigint | undefined;
|
|
53235
53240
|
nonce?: number | undefined;
|
|
53241
|
+
type?: "eip4844" | undefined;
|
|
53236
53242
|
blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
|
|
53237
53243
|
blobVersionedHashes: readonly viem0.Hex[];
|
|
53238
53244
|
kzg?: undefined;
|
|
@@ -53246,7 +53252,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53246
53252
|
chainId?: number | undefined;
|
|
53247
53253
|
connector?: wagmi0.Connector | undefined;
|
|
53248
53254
|
} | {
|
|
53249
|
-
abi:
|
|
53255
|
+
abi: abitype0.Abi;
|
|
53250
53256
|
functionName: string;
|
|
53251
53257
|
args?: readonly unknown[] | undefined;
|
|
53252
53258
|
address: Address;
|
|
@@ -53254,9 +53260,9 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53254
53260
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53255
53261
|
value?: bigint | undefined;
|
|
53256
53262
|
dataSuffix?: `0x${string}` | undefined;
|
|
53257
|
-
type?: "eip4844" | undefined;
|
|
53258
53263
|
gas?: bigint | undefined;
|
|
53259
53264
|
nonce?: number | undefined;
|
|
53265
|
+
type?: "eip4844" | undefined;
|
|
53260
53266
|
blobs: readonly viem0.Hex[] | readonly viem0.ByteArray[];
|
|
53261
53267
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
53262
53268
|
kzg?: viem0.Kzg | undefined;
|
|
@@ -53270,7 +53276,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53270
53276
|
chainId?: number | undefined;
|
|
53271
53277
|
connector?: wagmi0.Connector | undefined;
|
|
53272
53278
|
} | {
|
|
53273
|
-
abi:
|
|
53279
|
+
abi: abitype0.Abi;
|
|
53274
53280
|
functionName: string;
|
|
53275
53281
|
args?: readonly unknown[] | undefined;
|
|
53276
53282
|
address: Address;
|
|
@@ -53278,9 +53284,9 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53278
53284
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53279
53285
|
value?: bigint | undefined;
|
|
53280
53286
|
dataSuffix?: `0x${string}` | undefined;
|
|
53281
|
-
type?: "eip7702" | undefined;
|
|
53282
53287
|
gas?: bigint | undefined;
|
|
53283
53288
|
nonce?: number | undefined;
|
|
53289
|
+
type?: "eip7702" | undefined;
|
|
53284
53290
|
blobs?: undefined;
|
|
53285
53291
|
blobVersionedHashes?: undefined;
|
|
53286
53292
|
kzg?: undefined;
|
|
@@ -53294,26 +53300,26 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53294
53300
|
chainId?: number | undefined;
|
|
53295
53301
|
connector?: wagmi0.Connector | undefined;
|
|
53296
53302
|
};
|
|
53297
|
-
isError: true;
|
|
53298
53303
|
isIdle: false;
|
|
53299
|
-
isPending: false;
|
|
53300
|
-
isSuccess: false;
|
|
53301
53304
|
reset: () => void;
|
|
53302
53305
|
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
|
-
data: `0x${string}`;
|
|
53313
53312
|
error: null;
|
|
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;
|
|
53315
53321
|
variables: {
|
|
53316
|
-
abi:
|
|
53322
|
+
abi: abitype0.Abi;
|
|
53317
53323
|
functionName: string;
|
|
53318
53324
|
args?: readonly unknown[] | undefined;
|
|
53319
53325
|
address: Address;
|
|
@@ -53321,9 +53327,9 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53321
53327
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53322
53328
|
value?: bigint | undefined;
|
|
53323
53329
|
dataSuffix?: `0x${string}` | undefined;
|
|
53324
|
-
type?: "legacy" | undefined;
|
|
53325
53330
|
gas?: bigint | undefined;
|
|
53326
53331
|
nonce?: number | undefined;
|
|
53332
|
+
type?: "legacy" | undefined;
|
|
53327
53333
|
blobs?: undefined;
|
|
53328
53334
|
blobVersionedHashes?: undefined;
|
|
53329
53335
|
kzg?: undefined;
|
|
@@ -53337,7 +53343,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53337
53343
|
chainId?: number | undefined;
|
|
53338
53344
|
connector?: wagmi0.Connector | undefined;
|
|
53339
53345
|
} | {
|
|
53340
|
-
abi:
|
|
53346
|
+
abi: abitype0.Abi;
|
|
53341
53347
|
functionName: string;
|
|
53342
53348
|
args?: readonly unknown[] | undefined;
|
|
53343
53349
|
address: Address;
|
|
@@ -53345,9 +53351,9 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53345
53351
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53346
53352
|
value?: bigint | undefined;
|
|
53347
53353
|
dataSuffix?: `0x${string}` | undefined;
|
|
53348
|
-
type?: "eip2930" | undefined;
|
|
53349
53354
|
gas?: bigint | undefined;
|
|
53350
53355
|
nonce?: number | undefined;
|
|
53356
|
+
type?: "eip2930" | undefined;
|
|
53351
53357
|
blobs?: undefined;
|
|
53352
53358
|
blobVersionedHashes?: undefined;
|
|
53353
53359
|
kzg?: undefined;
|
|
@@ -53361,7 +53367,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53361
53367
|
chainId?: number | undefined;
|
|
53362
53368
|
connector?: wagmi0.Connector | undefined;
|
|
53363
53369
|
} | {
|
|
53364
|
-
abi:
|
|
53370
|
+
abi: abitype0.Abi;
|
|
53365
53371
|
functionName: string;
|
|
53366
53372
|
args?: readonly unknown[] | undefined;
|
|
53367
53373
|
address: Address;
|
|
@@ -53369,9 +53375,9 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53369
53375
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53370
53376
|
value?: bigint | undefined;
|
|
53371
53377
|
dataSuffix?: `0x${string}` | undefined;
|
|
53372
|
-
type?: "eip1559" | undefined;
|
|
53373
53378
|
gas?: bigint | undefined;
|
|
53374
53379
|
nonce?: number | undefined;
|
|
53380
|
+
type?: "eip1559" | undefined;
|
|
53375
53381
|
blobs?: undefined;
|
|
53376
53382
|
blobVersionedHashes?: undefined;
|
|
53377
53383
|
kzg?: undefined;
|
|
@@ -53385,7 +53391,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53385
53391
|
chainId?: number | undefined;
|
|
53386
53392
|
connector?: wagmi0.Connector | undefined;
|
|
53387
53393
|
} | {
|
|
53388
|
-
abi:
|
|
53394
|
+
abi: abitype0.Abi;
|
|
53389
53395
|
functionName: string;
|
|
53390
53396
|
args?: readonly unknown[] | undefined;
|
|
53391
53397
|
address: Address;
|
|
@@ -53393,9 +53399,9 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53393
53399
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53394
53400
|
value?: bigint | undefined;
|
|
53395
53401
|
dataSuffix?: `0x${string}` | undefined;
|
|
53396
|
-
type?: "eip4844" | undefined;
|
|
53397
53402
|
gas?: bigint | undefined;
|
|
53398
53403
|
nonce?: number | undefined;
|
|
53404
|
+
type?: "eip4844" | undefined;
|
|
53399
53405
|
blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
|
|
53400
53406
|
blobVersionedHashes: readonly viem0.Hex[];
|
|
53401
53407
|
kzg?: undefined;
|
|
@@ -53409,7 +53415,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53409
53415
|
chainId?: number | undefined;
|
|
53410
53416
|
connector?: wagmi0.Connector | undefined;
|
|
53411
53417
|
} | {
|
|
53412
|
-
abi:
|
|
53418
|
+
abi: abitype0.Abi;
|
|
53413
53419
|
functionName: string;
|
|
53414
53420
|
args?: readonly unknown[] | undefined;
|
|
53415
53421
|
address: Address;
|
|
@@ -53417,9 +53423,9 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53417
53423
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53418
53424
|
value?: bigint | undefined;
|
|
53419
53425
|
dataSuffix?: `0x${string}` | undefined;
|
|
53420
|
-
type?: "eip4844" | undefined;
|
|
53421
53426
|
gas?: bigint | undefined;
|
|
53422
53427
|
nonce?: number | undefined;
|
|
53428
|
+
type?: "eip4844" | undefined;
|
|
53423
53429
|
blobs: readonly viem0.Hex[] | readonly viem0.ByteArray[];
|
|
53424
53430
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
53425
53431
|
kzg?: viem0.Kzg | undefined;
|
|
@@ -53433,7 +53439,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53433
53439
|
chainId?: number | undefined;
|
|
53434
53440
|
connector?: wagmi0.Connector | undefined;
|
|
53435
53441
|
} | {
|
|
53436
|
-
abi:
|
|
53442
|
+
abi: abitype0.Abi;
|
|
53437
53443
|
functionName: string;
|
|
53438
53444
|
args?: readonly unknown[] | undefined;
|
|
53439
53445
|
address: Address;
|
|
@@ -53441,9 +53447,9 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53441
53447
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53442
53448
|
value?: bigint | undefined;
|
|
53443
53449
|
dataSuffix?: `0x${string}` | undefined;
|
|
53444
|
-
type?: "eip7702" | undefined;
|
|
53445
53450
|
gas?: bigint | undefined;
|
|
53446
53451
|
nonce?: number | undefined;
|
|
53452
|
+
type?: "eip7702" | undefined;
|
|
53447
53453
|
blobs?: undefined;
|
|
53448
53454
|
blobVersionedHashes?: undefined;
|
|
53449
53455
|
kzg?: undefined;
|
|
@@ -53457,19 +53463,13 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
53457
53463
|
chainId?: number | undefined;
|
|
53458
53464
|
connector?: wagmi0.Connector | undefined;
|
|
53459
53465
|
};
|
|
53460
|
-
isError: false;
|
|
53461
53466
|
isIdle: false;
|
|
53462
|
-
isPending: false;
|
|
53463
|
-
isSuccess: true;
|
|
53464
53467
|
reset: () => void;
|
|
53465
53468
|
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
|
|
@@ -53484,23 +53484,23 @@ declare const useFeeRates: (feeStrategy?: Address) => Partial<NonUndefinedGuard<
|
|
|
53484
53484
|
//#endregion
|
|
53485
53485
|
//#region src/hooks/fees/useUpdateMarketFees.d.ts
|
|
53486
53486
|
declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
53487
|
-
data: undefined;
|
|
53488
53487
|
error: null;
|
|
53488
|
+
data: undefined;
|
|
53489
53489
|
status: "idle";
|
|
53490
|
-
variables: undefined;
|
|
53491
53490
|
isError: false;
|
|
53492
|
-
isIdle: true;
|
|
53493
53491
|
isPending: false;
|
|
53494
53492
|
isSuccess: false;
|
|
53495
|
-
reset: () => void;
|
|
53496
|
-
context: unknown;
|
|
53497
53493
|
failureCount: number;
|
|
53498
53494
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
53499
53495
|
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;
|
|
@@ -53513,11 +53513,17 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53513
53513
|
newFeeStrategy: `0x${string}`;
|
|
53514
53514
|
}>;
|
|
53515
53515
|
} | {
|
|
53516
|
-
data: undefined;
|
|
53517
53516
|
error: null;
|
|
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;
|
|
53519
53525
|
variables: {
|
|
53520
|
-
abi:
|
|
53526
|
+
abi: abitype0.Abi;
|
|
53521
53527
|
functionName: string;
|
|
53522
53528
|
args?: readonly unknown[] | undefined;
|
|
53523
53529
|
address: Address;
|
|
@@ -53525,9 +53531,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53525
53531
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53526
53532
|
value?: bigint | undefined;
|
|
53527
53533
|
dataSuffix?: `0x${string}` | undefined;
|
|
53528
|
-
type?: "legacy" | undefined;
|
|
53529
53534
|
gas?: bigint | undefined;
|
|
53530
53535
|
nonce?: number | undefined;
|
|
53536
|
+
type?: "legacy" | undefined;
|
|
53531
53537
|
blobs?: undefined;
|
|
53532
53538
|
blobVersionedHashes?: undefined;
|
|
53533
53539
|
kzg?: undefined;
|
|
@@ -53541,7 +53547,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53541
53547
|
chainId?: number | undefined;
|
|
53542
53548
|
connector?: wagmi0.Connector | undefined;
|
|
53543
53549
|
} | {
|
|
53544
|
-
abi:
|
|
53550
|
+
abi: abitype0.Abi;
|
|
53545
53551
|
functionName: string;
|
|
53546
53552
|
args?: readonly unknown[] | undefined;
|
|
53547
53553
|
address: Address;
|
|
@@ -53549,9 +53555,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53549
53555
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53550
53556
|
value?: bigint | undefined;
|
|
53551
53557
|
dataSuffix?: `0x${string}` | undefined;
|
|
53552
|
-
type?: "eip2930" | undefined;
|
|
53553
53558
|
gas?: bigint | undefined;
|
|
53554
53559
|
nonce?: number | undefined;
|
|
53560
|
+
type?: "eip2930" | undefined;
|
|
53555
53561
|
blobs?: undefined;
|
|
53556
53562
|
blobVersionedHashes?: undefined;
|
|
53557
53563
|
kzg?: undefined;
|
|
@@ -53565,7 +53571,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53565
53571
|
chainId?: number | undefined;
|
|
53566
53572
|
connector?: wagmi0.Connector | undefined;
|
|
53567
53573
|
} | {
|
|
53568
|
-
abi:
|
|
53574
|
+
abi: abitype0.Abi;
|
|
53569
53575
|
functionName: string;
|
|
53570
53576
|
args?: readonly unknown[] | undefined;
|
|
53571
53577
|
address: Address;
|
|
@@ -53573,9 +53579,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53573
53579
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53574
53580
|
value?: bigint | undefined;
|
|
53575
53581
|
dataSuffix?: `0x${string}` | undefined;
|
|
53576
|
-
type?: "eip1559" | undefined;
|
|
53577
53582
|
gas?: bigint | undefined;
|
|
53578
53583
|
nonce?: number | undefined;
|
|
53584
|
+
type?: "eip1559" | undefined;
|
|
53579
53585
|
blobs?: undefined;
|
|
53580
53586
|
blobVersionedHashes?: undefined;
|
|
53581
53587
|
kzg?: undefined;
|
|
@@ -53589,7 +53595,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53589
53595
|
chainId?: number | undefined;
|
|
53590
53596
|
connector?: wagmi0.Connector | undefined;
|
|
53591
53597
|
} | {
|
|
53592
|
-
abi:
|
|
53598
|
+
abi: abitype0.Abi;
|
|
53593
53599
|
functionName: string;
|
|
53594
53600
|
args?: readonly unknown[] | undefined;
|
|
53595
53601
|
address: Address;
|
|
@@ -53597,9 +53603,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53597
53603
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53598
53604
|
value?: bigint | undefined;
|
|
53599
53605
|
dataSuffix?: `0x${string}` | undefined;
|
|
53600
|
-
type?: "eip4844" | undefined;
|
|
53601
53606
|
gas?: bigint | undefined;
|
|
53602
53607
|
nonce?: number | undefined;
|
|
53608
|
+
type?: "eip4844" | undefined;
|
|
53603
53609
|
blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
|
|
53604
53610
|
blobVersionedHashes: readonly viem0.Hex[];
|
|
53605
53611
|
kzg?: undefined;
|
|
@@ -53613,7 +53619,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53613
53619
|
chainId?: number | undefined;
|
|
53614
53620
|
connector?: wagmi0.Connector | undefined;
|
|
53615
53621
|
} | {
|
|
53616
|
-
abi:
|
|
53622
|
+
abi: abitype0.Abi;
|
|
53617
53623
|
functionName: string;
|
|
53618
53624
|
args?: readonly unknown[] | undefined;
|
|
53619
53625
|
address: Address;
|
|
@@ -53621,9 +53627,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53621
53627
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53622
53628
|
value?: bigint | undefined;
|
|
53623
53629
|
dataSuffix?: `0x${string}` | undefined;
|
|
53624
|
-
type?: "eip4844" | undefined;
|
|
53625
53630
|
gas?: bigint | undefined;
|
|
53626
53631
|
nonce?: number | undefined;
|
|
53632
|
+
type?: "eip4844" | undefined;
|
|
53627
53633
|
blobs: readonly viem0.Hex[] | readonly viem0.ByteArray[];
|
|
53628
53634
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
53629
53635
|
kzg?: viem0.Kzg | undefined;
|
|
@@ -53637,7 +53643,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53637
53643
|
chainId?: number | undefined;
|
|
53638
53644
|
connector?: wagmi0.Connector | undefined;
|
|
53639
53645
|
} | {
|
|
53640
|
-
abi:
|
|
53646
|
+
abi: abitype0.Abi;
|
|
53641
53647
|
functionName: string;
|
|
53642
53648
|
args?: readonly unknown[] | undefined;
|
|
53643
53649
|
address: Address;
|
|
@@ -53645,9 +53651,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53645
53651
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53646
53652
|
value?: bigint | undefined;
|
|
53647
53653
|
dataSuffix?: `0x${string}` | undefined;
|
|
53648
|
-
type?: "eip7702" | undefined;
|
|
53649
53654
|
gas?: bigint | undefined;
|
|
53650
53655
|
nonce?: number | undefined;
|
|
53656
|
+
type?: "eip7702" | undefined;
|
|
53651
53657
|
blobs?: undefined;
|
|
53652
53658
|
blobVersionedHashes?: undefined;
|
|
53653
53659
|
kzg?: undefined;
|
|
@@ -53661,19 +53667,13 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53661
53667
|
chainId?: number | undefined;
|
|
53662
53668
|
connector?: wagmi0.Connector | undefined;
|
|
53663
53669
|
};
|
|
53664
|
-
isError: false;
|
|
53665
53670
|
isIdle: false;
|
|
53666
|
-
isPending: true;
|
|
53667
|
-
isSuccess: false;
|
|
53668
53671
|
reset: () => void;
|
|
53669
53672
|
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;
|
|
@@ -53686,11 +53686,17 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53686
53686
|
newFeeStrategy: `0x${string}`;
|
|
53687
53687
|
}>;
|
|
53688
53688
|
} | {
|
|
53689
|
-
data: undefined;
|
|
53690
53689
|
error: _wagmi_core0.WriteContractErrorType;
|
|
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;
|
|
53692
53698
|
variables: {
|
|
53693
|
-
abi:
|
|
53699
|
+
abi: abitype0.Abi;
|
|
53694
53700
|
functionName: string;
|
|
53695
53701
|
args?: readonly unknown[] | undefined;
|
|
53696
53702
|
address: Address;
|
|
@@ -53698,9 +53704,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53698
53704
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53699
53705
|
value?: bigint | undefined;
|
|
53700
53706
|
dataSuffix?: `0x${string}` | undefined;
|
|
53701
|
-
type?: "legacy" | undefined;
|
|
53702
53707
|
gas?: bigint | undefined;
|
|
53703
53708
|
nonce?: number | undefined;
|
|
53709
|
+
type?: "legacy" | undefined;
|
|
53704
53710
|
blobs?: undefined;
|
|
53705
53711
|
blobVersionedHashes?: undefined;
|
|
53706
53712
|
kzg?: undefined;
|
|
@@ -53714,7 +53720,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53714
53720
|
chainId?: number | undefined;
|
|
53715
53721
|
connector?: wagmi0.Connector | undefined;
|
|
53716
53722
|
} | {
|
|
53717
|
-
abi:
|
|
53723
|
+
abi: abitype0.Abi;
|
|
53718
53724
|
functionName: string;
|
|
53719
53725
|
args?: readonly unknown[] | undefined;
|
|
53720
53726
|
address: Address;
|
|
@@ -53722,9 +53728,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53722
53728
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53723
53729
|
value?: bigint | undefined;
|
|
53724
53730
|
dataSuffix?: `0x${string}` | undefined;
|
|
53725
|
-
type?: "eip2930" | undefined;
|
|
53726
53731
|
gas?: bigint | undefined;
|
|
53727
53732
|
nonce?: number | undefined;
|
|
53733
|
+
type?: "eip2930" | undefined;
|
|
53728
53734
|
blobs?: undefined;
|
|
53729
53735
|
blobVersionedHashes?: undefined;
|
|
53730
53736
|
kzg?: undefined;
|
|
@@ -53738,7 +53744,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53738
53744
|
chainId?: number | undefined;
|
|
53739
53745
|
connector?: wagmi0.Connector | undefined;
|
|
53740
53746
|
} | {
|
|
53741
|
-
abi:
|
|
53747
|
+
abi: abitype0.Abi;
|
|
53742
53748
|
functionName: string;
|
|
53743
53749
|
args?: readonly unknown[] | undefined;
|
|
53744
53750
|
address: Address;
|
|
@@ -53746,9 +53752,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53746
53752
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53747
53753
|
value?: bigint | undefined;
|
|
53748
53754
|
dataSuffix?: `0x${string}` | undefined;
|
|
53749
|
-
type?: "eip1559" | undefined;
|
|
53750
53755
|
gas?: bigint | undefined;
|
|
53751
53756
|
nonce?: number | undefined;
|
|
53757
|
+
type?: "eip1559" | undefined;
|
|
53752
53758
|
blobs?: undefined;
|
|
53753
53759
|
blobVersionedHashes?: undefined;
|
|
53754
53760
|
kzg?: undefined;
|
|
@@ -53762,7 +53768,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53762
53768
|
chainId?: number | undefined;
|
|
53763
53769
|
connector?: wagmi0.Connector | undefined;
|
|
53764
53770
|
} | {
|
|
53765
|
-
abi:
|
|
53771
|
+
abi: abitype0.Abi;
|
|
53766
53772
|
functionName: string;
|
|
53767
53773
|
args?: readonly unknown[] | undefined;
|
|
53768
53774
|
address: Address;
|
|
@@ -53770,9 +53776,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53770
53776
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53771
53777
|
value?: bigint | undefined;
|
|
53772
53778
|
dataSuffix?: `0x${string}` | undefined;
|
|
53773
|
-
type?: "eip4844" | undefined;
|
|
53774
53779
|
gas?: bigint | undefined;
|
|
53775
53780
|
nonce?: number | undefined;
|
|
53781
|
+
type?: "eip4844" | undefined;
|
|
53776
53782
|
blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
|
|
53777
53783
|
blobVersionedHashes: readonly viem0.Hex[];
|
|
53778
53784
|
kzg?: undefined;
|
|
@@ -53786,7 +53792,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53786
53792
|
chainId?: number | undefined;
|
|
53787
53793
|
connector?: wagmi0.Connector | undefined;
|
|
53788
53794
|
} | {
|
|
53789
|
-
abi:
|
|
53795
|
+
abi: abitype0.Abi;
|
|
53790
53796
|
functionName: string;
|
|
53791
53797
|
args?: readonly unknown[] | undefined;
|
|
53792
53798
|
address: Address;
|
|
@@ -53794,9 +53800,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53794
53800
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53795
53801
|
value?: bigint | undefined;
|
|
53796
53802
|
dataSuffix?: `0x${string}` | undefined;
|
|
53797
|
-
type?: "eip4844" | undefined;
|
|
53798
53803
|
gas?: bigint | undefined;
|
|
53799
53804
|
nonce?: number | undefined;
|
|
53805
|
+
type?: "eip4844" | undefined;
|
|
53800
53806
|
blobs: readonly viem0.Hex[] | readonly viem0.ByteArray[];
|
|
53801
53807
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
53802
53808
|
kzg?: viem0.Kzg | undefined;
|
|
@@ -53810,7 +53816,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53810
53816
|
chainId?: number | undefined;
|
|
53811
53817
|
connector?: wagmi0.Connector | undefined;
|
|
53812
53818
|
} | {
|
|
53813
|
-
abi:
|
|
53819
|
+
abi: abitype0.Abi;
|
|
53814
53820
|
functionName: string;
|
|
53815
53821
|
args?: readonly unknown[] | undefined;
|
|
53816
53822
|
address: Address;
|
|
@@ -53818,9 +53824,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53818
53824
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53819
53825
|
value?: bigint | undefined;
|
|
53820
53826
|
dataSuffix?: `0x${string}` | undefined;
|
|
53821
|
-
type?: "eip7702" | undefined;
|
|
53822
53827
|
gas?: bigint | undefined;
|
|
53823
53828
|
nonce?: number | undefined;
|
|
53829
|
+
type?: "eip7702" | undefined;
|
|
53824
53830
|
blobs?: undefined;
|
|
53825
53831
|
blobVersionedHashes?: undefined;
|
|
53826
53832
|
kzg?: undefined;
|
|
@@ -53834,19 +53840,13 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53834
53840
|
chainId?: number | undefined;
|
|
53835
53841
|
connector?: wagmi0.Connector | undefined;
|
|
53836
53842
|
};
|
|
53837
|
-
isError: true;
|
|
53838
53843
|
isIdle: false;
|
|
53839
|
-
isPending: false;
|
|
53840
|
-
isSuccess: false;
|
|
53841
53844
|
reset: () => void;
|
|
53842
53845
|
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;
|
|
@@ -53859,11 +53859,17 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53859
53859
|
newFeeStrategy: `0x${string}`;
|
|
53860
53860
|
}>;
|
|
53861
53861
|
} | {
|
|
53862
|
-
data: `0x${string}`;
|
|
53863
53862
|
error: null;
|
|
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;
|
|
53865
53871
|
variables: {
|
|
53866
|
-
abi:
|
|
53872
|
+
abi: abitype0.Abi;
|
|
53867
53873
|
functionName: string;
|
|
53868
53874
|
args?: readonly unknown[] | undefined;
|
|
53869
53875
|
address: Address;
|
|
@@ -53871,9 +53877,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53871
53877
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53872
53878
|
value?: bigint | undefined;
|
|
53873
53879
|
dataSuffix?: `0x${string}` | undefined;
|
|
53874
|
-
type?: "legacy" | undefined;
|
|
53875
53880
|
gas?: bigint | undefined;
|
|
53876
53881
|
nonce?: number | undefined;
|
|
53882
|
+
type?: "legacy" | undefined;
|
|
53877
53883
|
blobs?: undefined;
|
|
53878
53884
|
blobVersionedHashes?: undefined;
|
|
53879
53885
|
kzg?: undefined;
|
|
@@ -53887,7 +53893,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53887
53893
|
chainId?: number | undefined;
|
|
53888
53894
|
connector?: wagmi0.Connector | undefined;
|
|
53889
53895
|
} | {
|
|
53890
|
-
abi:
|
|
53896
|
+
abi: abitype0.Abi;
|
|
53891
53897
|
functionName: string;
|
|
53892
53898
|
args?: readonly unknown[] | undefined;
|
|
53893
53899
|
address: Address;
|
|
@@ -53895,9 +53901,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53895
53901
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53896
53902
|
value?: bigint | undefined;
|
|
53897
53903
|
dataSuffix?: `0x${string}` | undefined;
|
|
53898
|
-
type?: "eip2930" | undefined;
|
|
53899
53904
|
gas?: bigint | undefined;
|
|
53900
53905
|
nonce?: number | undefined;
|
|
53906
|
+
type?: "eip2930" | undefined;
|
|
53901
53907
|
blobs?: undefined;
|
|
53902
53908
|
blobVersionedHashes?: undefined;
|
|
53903
53909
|
kzg?: undefined;
|
|
@@ -53911,7 +53917,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53911
53917
|
chainId?: number | undefined;
|
|
53912
53918
|
connector?: wagmi0.Connector | undefined;
|
|
53913
53919
|
} | {
|
|
53914
|
-
abi:
|
|
53920
|
+
abi: abitype0.Abi;
|
|
53915
53921
|
functionName: string;
|
|
53916
53922
|
args?: readonly unknown[] | undefined;
|
|
53917
53923
|
address: Address;
|
|
@@ -53919,9 +53925,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53919
53925
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53920
53926
|
value?: bigint | undefined;
|
|
53921
53927
|
dataSuffix?: `0x${string}` | undefined;
|
|
53922
|
-
type?: "eip1559" | undefined;
|
|
53923
53928
|
gas?: bigint | undefined;
|
|
53924
53929
|
nonce?: number | undefined;
|
|
53930
|
+
type?: "eip1559" | undefined;
|
|
53925
53931
|
blobs?: undefined;
|
|
53926
53932
|
blobVersionedHashes?: undefined;
|
|
53927
53933
|
kzg?: undefined;
|
|
@@ -53935,7 +53941,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53935
53941
|
chainId?: number | undefined;
|
|
53936
53942
|
connector?: wagmi0.Connector | undefined;
|
|
53937
53943
|
} | {
|
|
53938
|
-
abi:
|
|
53944
|
+
abi: abitype0.Abi;
|
|
53939
53945
|
functionName: string;
|
|
53940
53946
|
args?: readonly unknown[] | undefined;
|
|
53941
53947
|
address: Address;
|
|
@@ -53943,9 +53949,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53943
53949
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53944
53950
|
value?: bigint | undefined;
|
|
53945
53951
|
dataSuffix?: `0x${string}` | undefined;
|
|
53946
|
-
type?: "eip4844" | undefined;
|
|
53947
53952
|
gas?: bigint | undefined;
|
|
53948
53953
|
nonce?: number | undefined;
|
|
53954
|
+
type?: "eip4844" | undefined;
|
|
53949
53955
|
blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
|
|
53950
53956
|
blobVersionedHashes: readonly viem0.Hex[];
|
|
53951
53957
|
kzg?: undefined;
|
|
@@ -53959,7 +53965,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53959
53965
|
chainId?: number | undefined;
|
|
53960
53966
|
connector?: wagmi0.Connector | undefined;
|
|
53961
53967
|
} | {
|
|
53962
|
-
abi:
|
|
53968
|
+
abi: abitype0.Abi;
|
|
53963
53969
|
functionName: string;
|
|
53964
53970
|
args?: readonly unknown[] | undefined;
|
|
53965
53971
|
address: Address;
|
|
@@ -53967,9 +53973,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53967
53973
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53968
53974
|
value?: bigint | undefined;
|
|
53969
53975
|
dataSuffix?: `0x${string}` | undefined;
|
|
53970
|
-
type?: "eip4844" | undefined;
|
|
53971
53976
|
gas?: bigint | undefined;
|
|
53972
53977
|
nonce?: number | undefined;
|
|
53978
|
+
type?: "eip4844" | undefined;
|
|
53973
53979
|
blobs: readonly viem0.Hex[] | readonly viem0.ByteArray[];
|
|
53974
53980
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
53975
53981
|
kzg?: viem0.Kzg | undefined;
|
|
@@ -53983,7 +53989,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53983
53989
|
chainId?: number | undefined;
|
|
53984
53990
|
connector?: wagmi0.Connector | undefined;
|
|
53985
53991
|
} | {
|
|
53986
|
-
abi:
|
|
53992
|
+
abi: abitype0.Abi;
|
|
53987
53993
|
functionName: string;
|
|
53988
53994
|
args?: readonly unknown[] | undefined;
|
|
53989
53995
|
address: Address;
|
|
@@ -53991,9 +53997,9 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
53991
53997
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
53992
53998
|
value?: bigint | undefined;
|
|
53993
53999
|
dataSuffix?: `0x${string}` | undefined;
|
|
53994
|
-
type?: "eip7702" | undefined;
|
|
53995
54000
|
gas?: bigint | undefined;
|
|
53996
54001
|
nonce?: number | undefined;
|
|
54002
|
+
type?: "eip7702" | undefined;
|
|
53997
54003
|
blobs?: undefined;
|
|
53998
54004
|
blobVersionedHashes?: undefined;
|
|
53999
54005
|
kzg?: undefined;
|
|
@@ -54007,19 +54013,13 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
54007
54013
|
chainId?: number | undefined;
|
|
54008
54014
|
connector?: wagmi0.Connector | undefined;
|
|
54009
54015
|
};
|
|
54010
|
-
isError: false;
|
|
54011
54016
|
isIdle: false;
|
|
54012
|
-
isPending: false;
|
|
54013
|
-
isSuccess: true;
|
|
54014
54017
|
reset: () => void;
|
|
54015
54018
|
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;
|
|
@@ -55009,23 +55009,23 @@ declare const useStaticPricingParams: (pricingAddr: Address | undefined) => Part
|
|
|
55009
55009
|
//#endregion
|
|
55010
55010
|
//#region src/hooks/pricing/useUpdateMarketPricing.d.ts
|
|
55011
55011
|
declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
55012
|
-
data: undefined;
|
|
55013
55012
|
error: null;
|
|
55013
|
+
data: undefined;
|
|
55014
55014
|
status: "idle";
|
|
55015
|
-
variables: undefined;
|
|
55016
55015
|
isError: false;
|
|
55017
|
-
isIdle: true;
|
|
55018
55016
|
isPending: false;
|
|
55019
55017
|
isSuccess: false;
|
|
55020
|
-
reset: () => void;
|
|
55021
|
-
context: unknown;
|
|
55022
55018
|
failureCount: number;
|
|
55023
55019
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
55024
55020
|
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> & {
|
|
@@ -55036,11 +55036,17 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55036
55036
|
newPricingAddr: `0x${string}`;
|
|
55037
55037
|
}>;
|
|
55038
55038
|
} | {
|
|
55039
|
-
data: undefined;
|
|
55040
55039
|
error: null;
|
|
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;
|
|
55042
55048
|
variables: {
|
|
55043
|
-
abi:
|
|
55049
|
+
abi: abitype0.Abi;
|
|
55044
55050
|
functionName: string;
|
|
55045
55051
|
args?: readonly unknown[] | undefined;
|
|
55046
55052
|
address: Address;
|
|
@@ -55048,9 +55054,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55048
55054
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55049
55055
|
value?: bigint | undefined;
|
|
55050
55056
|
dataSuffix?: `0x${string}` | undefined;
|
|
55051
|
-
type?: "legacy" | undefined;
|
|
55052
55057
|
gas?: bigint | undefined;
|
|
55053
55058
|
nonce?: number | undefined;
|
|
55059
|
+
type?: "legacy" | undefined;
|
|
55054
55060
|
blobs?: undefined;
|
|
55055
55061
|
blobVersionedHashes?: undefined;
|
|
55056
55062
|
kzg?: undefined;
|
|
@@ -55064,7 +55070,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55064
55070
|
chainId?: number | undefined;
|
|
55065
55071
|
connector?: wagmi0.Connector | undefined;
|
|
55066
55072
|
} | {
|
|
55067
|
-
abi:
|
|
55073
|
+
abi: abitype0.Abi;
|
|
55068
55074
|
functionName: string;
|
|
55069
55075
|
args?: readonly unknown[] | undefined;
|
|
55070
55076
|
address: Address;
|
|
@@ -55072,9 +55078,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55072
55078
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55073
55079
|
value?: bigint | undefined;
|
|
55074
55080
|
dataSuffix?: `0x${string}` | undefined;
|
|
55075
|
-
type?: "eip2930" | undefined;
|
|
55076
55081
|
gas?: bigint | undefined;
|
|
55077
55082
|
nonce?: number | undefined;
|
|
55083
|
+
type?: "eip2930" | undefined;
|
|
55078
55084
|
blobs?: undefined;
|
|
55079
55085
|
blobVersionedHashes?: undefined;
|
|
55080
55086
|
kzg?: undefined;
|
|
@@ -55088,7 +55094,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55088
55094
|
chainId?: number | undefined;
|
|
55089
55095
|
connector?: wagmi0.Connector | undefined;
|
|
55090
55096
|
} | {
|
|
55091
|
-
abi:
|
|
55097
|
+
abi: abitype0.Abi;
|
|
55092
55098
|
functionName: string;
|
|
55093
55099
|
args?: readonly unknown[] | undefined;
|
|
55094
55100
|
address: Address;
|
|
@@ -55096,9 +55102,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55096
55102
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55097
55103
|
value?: bigint | undefined;
|
|
55098
55104
|
dataSuffix?: `0x${string}` | undefined;
|
|
55099
|
-
type?: "eip1559" | undefined;
|
|
55100
55105
|
gas?: bigint | undefined;
|
|
55101
55106
|
nonce?: number | undefined;
|
|
55107
|
+
type?: "eip1559" | undefined;
|
|
55102
55108
|
blobs?: undefined;
|
|
55103
55109
|
blobVersionedHashes?: undefined;
|
|
55104
55110
|
kzg?: undefined;
|
|
@@ -55112,7 +55118,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55112
55118
|
chainId?: number | undefined;
|
|
55113
55119
|
connector?: wagmi0.Connector | undefined;
|
|
55114
55120
|
} | {
|
|
55115
|
-
abi:
|
|
55121
|
+
abi: abitype0.Abi;
|
|
55116
55122
|
functionName: string;
|
|
55117
55123
|
args?: readonly unknown[] | undefined;
|
|
55118
55124
|
address: Address;
|
|
@@ -55120,9 +55126,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55120
55126
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55121
55127
|
value?: bigint | undefined;
|
|
55122
55128
|
dataSuffix?: `0x${string}` | undefined;
|
|
55123
|
-
type?: "eip4844" | undefined;
|
|
55124
55129
|
gas?: bigint | undefined;
|
|
55125
55130
|
nonce?: number | undefined;
|
|
55131
|
+
type?: "eip4844" | undefined;
|
|
55126
55132
|
blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
|
|
55127
55133
|
blobVersionedHashes: readonly viem0.Hex[];
|
|
55128
55134
|
kzg?: undefined;
|
|
@@ -55136,7 +55142,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55136
55142
|
chainId?: number | undefined;
|
|
55137
55143
|
connector?: wagmi0.Connector | undefined;
|
|
55138
55144
|
} | {
|
|
55139
|
-
abi:
|
|
55145
|
+
abi: abitype0.Abi;
|
|
55140
55146
|
functionName: string;
|
|
55141
55147
|
args?: readonly unknown[] | undefined;
|
|
55142
55148
|
address: Address;
|
|
@@ -55144,9 +55150,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55144
55150
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55145
55151
|
value?: bigint | undefined;
|
|
55146
55152
|
dataSuffix?: `0x${string}` | undefined;
|
|
55147
|
-
type?: "eip4844" | undefined;
|
|
55148
55153
|
gas?: bigint | undefined;
|
|
55149
55154
|
nonce?: number | undefined;
|
|
55155
|
+
type?: "eip4844" | undefined;
|
|
55150
55156
|
blobs: readonly viem0.Hex[] | readonly viem0.ByteArray[];
|
|
55151
55157
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
55152
55158
|
kzg?: viem0.Kzg | undefined;
|
|
@@ -55160,7 +55166,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55160
55166
|
chainId?: number | undefined;
|
|
55161
55167
|
connector?: wagmi0.Connector | undefined;
|
|
55162
55168
|
} | {
|
|
55163
|
-
abi:
|
|
55169
|
+
abi: abitype0.Abi;
|
|
55164
55170
|
functionName: string;
|
|
55165
55171
|
args?: readonly unknown[] | undefined;
|
|
55166
55172
|
address: Address;
|
|
@@ -55168,9 +55174,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55168
55174
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55169
55175
|
value?: bigint | undefined;
|
|
55170
55176
|
dataSuffix?: `0x${string}` | undefined;
|
|
55171
|
-
type?: "eip7702" | undefined;
|
|
55172
55177
|
gas?: bigint | undefined;
|
|
55173
55178
|
nonce?: number | undefined;
|
|
55179
|
+
type?: "eip7702" | undefined;
|
|
55174
55180
|
blobs?: undefined;
|
|
55175
55181
|
blobVersionedHashes?: undefined;
|
|
55176
55182
|
kzg?: undefined;
|
|
@@ -55184,19 +55190,13 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55184
55190
|
chainId?: number | undefined;
|
|
55185
55191
|
connector?: wagmi0.Connector | undefined;
|
|
55186
55192
|
};
|
|
55187
|
-
isError: false;
|
|
55188
55193
|
isIdle: false;
|
|
55189
|
-
isPending: true;
|
|
55190
|
-
isSuccess: false;
|
|
55191
55194
|
reset: () => void;
|
|
55192
55195
|
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> & {
|
|
@@ -55207,11 +55207,17 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55207
55207
|
newPricingAddr: `0x${string}`;
|
|
55208
55208
|
}>;
|
|
55209
55209
|
} | {
|
|
55210
|
-
data: undefined;
|
|
55211
55210
|
error: _wagmi_core0.WriteContractErrorType;
|
|
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;
|
|
55213
55219
|
variables: {
|
|
55214
|
-
abi:
|
|
55220
|
+
abi: abitype0.Abi;
|
|
55215
55221
|
functionName: string;
|
|
55216
55222
|
args?: readonly unknown[] | undefined;
|
|
55217
55223
|
address: Address;
|
|
@@ -55219,9 +55225,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55219
55225
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55220
55226
|
value?: bigint | undefined;
|
|
55221
55227
|
dataSuffix?: `0x${string}` | undefined;
|
|
55222
|
-
type?: "legacy" | undefined;
|
|
55223
55228
|
gas?: bigint | undefined;
|
|
55224
55229
|
nonce?: number | undefined;
|
|
55230
|
+
type?: "legacy" | undefined;
|
|
55225
55231
|
blobs?: undefined;
|
|
55226
55232
|
blobVersionedHashes?: undefined;
|
|
55227
55233
|
kzg?: undefined;
|
|
@@ -55235,7 +55241,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55235
55241
|
chainId?: number | undefined;
|
|
55236
55242
|
connector?: wagmi0.Connector | undefined;
|
|
55237
55243
|
} | {
|
|
55238
|
-
abi:
|
|
55244
|
+
abi: abitype0.Abi;
|
|
55239
55245
|
functionName: string;
|
|
55240
55246
|
args?: readonly unknown[] | undefined;
|
|
55241
55247
|
address: Address;
|
|
@@ -55243,9 +55249,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55243
55249
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55244
55250
|
value?: bigint | undefined;
|
|
55245
55251
|
dataSuffix?: `0x${string}` | undefined;
|
|
55246
|
-
type?: "eip2930" | undefined;
|
|
55247
55252
|
gas?: bigint | undefined;
|
|
55248
55253
|
nonce?: number | undefined;
|
|
55254
|
+
type?: "eip2930" | undefined;
|
|
55249
55255
|
blobs?: undefined;
|
|
55250
55256
|
blobVersionedHashes?: undefined;
|
|
55251
55257
|
kzg?: undefined;
|
|
@@ -55259,7 +55265,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55259
55265
|
chainId?: number | undefined;
|
|
55260
55266
|
connector?: wagmi0.Connector | undefined;
|
|
55261
55267
|
} | {
|
|
55262
|
-
abi:
|
|
55268
|
+
abi: abitype0.Abi;
|
|
55263
55269
|
functionName: string;
|
|
55264
55270
|
args?: readonly unknown[] | undefined;
|
|
55265
55271
|
address: Address;
|
|
@@ -55267,9 +55273,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55267
55273
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55268
55274
|
value?: bigint | undefined;
|
|
55269
55275
|
dataSuffix?: `0x${string}` | undefined;
|
|
55270
|
-
type?: "eip1559" | undefined;
|
|
55271
55276
|
gas?: bigint | undefined;
|
|
55272
55277
|
nonce?: number | undefined;
|
|
55278
|
+
type?: "eip1559" | undefined;
|
|
55273
55279
|
blobs?: undefined;
|
|
55274
55280
|
blobVersionedHashes?: undefined;
|
|
55275
55281
|
kzg?: undefined;
|
|
@@ -55283,7 +55289,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55283
55289
|
chainId?: number | undefined;
|
|
55284
55290
|
connector?: wagmi0.Connector | undefined;
|
|
55285
55291
|
} | {
|
|
55286
|
-
abi:
|
|
55292
|
+
abi: abitype0.Abi;
|
|
55287
55293
|
functionName: string;
|
|
55288
55294
|
args?: readonly unknown[] | undefined;
|
|
55289
55295
|
address: Address;
|
|
@@ -55291,9 +55297,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55291
55297
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55292
55298
|
value?: bigint | undefined;
|
|
55293
55299
|
dataSuffix?: `0x${string}` | undefined;
|
|
55294
|
-
type?: "eip4844" | undefined;
|
|
55295
55300
|
gas?: bigint | undefined;
|
|
55296
55301
|
nonce?: number | undefined;
|
|
55302
|
+
type?: "eip4844" | undefined;
|
|
55297
55303
|
blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
|
|
55298
55304
|
blobVersionedHashes: readonly viem0.Hex[];
|
|
55299
55305
|
kzg?: undefined;
|
|
@@ -55307,7 +55313,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55307
55313
|
chainId?: number | undefined;
|
|
55308
55314
|
connector?: wagmi0.Connector | undefined;
|
|
55309
55315
|
} | {
|
|
55310
|
-
abi:
|
|
55316
|
+
abi: abitype0.Abi;
|
|
55311
55317
|
functionName: string;
|
|
55312
55318
|
args?: readonly unknown[] | undefined;
|
|
55313
55319
|
address: Address;
|
|
@@ -55315,9 +55321,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55315
55321
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55316
55322
|
value?: bigint | undefined;
|
|
55317
55323
|
dataSuffix?: `0x${string}` | undefined;
|
|
55318
|
-
type?: "eip4844" | undefined;
|
|
55319
55324
|
gas?: bigint | undefined;
|
|
55320
55325
|
nonce?: number | undefined;
|
|
55326
|
+
type?: "eip4844" | undefined;
|
|
55321
55327
|
blobs: readonly viem0.Hex[] | readonly viem0.ByteArray[];
|
|
55322
55328
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
55323
55329
|
kzg?: viem0.Kzg | undefined;
|
|
@@ -55331,7 +55337,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55331
55337
|
chainId?: number | undefined;
|
|
55332
55338
|
connector?: wagmi0.Connector | undefined;
|
|
55333
55339
|
} | {
|
|
55334
|
-
abi:
|
|
55340
|
+
abi: abitype0.Abi;
|
|
55335
55341
|
functionName: string;
|
|
55336
55342
|
args?: readonly unknown[] | undefined;
|
|
55337
55343
|
address: Address;
|
|
@@ -55339,9 +55345,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55339
55345
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55340
55346
|
value?: bigint | undefined;
|
|
55341
55347
|
dataSuffix?: `0x${string}` | undefined;
|
|
55342
|
-
type?: "eip7702" | undefined;
|
|
55343
55348
|
gas?: bigint | undefined;
|
|
55344
55349
|
nonce?: number | undefined;
|
|
55350
|
+
type?: "eip7702" | undefined;
|
|
55345
55351
|
blobs?: undefined;
|
|
55346
55352
|
blobVersionedHashes?: undefined;
|
|
55347
55353
|
kzg?: undefined;
|
|
@@ -55355,19 +55361,13 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55355
55361
|
chainId?: number | undefined;
|
|
55356
55362
|
connector?: wagmi0.Connector | undefined;
|
|
55357
55363
|
};
|
|
55358
|
-
isError: true;
|
|
55359
55364
|
isIdle: false;
|
|
55360
|
-
isPending: false;
|
|
55361
|
-
isSuccess: false;
|
|
55362
55365
|
reset: () => void;
|
|
55363
55366
|
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> & {
|
|
@@ -55378,11 +55378,17 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55378
55378
|
newPricingAddr: `0x${string}`;
|
|
55379
55379
|
}>;
|
|
55380
55380
|
} | {
|
|
55381
|
-
data: `0x${string}`;
|
|
55382
55381
|
error: null;
|
|
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;
|
|
55384
55390
|
variables: {
|
|
55385
|
-
abi:
|
|
55391
|
+
abi: abitype0.Abi;
|
|
55386
55392
|
functionName: string;
|
|
55387
55393
|
args?: readonly unknown[] | undefined;
|
|
55388
55394
|
address: Address;
|
|
@@ -55390,9 +55396,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55390
55396
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55391
55397
|
value?: bigint | undefined;
|
|
55392
55398
|
dataSuffix?: `0x${string}` | undefined;
|
|
55393
|
-
type?: "legacy" | undefined;
|
|
55394
55399
|
gas?: bigint | undefined;
|
|
55395
55400
|
nonce?: number | undefined;
|
|
55401
|
+
type?: "legacy" | undefined;
|
|
55396
55402
|
blobs?: undefined;
|
|
55397
55403
|
blobVersionedHashes?: undefined;
|
|
55398
55404
|
kzg?: undefined;
|
|
@@ -55406,7 +55412,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55406
55412
|
chainId?: number | undefined;
|
|
55407
55413
|
connector?: wagmi0.Connector | undefined;
|
|
55408
55414
|
} | {
|
|
55409
|
-
abi:
|
|
55415
|
+
abi: abitype0.Abi;
|
|
55410
55416
|
functionName: string;
|
|
55411
55417
|
args?: readonly unknown[] | undefined;
|
|
55412
55418
|
address: Address;
|
|
@@ -55414,9 +55420,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55414
55420
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55415
55421
|
value?: bigint | undefined;
|
|
55416
55422
|
dataSuffix?: `0x${string}` | undefined;
|
|
55417
|
-
type?: "eip2930" | undefined;
|
|
55418
55423
|
gas?: bigint | undefined;
|
|
55419
55424
|
nonce?: number | undefined;
|
|
55425
|
+
type?: "eip2930" | undefined;
|
|
55420
55426
|
blobs?: undefined;
|
|
55421
55427
|
blobVersionedHashes?: undefined;
|
|
55422
55428
|
kzg?: undefined;
|
|
@@ -55430,7 +55436,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55430
55436
|
chainId?: number | undefined;
|
|
55431
55437
|
connector?: wagmi0.Connector | undefined;
|
|
55432
55438
|
} | {
|
|
55433
|
-
abi:
|
|
55439
|
+
abi: abitype0.Abi;
|
|
55434
55440
|
functionName: string;
|
|
55435
55441
|
args?: readonly unknown[] | undefined;
|
|
55436
55442
|
address: Address;
|
|
@@ -55438,9 +55444,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55438
55444
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55439
55445
|
value?: bigint | undefined;
|
|
55440
55446
|
dataSuffix?: `0x${string}` | undefined;
|
|
55441
|
-
type?: "eip1559" | undefined;
|
|
55442
55447
|
gas?: bigint | undefined;
|
|
55443
55448
|
nonce?: number | undefined;
|
|
55449
|
+
type?: "eip1559" | undefined;
|
|
55444
55450
|
blobs?: undefined;
|
|
55445
55451
|
blobVersionedHashes?: undefined;
|
|
55446
55452
|
kzg?: undefined;
|
|
@@ -55454,7 +55460,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55454
55460
|
chainId?: number | undefined;
|
|
55455
55461
|
connector?: wagmi0.Connector | undefined;
|
|
55456
55462
|
} | {
|
|
55457
|
-
abi:
|
|
55463
|
+
abi: abitype0.Abi;
|
|
55458
55464
|
functionName: string;
|
|
55459
55465
|
args?: readonly unknown[] | undefined;
|
|
55460
55466
|
address: Address;
|
|
@@ -55462,9 +55468,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55462
55468
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55463
55469
|
value?: bigint | undefined;
|
|
55464
55470
|
dataSuffix?: `0x${string}` | undefined;
|
|
55465
|
-
type?: "eip4844" | undefined;
|
|
55466
55471
|
gas?: bigint | undefined;
|
|
55467
55472
|
nonce?: number | undefined;
|
|
55473
|
+
type?: "eip4844" | undefined;
|
|
55468
55474
|
blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
|
|
55469
55475
|
blobVersionedHashes: readonly viem0.Hex[];
|
|
55470
55476
|
kzg?: undefined;
|
|
@@ -55478,7 +55484,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55478
55484
|
chainId?: number | undefined;
|
|
55479
55485
|
connector?: wagmi0.Connector | undefined;
|
|
55480
55486
|
} | {
|
|
55481
|
-
abi:
|
|
55487
|
+
abi: abitype0.Abi;
|
|
55482
55488
|
functionName: string;
|
|
55483
55489
|
args?: readonly unknown[] | undefined;
|
|
55484
55490
|
address: Address;
|
|
@@ -55486,9 +55492,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55486
55492
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55487
55493
|
value?: bigint | undefined;
|
|
55488
55494
|
dataSuffix?: `0x${string}` | undefined;
|
|
55489
|
-
type?: "eip4844" | undefined;
|
|
55490
55495
|
gas?: bigint | undefined;
|
|
55491
55496
|
nonce?: number | undefined;
|
|
55497
|
+
type?: "eip4844" | undefined;
|
|
55492
55498
|
blobs: readonly viem0.Hex[] | readonly viem0.ByteArray[];
|
|
55493
55499
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
55494
55500
|
kzg?: viem0.Kzg | undefined;
|
|
@@ -55502,7 +55508,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55502
55508
|
chainId?: number | undefined;
|
|
55503
55509
|
connector?: wagmi0.Connector | undefined;
|
|
55504
55510
|
} | {
|
|
55505
|
-
abi:
|
|
55511
|
+
abi: abitype0.Abi;
|
|
55506
55512
|
functionName: string;
|
|
55507
55513
|
args?: readonly unknown[] | undefined;
|
|
55508
55514
|
address: Address;
|
|
@@ -55510,9 +55516,9 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55510
55516
|
account?: `0x${string}` | viem0.Account | null | undefined;
|
|
55511
55517
|
value?: bigint | undefined;
|
|
55512
55518
|
dataSuffix?: `0x${string}` | undefined;
|
|
55513
|
-
type?: "eip7702" | undefined;
|
|
55514
55519
|
gas?: bigint | undefined;
|
|
55515
55520
|
nonce?: number | undefined;
|
|
55521
|
+
type?: "eip7702" | undefined;
|
|
55516
55522
|
blobs?: undefined;
|
|
55517
55523
|
blobVersionedHashes?: undefined;
|
|
55518
55524
|
kzg?: undefined;
|
|
@@ -55526,19 +55532,13 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55526
55532
|
chainId?: number | undefined;
|
|
55527
55533
|
connector?: wagmi0.Connector | undefined;
|
|
55528
55534
|
};
|
|
55529
|
-
isError: false;
|
|
55530
55535
|
isIdle: false;
|
|
55531
|
-
isPending: false;
|
|
55532
|
-
isSuccess: true;
|
|
55533
55536
|
reset: () => void;
|
|
55534
55537
|
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-CEtNglT8.d.cts.map
|