timelock-sdk 0.0.155 → 0.0.157
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-HrsZMFVQ.d.cts → client-CSYKjcyD.d.cts} +99 -352
- package/dist/{client-BSOaCDXS.d.ts → client-cNTMuD8y.d.ts} +305 -558
- package/dist/client.cjs +4 -8
- 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 -8
- 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
|
@@ -10,9 +10,9 @@ import * as _tanstack_query_core23 from "@tanstack/query-core";
|
|
|
10
10
|
import Big from "big.js";
|
|
11
11
|
import JSBI from "jsbi";
|
|
12
12
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
13
|
-
import * as
|
|
14
|
-
import * as
|
|
15
|
-
import * as
|
|
13
|
+
import * as wagmi0 from "wagmi";
|
|
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 {
|
|
@@ -44996,7 +44996,7 @@ declare const useOptionPnl: (option: OptionData) => {
|
|
|
44996
44996
|
};
|
|
44997
44997
|
//#endregion
|
|
44998
44998
|
//#region src/hooks/options/useOptionPremium.d.ts
|
|
44999
|
-
declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "CALL" | "PUT", optionAmount
|
|
44999
|
+
declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "CALL" | "PUT", optionAmount?: bigint, addedDuration?: number, remainingDuration?: number, strikeTick?: number) => {
|
|
45000
45000
|
premium?: undefined;
|
|
45001
45001
|
protocolFee?: undefined;
|
|
45002
45002
|
totalPremium?: undefined;
|
|
@@ -48848,11 +48848,11 @@ declare const usePauseGlobalTrading: ({
|
|
|
48848
48848
|
marketAddr?: Address;
|
|
48849
48849
|
}) => {
|
|
48850
48850
|
data: undefined;
|
|
48851
|
+
status: "idle";
|
|
48851
48852
|
error: null;
|
|
48852
48853
|
isError: false;
|
|
48853
48854
|
isPending: false;
|
|
48854
48855
|
isSuccess: false;
|
|
48855
|
-
status: "idle";
|
|
48856
48856
|
failureCount: number;
|
|
48857
48857
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
48858
48858
|
isPaused: boolean;
|
|
@@ -48861,20 +48861,20 @@ declare const usePauseGlobalTrading: ({
|
|
|
48861
48861
|
reset: () => void;
|
|
48862
48862
|
context: unknown;
|
|
48863
48863
|
submittedAt: number;
|
|
48864
|
-
writeContract:
|
|
48864
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
48865
48865
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
48866
48866
|
} | {
|
|
48867
48867
|
data: undefined;
|
|
48868
|
+
status: "pending";
|
|
48868
48869
|
error: null;
|
|
48869
48870
|
isError: false;
|
|
48870
48871
|
isPending: true;
|
|
48871
48872
|
isSuccess: false;
|
|
48872
|
-
status: "pending";
|
|
48873
48873
|
failureCount: number;
|
|
48874
48874
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
48875
48875
|
isPaused: boolean;
|
|
48876
48876
|
variables: {
|
|
48877
|
-
abi:
|
|
48877
|
+
abi: abitype0.Abi;
|
|
48878
48878
|
functionName: string;
|
|
48879
48879
|
args?: readonly unknown[] | undefined;
|
|
48880
48880
|
address: Address;
|
|
@@ -48896,9 +48896,9 @@ declare const usePauseGlobalTrading: ({
|
|
|
48896
48896
|
sidecars?: undefined;
|
|
48897
48897
|
authorizationList?: undefined;
|
|
48898
48898
|
chainId?: number | undefined;
|
|
48899
|
-
connector?:
|
|
48899
|
+
connector?: wagmi0.Connector | undefined;
|
|
48900
48900
|
} | {
|
|
48901
|
-
abi:
|
|
48901
|
+
abi: abitype0.Abi;
|
|
48902
48902
|
functionName: string;
|
|
48903
48903
|
args?: readonly unknown[] | undefined;
|
|
48904
48904
|
address: Address;
|
|
@@ -48920,9 +48920,9 @@ declare const usePauseGlobalTrading: ({
|
|
|
48920
48920
|
sidecars?: undefined;
|
|
48921
48921
|
authorizationList?: undefined;
|
|
48922
48922
|
chainId?: number | undefined;
|
|
48923
|
-
connector?:
|
|
48923
|
+
connector?: wagmi0.Connector | undefined;
|
|
48924
48924
|
} | {
|
|
48925
|
-
abi:
|
|
48925
|
+
abi: abitype0.Abi;
|
|
48926
48926
|
functionName: string;
|
|
48927
48927
|
args?: readonly unknown[] | undefined;
|
|
48928
48928
|
address: Address;
|
|
@@ -48944,9 +48944,9 @@ declare const usePauseGlobalTrading: ({
|
|
|
48944
48944
|
sidecars?: undefined;
|
|
48945
48945
|
authorizationList?: undefined;
|
|
48946
48946
|
chainId?: number | undefined;
|
|
48947
|
-
connector?:
|
|
48947
|
+
connector?: wagmi0.Connector | undefined;
|
|
48948
48948
|
} | {
|
|
48949
|
-
abi:
|
|
48949
|
+
abi: abitype0.Abi;
|
|
48950
48950
|
functionName: string;
|
|
48951
48951
|
args?: readonly unknown[] | undefined;
|
|
48952
48952
|
address: Address;
|
|
@@ -48968,9 +48968,9 @@ declare const usePauseGlobalTrading: ({
|
|
|
48968
48968
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
48969
48969
|
authorizationList?: undefined;
|
|
48970
48970
|
chainId?: number | undefined;
|
|
48971
|
-
connector?:
|
|
48971
|
+
connector?: wagmi0.Connector | undefined;
|
|
48972
48972
|
} | {
|
|
48973
|
-
abi:
|
|
48973
|
+
abi: abitype0.Abi;
|
|
48974
48974
|
functionName: string;
|
|
48975
48975
|
args?: readonly unknown[] | undefined;
|
|
48976
48976
|
address: Address;
|
|
@@ -48992,9 +48992,9 @@ declare const usePauseGlobalTrading: ({
|
|
|
48992
48992
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
48993
48993
|
authorizationList?: undefined;
|
|
48994
48994
|
chainId?: number | undefined;
|
|
48995
|
-
connector?:
|
|
48995
|
+
connector?: wagmi0.Connector | undefined;
|
|
48996
48996
|
} | {
|
|
48997
|
-
abi:
|
|
48997
|
+
abi: abitype0.Abi;
|
|
48998
48998
|
functionName: string;
|
|
48999
48999
|
args?: readonly unknown[] | undefined;
|
|
49000
49000
|
address: Address;
|
|
@@ -49016,26 +49016,26 @@ declare const usePauseGlobalTrading: ({
|
|
|
49016
49016
|
sidecars?: undefined;
|
|
49017
49017
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
49018
49018
|
chainId?: number | undefined;
|
|
49019
|
-
connector?:
|
|
49019
|
+
connector?: wagmi0.Connector | undefined;
|
|
49020
49020
|
};
|
|
49021
49021
|
isIdle: false;
|
|
49022
49022
|
reset: () => void;
|
|
49023
49023
|
context: unknown;
|
|
49024
49024
|
submittedAt: number;
|
|
49025
|
-
writeContract:
|
|
49025
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
49026
49026
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
49027
49027
|
} | {
|
|
49028
49028
|
data: undefined;
|
|
49029
|
+
status: "error";
|
|
49029
49030
|
error: _wagmi_core0.WriteContractErrorType;
|
|
49030
49031
|
isError: true;
|
|
49031
49032
|
isPending: false;
|
|
49032
49033
|
isSuccess: false;
|
|
49033
|
-
status: "error";
|
|
49034
49034
|
failureCount: number;
|
|
49035
49035
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
49036
49036
|
isPaused: boolean;
|
|
49037
49037
|
variables: {
|
|
49038
|
-
abi:
|
|
49038
|
+
abi: abitype0.Abi;
|
|
49039
49039
|
functionName: string;
|
|
49040
49040
|
args?: readonly unknown[] | undefined;
|
|
49041
49041
|
address: Address;
|
|
@@ -49057,9 +49057,9 @@ declare const usePauseGlobalTrading: ({
|
|
|
49057
49057
|
sidecars?: undefined;
|
|
49058
49058
|
authorizationList?: undefined;
|
|
49059
49059
|
chainId?: number | undefined;
|
|
49060
|
-
connector?:
|
|
49060
|
+
connector?: wagmi0.Connector | undefined;
|
|
49061
49061
|
} | {
|
|
49062
|
-
abi:
|
|
49062
|
+
abi: abitype0.Abi;
|
|
49063
49063
|
functionName: string;
|
|
49064
49064
|
args?: readonly unknown[] | undefined;
|
|
49065
49065
|
address: Address;
|
|
@@ -49081,9 +49081,9 @@ declare const usePauseGlobalTrading: ({
|
|
|
49081
49081
|
sidecars?: undefined;
|
|
49082
49082
|
authorizationList?: undefined;
|
|
49083
49083
|
chainId?: number | undefined;
|
|
49084
|
-
connector?:
|
|
49084
|
+
connector?: wagmi0.Connector | undefined;
|
|
49085
49085
|
} | {
|
|
49086
|
-
abi:
|
|
49086
|
+
abi: abitype0.Abi;
|
|
49087
49087
|
functionName: string;
|
|
49088
49088
|
args?: readonly unknown[] | undefined;
|
|
49089
49089
|
address: Address;
|
|
@@ -49105,9 +49105,9 @@ declare const usePauseGlobalTrading: ({
|
|
|
49105
49105
|
sidecars?: undefined;
|
|
49106
49106
|
authorizationList?: undefined;
|
|
49107
49107
|
chainId?: number | undefined;
|
|
49108
|
-
connector?:
|
|
49108
|
+
connector?: wagmi0.Connector | undefined;
|
|
49109
49109
|
} | {
|
|
49110
|
-
abi:
|
|
49110
|
+
abi: abitype0.Abi;
|
|
49111
49111
|
functionName: string;
|
|
49112
49112
|
args?: readonly unknown[] | undefined;
|
|
49113
49113
|
address: Address;
|
|
@@ -49129,9 +49129,9 @@ declare const usePauseGlobalTrading: ({
|
|
|
49129
49129
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
49130
49130
|
authorizationList?: undefined;
|
|
49131
49131
|
chainId?: number | undefined;
|
|
49132
|
-
connector?:
|
|
49132
|
+
connector?: wagmi0.Connector | undefined;
|
|
49133
49133
|
} | {
|
|
49134
|
-
abi:
|
|
49134
|
+
abi: abitype0.Abi;
|
|
49135
49135
|
functionName: string;
|
|
49136
49136
|
args?: readonly unknown[] | undefined;
|
|
49137
49137
|
address: Address;
|
|
@@ -49153,9 +49153,9 @@ declare const usePauseGlobalTrading: ({
|
|
|
49153
49153
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
49154
49154
|
authorizationList?: undefined;
|
|
49155
49155
|
chainId?: number | undefined;
|
|
49156
|
-
connector?:
|
|
49156
|
+
connector?: wagmi0.Connector | undefined;
|
|
49157
49157
|
} | {
|
|
49158
|
-
abi:
|
|
49158
|
+
abi: abitype0.Abi;
|
|
49159
49159
|
functionName: string;
|
|
49160
49160
|
args?: readonly unknown[] | undefined;
|
|
49161
49161
|
address: Address;
|
|
@@ -49177,26 +49177,26 @@ declare const usePauseGlobalTrading: ({
|
|
|
49177
49177
|
sidecars?: undefined;
|
|
49178
49178
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
49179
49179
|
chainId?: number | undefined;
|
|
49180
|
-
connector?:
|
|
49180
|
+
connector?: wagmi0.Connector | undefined;
|
|
49181
49181
|
};
|
|
49182
49182
|
isIdle: false;
|
|
49183
49183
|
reset: () => void;
|
|
49184
49184
|
context: unknown;
|
|
49185
49185
|
submittedAt: number;
|
|
49186
|
-
writeContract:
|
|
49186
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
49187
49187
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
49188
49188
|
} | {
|
|
49189
49189
|
data: `0x${string}`;
|
|
49190
|
+
status: "success";
|
|
49190
49191
|
error: null;
|
|
49191
49192
|
isError: false;
|
|
49192
49193
|
isPending: false;
|
|
49193
49194
|
isSuccess: true;
|
|
49194
|
-
status: "success";
|
|
49195
49195
|
failureCount: number;
|
|
49196
49196
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
49197
49197
|
isPaused: boolean;
|
|
49198
49198
|
variables: {
|
|
49199
|
-
abi:
|
|
49199
|
+
abi: abitype0.Abi;
|
|
49200
49200
|
functionName: string;
|
|
49201
49201
|
args?: readonly unknown[] | undefined;
|
|
49202
49202
|
address: Address;
|
|
@@ -49218,9 +49218,9 @@ declare const usePauseGlobalTrading: ({
|
|
|
49218
49218
|
sidecars?: undefined;
|
|
49219
49219
|
authorizationList?: undefined;
|
|
49220
49220
|
chainId?: number | undefined;
|
|
49221
|
-
connector?:
|
|
49221
|
+
connector?: wagmi0.Connector | undefined;
|
|
49222
49222
|
} | {
|
|
49223
|
-
abi:
|
|
49223
|
+
abi: abitype0.Abi;
|
|
49224
49224
|
functionName: string;
|
|
49225
49225
|
args?: readonly unknown[] | undefined;
|
|
49226
49226
|
address: Address;
|
|
@@ -49242,9 +49242,9 @@ declare const usePauseGlobalTrading: ({
|
|
|
49242
49242
|
sidecars?: undefined;
|
|
49243
49243
|
authorizationList?: undefined;
|
|
49244
49244
|
chainId?: number | undefined;
|
|
49245
|
-
connector?:
|
|
49245
|
+
connector?: wagmi0.Connector | undefined;
|
|
49246
49246
|
} | {
|
|
49247
|
-
abi:
|
|
49247
|
+
abi: abitype0.Abi;
|
|
49248
49248
|
functionName: string;
|
|
49249
49249
|
args?: readonly unknown[] | undefined;
|
|
49250
49250
|
address: Address;
|
|
@@ -49266,9 +49266,9 @@ declare const usePauseGlobalTrading: ({
|
|
|
49266
49266
|
sidecars?: undefined;
|
|
49267
49267
|
authorizationList?: undefined;
|
|
49268
49268
|
chainId?: number | undefined;
|
|
49269
|
-
connector?:
|
|
49269
|
+
connector?: wagmi0.Connector | undefined;
|
|
49270
49270
|
} | {
|
|
49271
|
-
abi:
|
|
49271
|
+
abi: abitype0.Abi;
|
|
49272
49272
|
functionName: string;
|
|
49273
49273
|
args?: readonly unknown[] | undefined;
|
|
49274
49274
|
address: Address;
|
|
@@ -49290,9 +49290,9 @@ declare const usePauseGlobalTrading: ({
|
|
|
49290
49290
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
49291
49291
|
authorizationList?: undefined;
|
|
49292
49292
|
chainId?: number | undefined;
|
|
49293
|
-
connector?:
|
|
49293
|
+
connector?: wagmi0.Connector | undefined;
|
|
49294
49294
|
} | {
|
|
49295
|
-
abi:
|
|
49295
|
+
abi: abitype0.Abi;
|
|
49296
49296
|
functionName: string;
|
|
49297
49297
|
args?: readonly unknown[] | undefined;
|
|
49298
49298
|
address: Address;
|
|
@@ -49314,9 +49314,9 @@ declare const usePauseGlobalTrading: ({
|
|
|
49314
49314
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
49315
49315
|
authorizationList?: undefined;
|
|
49316
49316
|
chainId?: number | undefined;
|
|
49317
|
-
connector?:
|
|
49317
|
+
connector?: wagmi0.Connector | undefined;
|
|
49318
49318
|
} | {
|
|
49319
|
-
abi:
|
|
49319
|
+
abi: abitype0.Abi;
|
|
49320
49320
|
functionName: string;
|
|
49321
49321
|
args?: readonly unknown[] | undefined;
|
|
49322
49322
|
address: Address;
|
|
@@ -49338,13 +49338,13 @@ declare const usePauseGlobalTrading: ({
|
|
|
49338
49338
|
sidecars?: undefined;
|
|
49339
49339
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
49340
49340
|
chainId?: number | undefined;
|
|
49341
|
-
connector?:
|
|
49341
|
+
connector?: wagmi0.Connector | undefined;
|
|
49342
49342
|
};
|
|
49343
49343
|
isIdle: false;
|
|
49344
49344
|
reset: () => void;
|
|
49345
49345
|
context: unknown;
|
|
49346
49346
|
submittedAt: number;
|
|
49347
|
-
writeContract:
|
|
49347
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
49348
49348
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
49349
49349
|
};
|
|
49350
49350
|
//#endregion
|
|
@@ -49355,11 +49355,11 @@ declare const usePauseMarketTrading: ({
|
|
|
49355
49355
|
marketAddr?: Address;
|
|
49356
49356
|
}) => {
|
|
49357
49357
|
data: undefined;
|
|
49358
|
+
status: "idle";
|
|
49358
49359
|
error: null;
|
|
49359
49360
|
isError: false;
|
|
49360
49361
|
isPending: false;
|
|
49361
49362
|
isSuccess: false;
|
|
49362
|
-
status: "idle";
|
|
49363
49363
|
failureCount: number;
|
|
49364
49364
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
49365
49365
|
isPaused: boolean;
|
|
@@ -49368,20 +49368,20 @@ declare const usePauseMarketTrading: ({
|
|
|
49368
49368
|
reset: () => void;
|
|
49369
49369
|
context: unknown;
|
|
49370
49370
|
submittedAt: number;
|
|
49371
|
-
writeContract:
|
|
49371
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
49372
49372
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
49373
49373
|
} | {
|
|
49374
49374
|
data: undefined;
|
|
49375
|
+
status: "pending";
|
|
49375
49376
|
error: null;
|
|
49376
49377
|
isError: false;
|
|
49377
49378
|
isPending: true;
|
|
49378
49379
|
isSuccess: false;
|
|
49379
|
-
status: "pending";
|
|
49380
49380
|
failureCount: number;
|
|
49381
49381
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
49382
49382
|
isPaused: boolean;
|
|
49383
49383
|
variables: {
|
|
49384
|
-
abi:
|
|
49384
|
+
abi: abitype0.Abi;
|
|
49385
49385
|
functionName: string;
|
|
49386
49386
|
args?: readonly unknown[] | undefined;
|
|
49387
49387
|
address: Address;
|
|
@@ -49403,9 +49403,9 @@ declare const usePauseMarketTrading: ({
|
|
|
49403
49403
|
sidecars?: undefined;
|
|
49404
49404
|
authorizationList?: undefined;
|
|
49405
49405
|
chainId?: number | undefined;
|
|
49406
|
-
connector?:
|
|
49406
|
+
connector?: wagmi0.Connector | undefined;
|
|
49407
49407
|
} | {
|
|
49408
|
-
abi:
|
|
49408
|
+
abi: abitype0.Abi;
|
|
49409
49409
|
functionName: string;
|
|
49410
49410
|
args?: readonly unknown[] | undefined;
|
|
49411
49411
|
address: Address;
|
|
@@ -49427,9 +49427,9 @@ declare const usePauseMarketTrading: ({
|
|
|
49427
49427
|
sidecars?: undefined;
|
|
49428
49428
|
authorizationList?: undefined;
|
|
49429
49429
|
chainId?: number | undefined;
|
|
49430
|
-
connector?:
|
|
49430
|
+
connector?: wagmi0.Connector | undefined;
|
|
49431
49431
|
} | {
|
|
49432
|
-
abi:
|
|
49432
|
+
abi: abitype0.Abi;
|
|
49433
49433
|
functionName: string;
|
|
49434
49434
|
args?: readonly unknown[] | undefined;
|
|
49435
49435
|
address: Address;
|
|
@@ -49451,9 +49451,9 @@ declare const usePauseMarketTrading: ({
|
|
|
49451
49451
|
sidecars?: undefined;
|
|
49452
49452
|
authorizationList?: undefined;
|
|
49453
49453
|
chainId?: number | undefined;
|
|
49454
|
-
connector?:
|
|
49454
|
+
connector?: wagmi0.Connector | undefined;
|
|
49455
49455
|
} | {
|
|
49456
|
-
abi:
|
|
49456
|
+
abi: abitype0.Abi;
|
|
49457
49457
|
functionName: string;
|
|
49458
49458
|
args?: readonly unknown[] | undefined;
|
|
49459
49459
|
address: Address;
|
|
@@ -49475,9 +49475,9 @@ declare const usePauseMarketTrading: ({
|
|
|
49475
49475
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
49476
49476
|
authorizationList?: undefined;
|
|
49477
49477
|
chainId?: number | undefined;
|
|
49478
|
-
connector?:
|
|
49478
|
+
connector?: wagmi0.Connector | undefined;
|
|
49479
49479
|
} | {
|
|
49480
|
-
abi:
|
|
49480
|
+
abi: abitype0.Abi;
|
|
49481
49481
|
functionName: string;
|
|
49482
49482
|
args?: readonly unknown[] | undefined;
|
|
49483
49483
|
address: Address;
|
|
@@ -49499,9 +49499,9 @@ declare const usePauseMarketTrading: ({
|
|
|
49499
49499
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
49500
49500
|
authorizationList?: undefined;
|
|
49501
49501
|
chainId?: number | undefined;
|
|
49502
|
-
connector?:
|
|
49502
|
+
connector?: wagmi0.Connector | undefined;
|
|
49503
49503
|
} | {
|
|
49504
|
-
abi:
|
|
49504
|
+
abi: abitype0.Abi;
|
|
49505
49505
|
functionName: string;
|
|
49506
49506
|
args?: readonly unknown[] | undefined;
|
|
49507
49507
|
address: Address;
|
|
@@ -49523,26 +49523,26 @@ declare const usePauseMarketTrading: ({
|
|
|
49523
49523
|
sidecars?: undefined;
|
|
49524
49524
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
49525
49525
|
chainId?: number | undefined;
|
|
49526
|
-
connector?:
|
|
49526
|
+
connector?: wagmi0.Connector | undefined;
|
|
49527
49527
|
};
|
|
49528
49528
|
isIdle: false;
|
|
49529
49529
|
reset: () => void;
|
|
49530
49530
|
context: unknown;
|
|
49531
49531
|
submittedAt: number;
|
|
49532
|
-
writeContract:
|
|
49532
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
49533
49533
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
49534
49534
|
} | {
|
|
49535
49535
|
data: undefined;
|
|
49536
|
+
status: "error";
|
|
49536
49537
|
error: _wagmi_core0.WriteContractErrorType;
|
|
49537
49538
|
isError: true;
|
|
49538
49539
|
isPending: false;
|
|
49539
49540
|
isSuccess: false;
|
|
49540
|
-
status: "error";
|
|
49541
49541
|
failureCount: number;
|
|
49542
49542
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
49543
49543
|
isPaused: boolean;
|
|
49544
49544
|
variables: {
|
|
49545
|
-
abi:
|
|
49545
|
+
abi: abitype0.Abi;
|
|
49546
49546
|
functionName: string;
|
|
49547
49547
|
args?: readonly unknown[] | undefined;
|
|
49548
49548
|
address: Address;
|
|
@@ -49564,9 +49564,9 @@ declare const usePauseMarketTrading: ({
|
|
|
49564
49564
|
sidecars?: undefined;
|
|
49565
49565
|
authorizationList?: undefined;
|
|
49566
49566
|
chainId?: number | undefined;
|
|
49567
|
-
connector?:
|
|
49567
|
+
connector?: wagmi0.Connector | undefined;
|
|
49568
49568
|
} | {
|
|
49569
|
-
abi:
|
|
49569
|
+
abi: abitype0.Abi;
|
|
49570
49570
|
functionName: string;
|
|
49571
49571
|
args?: readonly unknown[] | undefined;
|
|
49572
49572
|
address: Address;
|
|
@@ -49588,9 +49588,9 @@ declare const usePauseMarketTrading: ({
|
|
|
49588
49588
|
sidecars?: undefined;
|
|
49589
49589
|
authorizationList?: undefined;
|
|
49590
49590
|
chainId?: number | undefined;
|
|
49591
|
-
connector?:
|
|
49591
|
+
connector?: wagmi0.Connector | undefined;
|
|
49592
49592
|
} | {
|
|
49593
|
-
abi:
|
|
49593
|
+
abi: abitype0.Abi;
|
|
49594
49594
|
functionName: string;
|
|
49595
49595
|
args?: readonly unknown[] | undefined;
|
|
49596
49596
|
address: Address;
|
|
@@ -49612,9 +49612,9 @@ declare const usePauseMarketTrading: ({
|
|
|
49612
49612
|
sidecars?: undefined;
|
|
49613
49613
|
authorizationList?: undefined;
|
|
49614
49614
|
chainId?: number | undefined;
|
|
49615
|
-
connector?:
|
|
49615
|
+
connector?: wagmi0.Connector | undefined;
|
|
49616
49616
|
} | {
|
|
49617
|
-
abi:
|
|
49617
|
+
abi: abitype0.Abi;
|
|
49618
49618
|
functionName: string;
|
|
49619
49619
|
args?: readonly unknown[] | undefined;
|
|
49620
49620
|
address: Address;
|
|
@@ -49636,9 +49636,9 @@ declare const usePauseMarketTrading: ({
|
|
|
49636
49636
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
49637
49637
|
authorizationList?: undefined;
|
|
49638
49638
|
chainId?: number | undefined;
|
|
49639
|
-
connector?:
|
|
49639
|
+
connector?: wagmi0.Connector | undefined;
|
|
49640
49640
|
} | {
|
|
49641
|
-
abi:
|
|
49641
|
+
abi: abitype0.Abi;
|
|
49642
49642
|
functionName: string;
|
|
49643
49643
|
args?: readonly unknown[] | undefined;
|
|
49644
49644
|
address: Address;
|
|
@@ -49660,9 +49660,9 @@ declare const usePauseMarketTrading: ({
|
|
|
49660
49660
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
49661
49661
|
authorizationList?: undefined;
|
|
49662
49662
|
chainId?: number | undefined;
|
|
49663
|
-
connector?:
|
|
49663
|
+
connector?: wagmi0.Connector | undefined;
|
|
49664
49664
|
} | {
|
|
49665
|
-
abi:
|
|
49665
|
+
abi: abitype0.Abi;
|
|
49666
49666
|
functionName: string;
|
|
49667
49667
|
args?: readonly unknown[] | undefined;
|
|
49668
49668
|
address: Address;
|
|
@@ -49684,26 +49684,26 @@ declare const usePauseMarketTrading: ({
|
|
|
49684
49684
|
sidecars?: undefined;
|
|
49685
49685
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
49686
49686
|
chainId?: number | undefined;
|
|
49687
|
-
connector?:
|
|
49687
|
+
connector?: wagmi0.Connector | undefined;
|
|
49688
49688
|
};
|
|
49689
49689
|
isIdle: false;
|
|
49690
49690
|
reset: () => void;
|
|
49691
49691
|
context: unknown;
|
|
49692
49692
|
submittedAt: number;
|
|
49693
|
-
writeContract:
|
|
49693
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
49694
49694
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
49695
49695
|
} | {
|
|
49696
49696
|
data: `0x${string}`;
|
|
49697
|
+
status: "success";
|
|
49697
49698
|
error: null;
|
|
49698
49699
|
isError: false;
|
|
49699
49700
|
isPending: false;
|
|
49700
49701
|
isSuccess: true;
|
|
49701
|
-
status: "success";
|
|
49702
49702
|
failureCount: number;
|
|
49703
49703
|
failureReason: _wagmi_core0.WriteContractErrorType | null;
|
|
49704
49704
|
isPaused: boolean;
|
|
49705
49705
|
variables: {
|
|
49706
|
-
abi:
|
|
49706
|
+
abi: abitype0.Abi;
|
|
49707
49707
|
functionName: string;
|
|
49708
49708
|
args?: readonly unknown[] | undefined;
|
|
49709
49709
|
address: Address;
|
|
@@ -49725,9 +49725,9 @@ declare const usePauseMarketTrading: ({
|
|
|
49725
49725
|
sidecars?: undefined;
|
|
49726
49726
|
authorizationList?: undefined;
|
|
49727
49727
|
chainId?: number | undefined;
|
|
49728
|
-
connector?:
|
|
49728
|
+
connector?: wagmi0.Connector | undefined;
|
|
49729
49729
|
} | {
|
|
49730
|
-
abi:
|
|
49730
|
+
abi: abitype0.Abi;
|
|
49731
49731
|
functionName: string;
|
|
49732
49732
|
args?: readonly unknown[] | undefined;
|
|
49733
49733
|
address: Address;
|
|
@@ -49749,9 +49749,9 @@ declare const usePauseMarketTrading: ({
|
|
|
49749
49749
|
sidecars?: undefined;
|
|
49750
49750
|
authorizationList?: undefined;
|
|
49751
49751
|
chainId?: number | undefined;
|
|
49752
|
-
connector?:
|
|
49752
|
+
connector?: wagmi0.Connector | undefined;
|
|
49753
49753
|
} | {
|
|
49754
|
-
abi:
|
|
49754
|
+
abi: abitype0.Abi;
|
|
49755
49755
|
functionName: string;
|
|
49756
49756
|
args?: readonly unknown[] | undefined;
|
|
49757
49757
|
address: Address;
|
|
@@ -49773,9 +49773,9 @@ declare const usePauseMarketTrading: ({
|
|
|
49773
49773
|
sidecars?: undefined;
|
|
49774
49774
|
authorizationList?: undefined;
|
|
49775
49775
|
chainId?: number | undefined;
|
|
49776
|
-
connector?:
|
|
49776
|
+
connector?: wagmi0.Connector | undefined;
|
|
49777
49777
|
} | {
|
|
49778
|
-
abi:
|
|
49778
|
+
abi: abitype0.Abi;
|
|
49779
49779
|
functionName: string;
|
|
49780
49780
|
args?: readonly unknown[] | undefined;
|
|
49781
49781
|
address: Address;
|
|
@@ -49797,9 +49797,9 @@ declare const usePauseMarketTrading: ({
|
|
|
49797
49797
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
49798
49798
|
authorizationList?: undefined;
|
|
49799
49799
|
chainId?: number | undefined;
|
|
49800
|
-
connector?:
|
|
49800
|
+
connector?: wagmi0.Connector | undefined;
|
|
49801
49801
|
} | {
|
|
49802
|
-
abi:
|
|
49802
|
+
abi: abitype0.Abi;
|
|
49803
49803
|
functionName: string;
|
|
49804
49804
|
args?: readonly unknown[] | undefined;
|
|
49805
49805
|
address: Address;
|
|
@@ -49821,9 +49821,9 @@ declare const usePauseMarketTrading: ({
|
|
|
49821
49821
|
sidecars?: readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
|
|
49822
49822
|
authorizationList?: undefined;
|
|
49823
49823
|
chainId?: number | undefined;
|
|
49824
|
-
connector?:
|
|
49824
|
+
connector?: wagmi0.Connector | undefined;
|
|
49825
49825
|
} | {
|
|
49826
|
-
abi:
|
|
49826
|
+
abi: abitype0.Abi;
|
|
49827
49827
|
functionName: string;
|
|
49828
49828
|
args?: readonly unknown[] | undefined;
|
|
49829
49829
|
address: Address;
|
|
@@ -49845,276 +49845,23 @@ declare const usePauseMarketTrading: ({
|
|
|
49845
49845
|
sidecars?: undefined;
|
|
49846
49846
|
authorizationList?: viem0.AuthorizationList<number, boolean> | undefined;
|
|
49847
49847
|
chainId?: number | undefined;
|
|
49848
|
-
connector?:
|
|
49848
|
+
connector?: wagmi0.Connector | undefined;
|
|
49849
49849
|
};
|
|
49850
49850
|
isIdle: false;
|
|
49851
49851
|
reset: () => void;
|
|
49852
49852
|
context: unknown;
|
|
49853
49853
|
submittedAt: number;
|
|
49854
|
-
writeContract:
|
|
49854
|
+
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
49855
49855
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
49856
49856
|
};
|
|
49857
49857
|
//#endregion
|
|
49858
49858
|
//#region src/hooks/fees/useFeeRates.d.ts
|
|
49859
|
-
declare const useFeeRates: (feeStrategy?: Address) => {
|
|
49860
|
-
|
|
49861
|
-
|
|
49862
|
-
|
|
49863
|
-
|
|
49864
|
-
|
|
49865
|
-
isRefetchError: true;
|
|
49866
|
-
isSuccess: false;
|
|
49867
|
-
isPlaceholderData: false;
|
|
49868
|
-
status: "error";
|
|
49869
|
-
dataUpdatedAt: number;
|
|
49870
|
-
errorUpdatedAt: number;
|
|
49871
|
-
failureCount: number;
|
|
49872
|
-
failureReason: viem0.ReadContractErrorType | null;
|
|
49873
|
-
errorUpdateCount: number;
|
|
49874
|
-
isFetched: boolean;
|
|
49875
|
-
isFetchedAfterMount: boolean;
|
|
49876
|
-
isFetching: boolean;
|
|
49877
|
-
isInitialLoading: boolean;
|
|
49878
|
-
isPaused: boolean;
|
|
49879
|
-
isRefetching: boolean;
|
|
49880
|
-
isStale: boolean;
|
|
49881
|
-
isEnabled: boolean;
|
|
49882
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
49883
|
-
openingFeeRate: number;
|
|
49884
|
-
baseFeeRate: number;
|
|
49885
|
-
minOpeningFee: bigint;
|
|
49886
|
-
minBaseFee: bigint;
|
|
49887
|
-
}, viem0.ReadContractErrorType>>;
|
|
49888
|
-
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
49889
|
-
promise: Promise<{
|
|
49890
|
-
openingFeeRate: number;
|
|
49891
|
-
baseFeeRate: number;
|
|
49892
|
-
minOpeningFee: bigint;
|
|
49893
|
-
minBaseFee: bigint;
|
|
49894
|
-
}>;
|
|
49895
|
-
queryKey: _tanstack_query_core23.QueryKey;
|
|
49896
|
-
data: Partial<NonUndefinedGuard<{
|
|
49897
|
-
openingFeeRate: number;
|
|
49898
|
-
baseFeeRate: number;
|
|
49899
|
-
minOpeningFee: bigint;
|
|
49900
|
-
minBaseFee: bigint;
|
|
49901
|
-
} | undefined>>;
|
|
49902
|
-
} | {
|
|
49903
|
-
error: null;
|
|
49904
|
-
isError: false;
|
|
49905
|
-
isPending: false;
|
|
49906
|
-
isLoading: false;
|
|
49907
|
-
isLoadingError: false;
|
|
49908
|
-
isRefetchError: false;
|
|
49909
|
-
isSuccess: true;
|
|
49910
|
-
isPlaceholderData: false;
|
|
49911
|
-
status: "success";
|
|
49912
|
-
dataUpdatedAt: number;
|
|
49913
|
-
errorUpdatedAt: number;
|
|
49914
|
-
failureCount: number;
|
|
49915
|
-
failureReason: viem0.ReadContractErrorType | null;
|
|
49916
|
-
errorUpdateCount: number;
|
|
49917
|
-
isFetched: boolean;
|
|
49918
|
-
isFetchedAfterMount: boolean;
|
|
49919
|
-
isFetching: boolean;
|
|
49920
|
-
isInitialLoading: boolean;
|
|
49921
|
-
isPaused: boolean;
|
|
49922
|
-
isRefetching: boolean;
|
|
49923
|
-
isStale: boolean;
|
|
49924
|
-
isEnabled: boolean;
|
|
49925
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
49926
|
-
openingFeeRate: number;
|
|
49927
|
-
baseFeeRate: number;
|
|
49928
|
-
minOpeningFee: bigint;
|
|
49929
|
-
minBaseFee: bigint;
|
|
49930
|
-
}, viem0.ReadContractErrorType>>;
|
|
49931
|
-
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
49932
|
-
promise: Promise<{
|
|
49933
|
-
openingFeeRate: number;
|
|
49934
|
-
baseFeeRate: number;
|
|
49935
|
-
minOpeningFee: bigint;
|
|
49936
|
-
minBaseFee: bigint;
|
|
49937
|
-
}>;
|
|
49938
|
-
queryKey: _tanstack_query_core23.QueryKey;
|
|
49939
|
-
data: Partial<NonUndefinedGuard<{
|
|
49940
|
-
openingFeeRate: number;
|
|
49941
|
-
baseFeeRate: number;
|
|
49942
|
-
minOpeningFee: bigint;
|
|
49943
|
-
minBaseFee: bigint;
|
|
49944
|
-
} | undefined>>;
|
|
49945
|
-
} | {
|
|
49946
|
-
error: viem0.ReadContractErrorType;
|
|
49947
|
-
isError: true;
|
|
49948
|
-
isPending: false;
|
|
49949
|
-
isLoading: false;
|
|
49950
|
-
isLoadingError: true;
|
|
49951
|
-
isRefetchError: false;
|
|
49952
|
-
isSuccess: false;
|
|
49953
|
-
isPlaceholderData: false;
|
|
49954
|
-
status: "error";
|
|
49955
|
-
dataUpdatedAt: number;
|
|
49956
|
-
errorUpdatedAt: number;
|
|
49957
|
-
failureCount: number;
|
|
49958
|
-
failureReason: viem0.ReadContractErrorType | null;
|
|
49959
|
-
errorUpdateCount: number;
|
|
49960
|
-
isFetched: boolean;
|
|
49961
|
-
isFetchedAfterMount: boolean;
|
|
49962
|
-
isFetching: boolean;
|
|
49963
|
-
isInitialLoading: boolean;
|
|
49964
|
-
isPaused: boolean;
|
|
49965
|
-
isRefetching: boolean;
|
|
49966
|
-
isStale: boolean;
|
|
49967
|
-
isEnabled: boolean;
|
|
49968
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
49969
|
-
openingFeeRate: number;
|
|
49970
|
-
baseFeeRate: number;
|
|
49971
|
-
minOpeningFee: bigint;
|
|
49972
|
-
minBaseFee: bigint;
|
|
49973
|
-
}, viem0.ReadContractErrorType>>;
|
|
49974
|
-
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
49975
|
-
promise: Promise<{
|
|
49976
|
-
openingFeeRate: number;
|
|
49977
|
-
baseFeeRate: number;
|
|
49978
|
-
minOpeningFee: bigint;
|
|
49979
|
-
minBaseFee: bigint;
|
|
49980
|
-
}>;
|
|
49981
|
-
queryKey: _tanstack_query_core23.QueryKey;
|
|
49982
|
-
data: Partial<NonUndefinedGuard<{
|
|
49983
|
-
openingFeeRate: number;
|
|
49984
|
-
baseFeeRate: number;
|
|
49985
|
-
minOpeningFee: bigint;
|
|
49986
|
-
minBaseFee: bigint;
|
|
49987
|
-
} | undefined>>;
|
|
49988
|
-
} | {
|
|
49989
|
-
error: null;
|
|
49990
|
-
isError: false;
|
|
49991
|
-
isPending: true;
|
|
49992
|
-
isLoading: true;
|
|
49993
|
-
isLoadingError: false;
|
|
49994
|
-
isRefetchError: false;
|
|
49995
|
-
isSuccess: false;
|
|
49996
|
-
isPlaceholderData: false;
|
|
49997
|
-
status: "pending";
|
|
49998
|
-
dataUpdatedAt: number;
|
|
49999
|
-
errorUpdatedAt: number;
|
|
50000
|
-
failureCount: number;
|
|
50001
|
-
failureReason: viem0.ReadContractErrorType | null;
|
|
50002
|
-
errorUpdateCount: number;
|
|
50003
|
-
isFetched: boolean;
|
|
50004
|
-
isFetchedAfterMount: boolean;
|
|
50005
|
-
isFetching: boolean;
|
|
50006
|
-
isInitialLoading: boolean;
|
|
50007
|
-
isPaused: boolean;
|
|
50008
|
-
isRefetching: boolean;
|
|
50009
|
-
isStale: boolean;
|
|
50010
|
-
isEnabled: boolean;
|
|
50011
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
50012
|
-
openingFeeRate: number;
|
|
50013
|
-
baseFeeRate: number;
|
|
50014
|
-
minOpeningFee: bigint;
|
|
50015
|
-
minBaseFee: bigint;
|
|
50016
|
-
}, viem0.ReadContractErrorType>>;
|
|
50017
|
-
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
50018
|
-
promise: Promise<{
|
|
50019
|
-
openingFeeRate: number;
|
|
50020
|
-
baseFeeRate: number;
|
|
50021
|
-
minOpeningFee: bigint;
|
|
50022
|
-
minBaseFee: bigint;
|
|
50023
|
-
}>;
|
|
50024
|
-
queryKey: _tanstack_query_core23.QueryKey;
|
|
50025
|
-
data: Partial<NonUndefinedGuard<{
|
|
50026
|
-
openingFeeRate: number;
|
|
50027
|
-
baseFeeRate: number;
|
|
50028
|
-
minOpeningFee: bigint;
|
|
50029
|
-
minBaseFee: bigint;
|
|
50030
|
-
} | undefined>>;
|
|
50031
|
-
} | {
|
|
50032
|
-
error: null;
|
|
50033
|
-
isError: false;
|
|
50034
|
-
isPending: true;
|
|
50035
|
-
isLoadingError: false;
|
|
50036
|
-
isRefetchError: false;
|
|
50037
|
-
isSuccess: false;
|
|
50038
|
-
isPlaceholderData: false;
|
|
50039
|
-
status: "pending";
|
|
50040
|
-
dataUpdatedAt: number;
|
|
50041
|
-
errorUpdatedAt: number;
|
|
50042
|
-
failureCount: number;
|
|
50043
|
-
failureReason: viem0.ReadContractErrorType | null;
|
|
50044
|
-
errorUpdateCount: number;
|
|
50045
|
-
isFetched: boolean;
|
|
50046
|
-
isFetchedAfterMount: boolean;
|
|
50047
|
-
isFetching: boolean;
|
|
50048
|
-
isLoading: boolean;
|
|
50049
|
-
isInitialLoading: boolean;
|
|
50050
|
-
isPaused: boolean;
|
|
50051
|
-
isRefetching: boolean;
|
|
50052
|
-
isStale: boolean;
|
|
50053
|
-
isEnabled: boolean;
|
|
50054
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
50055
|
-
openingFeeRate: number;
|
|
50056
|
-
baseFeeRate: number;
|
|
50057
|
-
minOpeningFee: bigint;
|
|
50058
|
-
minBaseFee: bigint;
|
|
50059
|
-
}, viem0.ReadContractErrorType>>;
|
|
50060
|
-
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
50061
|
-
promise: Promise<{
|
|
50062
|
-
openingFeeRate: number;
|
|
50063
|
-
baseFeeRate: number;
|
|
50064
|
-
minOpeningFee: bigint;
|
|
50065
|
-
minBaseFee: bigint;
|
|
50066
|
-
}>;
|
|
50067
|
-
queryKey: _tanstack_query_core23.QueryKey;
|
|
50068
|
-
data: Partial<NonUndefinedGuard<{
|
|
50069
|
-
openingFeeRate: number;
|
|
50070
|
-
baseFeeRate: number;
|
|
50071
|
-
minOpeningFee: bigint;
|
|
50072
|
-
minBaseFee: bigint;
|
|
50073
|
-
} | undefined>>;
|
|
50074
|
-
} | {
|
|
50075
|
-
isError: false;
|
|
50076
|
-
error: null;
|
|
50077
|
-
isPending: false;
|
|
50078
|
-
isLoading: false;
|
|
50079
|
-
isLoadingError: false;
|
|
50080
|
-
isRefetchError: false;
|
|
50081
|
-
isSuccess: true;
|
|
50082
|
-
isPlaceholderData: true;
|
|
50083
|
-
status: "success";
|
|
50084
|
-
dataUpdatedAt: number;
|
|
50085
|
-
errorUpdatedAt: number;
|
|
50086
|
-
failureCount: number;
|
|
50087
|
-
failureReason: viem0.ReadContractErrorType | null;
|
|
50088
|
-
errorUpdateCount: number;
|
|
50089
|
-
isFetched: boolean;
|
|
50090
|
-
isFetchedAfterMount: boolean;
|
|
50091
|
-
isFetching: boolean;
|
|
50092
|
-
isInitialLoading: boolean;
|
|
50093
|
-
isPaused: boolean;
|
|
50094
|
-
isRefetching: boolean;
|
|
50095
|
-
isStale: boolean;
|
|
50096
|
-
isEnabled: boolean;
|
|
50097
|
-
refetch: (options?: _tanstack_query_core23.RefetchOptions) => Promise<_tanstack_query_core23.QueryObserverResult<{
|
|
50098
|
-
openingFeeRate: number;
|
|
50099
|
-
baseFeeRate: number;
|
|
50100
|
-
minOpeningFee: bigint;
|
|
50101
|
-
minBaseFee: bigint;
|
|
50102
|
-
}, viem0.ReadContractErrorType>>;
|
|
50103
|
-
fetchStatus: _tanstack_query_core23.FetchStatus;
|
|
50104
|
-
promise: Promise<{
|
|
50105
|
-
openingFeeRate: number;
|
|
50106
|
-
baseFeeRate: number;
|
|
50107
|
-
minOpeningFee: bigint;
|
|
50108
|
-
minBaseFee: bigint;
|
|
50109
|
-
}>;
|
|
50110
|
-
queryKey: _tanstack_query_core23.QueryKey;
|
|
50111
|
-
data: Partial<NonUndefinedGuard<{
|
|
50112
|
-
openingFeeRate: number;
|
|
50113
|
-
baseFeeRate: number;
|
|
50114
|
-
minOpeningFee: bigint;
|
|
50115
|
-
minBaseFee: bigint;
|
|
50116
|
-
} | undefined>>;
|
|
50117
|
-
};
|
|
49859
|
+
declare const useFeeRates: (feeStrategy?: Address) => Partial<NonUndefinedGuard<{
|
|
49860
|
+
openingFeeRate: number;
|
|
49861
|
+
baseFeeRate: number;
|
|
49862
|
+
minOpeningFee: bigint;
|
|
49863
|
+
minBaseFee: bigint;
|
|
49864
|
+
} | undefined>>;
|
|
50118
49865
|
//#endregion
|
|
50119
49866
|
//#region src/hooks/useLens.d.ts
|
|
50120
49867
|
declare const useLens: () => {
|
|
@@ -86743,4 +86490,4 @@ declare const useLens: () => {
|
|
|
86743
86490
|
};
|
|
86744
86491
|
//#endregion
|
|
86745
86492
|
export { useUserPerps as $, getNearestValidStrikeTick as A, useExerciseOption as At, token0ToToken1AtTick as B, UniswapMathLens as Bt, PoolKey as C, wrapAmount as Ct, getPayoutAtTick as D, zero as Dt, getPayoutAtPrice as E, wrapPriceUnscaled as Et, liquiditiesToAmount0 as F, useCurrentMarket as Ft, PriceResolution as G, stateViews as Gt, token1ToToken0AtTick as H, getStateView as Ht, liquiditiesToAmount1 as I, useTimelockConfig as It, useSetOperatorPerms as J, timelockLenses as Jt, getCurrentPrice as K, swapRouters as Kt, liquiditiesToAmounts as L, TimelockLens as Lt, getPriceAtTick as M, useActiveUserOptions as Mt, getSqrtPriceX96AtPrice as N, useClosedUserOptions as Nt, PRICE_PRECISION as O, useMarketVolume as Ot, getTickAtPrice as P, TimelockProvider as Pt, useClosedUserPerps as Q, roundTick as R, TimelockMarket as Rt, useCurrentPrice as S, unscalePrice as St, usePoolData as T, wrapPrice as Tt, PriceData as U, getTimelockLens as Ut, token1ToToken0 as V, getErc20 as Vt, PriceDataPoint as W, getTimelockMarket as Wt, useOperatorPerms as X, useUserOperators as Y, useActiveUserPerps as Z, useMarketPriceHistory as _, formatUSD as _t, useGuardianGlobalState as a, MintOptionEvent as at, usePriceAtTick as b, scalePrice as bt, TokenData as c, useExtendOption as ct, useVaultData as d, useMintOption as dt, usePerpsOperator as et, batchGetAmountsFromLiquidity as f, useMaxPositionSize as ft, useBurnLiquidity as g, formatCondensed as gt, useLiquidityBlocks as h, formatAmount as ht, usePauseGlobalTrading as i, ExtendEvent as it, getPriceAtSqrtPriceX96 as j, OptionData as jt, getAmountsFromLiquidity as k, useMarketData as kt, useTokenData as l, useOptionPremium as lt, LiquidityBlockData as m, EMPTY_ARRAY as mt, useFeeRates as n, useMintPerp as nt, useApproval as o, OptionEvent as ot, useMintLiquidity as p, Amount as pt, getPriceHistory as q, swappers as qt, usePauseMarketTrading as r, ExerciseOptionEvent as rt, useTokenBalance as s, useOptionTimeline as st, useLens as t, useClosePerp as tt, useVaultTVL as u, useOptionPnl as ut, usePriceHistory as v, formatVagueAmount as vt, UniswapPoolData as w, wrapAmountUnscaled as wt, useCurrentTick as x, unscaleAmount as xt, usePriceAtSqrtPriceX96 as y, scaleAmount as yt, token0ToToken1 as z, TimelockMarketData as zt };
|
|
86746
|
-
//# sourceMappingURL=client-
|
|
86493
|
+
//# sourceMappingURL=client-CSYKjcyD.d.cts.map
|