timelock-sdk 0.0.170 → 0.0.171
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-TkINcahD.d.cts → client-D8PQJ5jx.d.ts} +47 -55
- package/dist/{client-BfLaXyXb.d.ts → client-DcBcQgLv.d.cts} +52 -60
- package/dist/client.cjs +2 -2
- 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 +2 -2
- 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
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-
|
|
1
|
+
import { n as lensAbi, t as optionsMarketAbi } from "./optionsMarket-2HZ-p_dl.js";
|
|
2
2
|
import * as viem0 from "viem";
|
|
3
3
|
import { Address, Client, GetContractReturnType, Hex, PublicClient } from "viem";
|
|
4
|
+
import Big from "big.js";
|
|
5
|
+
import JSBI from "jsbi";
|
|
4
6
|
import React, { ReactNode } from "react";
|
|
5
|
-
import "graphql";
|
|
6
7
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
8
|
+
import * as wagmi0 from "wagmi";
|
|
7
9
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
8
10
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
11
|
+
import "graphql";
|
|
9
12
|
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
10
|
-
import Big from "big.js";
|
|
11
|
-
import JSBI from "jsbi";
|
|
12
13
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
13
|
-
import * as wagmi0 from "wagmi";
|
|
14
14
|
import * as wagmi_query0 from "wagmi/query";
|
|
15
15
|
import * as abitype0 from "abitype";
|
|
16
16
|
|
|
@@ -48188,7 +48188,7 @@ declare const useCurrentMarket: () => Partial<TimelockMarketData>;
|
|
|
48188
48188
|
declare const useTimelockConfig: () => TimelockContextValue;
|
|
48189
48189
|
//#endregion
|
|
48190
48190
|
//#region src/hooks/options/useMarketData.d.ts
|
|
48191
|
-
declare const useMarketData: (marketAddr
|
|
48191
|
+
declare const useMarketData: (marketAddr: Address | undefined) => Partial<NonUndefinedGuard<{
|
|
48192
48192
|
guardian: `0x${string}`;
|
|
48193
48193
|
vault: `0x${string}`;
|
|
48194
48194
|
poolManager: `0x${string}`;
|
|
@@ -48211,7 +48211,7 @@ declare const useMarketData: (marketAddr?: Address) => Partial<NonUndefinedGuard
|
|
|
48211
48211
|
} | undefined>>;
|
|
48212
48212
|
//#endregion
|
|
48213
48213
|
//#region src/hooks/options/useMarketState.d.ts
|
|
48214
|
-
declare const useMarketState: (marketAddr
|
|
48214
|
+
declare const useMarketState: (marketAddr: Address | undefined) => {
|
|
48215
48215
|
error: viem0.ReadContractErrorType;
|
|
48216
48216
|
isError: true;
|
|
48217
48217
|
isPending: false;
|
|
@@ -48472,7 +48472,7 @@ declare const useMarketState: (marketAddr?: Address) => {
|
|
|
48472
48472
|
};
|
|
48473
48473
|
//#endregion
|
|
48474
48474
|
//#region src/hooks/options/useMarketVolume.d.ts
|
|
48475
|
-
declare const useMarketVolume: (marketAddr
|
|
48475
|
+
declare const useMarketVolume: (marketAddr: Address | undefined) => {
|
|
48476
48476
|
error: Error;
|
|
48477
48477
|
isError: true;
|
|
48478
48478
|
isPending: false;
|
|
@@ -48962,7 +48962,7 @@ declare const useMaxPositionSize: (marketAddr: Address | undefined, strikeTick?:
|
|
|
48962
48962
|
};
|
|
48963
48963
|
//#endregion
|
|
48964
48964
|
//#region src/hooks/options/useMintOption.d.ts
|
|
48965
|
-
declare const useMintOption: (marketAddr
|
|
48965
|
+
declare const useMintOption: (marketAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
48966
48966
|
optionType: "CALL" | "PUT";
|
|
48967
48967
|
amount: bigint;
|
|
48968
48968
|
duration: number;
|
|
@@ -48972,7 +48972,7 @@ declare const useMintOption: (marketAddr?: Address) => _tanstack_react_query0.Us
|
|
|
48972
48972
|
//#endregion
|
|
48973
48973
|
//#region src/hooks/options/useUserOptions.d.ts
|
|
48974
48974
|
type OptionData = ReturnType<typeof useUserOptions>['data'][0];
|
|
48975
|
-
declare const useUserOptions: (userAddr
|
|
48975
|
+
declare const useUserOptions: (userAddr: Address | undefined, marketAddr: Address | "*" | undefined, active?: boolean) => {
|
|
48976
48976
|
error: Error;
|
|
48977
48977
|
isError: true;
|
|
48978
48978
|
isPending: false;
|
|
@@ -51029,7 +51029,7 @@ declare const useClosedUserOptions: (userAddr?: Address, marketAddr?: Address |
|
|
|
51029
51029
|
};
|
|
51030
51030
|
//#endregion
|
|
51031
51031
|
//#region src/hooks/options/useExerciseOption.d.ts
|
|
51032
|
-
declare const useExerciseOption: (marketAddr
|
|
51032
|
+
declare const useExerciseOption: (marketAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
51033
51033
|
option: OptionData;
|
|
51034
51034
|
liquidities: readonly bigint[];
|
|
51035
51035
|
}, unknown>;
|
|
@@ -51052,7 +51052,7 @@ declare const useOptionPremium: (marketAddr: Address | undefined, optionType: "C
|
|
|
51052
51052
|
};
|
|
51053
51053
|
//#endregion
|
|
51054
51054
|
//#region src/hooks/options/useExtendOption.d.ts
|
|
51055
|
-
declare const useExtendOption: (marketAddr
|
|
51055
|
+
declare const useExtendOption: (marketAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
51056
51056
|
option: OptionData;
|
|
51057
51057
|
duration: number;
|
|
51058
51058
|
}, unknown>;
|
|
@@ -51068,7 +51068,7 @@ type ExerciseOptionEvent = Extract<OptionEvent, {
|
|
|
51068
51068
|
type ExtendEvent = Extract<OptionEvent, {
|
|
51069
51069
|
type: 'extend';
|
|
51070
51070
|
}>;
|
|
51071
|
-
declare const useOptionTimeline: (marketAddr
|
|
51071
|
+
declare const useOptionTimeline: (marketAddr: Address | undefined, optionId: bigint | undefined) => {
|
|
51072
51072
|
error: Error;
|
|
51073
51073
|
isError: true;
|
|
51074
51074
|
isPending: false;
|
|
@@ -51917,7 +51917,7 @@ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
|
|
|
51917
51917
|
};
|
|
51918
51918
|
//#endregion
|
|
51919
51919
|
//#region src/hooks/perps/useMintPerp.d.ts
|
|
51920
|
-
declare const useMintPerp: (marketAddr
|
|
51920
|
+
declare const useMintPerp: (marketAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<void, Error, {
|
|
51921
51921
|
optionType: "CALL" | "PUT";
|
|
51922
51922
|
amount: bigint;
|
|
51923
51923
|
duration: number;
|
|
@@ -51935,7 +51935,7 @@ declare const usePerpsOperator: () => {
|
|
|
51935
51935
|
};
|
|
51936
51936
|
//#endregion
|
|
51937
51937
|
//#region src/hooks/perps/useUserPerps.d.ts
|
|
51938
|
-
declare const useUserPerps: (marketAddr
|
|
51938
|
+
declare const useUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined, type: "active" | "closed" | undefined) => {
|
|
51939
51939
|
error: Error;
|
|
51940
51940
|
isError: true;
|
|
51941
51941
|
isPending: false;
|
|
@@ -52242,7 +52242,7 @@ declare const useUserPerps: (marketAddr?: Address, userAddr?: Address, type?: "a
|
|
|
52242
52242
|
closed: boolean;
|
|
52243
52243
|
}[];
|
|
52244
52244
|
};
|
|
52245
|
-
declare const useActiveUserPerps: (marketAddr
|
|
52245
|
+
declare const useActiveUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) => {
|
|
52246
52246
|
error: Error;
|
|
52247
52247
|
isError: true;
|
|
52248
52248
|
isPending: false;
|
|
@@ -52549,7 +52549,7 @@ declare const useActiveUserPerps: (marketAddr?: Address, userAddr?: Address) =>
|
|
|
52549
52549
|
closed: boolean;
|
|
52550
52550
|
}[];
|
|
52551
52551
|
};
|
|
52552
|
-
declare const useClosedUserPerps: (marketAddr
|
|
52552
|
+
declare const useClosedUserPerps: (marketAddr: Address | undefined, userAddr: Address | undefined) => {
|
|
52553
52553
|
error: Error;
|
|
52554
52554
|
isError: true;
|
|
52555
52555
|
isPending: false;
|
|
@@ -53470,7 +53470,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
53470
53470
|
};
|
|
53471
53471
|
//#endregion
|
|
53472
53472
|
//#region src/hooks/operators/useSetOperatorPerms.d.ts
|
|
53473
|
-
declare const useSetOperatorPerms: (marketAddr
|
|
53473
|
+
declare const useSetOperatorPerms: (marketAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<`0x${string}`, Error, {
|
|
53474
53474
|
operator: Address;
|
|
53475
53475
|
canExtend: boolean;
|
|
53476
53476
|
canExercise: boolean;
|
|
@@ -53792,7 +53792,7 @@ interface BurnPosition {
|
|
|
53792
53792
|
tickUpper: number;
|
|
53793
53793
|
liquidity: bigint;
|
|
53794
53794
|
}
|
|
53795
|
-
declare const useBurnLiquidity: (vaultAddr
|
|
53795
|
+
declare const useBurnLiquidity: (vaultAddr: Address | undefined) => {
|
|
53796
53796
|
burnMultiple: (positions: BurnPosition[]) => Promise<void>;
|
|
53797
53797
|
burn: (tickLower: number, tickUpper: number, liquidity: bigint) => Promise<`0x${string}`>;
|
|
53798
53798
|
hash: `0x${string}` | undefined;
|
|
@@ -53805,7 +53805,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
53805
53805
|
//#endregion
|
|
53806
53806
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
53807
53807
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
53808
|
-
declare const useLiquidityBlocks: (vaultAddr
|
|
53808
|
+
declare const useLiquidityBlocks: (vaultAddr: Address | undefined) => {
|
|
53809
53809
|
error: viem0.ReadContractErrorType;
|
|
53810
53810
|
isError: true;
|
|
53811
53811
|
isPending: false;
|
|
@@ -54203,10 +54203,10 @@ interface MintPositionParams {
|
|
|
54203
54203
|
tickUpper: number;
|
|
54204
54204
|
liquidity: bigint;
|
|
54205
54205
|
}
|
|
54206
|
-
declare const useMintLiquidity: (vaultAddr
|
|
54206
|
+
declare const useMintLiquidity: (vaultAddr: Address | undefined) => _tanstack_react_query0.UseMutationResult<void, Error, MintPositionParams | MintPositionParams[], unknown>;
|
|
54207
54207
|
//#endregion
|
|
54208
54208
|
//#region src/hooks/vault/useVaultData.d.ts
|
|
54209
|
-
declare const useVaultData: (vaultAddr
|
|
54209
|
+
declare const useVaultData: (vaultAddr: Address | undefined) => Partial<NonUndefinedGuard<{
|
|
54210
54210
|
poolManager: `0x${string}`;
|
|
54211
54211
|
poolKey: {
|
|
54212
54212
|
currency0: `0x${string}`;
|
|
@@ -54219,7 +54219,7 @@ declare const useVaultData: (vaultAddr?: Address) => Partial<NonUndefinedGuard<{
|
|
|
54219
54219
|
} | undefined>>;
|
|
54220
54220
|
//#endregion
|
|
54221
54221
|
//#region src/hooks/vault/useVaultTVL.d.ts
|
|
54222
|
-
declare const useVaultTVL: (vaultAddr
|
|
54222
|
+
declare const useVaultTVL: (vaultAddr: Address | undefined) => {
|
|
54223
54223
|
tvlAs0?: undefined;
|
|
54224
54224
|
tvlAs1?: undefined;
|
|
54225
54225
|
total0?: undefined;
|
|
@@ -54241,7 +54241,7 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
54241
54241
|
//#endregion
|
|
54242
54242
|
//#region src/hooks/tokens/useTokenData.d.ts
|
|
54243
54243
|
type TokenData = ReturnType<typeof useTokenData>;
|
|
54244
|
-
declare const useTokenData: (tokenAddr
|
|
54244
|
+
declare const useTokenData: (tokenAddr: Address | undefined) => Partial<NonUndefinedGuard<{
|
|
54245
54245
|
decimals: number;
|
|
54246
54246
|
symbol: string;
|
|
54247
54247
|
name: string;
|
|
@@ -54887,13 +54887,9 @@ declare const useGuardianGlobalState: (guardianAddr?: Address) => {
|
|
|
54887
54887
|
};
|
|
54888
54888
|
//#endregion
|
|
54889
54889
|
//#region src/hooks/guardian/usePauseGlobalTrading.d.ts
|
|
54890
|
-
declare const usePauseGlobalTrading: ({
|
|
54891
|
-
marketAddr
|
|
54892
|
-
}: {
|
|
54893
|
-
marketAddr?: Address;
|
|
54894
|
-
}) => {
|
|
54895
|
-
error: null;
|
|
54890
|
+
declare const usePauseGlobalTrading: (marketAddr: Address | undefined) => {
|
|
54896
54891
|
data: undefined;
|
|
54892
|
+
error: null;
|
|
54897
54893
|
status: "idle";
|
|
54898
54894
|
isError: false;
|
|
54899
54895
|
isPending: false;
|
|
@@ -54909,8 +54905,8 @@ declare const usePauseGlobalTrading: ({
|
|
|
54909
54905
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
54910
54906
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
54911
54907
|
} | {
|
|
54912
|
-
error: null;
|
|
54913
54908
|
data: undefined;
|
|
54909
|
+
error: null;
|
|
54914
54910
|
status: "pending";
|
|
54915
54911
|
isError: false;
|
|
54916
54912
|
isPending: true;
|
|
@@ -55070,8 +55066,8 @@ declare const usePauseGlobalTrading: ({
|
|
|
55070
55066
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55071
55067
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
55072
55068
|
} | {
|
|
55073
|
-
error: _wagmi_core0.WriteContractErrorType;
|
|
55074
55069
|
data: undefined;
|
|
55070
|
+
error: _wagmi_core0.WriteContractErrorType;
|
|
55075
55071
|
status: "error";
|
|
55076
55072
|
isError: true;
|
|
55077
55073
|
isPending: false;
|
|
@@ -55231,8 +55227,8 @@ declare const usePauseGlobalTrading: ({
|
|
|
55231
55227
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55232
55228
|
pauseGlobalTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
55233
55229
|
} | {
|
|
55234
|
-
error: null;
|
|
55235
55230
|
data: `0x${string}`;
|
|
55231
|
+
error: null;
|
|
55236
55232
|
status: "success";
|
|
55237
55233
|
isError: false;
|
|
55238
55234
|
isPending: false;
|
|
@@ -55394,13 +55390,9 @@ declare const usePauseGlobalTrading: ({
|
|
|
55394
55390
|
};
|
|
55395
55391
|
//#endregion
|
|
55396
55392
|
//#region src/hooks/guardian/usePauseMarketTrading.d.ts
|
|
55397
|
-
declare const usePauseMarketTrading: ({
|
|
55398
|
-
marketAddr
|
|
55399
|
-
}: {
|
|
55400
|
-
marketAddr?: Address;
|
|
55401
|
-
}) => {
|
|
55402
|
-
error: null;
|
|
55393
|
+
declare const usePauseMarketTrading: (marketAddr: Address | undefined) => {
|
|
55403
55394
|
data: undefined;
|
|
55395
|
+
error: null;
|
|
55404
55396
|
status: "idle";
|
|
55405
55397
|
isError: false;
|
|
55406
55398
|
isPending: false;
|
|
@@ -55416,8 +55408,8 @@ declare const usePauseMarketTrading: ({
|
|
|
55416
55408
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55417
55409
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
55418
55410
|
} | {
|
|
55419
|
-
error: null;
|
|
55420
55411
|
data: undefined;
|
|
55412
|
+
error: null;
|
|
55421
55413
|
status: "pending";
|
|
55422
55414
|
isError: false;
|
|
55423
55415
|
isPending: true;
|
|
@@ -55577,8 +55569,8 @@ declare const usePauseMarketTrading: ({
|
|
|
55577
55569
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55578
55570
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
55579
55571
|
} | {
|
|
55580
|
-
error: _wagmi_core0.WriteContractErrorType;
|
|
55581
55572
|
data: undefined;
|
|
55573
|
+
error: _wagmi_core0.WriteContractErrorType;
|
|
55582
55574
|
status: "error";
|
|
55583
55575
|
isError: true;
|
|
55584
55576
|
isPending: false;
|
|
@@ -55738,8 +55730,8 @@ declare const usePauseMarketTrading: ({
|
|
|
55738
55730
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55739
55731
|
pauseMarketTrading: (paused: boolean) => Promise<`0x${string}`>;
|
|
55740
55732
|
} | {
|
|
55741
|
-
error: null;
|
|
55742
55733
|
data: `0x${string}`;
|
|
55734
|
+
error: null;
|
|
55743
55735
|
status: "success";
|
|
55744
55736
|
isError: false;
|
|
55745
55737
|
isPending: false;
|
|
@@ -55911,8 +55903,8 @@ declare const useFeeRates: (feeStrategy?: Address) => Partial<NonUndefinedGuard<
|
|
|
55911
55903
|
//#endregion
|
|
55912
55904
|
//#region src/hooks/fees/useUpdateMarketFees.d.ts
|
|
55913
55905
|
declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
55914
|
-
error: null;
|
|
55915
55906
|
data: undefined;
|
|
55907
|
+
error: null;
|
|
55916
55908
|
status: "idle";
|
|
55917
55909
|
isError: false;
|
|
55918
55910
|
isPending: false;
|
|
@@ -55938,8 +55930,8 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
55938
55930
|
newFeeStrategy: `0x${string}`;
|
|
55939
55931
|
}>;
|
|
55940
55932
|
} | {
|
|
55941
|
-
error: null;
|
|
55942
55933
|
data: undefined;
|
|
55934
|
+
error: null;
|
|
55943
55935
|
status: "pending";
|
|
55944
55936
|
isError: false;
|
|
55945
55937
|
isPending: true;
|
|
@@ -56109,8 +56101,8 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
56109
56101
|
newFeeStrategy: `0x${string}`;
|
|
56110
56102
|
}>;
|
|
56111
56103
|
} | {
|
|
56112
|
-
error: _wagmi_core0.WriteContractErrorType;
|
|
56113
56104
|
data: undefined;
|
|
56105
|
+
error: _wagmi_core0.WriteContractErrorType;
|
|
56114
56106
|
status: "error";
|
|
56115
56107
|
isError: true;
|
|
56116
56108
|
isPending: false;
|
|
@@ -56280,8 +56272,8 @@ declare const useUpdateMarketFees: (marketAddr: Address) => {
|
|
|
56280
56272
|
newFeeStrategy: `0x${string}`;
|
|
56281
56273
|
}>;
|
|
56282
56274
|
} | {
|
|
56283
|
-
error: null;
|
|
56284
56275
|
data: `0x${string}`;
|
|
56276
|
+
error: null;
|
|
56285
56277
|
status: "success";
|
|
56286
56278
|
isError: false;
|
|
56287
56279
|
isPending: false;
|
|
@@ -56467,7 +56459,7 @@ type OptionPricingParams = {
|
|
|
56467
56459
|
minPremiumAmount: bigint;
|
|
56468
56460
|
};
|
|
56469
56461
|
type PricingParams = StaticPricingParams | OptionPricingParams;
|
|
56470
|
-
declare const usePricingParams: (pricingAddr
|
|
56462
|
+
declare const usePricingParams: (pricingAddr: Address | undefined) => wagmi0.UseReadContractReturnType<readonly [{
|
|
56471
56463
|
readonly type: "function";
|
|
56472
56464
|
readonly name: "batchGetRefTick";
|
|
56473
56465
|
readonly inputs: readonly [{
|
|
@@ -57408,7 +57400,7 @@ declare const usePricingParams: (pricingAddr?: Address) => wagmi0.UseReadContrac
|
|
|
57408
57400
|
}], "getPricingParams", readonly [`0x${string}`], PricingParams>;
|
|
57409
57401
|
//#endregion
|
|
57410
57402
|
//#region src/hooks/pricing/useOptionPricingParams.d.ts
|
|
57411
|
-
declare const useOptionPricingParams: (pricingAddr
|
|
57403
|
+
declare const useOptionPricingParams: (pricingAddr: Address | undefined) => Partial<NonUndefinedGuard<{
|
|
57412
57404
|
logicContract: `0x${string}`;
|
|
57413
57405
|
iv: number;
|
|
57414
57406
|
riskFreeRate: number;
|
|
@@ -57417,15 +57409,15 @@ declare const useOptionPricingParams: (pricingAddr?: Address) => Partial<NonUnde
|
|
|
57417
57409
|
} | undefined>>;
|
|
57418
57410
|
//#endregion
|
|
57419
57411
|
//#region src/hooks/pricing/useStaticPricingParams.d.ts
|
|
57420
|
-
declare const useStaticPricingParams: (pricingAddr
|
|
57412
|
+
declare const useStaticPricingParams: (pricingAddr: Address | undefined) => Partial<NonUndefinedGuard<{
|
|
57421
57413
|
dailyFundingRate: number;
|
|
57422
57414
|
minFundingAmount: bigint;
|
|
57423
57415
|
} | undefined>>;
|
|
57424
57416
|
//#endregion
|
|
57425
57417
|
//#region src/hooks/pricing/useUpdateMarketPricing.d.ts
|
|
57426
|
-
declare const useUpdateMarketPricing: (marketAddr
|
|
57427
|
-
error: null;
|
|
57418
|
+
declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
57428
57419
|
data: undefined;
|
|
57420
|
+
error: null;
|
|
57429
57421
|
status: "idle";
|
|
57430
57422
|
isError: false;
|
|
57431
57423
|
isPending: false;
|
|
@@ -57449,8 +57441,8 @@ declare const useUpdateMarketPricing: (marketAddr?: Address) => {
|
|
|
57449
57441
|
newPricingAddr: `0x${string}`;
|
|
57450
57442
|
}>;
|
|
57451
57443
|
} | {
|
|
57452
|
-
error: null;
|
|
57453
57444
|
data: undefined;
|
|
57445
|
+
error: null;
|
|
57454
57446
|
status: "pending";
|
|
57455
57447
|
isError: false;
|
|
57456
57448
|
isPending: true;
|
|
@@ -57618,8 +57610,8 @@ declare const useUpdateMarketPricing: (marketAddr?: Address) => {
|
|
|
57618
57610
|
newPricingAddr: `0x${string}`;
|
|
57619
57611
|
}>;
|
|
57620
57612
|
} | {
|
|
57621
|
-
error: _wagmi_core0.WriteContractErrorType;
|
|
57622
57613
|
data: undefined;
|
|
57614
|
+
error: _wagmi_core0.WriteContractErrorType;
|
|
57623
57615
|
status: "error";
|
|
57624
57616
|
isError: true;
|
|
57625
57617
|
isPending: false;
|
|
@@ -57787,8 +57779,8 @@ declare const useUpdateMarketPricing: (marketAddr?: Address) => {
|
|
|
57787
57779
|
newPricingAddr: `0x${string}`;
|
|
57788
57780
|
}>;
|
|
57789
57781
|
} | {
|
|
57790
|
-
error: null;
|
|
57791
57782
|
data: `0x${string}`;
|
|
57783
|
+
error: null;
|
|
57792
57784
|
status: "success";
|
|
57793
57785
|
isError: false;
|
|
57794
57786
|
isPending: false;
|
|
@@ -100091,4 +100083,4 @@ declare const useLens: () => {
|
|
|
100091
100083
|
};
|
|
100092
100084
|
//#endregion
|
|
100093
100085
|
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 };
|
|
100094
|
-
//# sourceMappingURL=client-
|
|
100086
|
+
//# sourceMappingURL=client-D8PQJ5jx.d.ts.map
|