timelock-sdk 0.0.106 → 0.0.108
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-DlkfUDwU.d.cts → client-D71s6e9Z.d.cts} +4 -4
- package/dist/{client-cOGBr2Ca.d.ts → client-_c3y1ZlX.d.ts} +138 -138
- package/dist/client.cjs +9 -9
- 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 +9 -9
- 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
|
@@ -34920,18 +34920,18 @@ type ExercisePerpBody = {
|
|
|
34920
34920
|
declare class PerpsOperator {
|
|
34921
34921
|
#private;
|
|
34922
34922
|
auth?: {
|
|
34923
|
-
|
|
34923
|
+
message: string;
|
|
34924
34924
|
signature: Hex;
|
|
34925
34925
|
};
|
|
34926
34926
|
constructor(baseUrl: string);
|
|
34927
34927
|
getOperatorAddr: () => Promise<Address>;
|
|
34928
34928
|
genAuthMessage: (userAddr: Address) => Promise<string>;
|
|
34929
|
-
validateAuthMessage: (
|
|
34929
|
+
validateAuthMessage: (message: string, signature: Hex) => Promise<{
|
|
34930
34930
|
address: `0x${string}`;
|
|
34931
34931
|
createdAt: number;
|
|
34932
34932
|
validUntil: number;
|
|
34933
34933
|
}>;
|
|
34934
|
-
setAuth: (
|
|
34934
|
+
setAuth: (message: string, signature: Hex) => void;
|
|
34935
34935
|
getUserPerps: (userAddr: Address, marketAddr?: Address, type?: "active" | "closed", offset?: number, limit?: number) => Promise<{
|
|
34936
34936
|
optionId: bigint;
|
|
34937
34937
|
id: string;
|
|
@@ -62854,4 +62854,4 @@ declare const useApproval: () => {
|
|
|
62854
62854
|
};
|
|
62855
62855
|
//#endregion
|
|
62856
62856
|
export { formatCondensed as $, PriceDataPoint as A, usePerpsOperator as B, liquiditiesToAmount1 as C, getErc20 as Ct, token0ToToken1 as D, timelockLenses as Dt, roundTickUp as E, getUniswapMathLens as Et, useUserOperators as F, useExtendOption as G, useMintPerp as H, useOperatorPerms as I, useMintOption as J, useOptionPremium as K, useActiveUserPerps as L, getCurrentPrice as M, getPriceHistory as N, token1ToToken0 as O, uniswapMathLenses as Ot, useSetOperatorPerms as P, formatAmount as Q, useClosedUserPerps as R, liquiditiesToAmount0 as S, UniswapMathLens as St, roundTickDown as T, getTimelockMarket as Tt, OptionTimelineData as U, useClosePerp as V, useOptionTimeline as W, Amount as X, useMaxPositionSize as Y, EMPTY_ARRAY as Z, PRICE_PRECISION as _, useCurrentMarket as _t, batchGetAmountsFromLiquidity as a, unscalePrice as at, getPriceAtTick as b, TimelockMarket as bt, useLiquidityBlocks as c, wrapPrice as ct, usePriceAtTick as d, useMarketData as dt, formatUSD as et, UniswapPoolData as f, useExerciseOption as ft, getPayoutAtTick as g, TimelockProvider as gt, useCurrentPrice as h, useClosedUserOptions as ht, useVaultData as i, unscaleAmount as it, PriceResolution as j, PriceData as k, useBurnLiquidity as l, wrapPriceUnscaled as lt, useCurrentTick as m, useActiveUserOptions as mt, useLens as n, scaleAmount as nt, useMintLiquidity as o, wrapAmount as ot, usePoolData as p, OptionData as pt, useOptionPnl as q, useVaultTVL as r, scalePrice as rt, LiquidityBlockData as s, wrapAmountUnscaled as st, useApproval as t, formatVagueAmount as tt, usePriceHistory as u, zero as ut, getAmountsFromLiquidity as v, useTimelockConfig as vt, liquiditiesToAmounts as w, getTimelockLens as wt, getTickAtPrice as x, TimelockMarketData as xt, getNearestValidStrikeTick as y, TimelockLens as yt, useUserPerps as z };
|
|
62857
|
-
//# sourceMappingURL=client-
|
|
62857
|
+
//# sourceMappingURL=client-D71s6e9Z.d.cts.map
|