timelock-sdk 0.0.194 → 0.0.195
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-COGIhgfu.d.cts → client-BPSH9Qlw.d.cts} +7 -7
- package/dist/{client-PzQKkikV.d.ts → client-DjkHbXra.d.ts} +612 -612
- 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/{optionUtils-BdSKsVVS.js → optionUtils-3iti3bSY.js} +13 -10
- package/dist/optionUtils-3iti3bSY.js.map +1 -0
- package/dist/{optionUtils-DfDohN6H.cjs → optionUtils-C65WRbDm.cjs} +13 -10
- package/dist/optionUtils-C65WRbDm.cjs.map +1 -0
- package/dist/package.cjs +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/dist/package.js +1 -1
- package/package.json +1 -1
- package/dist/optionUtils-BdSKsVVS.js.map +0 -1
- package/dist/optionUtils-DfDohN6H.cjs.map +0 -1
|
@@ -49372,7 +49372,7 @@ declare const useMarketVolume: (marketAddr: Address | undefined) => _tanstack_re
|
|
|
49372
49372
|
type Amount = {
|
|
49373
49373
|
scaled: bigint;
|
|
49374
49374
|
unscaled: Big;
|
|
49375
|
-
|
|
49375
|
+
scalingFactor: bigint;
|
|
49376
49376
|
formatted: string;
|
|
49377
49377
|
};
|
|
49378
49378
|
declare const zero: Amount;
|
|
@@ -49382,7 +49382,7 @@ declare const wrapPrice: (scaled: bigint, decimals0: number, decimals1: number)
|
|
|
49382
49382
|
declare const wrapPriceUnscaled: (unscaled: Big | number | string, decimals0: number, decimals1: number) => Amount;
|
|
49383
49383
|
declare const unscaleAmount: (scaled: bigint, decimals: number) => Big.Big;
|
|
49384
49384
|
declare const scaleAmount: (unscaled: Big | number | string, decimals: number) => bigint;
|
|
49385
|
-
declare const unscalePrice: (scaled: bigint, decimals0: number, decimals1: number
|
|
49385
|
+
declare const unscalePrice: (scaled: bigint, decimals0: number, decimals1: number) => Big.Big;
|
|
49386
49386
|
declare const scalePrice: (unscaled: Big | number | string, decimals0: number, decimals1: number, precision?: number) => bigint;
|
|
49387
49387
|
declare const formatAmount: (value?: Big | number | string) => string;
|
|
49388
49388
|
declare const formatVagueAmount: (value: Big | number | bigint | string, fractionDigits?: number) => string;
|
|
@@ -55155,8 +55155,8 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55155
55155
|
context: unknown;
|
|
55156
55156
|
submittedAt: number;
|
|
55157
55157
|
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55158
|
-
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55159
55158
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55159
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55160
55160
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55161
55161
|
model: "static";
|
|
55162
55162
|
} : Partial<OptionPricingParams> & {
|
|
@@ -55326,8 +55326,8 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55326
55326
|
context: unknown;
|
|
55327
55327
|
submittedAt: number;
|
|
55328
55328
|
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55329
|
-
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55330
55329
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55330
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55331
55331
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55332
55332
|
model: "static";
|
|
55333
55333
|
} : Partial<OptionPricingParams> & {
|
|
@@ -55497,8 +55497,8 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55497
55497
|
context: unknown;
|
|
55498
55498
|
submittedAt: number;
|
|
55499
55499
|
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55500
|
-
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55501
55500
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55501
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55502
55502
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55503
55503
|
model: "static";
|
|
55504
55504
|
} : Partial<OptionPricingParams> & {
|
|
@@ -55668,8 +55668,8 @@ declare const useUpdateMarketPricing: (marketAddr: Address | undefined) => {
|
|
|
55668
55668
|
context: unknown;
|
|
55669
55669
|
submittedAt: number;
|
|
55670
55670
|
mutate: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55671
|
-
mutateAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55672
55671
|
writeContract: wagmi_query0.WriteContractMutate<wagmi0.Config, unknown>;
|
|
55672
|
+
writeContractAsync: wagmi_query0.WriteContractMutateAsync<wagmi0.Config, unknown>;
|
|
55673
55673
|
updateMarketPricing: <T$1 extends "static" | "bsm">(data: T$1 extends "static" ? Partial<StaticPricingParams> & {
|
|
55674
55674
|
model: "static";
|
|
55675
55675
|
} : Partial<OptionPricingParams> & {
|
|
@@ -98004,4 +98004,4 @@ declare const useLens: () => {
|
|
|
98004
98004
|
};
|
|
98005
98005
|
//#endregion
|
|
98006
98006
|
export { PriceResolution as $, swapRouters as $t, useCurrentPrice as A, scaleAmount as At, getPriceAtTick as B, useMarketState as Bt, useLiquidityBlocks as C, useMintOption as Ct, usePriceAtSqrtPriceX96 as D, formatCondensed as Dt, usePriceHistory as E, formatAmount as Et, getPayoutAtTick as F, wrapAmountUnscaled as Ft, liquiditiesToAmounts as G, TimelockLens as Gt, getTickAtPrice as H, TimelockProvider as Ht, PRICE_PRECISION as I, wrapPrice as It, token0ToToken1AtTick as J, getErc20 as Jt, roundTick as K, TimelockMarket as Kt, getAmountsFromLiquidity as L, wrapPriceUnscaled as Lt, UniswapPoolData as M, unscaleAmount as Mt, usePoolData as N, unscalePrice as Nt, usePriceAtTick as O, formatUSD as Ot, getPayoutAtPrice as P, wrapAmount as Pt, PriceDataPoint as Q, stateViews as Qt, getNearestValidStrikeTick as R, zero as Rt, LiquidityBlockData as S, useClosedUserOptions as St, useMarketPriceHistory as T, Amount as Tt, liquiditiesToAmount0 as U, useCurrentMarket as Ut, getSqrtPriceX96AtPrice as V, useMarketData as Vt, liquiditiesToAmount1 as W, useTimelockConfig as Wt, token1ToToken0AtTick as X, getTimelockLens as Xt, token1ToToken0 as Y, getStateView as Yt, PriceData as Z, getTimelockMarket as Zt, useTokenData as _, useOptionPremium as _t, OptionPricingParams as a, useActiveUserPerps as at, batchGetAmountsFromLiquidity as b, OptionData as bt, usePricingParams as c, usePerpsOperator as ct, usePauseMarketTrading as d, ExerciseOptionEvent as dt, swappers as en, getCurrentPrice as et, usePauseGlobalTrading as f, ExtendEvent as ft, TokenData as g, useExtendOption as gt, useTokenBalance as h, useOptionTimeline as ht, useOptionPricingParams as i, useOperatorPerms as it, PoolKey as j, scalePrice as jt, useCurrentTick as k, formatVagueAmount as kt, useUpdateMarketFees as l, useClosePerp as lt, useApproval as m, OptionEvent as mt, useUpdateMarketPricing as n, timelockLenses as nn, useSetOperatorPerms as nt, PricingParams as o, useClosedUserPerps as ot, useGuardianGlobalState as p, MintOptionEvent as pt, token0ToToken1 as q, TimelockMarketData as qt, useStaticPricingParams as r, useUserOperators as rt, StaticPricingParams as s, useUserPerps as st, useLens as t, timelockFactories as tn, getPriceHistory as tt, useFeeRates as u, useMintPerp as ut, useVaultTVL as v, useOptionPnl as vt, useBurnLiquidity as w, useMaxPositionSize as wt, useMintLiquidity as x, useActiveUserOptions as xt, useVaultData as y, useExerciseOption as yt, getPriceAtSqrtPriceX96 as z, useMarketVolume as zt };
|
|
98007
|
-
//# sourceMappingURL=client-
|
|
98007
|
+
//# sourceMappingURL=client-BPSH9Qlw.d.cts.map
|