timelock-sdk 0.0.176 → 0.0.177
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-DbQo5Dsk.d.cts → client-BFfw9ee6.d.cts} +195 -195
- package/dist/{client-Bs4nrL5u.d.ts → client-BiwrAgwX.d.ts} +604 -604
- package/dist/client.cjs +4 -3
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +4 -3
- package/dist/client.js.map +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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 {
|
|
@@ -56398,34 +56398,28 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => wagmi0.UseRead
|
|
|
56398
56398
|
//#endregion
|
|
56399
56399
|
//#region src/hooks/guardian/usePauseGlobalTrading.d.ts
|
|
56400
56400
|
declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
56401
|
-
error: null;
|
|
56402
56401
|
data: undefined;
|
|
56402
|
+
error: null;
|
|
56403
56403
|
status: "idle";
|
|
56404
|
+
variables: undefined;
|
|
56404
56405
|
isError: false;
|
|
56406
|
+
isIdle: true;
|
|
56405
56407
|
isPending: false;
|
|
56406
56408
|
isSuccess: false;
|
|
56409
|
+
reset: () => void;
|
|
56410
|
+
context: unknown;
|
|
56407
56411
|
failureCount: number;
|
|
56408
56412
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
56409
56413
|
isPaused: boolean;
|
|
56410
|
-
variables: undefined;
|
|
56411
|
-
isIdle: true;
|
|
56412
|
-
reset: () => void;
|
|
56413
|
-
context: unknown;
|
|
56414
56414
|
submittedAt: number;
|
|
56415
|
-
writeContract:
|
|
56415
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
56416
56416
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
56417
56417
|
} | {
|
|
56418
|
-
error: null;
|
|
56419
56418
|
data: undefined;
|
|
56419
|
+
error: null;
|
|
56420
56420
|
status: "pending";
|
|
56421
|
-
isError: false;
|
|
56422
|
-
isPending: true;
|
|
56423
|
-
isSuccess: false;
|
|
56424
|
-
failureCount: number;
|
|
56425
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
56426
|
-
isPaused: boolean;
|
|
56427
56421
|
variables: {
|
|
56428
|
-
abi:
|
|
56422
|
+
abi: abitype0.Abi;
|
|
56429
56423
|
functionName: string;
|
|
56430
56424
|
args?: readonly unknown[] | undefined;
|
|
56431
56425
|
address: Address;
|
|
@@ -56449,7 +56443,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
56449
56443
|
chainId?: number | undefined;
|
|
56450
56444
|
connector?: wagmi0.Connector | undefined;
|
|
56451
56445
|
} | {
|
|
56452
|
-
abi:
|
|
56446
|
+
abi: abitype0.Abi;
|
|
56453
56447
|
functionName: string;
|
|
56454
56448
|
args?: readonly unknown[] | undefined;
|
|
56455
56449
|
address: Address;
|
|
@@ -56473,7 +56467,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
56473
56467
|
chainId?: number | undefined;
|
|
56474
56468
|
connector?: wagmi0.Connector | undefined;
|
|
56475
56469
|
} | {
|
|
56476
|
-
abi:
|
|
56470
|
+
abi: abitype0.Abi;
|
|
56477
56471
|
functionName: string;
|
|
56478
56472
|
args?: readonly unknown[] | undefined;
|
|
56479
56473
|
address: Address;
|
|
@@ -56497,7 +56491,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
56497
56491
|
chainId?: number | undefined;
|
|
56498
56492
|
connector?: wagmi0.Connector | undefined;
|
|
56499
56493
|
} | {
|
|
56500
|
-
abi:
|
|
56494
|
+
abi: abitype0.Abi;
|
|
56501
56495
|
functionName: string;
|
|
56502
56496
|
args?: readonly unknown[] | undefined;
|
|
56503
56497
|
address: Address;
|
|
@@ -56521,7 +56515,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
56521
56515
|
chainId?: number | undefined;
|
|
56522
56516
|
connector?: wagmi0.Connector | undefined;
|
|
56523
56517
|
} | {
|
|
56524
|
-
abi:
|
|
56518
|
+
abi: abitype0.Abi;
|
|
56525
56519
|
functionName: string;
|
|
56526
56520
|
args?: readonly unknown[] | undefined;
|
|
56527
56521
|
address: Address;
|
|
@@ -56545,7 +56539,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
56545
56539
|
chainId?: number | undefined;
|
|
56546
56540
|
connector?: wagmi0.Connector | undefined;
|
|
56547
56541
|
} | {
|
|
56548
|
-
abi:
|
|
56542
|
+
abi: abitype0.Abi;
|
|
56549
56543
|
functionName: string;
|
|
56550
56544
|
args?: readonly unknown[] | undefined;
|
|
56551
56545
|
address: Address;
|
|
@@ -56569,24 +56563,24 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
56569
56563
|
chainId?: number | undefined;
|
|
56570
56564
|
connector?: wagmi0.Connector | undefined;
|
|
56571
56565
|
};
|
|
56566
|
+
isError: false;
|
|
56572
56567
|
isIdle: false;
|
|
56568
|
+
isPending: true;
|
|
56569
|
+
isSuccess: false;
|
|
56573
56570
|
reset: () => void;
|
|
56574
56571
|
context: unknown;
|
|
56572
|
+
failureCount: number;
|
|
56573
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
56574
|
+
isPaused: boolean;
|
|
56575
56575
|
submittedAt: number;
|
|
56576
|
-
writeContract:
|
|
56576
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
56577
56577
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
56578
56578
|
} | {
|
|
56579
|
-
error: _wagmi_core0.WriteContractErrorType;
|
|
56580
56579
|
data: undefined;
|
|
56580
|
+
error: _wagmi_core0.WriteContractErrorType;
|
|
56581
56581
|
status: "error";
|
|
56582
|
-
isError: true;
|
|
56583
|
-
isPending: false;
|
|
56584
|
-
isSuccess: false;
|
|
56585
|
-
failureCount: number;
|
|
56586
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
56587
|
-
isPaused: boolean;
|
|
56588
56582
|
variables: {
|
|
56589
|
-
abi:
|
|
56583
|
+
abi: abitype0.Abi;
|
|
56590
56584
|
functionName: string;
|
|
56591
56585
|
args?: readonly unknown[] | undefined;
|
|
56592
56586
|
address: Address;
|
|
@@ -56610,7 +56604,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
56610
56604
|
chainId?: number | undefined;
|
|
56611
56605
|
connector?: wagmi0.Connector | undefined;
|
|
56612
56606
|
} | {
|
|
56613
|
-
abi:
|
|
56607
|
+
abi: abitype0.Abi;
|
|
56614
56608
|
functionName: string;
|
|
56615
56609
|
args?: readonly unknown[] | undefined;
|
|
56616
56610
|
address: Address;
|
|
@@ -56634,7 +56628,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
56634
56628
|
chainId?: number | undefined;
|
|
56635
56629
|
connector?: wagmi0.Connector | undefined;
|
|
56636
56630
|
} | {
|
|
56637
|
-
abi:
|
|
56631
|
+
abi: abitype0.Abi;
|
|
56638
56632
|
functionName: string;
|
|
56639
56633
|
args?: readonly unknown[] | undefined;
|
|
56640
56634
|
address: Address;
|
|
@@ -56658,7 +56652,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
56658
56652
|
chainId?: number | undefined;
|
|
56659
56653
|
connector?: wagmi0.Connector | undefined;
|
|
56660
56654
|
} | {
|
|
56661
|
-
abi:
|
|
56655
|
+
abi: abitype0.Abi;
|
|
56662
56656
|
functionName: string;
|
|
56663
56657
|
args?: readonly unknown[] | undefined;
|
|
56664
56658
|
address: Address;
|
|
@@ -56682,7 +56676,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
56682
56676
|
chainId?: number | undefined;
|
|
56683
56677
|
connector?: wagmi0.Connector | undefined;
|
|
56684
56678
|
} | {
|
|
56685
|
-
abi:
|
|
56679
|
+
abi: abitype0.Abi;
|
|
56686
56680
|
functionName: string;
|
|
56687
56681
|
args?: readonly unknown[] | undefined;
|
|
56688
56682
|
address: Address;
|
|
@@ -56706,7 +56700,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
56706
56700
|
chainId?: number | undefined;
|
|
56707
56701
|
connector?: wagmi0.Connector | undefined;
|
|
56708
56702
|
} | {
|
|
56709
|
-
abi:
|
|
56703
|
+
abi: abitype0.Abi;
|
|
56710
56704
|
functionName: string;
|
|
56711
56705
|
args?: readonly unknown[] | undefined;
|
|
56712
56706
|
address: Address;
|
|
@@ -56730,24 +56724,24 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
56730
56724
|
chainId?: number | undefined;
|
|
56731
56725
|
connector?: wagmi0.Connector | undefined;
|
|
56732
56726
|
};
|
|
56727
|
+
isError: true;
|
|
56733
56728
|
isIdle: false;
|
|
56729
|
+
isPending: false;
|
|
56730
|
+
isSuccess: false;
|
|
56734
56731
|
reset: () => void;
|
|
56735
56732
|
context: unknown;
|
|
56733
|
+
failureCount: number;
|
|
56734
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
56735
|
+
isPaused: boolean;
|
|
56736
56736
|
submittedAt: number;
|
|
56737
|
-
writeContract:
|
|
56737
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
56738
56738
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
56739
56739
|
} | {
|
|
56740
|
-
error: null;
|
|
56741
56740
|
data: `0x${string}`;
|
|
56741
|
+
error: null;
|
|
56742
56742
|
status: "success";
|
|
56743
|
-
isError: false;
|
|
56744
|
-
isPending: false;
|
|
56745
|
-
isSuccess: true;
|
|
56746
|
-
failureCount: number;
|
|
56747
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
56748
|
-
isPaused: boolean;
|
|
56749
56743
|
variables: {
|
|
56750
|
-
abi:
|
|
56744
|
+
abi: abitype0.Abi;
|
|
56751
56745
|
functionName: string;
|
|
56752
56746
|
args?: readonly unknown[] | undefined;
|
|
56753
56747
|
address: Address;
|
|
@@ -56771,7 +56765,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
56771
56765
|
chainId?: number | undefined;
|
|
56772
56766
|
connector?: wagmi0.Connector | undefined;
|
|
56773
56767
|
} | {
|
|
56774
|
-
abi:
|
|
56768
|
+
abi: abitype0.Abi;
|
|
56775
56769
|
functionName: string;
|
|
56776
56770
|
args?: readonly unknown[] | undefined;
|
|
56777
56771
|
address: Address;
|
|
@@ -56795,7 +56789,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
56795
56789
|
chainId?: number | undefined;
|
|
56796
56790
|
connector?: wagmi0.Connector | undefined;
|
|
56797
56791
|
} | {
|
|
56798
|
-
abi:
|
|
56792
|
+
abi: abitype0.Abi;
|
|
56799
56793
|
functionName: string;
|
|
56800
56794
|
args?: readonly unknown[] | undefined;
|
|
56801
56795
|
address: Address;
|
|
@@ -56819,7 +56813,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
56819
56813
|
chainId?: number | undefined;
|
|
56820
56814
|
connector?: wagmi0.Connector | undefined;
|
|
56821
56815
|
} | {
|
|
56822
|
-
abi:
|
|
56816
|
+
abi: abitype0.Abi;
|
|
56823
56817
|
functionName: string;
|
|
56824
56818
|
args?: readonly unknown[] | undefined;
|
|
56825
56819
|
address: Address;
|
|
@@ -56843,7 +56837,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
56843
56837
|
chainId?: number | undefined;
|
|
56844
56838
|
connector?: wagmi0.Connector | undefined;
|
|
56845
56839
|
} | {
|
|
56846
|
-
abi:
|
|
56840
|
+
abi: abitype0.Abi;
|
|
56847
56841
|
functionName: string;
|
|
56848
56842
|
args?: readonly unknown[] | undefined;
|
|
56849
56843
|
address: Address;
|
|
@@ -56867,7 +56861,7 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
56867
56861
|
chainId?: number | undefined;
|
|
56868
56862
|
connector?: wagmi0.Connector | undefined;
|
|
56869
56863
|
} | {
|
|
56870
|
-
abi:
|
|
56864
|
+
abi: abitype0.Abi;
|
|
56871
56865
|
functionName: string;
|
|
56872
56866
|
args?: readonly unknown[] | undefined;
|
|
56873
56867
|
address: Address;
|
|
@@ -56891,44 +56885,44 @@ declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
|
56891
56885
|
chainId?: number | undefined;
|
|
56892
56886
|
connector?: wagmi0.Connector | undefined;
|
|
56893
56887
|
};
|
|
56888
|
+
isError: false;
|
|
56894
56889
|
isIdle: false;
|
|
56890
|
+
isPending: false;
|
|
56891
|
+
isSuccess: true;
|
|
56895
56892
|
reset: () => void;
|
|
56896
56893
|
context: unknown;
|
|
56894
|
+
failureCount: number;
|
|
56895
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
56896
|
+
isPaused: boolean;
|
|
56897
56897
|
submittedAt: number;
|
|
56898
|
-
writeContract:
|
|
56898
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
56899
56899
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
56900
56900
|
};
|
|
56901
56901
|
//#endregion
|
|
56902
56902
|
//#region src/hooks/guardian/usePauseMarketTrading.d.ts
|
|
56903
56903
|
declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
56904
|
-
error: null;
|
|
56905
56904
|
data: undefined;
|
|
56905
|
+
error: null;
|
|
56906
56906
|
status: "idle";
|
|
56907
|
+
variables: undefined;
|
|
56907
56908
|
isError: false;
|
|
56909
|
+
isIdle: true;
|
|
56908
56910
|
isPending: false;
|
|
56909
56911
|
isSuccess: false;
|
|
56912
|
+
reset: () => void;
|
|
56913
|
+
context: unknown;
|
|
56910
56914
|
failureCount: number;
|
|
56911
56915
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
56912
56916
|
isPaused: boolean;
|
|
56913
|
-
variables: undefined;
|
|
56914
|
-
isIdle: true;
|
|
56915
|
-
reset: () => void;
|
|
56916
|
-
context: unknown;
|
|
56917
56917
|
submittedAt: number;
|
|
56918
|
-
writeContract:
|
|
56918
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
56919
56919
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
56920
56920
|
} | {
|
|
56921
|
-
error: null;
|
|
56922
56921
|
data: undefined;
|
|
56922
|
+
error: null;
|
|
56923
56923
|
status: "pending";
|
|
56924
|
-
isError: false;
|
|
56925
|
-
isPending: true;
|
|
56926
|
-
isSuccess: false;
|
|
56927
|
-
failureCount: number;
|
|
56928
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
56929
|
-
isPaused: boolean;
|
|
56930
56924
|
variables: {
|
|
56931
|
-
abi:
|
|
56925
|
+
abi: abitype0.Abi;
|
|
56932
56926
|
functionName: string;
|
|
56933
56927
|
args?: readonly unknown[] | undefined;
|
|
56934
56928
|
address: Address;
|
|
@@ -56952,7 +56946,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
56952
56946
|
chainId?: number | undefined;
|
|
56953
56947
|
connector?: wagmi0.Connector | undefined;
|
|
56954
56948
|
} | {
|
|
56955
|
-
abi:
|
|
56949
|
+
abi: abitype0.Abi;
|
|
56956
56950
|
functionName: string;
|
|
56957
56951
|
args?: readonly unknown[] | undefined;
|
|
56958
56952
|
address: Address;
|
|
@@ -56976,7 +56970,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
56976
56970
|
chainId?: number | undefined;
|
|
56977
56971
|
connector?: wagmi0.Connector | undefined;
|
|
56978
56972
|
} | {
|
|
56979
|
-
abi:
|
|
56973
|
+
abi: abitype0.Abi;
|
|
56980
56974
|
functionName: string;
|
|
56981
56975
|
args?: readonly unknown[] | undefined;
|
|
56982
56976
|
address: Address;
|
|
@@ -57000,7 +56994,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
57000
56994
|
chainId?: number | undefined;
|
|
57001
56995
|
connector?: wagmi0.Connector | undefined;
|
|
57002
56996
|
} | {
|
|
57003
|
-
abi:
|
|
56997
|
+
abi: abitype0.Abi;
|
|
57004
56998
|
functionName: string;
|
|
57005
56999
|
args?: readonly unknown[] | undefined;
|
|
57006
57000
|
address: Address;
|
|
@@ -57024,7 +57018,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
57024
57018
|
chainId?: number | undefined;
|
|
57025
57019
|
connector?: wagmi0.Connector | undefined;
|
|
57026
57020
|
} | {
|
|
57027
|
-
abi:
|
|
57021
|
+
abi: abitype0.Abi;
|
|
57028
57022
|
functionName: string;
|
|
57029
57023
|
args?: readonly unknown[] | undefined;
|
|
57030
57024
|
address: Address;
|
|
@@ -57048,7 +57042,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
57048
57042
|
chainId?: number | undefined;
|
|
57049
57043
|
connector?: wagmi0.Connector | undefined;
|
|
57050
57044
|
} | {
|
|
57051
|
-
abi:
|
|
57045
|
+
abi: abitype0.Abi;
|
|
57052
57046
|
functionName: string;
|
|
57053
57047
|
args?: readonly unknown[] | undefined;
|
|
57054
57048
|
address: Address;
|
|
@@ -57072,24 +57066,24 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
57072
57066
|
chainId?: number | undefined;
|
|
57073
57067
|
connector?: wagmi0.Connector | undefined;
|
|
57074
57068
|
};
|
|
57069
|
+
isError: false;
|
|
57075
57070
|
isIdle: false;
|
|
57071
|
+
isPending: true;
|
|
57072
|
+
isSuccess: false;
|
|
57076
57073
|
reset: () => void;
|
|
57077
57074
|
context: unknown;
|
|
57075
|
+
failureCount: number;
|
|
57076
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
57077
|
+
isPaused: boolean;
|
|
57078
57078
|
submittedAt: number;
|
|
57079
|
-
writeContract:
|
|
57079
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
57080
57080
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
57081
57081
|
} | {
|
|
57082
|
-
error: _wagmi_core0.WriteContractErrorType;
|
|
57083
57082
|
data: undefined;
|
|
57083
|
+
error: _wagmi_core0.WriteContractErrorType;
|
|
57084
57084
|
status: "error";
|
|
57085
|
-
isError: true;
|
|
57086
|
-
isPending: false;
|
|
57087
|
-
isSuccess: false;
|
|
57088
|
-
failureCount: number;
|
|
57089
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
57090
|
-
isPaused: boolean;
|
|
57091
57085
|
variables: {
|
|
57092
|
-
abi:
|
|
57086
|
+
abi: abitype0.Abi;
|
|
57093
57087
|
functionName: string;
|
|
57094
57088
|
args?: readonly unknown[] | undefined;
|
|
57095
57089
|
address: Address;
|
|
@@ -57113,7 +57107,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
57113
57107
|
chainId?: number | undefined;
|
|
57114
57108
|
connector?: wagmi0.Connector | undefined;
|
|
57115
57109
|
} | {
|
|
57116
|
-
abi:
|
|
57110
|
+
abi: abitype0.Abi;
|
|
57117
57111
|
functionName: string;
|
|
57118
57112
|
args?: readonly unknown[] | undefined;
|
|
57119
57113
|
address: Address;
|
|
@@ -57137,7 +57131,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
57137
57131
|
chainId?: number | undefined;
|
|
57138
57132
|
connector?: wagmi0.Connector | undefined;
|
|
57139
57133
|
} | {
|
|
57140
|
-
abi:
|
|
57134
|
+
abi: abitype0.Abi;
|
|
57141
57135
|
functionName: string;
|
|
57142
57136
|
args?: readonly unknown[] | undefined;
|
|
57143
57137
|
address: Address;
|
|
@@ -57161,7 +57155,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
57161
57155
|
chainId?: number | undefined;
|
|
57162
57156
|
connector?: wagmi0.Connector | undefined;
|
|
57163
57157
|
} | {
|
|
57164
|
-
abi:
|
|
57158
|
+
abi: abitype0.Abi;
|
|
57165
57159
|
functionName: string;
|
|
57166
57160
|
args?: readonly unknown[] | undefined;
|
|
57167
57161
|
address: Address;
|
|
@@ -57185,7 +57179,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
57185
57179
|
chainId?: number | undefined;
|
|
57186
57180
|
connector?: wagmi0.Connector | undefined;
|
|
57187
57181
|
} | {
|
|
57188
|
-
abi:
|
|
57182
|
+
abi: abitype0.Abi;
|
|
57189
57183
|
functionName: string;
|
|
57190
57184
|
args?: readonly unknown[] | undefined;
|
|
57191
57185
|
address: Address;
|
|
@@ -57209,7 +57203,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
57209
57203
|
chainId?: number | undefined;
|
|
57210
57204
|
connector?: wagmi0.Connector | undefined;
|
|
57211
57205
|
} | {
|
|
57212
|
-
abi:
|
|
57206
|
+
abi: abitype0.Abi;
|
|
57213
57207
|
functionName: string;
|
|
57214
57208
|
args?: readonly unknown[] | undefined;
|
|
57215
57209
|
address: Address;
|
|
@@ -57233,24 +57227,24 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
57233
57227
|
chainId?: number | undefined;
|
|
57234
57228
|
connector?: wagmi0.Connector | undefined;
|
|
57235
57229
|
};
|
|
57230
|
+
isError: true;
|
|
57236
57231
|
isIdle: false;
|
|
57232
|
+
isPending: false;
|
|
57233
|
+
isSuccess: false;
|
|
57237
57234
|
reset: () => void;
|
|
57238
57235
|
context: unknown;
|
|
57236
|
+
failureCount: number;
|
|
57237
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
57238
|
+
isPaused: boolean;
|
|
57239
57239
|
submittedAt: number;
|
|
57240
|
-
writeContract:
|
|
57240
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
57241
57241
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
57242
57242
|
} | {
|
|
57243
|
-
error: null;
|
|
57244
57243
|
data: `0x${string}`;
|
|
57244
|
+
error: null;
|
|
57245
57245
|
status: "success";
|
|
57246
|
-
isError: false;
|
|
57247
|
-
isPending: false;
|
|
57248
|
-
isSuccess: true;
|
|
57249
|
-
failureCount: number;
|
|
57250
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
57251
|
-
isPaused: boolean;
|
|
57252
57246
|
variables: {
|
|
57253
|
-
abi:
|
|
57247
|
+
abi: abitype0.Abi;
|
|
57254
57248
|
functionName: string;
|
|
57255
57249
|
args?: readonly unknown[] | undefined;
|
|
57256
57250
|
address: Address;
|
|
@@ -57274,7 +57268,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
57274
57268
|
chainId?: number | undefined;
|
|
57275
57269
|
connector?: wagmi0.Connector | undefined;
|
|
57276
57270
|
} | {
|
|
57277
|
-
abi:
|
|
57271
|
+
abi: abitype0.Abi;
|
|
57278
57272
|
functionName: string;
|
|
57279
57273
|
args?: readonly unknown[] | undefined;
|
|
57280
57274
|
address: Address;
|
|
@@ -57298,7 +57292,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
57298
57292
|
chainId?: number | undefined;
|
|
57299
57293
|
connector?: wagmi0.Connector | undefined;
|
|
57300
57294
|
} | {
|
|
57301
|
-
abi:
|
|
57295
|
+
abi: abitype0.Abi;
|
|
57302
57296
|
functionName: string;
|
|
57303
57297
|
args?: readonly unknown[] | undefined;
|
|
57304
57298
|
address: Address;
|
|
@@ -57322,7 +57316,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
57322
57316
|
chainId?: number | undefined;
|
|
57323
57317
|
connector?: wagmi0.Connector | undefined;
|
|
57324
57318
|
} | {
|
|
57325
|
-
abi:
|
|
57319
|
+
abi: abitype0.Abi;
|
|
57326
57320
|
functionName: string;
|
|
57327
57321
|
args?: readonly unknown[] | undefined;
|
|
57328
57322
|
address: Address;
|
|
@@ -57346,7 +57340,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
57346
57340
|
chainId?: number | undefined;
|
|
57347
57341
|
connector?: wagmi0.Connector | undefined;
|
|
57348
57342
|
} | {
|
|
57349
|
-
abi:
|
|
57343
|
+
abi: abitype0.Abi;
|
|
57350
57344
|
functionName: string;
|
|
57351
57345
|
args?: readonly unknown[] | undefined;
|
|
57352
57346
|
address: Address;
|
|
@@ -57370,7 +57364,7 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
57370
57364
|
chainId?: number | undefined;
|
|
57371
57365
|
connector?: wagmi0.Connector | undefined;
|
|
57372
57366
|
} | {
|
|
57373
|
-
abi:
|
|
57367
|
+
abi: abitype0.Abi;
|
|
57374
57368
|
functionName: string;
|
|
57375
57369
|
args?: readonly unknown[] | undefined;
|
|
57376
57370
|
address: Address;
|
|
@@ -57394,11 +57388,17 @@ declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
|
57394
57388
|
chainId?: number | undefined;
|
|
57395
57389
|
connector?: wagmi0.Connector | undefined;
|
|
57396
57390
|
};
|
|
57391
|
+
isError: false;
|
|
57397
57392
|
isIdle: false;
|
|
57393
|
+
isPending: false;
|
|
57394
|
+
isSuccess: true;
|
|
57398
57395
|
reset: () => void;
|
|
57399
57396
|
context: unknown;
|
|
57397
|
+
failureCount: number;
|
|
57398
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
57399
|
+
isPaused: boolean;
|
|
57400
57400
|
submittedAt: number;
|
|
57401
|
-
writeContract:
|
|
57401
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
57402
57402
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
57403
57403
|
};
|
|
57404
57404
|
//#endregion
|
|
@@ -57413,21 +57413,21 @@ declare const useFeeRates: (feeStrategy?: Address) => Partial<NonUndefinedGuard<
|
|
|
57413
57413
|
//#endregion
|
|
57414
57414
|
//#region src/hooks/fees/useUpdateMarketFees.d.ts
|
|
57415
57415
|
declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
57416
|
-
error: null;
|
|
57417
57416
|
data: undefined;
|
|
57417
|
+
error: null;
|
|
57418
57418
|
status: "idle";
|
|
57419
|
+
variables: undefined;
|
|
57419
57420
|
isError: false;
|
|
57421
|
+
isIdle: true;
|
|
57420
57422
|
isPending: false;
|
|
57421
57423
|
isSuccess: false;
|
|
57424
|
+
reset: () => void;
|
|
57425
|
+
context: unknown;
|
|
57422
57426
|
failureCount: number;
|
|
57423
57427
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
57424
57428
|
isPaused: boolean;
|
|
57425
|
-
variables: undefined;
|
|
57426
|
-
isIdle: true;
|
|
57427
|
-
reset: () => void;
|
|
57428
|
-
context: unknown;
|
|
57429
57429
|
submittedAt: number;
|
|
57430
|
-
writeContract:
|
|
57430
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
57431
57431
|
updateMarketFees: (rates: {
|
|
57432
57432
|
openingFeeRate?: number;
|
|
57433
57433
|
baseFeeRate?: number;
|
|
@@ -57440,17 +57440,11 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
57440
57440
|
newFeeStrategy: `0x${string}`;
|
|
57441
57441
|
}>;
|
|
57442
57442
|
} | {
|
|
57443
|
-
error: null;
|
|
57444
57443
|
data: undefined;
|
|
57444
|
+
error: null;
|
|
57445
57445
|
status: "pending";
|
|
57446
|
-
isError: false;
|
|
57447
|
-
isPending: true;
|
|
57448
|
-
isSuccess: false;
|
|
57449
|
-
failureCount: number;
|
|
57450
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
57451
|
-
isPaused: boolean;
|
|
57452
57446
|
variables: {
|
|
57453
|
-
abi:
|
|
57447
|
+
abi: abitype0.Abi;
|
|
57454
57448
|
functionName: string;
|
|
57455
57449
|
args?: readonly unknown[] | undefined;
|
|
57456
57450
|
address: Address;
|
|
@@ -57474,7 +57468,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
57474
57468
|
chainId?: number | undefined;
|
|
57475
57469
|
connector?: wagmi0.Connector | undefined;
|
|
57476
57470
|
} | {
|
|
57477
|
-
abi:
|
|
57471
|
+
abi: abitype0.Abi;
|
|
57478
57472
|
functionName: string;
|
|
57479
57473
|
args?: readonly unknown[] | undefined;
|
|
57480
57474
|
address: Address;
|
|
@@ -57498,7 +57492,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
57498
57492
|
chainId?: number | undefined;
|
|
57499
57493
|
connector?: wagmi0.Connector | undefined;
|
|
57500
57494
|
} | {
|
|
57501
|
-
abi:
|
|
57495
|
+
abi: abitype0.Abi;
|
|
57502
57496
|
functionName: string;
|
|
57503
57497
|
args?: readonly unknown[] | undefined;
|
|
57504
57498
|
address: Address;
|
|
@@ -57522,7 +57516,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
57522
57516
|
chainId?: number | undefined;
|
|
57523
57517
|
connector?: wagmi0.Connector | undefined;
|
|
57524
57518
|
} | {
|
|
57525
|
-
abi:
|
|
57519
|
+
abi: abitype0.Abi;
|
|
57526
57520
|
functionName: string;
|
|
57527
57521
|
args?: readonly unknown[] | undefined;
|
|
57528
57522
|
address: Address;
|
|
@@ -57546,7 +57540,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
57546
57540
|
chainId?: number | undefined;
|
|
57547
57541
|
connector?: wagmi0.Connector | undefined;
|
|
57548
57542
|
} | {
|
|
57549
|
-
abi:
|
|
57543
|
+
abi: abitype0.Abi;
|
|
57550
57544
|
functionName: string;
|
|
57551
57545
|
args?: readonly unknown[] | undefined;
|
|
57552
57546
|
address: Address;
|
|
@@ -57570,7 +57564,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
57570
57564
|
chainId?: number | undefined;
|
|
57571
57565
|
connector?: wagmi0.Connector | undefined;
|
|
57572
57566
|
} | {
|
|
57573
|
-
abi:
|
|
57567
|
+
abi: abitype0.Abi;
|
|
57574
57568
|
functionName: string;
|
|
57575
57569
|
args?: readonly unknown[] | undefined;
|
|
57576
57570
|
address: Address;
|
|
@@ -57594,11 +57588,17 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
57594
57588
|
chainId?: number | undefined;
|
|
57595
57589
|
connector?: wagmi0.Connector | undefined;
|
|
57596
57590
|
};
|
|
57591
|
+
isError: false;
|
|
57597
57592
|
isIdle: false;
|
|
57593
|
+
isPending: true;
|
|
57594
|
+
isSuccess: false;
|
|
57598
57595
|
reset: () => void;
|
|
57599
57596
|
context: unknown;
|
|
57597
|
+
failureCount: number;
|
|
57598
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
57599
|
+
isPaused: boolean;
|
|
57600
57600
|
submittedAt: number;
|
|
57601
|
-
writeContract:
|
|
57601
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
57602
57602
|
updateMarketFees: (rates: {
|
|
57603
57603
|
openingFeeRate?: number;
|
|
57604
57604
|
baseFeeRate?: number;
|
|
@@ -57611,17 +57611,11 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
57611
57611
|
newFeeStrategy: `0x${string}`;
|
|
57612
57612
|
}>;
|
|
57613
57613
|
} | {
|
|
57614
|
-
error: _wagmi_core0.WriteContractErrorType;
|
|
57615
57614
|
data: undefined;
|
|
57615
|
+
error: _wagmi_core0.WriteContractErrorType;
|
|
57616
57616
|
status: "error";
|
|
57617
|
-
isError: true;
|
|
57618
|
-
isPending: false;
|
|
57619
|
-
isSuccess: false;
|
|
57620
|
-
failureCount: number;
|
|
57621
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
57622
|
-
isPaused: boolean;
|
|
57623
57617
|
variables: {
|
|
57624
|
-
abi:
|
|
57618
|
+
abi: abitype0.Abi;
|
|
57625
57619
|
functionName: string;
|
|
57626
57620
|
args?: readonly unknown[] | undefined;
|
|
57627
57621
|
address: Address;
|
|
@@ -57645,7 +57639,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
57645
57639
|
chainId?: number | undefined;
|
|
57646
57640
|
connector?: wagmi0.Connector | undefined;
|
|
57647
57641
|
} | {
|
|
57648
|
-
abi:
|
|
57642
|
+
abi: abitype0.Abi;
|
|
57649
57643
|
functionName: string;
|
|
57650
57644
|
args?: readonly unknown[] | undefined;
|
|
57651
57645
|
address: Address;
|
|
@@ -57669,7 +57663,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
57669
57663
|
chainId?: number | undefined;
|
|
57670
57664
|
connector?: wagmi0.Connector | undefined;
|
|
57671
57665
|
} | {
|
|
57672
|
-
abi:
|
|
57666
|
+
abi: abitype0.Abi;
|
|
57673
57667
|
functionName: string;
|
|
57674
57668
|
args?: readonly unknown[] | undefined;
|
|
57675
57669
|
address: Address;
|
|
@@ -57693,7 +57687,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
57693
57687
|
chainId?: number | undefined;
|
|
57694
57688
|
connector?: wagmi0.Connector | undefined;
|
|
57695
57689
|
} | {
|
|
57696
|
-
abi:
|
|
57690
|
+
abi: abitype0.Abi;
|
|
57697
57691
|
functionName: string;
|
|
57698
57692
|
args?: readonly unknown[] | undefined;
|
|
57699
57693
|
address: Address;
|
|
@@ -57717,7 +57711,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
57717
57711
|
chainId?: number | undefined;
|
|
57718
57712
|
connector?: wagmi0.Connector | undefined;
|
|
57719
57713
|
} | {
|
|
57720
|
-
abi:
|
|
57714
|
+
abi: abitype0.Abi;
|
|
57721
57715
|
functionName: string;
|
|
57722
57716
|
args?: readonly unknown[] | undefined;
|
|
57723
57717
|
address: Address;
|
|
@@ -57741,7 +57735,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
57741
57735
|
chainId?: number | undefined;
|
|
57742
57736
|
connector?: wagmi0.Connector | undefined;
|
|
57743
57737
|
} | {
|
|
57744
|
-
abi:
|
|
57738
|
+
abi: abitype0.Abi;
|
|
57745
57739
|
functionName: string;
|
|
57746
57740
|
args?: readonly unknown[] | undefined;
|
|
57747
57741
|
address: Address;
|
|
@@ -57765,11 +57759,17 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
57765
57759
|
chainId?: number | undefined;
|
|
57766
57760
|
connector?: wagmi0.Connector | undefined;
|
|
57767
57761
|
};
|
|
57762
|
+
isError: true;
|
|
57768
57763
|
isIdle: false;
|
|
57764
|
+
isPending: false;
|
|
57765
|
+
isSuccess: false;
|
|
57769
57766
|
reset: () => void;
|
|
57770
57767
|
context: unknown;
|
|
57768
|
+
failureCount: number;
|
|
57769
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
57770
|
+
isPaused: boolean;
|
|
57771
57771
|
submittedAt: number;
|
|
57772
|
-
writeContract:
|
|
57772
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
57773
57773
|
updateMarketFees: (rates: {
|
|
57774
57774
|
openingFeeRate?: number;
|
|
57775
57775
|
baseFeeRate?: number;
|
|
@@ -57782,17 +57782,11 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
57782
57782
|
newFeeStrategy: `0x${string}`;
|
|
57783
57783
|
}>;
|
|
57784
57784
|
} | {
|
|
57785
|
-
error: null;
|
|
57786
57785
|
data: `0x${string}`;
|
|
57786
|
+
error: null;
|
|
57787
57787
|
status: "success";
|
|
57788
|
-
isError: false;
|
|
57789
|
-
isPending: false;
|
|
57790
|
-
isSuccess: true;
|
|
57791
|
-
failureCount: number;
|
|
57792
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
57793
|
-
isPaused: boolean;
|
|
57794
57788
|
variables: {
|
|
57795
|
-
abi:
|
|
57789
|
+
abi: abitype0.Abi;
|
|
57796
57790
|
functionName: string;
|
|
57797
57791
|
args?: readonly unknown[] | undefined;
|
|
57798
57792
|
address: Address;
|
|
@@ -57816,7 +57810,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
57816
57810
|
chainId?: number | undefined;
|
|
57817
57811
|
connector?: wagmi0.Connector | undefined;
|
|
57818
57812
|
} | {
|
|
57819
|
-
abi:
|
|
57813
|
+
abi: abitype0.Abi;
|
|
57820
57814
|
functionName: string;
|
|
57821
57815
|
args?: readonly unknown[] | undefined;
|
|
57822
57816
|
address: Address;
|
|
@@ -57840,7 +57834,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
57840
57834
|
chainId?: number | undefined;
|
|
57841
57835
|
connector?: wagmi0.Connector | undefined;
|
|
57842
57836
|
} | {
|
|
57843
|
-
abi:
|
|
57837
|
+
abi: abitype0.Abi;
|
|
57844
57838
|
functionName: string;
|
|
57845
57839
|
args?: readonly unknown[] | undefined;
|
|
57846
57840
|
address: Address;
|
|
@@ -57864,7 +57858,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
57864
57858
|
chainId?: number | undefined;
|
|
57865
57859
|
connector?: wagmi0.Connector | undefined;
|
|
57866
57860
|
} | {
|
|
57867
|
-
abi:
|
|
57861
|
+
abi: abitype0.Abi;
|
|
57868
57862
|
functionName: string;
|
|
57869
57863
|
args?: readonly unknown[] | undefined;
|
|
57870
57864
|
address: Address;
|
|
@@ -57888,7 +57882,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
57888
57882
|
chainId?: number | undefined;
|
|
57889
57883
|
connector?: wagmi0.Connector | undefined;
|
|
57890
57884
|
} | {
|
|
57891
|
-
abi:
|
|
57885
|
+
abi: abitype0.Abi;
|
|
57892
57886
|
functionName: string;
|
|
57893
57887
|
args?: readonly unknown[] | undefined;
|
|
57894
57888
|
address: Address;
|
|
@@ -57912,7 +57906,7 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
57912
57906
|
chainId?: number | undefined;
|
|
57913
57907
|
connector?: wagmi0.Connector | undefined;
|
|
57914
57908
|
} | {
|
|
57915
|
-
abi:
|
|
57909
|
+
abi: abitype0.Abi;
|
|
57916
57910
|
functionName: string;
|
|
57917
57911
|
args?: readonly unknown[] | undefined;
|
|
57918
57912
|
address: Address;
|
|
@@ -57936,11 +57930,17 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
57936
57930
|
chainId?: number | undefined;
|
|
57937
57931
|
connector?: wagmi0.Connector | undefined;
|
|
57938
57932
|
};
|
|
57933
|
+
isError: false;
|
|
57939
57934
|
isIdle: false;
|
|
57935
|
+
isPending: false;
|
|
57936
|
+
isSuccess: true;
|
|
57940
57937
|
reset: () => void;
|
|
57941
57938
|
context: unknown;
|
|
57939
|
+
failureCount: number;
|
|
57940
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
57941
|
+
isPaused: boolean;
|
|
57942
57942
|
submittedAt: number;
|
|
57943
|
-
writeContract:
|
|
57943
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
57944
57944
|
updateMarketFees: (rates: {
|
|
57945
57945
|
openingFeeRate?: number;
|
|
57946
57946
|
baseFeeRate?: number;
|
|
@@ -58926,21 +58926,21 @@ declare const useStaticPricingParams: (pricingAddr: Address | undefined) => Part
|
|
|
58926
58926
|
//#endregion
|
|
58927
58927
|
//#region src/hooks/pricing/useUpdateMarketPricing.d.ts
|
|
58928
58928
|
declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
58929
|
-
error: null;
|
|
58930
58929
|
data: undefined;
|
|
58930
|
+
error: null;
|
|
58931
58931
|
status: "idle";
|
|
58932
|
+
variables: undefined;
|
|
58932
58933
|
isError: false;
|
|
58934
|
+
isIdle: true;
|
|
58933
58935
|
isPending: false;
|
|
58934
58936
|
isSuccess: false;
|
|
58937
|
+
reset: () => void;
|
|
58938
|
+
context: unknown;
|
|
58935
58939
|
failureCount: number;
|
|
58936
58940
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
58937
58941
|
isPaused: boolean;
|
|
58938
|
-
variables: undefined;
|
|
58939
|
-
isIdle: true;
|
|
58940
|
-
reset: () => void;
|
|
58941
|
-
context: unknown;
|
|
58942
58942
|
submittedAt: number;
|
|
58943
|
-
writeContract:
|
|
58943
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
58944
58944
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
58945
58945
|
model: "static";
|
|
58946
58946
|
} : Partial<OptionPricingParams> & {
|
|
@@ -58951,17 +58951,11 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
58951
58951
|
newPricingAddr: `0x${string}`;
|
|
58952
58952
|
}>;
|
|
58953
58953
|
} | {
|
|
58954
|
-
error: null;
|
|
58955
58954
|
data: undefined;
|
|
58955
|
+
error: null;
|
|
58956
58956
|
status: "pending";
|
|
58957
|
-
isError: false;
|
|
58958
|
-
isPending: true;
|
|
58959
|
-
isSuccess: false;
|
|
58960
|
-
failureCount: number;
|
|
58961
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
58962
|
-
isPaused: boolean;
|
|
58963
58957
|
variables: {
|
|
58964
|
-
abi:
|
|
58958
|
+
abi: abitype0.Abi;
|
|
58965
58959
|
functionName: string;
|
|
58966
58960
|
args?: readonly unknown[] | undefined;
|
|
58967
58961
|
address: Address;
|
|
@@ -58985,7 +58979,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
58985
58979
|
chainId?: number | undefined;
|
|
58986
58980
|
connector?: wagmi0.Connector | undefined;
|
|
58987
58981
|
} | {
|
|
58988
|
-
abi:
|
|
58982
|
+
abi: abitype0.Abi;
|
|
58989
58983
|
functionName: string;
|
|
58990
58984
|
args?: readonly unknown[] | undefined;
|
|
58991
58985
|
address: Address;
|
|
@@ -59009,7 +59003,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
59009
59003
|
chainId?: number | undefined;
|
|
59010
59004
|
connector?: wagmi0.Connector | undefined;
|
|
59011
59005
|
} | {
|
|
59012
|
-
abi:
|
|
59006
|
+
abi: abitype0.Abi;
|
|
59013
59007
|
functionName: string;
|
|
59014
59008
|
args?: readonly unknown[] | undefined;
|
|
59015
59009
|
address: Address;
|
|
@@ -59033,7 +59027,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
59033
59027
|
chainId?: number | undefined;
|
|
59034
59028
|
connector?: wagmi0.Connector | undefined;
|
|
59035
59029
|
} | {
|
|
59036
|
-
abi:
|
|
59030
|
+
abi: abitype0.Abi;
|
|
59037
59031
|
functionName: string;
|
|
59038
59032
|
args?: readonly unknown[] | undefined;
|
|
59039
59033
|
address: Address;
|
|
@@ -59057,7 +59051,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
59057
59051
|
chainId?: number | undefined;
|
|
59058
59052
|
connector?: wagmi0.Connector | undefined;
|
|
59059
59053
|
} | {
|
|
59060
|
-
abi:
|
|
59054
|
+
abi: abitype0.Abi;
|
|
59061
59055
|
functionName: string;
|
|
59062
59056
|
args?: readonly unknown[] | undefined;
|
|
59063
59057
|
address: Address;
|
|
@@ -59081,7 +59075,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
59081
59075
|
chainId?: number | undefined;
|
|
59082
59076
|
connector?: wagmi0.Connector | undefined;
|
|
59083
59077
|
} | {
|
|
59084
|
-
abi:
|
|
59078
|
+
abi: abitype0.Abi;
|
|
59085
59079
|
functionName: string;
|
|
59086
59080
|
args?: readonly unknown[] | undefined;
|
|
59087
59081
|
address: Address;
|
|
@@ -59105,11 +59099,17 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
59105
59099
|
chainId?: number | undefined;
|
|
59106
59100
|
connector?: wagmi0.Connector | undefined;
|
|
59107
59101
|
};
|
|
59102
|
+
isError: false;
|
|
59108
59103
|
isIdle: false;
|
|
59104
|
+
isPending: true;
|
|
59105
|
+
isSuccess: false;
|
|
59109
59106
|
reset: () => void;
|
|
59110
59107
|
context: unknown;
|
|
59108
|
+
failureCount: number;
|
|
59109
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
59110
|
+
isPaused: boolean;
|
|
59111
59111
|
submittedAt: number;
|
|
59112
|
-
writeContract:
|
|
59112
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
59113
59113
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
59114
59114
|
model: "static";
|
|
59115
59115
|
} : Partial<OptionPricingParams> & {
|
|
@@ -59120,17 +59120,11 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
59120
59120
|
newPricingAddr: `0x${string}`;
|
|
59121
59121
|
}>;
|
|
59122
59122
|
} | {
|
|
59123
|
-
error: _wagmi_core0.WriteContractErrorType;
|
|
59124
59123
|
data: undefined;
|
|
59124
|
+
error: _wagmi_core0.WriteContractErrorType;
|
|
59125
59125
|
status: "error";
|
|
59126
|
-
isError: true;
|
|
59127
|
-
isPending: false;
|
|
59128
|
-
isSuccess: false;
|
|
59129
|
-
failureCount: number;
|
|
59130
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
59131
|
-
isPaused: boolean;
|
|
59132
59126
|
variables: {
|
|
59133
|
-
abi:
|
|
59127
|
+
abi: abitype0.Abi;
|
|
59134
59128
|
functionName: string;
|
|
59135
59129
|
args?: readonly unknown[] | undefined;
|
|
59136
59130
|
address: Address;
|
|
@@ -59154,7 +59148,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
59154
59148
|
chainId?: number | undefined;
|
|
59155
59149
|
connector?: wagmi0.Connector | undefined;
|
|
59156
59150
|
} | {
|
|
59157
|
-
abi:
|
|
59151
|
+
abi: abitype0.Abi;
|
|
59158
59152
|
functionName: string;
|
|
59159
59153
|
args?: readonly unknown[] | undefined;
|
|
59160
59154
|
address: Address;
|
|
@@ -59178,7 +59172,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
59178
59172
|
chainId?: number | undefined;
|
|
59179
59173
|
connector?: wagmi0.Connector | undefined;
|
|
59180
59174
|
} | {
|
|
59181
|
-
abi:
|
|
59175
|
+
abi: abitype0.Abi;
|
|
59182
59176
|
functionName: string;
|
|
59183
59177
|
args?: readonly unknown[] | undefined;
|
|
59184
59178
|
address: Address;
|
|
@@ -59202,7 +59196,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
59202
59196
|
chainId?: number | undefined;
|
|
59203
59197
|
connector?: wagmi0.Connector | undefined;
|
|
59204
59198
|
} | {
|
|
59205
|
-
abi:
|
|
59199
|
+
abi: abitype0.Abi;
|
|
59206
59200
|
functionName: string;
|
|
59207
59201
|
args?: readonly unknown[] | undefined;
|
|
59208
59202
|
address: Address;
|
|
@@ -59226,7 +59220,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
59226
59220
|
chainId?: number | undefined;
|
|
59227
59221
|
connector?: wagmi0.Connector | undefined;
|
|
59228
59222
|
} | {
|
|
59229
|
-
abi:
|
|
59223
|
+
abi: abitype0.Abi;
|
|
59230
59224
|
functionName: string;
|
|
59231
59225
|
args?: readonly unknown[] | undefined;
|
|
59232
59226
|
address: Address;
|
|
@@ -59250,7 +59244,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
59250
59244
|
chainId?: number | undefined;
|
|
59251
59245
|
connector?: wagmi0.Connector | undefined;
|
|
59252
59246
|
} | {
|
|
59253
|
-
abi:
|
|
59247
|
+
abi: abitype0.Abi;
|
|
59254
59248
|
functionName: string;
|
|
59255
59249
|
args?: readonly unknown[] | undefined;
|
|
59256
59250
|
address: Address;
|
|
@@ -59274,11 +59268,17 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
59274
59268
|
chainId?: number | undefined;
|
|
59275
59269
|
connector?: wagmi0.Connector | undefined;
|
|
59276
59270
|
};
|
|
59271
|
+
isError: true;
|
|
59277
59272
|
isIdle: false;
|
|
59273
|
+
isPending: false;
|
|
59274
|
+
isSuccess: false;
|
|
59278
59275
|
reset: () => void;
|
|
59279
59276
|
context: unknown;
|
|
59277
|
+
failureCount: number;
|
|
59278
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
59279
|
+
isPaused: boolean;
|
|
59280
59280
|
submittedAt: number;
|
|
59281
|
-
writeContract:
|
|
59281
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
59282
59282
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
59283
59283
|
model: "static";
|
|
59284
59284
|
} : Partial<OptionPricingParams> & {
|
|
@@ -59289,17 +59289,11 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
59289
59289
|
newPricingAddr: `0x${string}`;
|
|
59290
59290
|
}>;
|
|
59291
59291
|
} | {
|
|
59292
|
-
error: null;
|
|
59293
59292
|
data: `0x${string}`;
|
|
59293
|
+
error: null;
|
|
59294
59294
|
status: "success";
|
|
59295
|
-
isError: false;
|
|
59296
|
-
isPending: false;
|
|
59297
|
-
isSuccess: true;
|
|
59298
|
-
failureCount: number;
|
|
59299
|
-
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
59300
|
-
isPaused: boolean;
|
|
59301
59295
|
variables: {
|
|
59302
|
-
abi:
|
|
59296
|
+
abi: abitype0.Abi;
|
|
59303
59297
|
functionName: string;
|
|
59304
59298
|
args?: readonly unknown[] | undefined;
|
|
59305
59299
|
address: Address;
|
|
@@ -59323,7 +59317,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
59323
59317
|
chainId?: number | undefined;
|
|
59324
59318
|
connector?: wagmi0.Connector | undefined;
|
|
59325
59319
|
} | {
|
|
59326
|
-
abi:
|
|
59320
|
+
abi: abitype0.Abi;
|
|
59327
59321
|
functionName: string;
|
|
59328
59322
|
args?: readonly unknown[] | undefined;
|
|
59329
59323
|
address: Address;
|
|
@@ -59347,7 +59341,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
59347
59341
|
chainId?: number | undefined;
|
|
59348
59342
|
connector?: wagmi0.Connector | undefined;
|
|
59349
59343
|
} | {
|
|
59350
|
-
abi:
|
|
59344
|
+
abi: abitype0.Abi;
|
|
59351
59345
|
functionName: string;
|
|
59352
59346
|
args?: readonly unknown[] | undefined;
|
|
59353
59347
|
address: Address;
|
|
@@ -59371,7 +59365,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
59371
59365
|
chainId?: number | undefined;
|
|
59372
59366
|
connector?: wagmi0.Connector | undefined;
|
|
59373
59367
|
} | {
|
|
59374
|
-
abi:
|
|
59368
|
+
abi: abitype0.Abi;
|
|
59375
59369
|
functionName: string;
|
|
59376
59370
|
args?: readonly unknown[] | undefined;
|
|
59377
59371
|
address: Address;
|
|
@@ -59395,7 +59389,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
59395
59389
|
chainId?: number | undefined;
|
|
59396
59390
|
connector?: wagmi0.Connector | undefined;
|
|
59397
59391
|
} | {
|
|
59398
|
-
abi:
|
|
59392
|
+
abi: abitype0.Abi;
|
|
59399
59393
|
functionName: string;
|
|
59400
59394
|
args?: readonly unknown[] | undefined;
|
|
59401
59395
|
address: Address;
|
|
@@ -59419,7 +59413,7 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
59419
59413
|
chainId?: number | undefined;
|
|
59420
59414
|
connector?: wagmi0.Connector | undefined;
|
|
59421
59415
|
} | {
|
|
59422
|
-
abi:
|
|
59416
|
+
abi: abitype0.Abi;
|
|
59423
59417
|
functionName: string;
|
|
59424
59418
|
args?: readonly unknown[] | undefined;
|
|
59425
59419
|
address: Address;
|
|
@@ -59443,11 +59437,17 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
59443
59437
|
chainId?: number | undefined;
|
|
59444
59438
|
connector?: wagmi0.Connector | undefined;
|
|
59445
59439
|
};
|
|
59440
|
+
isError: false;
|
|
59446
59441
|
isIdle: false;
|
|
59442
|
+
isPending: false;
|
|
59443
|
+
isSuccess: true;
|
|
59447
59444
|
reset: () => void;
|
|
59448
59445
|
context: unknown;
|
|
59446
|
+
failureCount: number;
|
|
59447
|
+
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
59448
|
+
isPaused: boolean;
|
|
59449
59449
|
submittedAt: number;
|
|
59450
|
-
writeContract:
|
|
59450
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
59451
59451
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
59452
59452
|
model: "static";
|
|
59453
59453
|
} : Partial<OptionPricingParams> & {
|
|
@@ -101588,4 +101588,4 @@ declare const useLens: () => {
|
|
|
101588
101588
|
};
|
|
101589
101589
|
//#endregion
|
|
101590
101590
|
export { PriceResolution as $, stateViews as $t, useCurrentPrice as A, formatVagueAmount as At, getPriceAtTick as B, useMarketVolume as Bt, useLiquidityBlocks as C, useMintOption as Ct, usePriceAtSqrtPriceX96 as D, formatAmount as Dt, usePriceHistory as E, EMPTY_ARRAY as Et, getPayoutAtTick as F, wrapAmount as Ft, liquiditiesToAmounts as G, useTimelockConfig as Gt, getTickAtPrice as H, useMarketData as Ht, PRICE_PRECISION as I, wrapAmountUnscaled as It, token0ToToken1AtTick as J, TimelockMarketData as Jt, roundTick as K, TimelockLens as Kt, getAmountsFromLiquidity as L, wrapPrice as Lt, UniswapPoolData as M, scalePrice as Mt, usePoolData as N, unscaleAmount as Nt, usePriceAtTick as O, formatCondensed as Ot, getPayoutAtPrice as P, unscalePrice as Pt, PriceDataPoint as Q, getTimelockMarket as Qt, getNearestValidStrikeTick as R, wrapPriceUnscaled as Rt, LiquidityBlockData as S, useClosedUserOptions as St, useMarketPriceHistory as T, Amount as Tt, liquiditiesToAmount0 as U, TimelockProvider as Ut, getSqrtPriceX96AtPrice as V, useMarketState as Vt, liquiditiesToAmount1 as W, useCurrentMarket as Wt, token1ToToken0AtTick as X, getStateView as Xt, token1ToToken0 as Y, getErc20 as Yt, PriceData as Z, getTimelockLens 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, swapRouters 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, scaleAmount as jt, useCurrentTick as k, formatUSD as kt, useUpdateMarketFees as l, useClosePerp as lt, useApproval as m, OptionEvent as mt, useUpdateMarketPricing as n, timelockFactories as nn, useSetOperatorPerms as nt, PricingParams as o, useClosedUserPerps as ot, useGuardianGlobalState as p, MintOptionEvent as pt, token0ToToken1 as q, TimelockMarket as qt, useStaticPricingParams as r, timelockLenses as rn, useUserOperators as rt, StaticPricingParams as s, useUserPerps as st, useLens as t, swappers 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, zero as zt };
|
|
101591
|
-
//# sourceMappingURL=client-
|
|
101591
|
+
//# sourceMappingURL=client-BFfw9ee6.d.cts.map
|