timelock-sdk 0.0.143 → 0.0.144

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.
@@ -16973,13 +16973,13 @@ declare const getStateView: (client: Client | PublicClient) => {
16973
16973
  readonly internalType: "int128";
16974
16974
  }];
16975
16975
  readonly stateMutability: "view";
16976
- }], "getSlot0", readonly [`0x${string}`, {
16976
+ }], "getSlot0", readonly [`0x${string}`, `0x${string}`] | readonly [`0x${string}`, {
16977
16977
  currency0: `0x${string}`;
16978
16978
  currency1: `0x${string}`;
16979
16979
  fee: number;
16980
16980
  tickSpacing: number;
16981
16981
  hooks: `0x${string}`;
16982
- }] | readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, {
16982
+ }]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, {
16983
16983
  currency0: `0x${string}`;
16984
16984
  currency1: `0x${string}`;
16985
16985
  fee: number;
@@ -17820,13 +17820,13 @@ declare const getStateView: (client: Client | PublicClient) => {
17820
17820
  readonly internalType: "int128";
17821
17821
  }];
17822
17822
  readonly stateMutability: "view";
17823
- }], "getSlot0", readonly [`0x${string}`, {
17823
+ }], "getSlot0", readonly [`0x${string}`, `0x${string}`] | readonly [`0x${string}`, {
17824
17824
  currency0: `0x${string}`;
17825
17825
  currency1: `0x${string}`;
17826
17826
  fee: number;
17827
17827
  tickSpacing: number;
17828
17828
  hooks: `0x${string}`;
17829
- }] | readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
17829
+ }]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
17830
17830
  getTickBitmap: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
17831
17831
  readonly type: "function";
17832
17832
  readonly name: "getFeeGrowthGlobals";
@@ -66217,13 +66217,13 @@ declare const useLens: () => {
66217
66217
  readonly internalType: "int128";
66218
66218
  }];
66219
66219
  readonly stateMutability: "view";
66220
- }], "getSlot0", readonly [`0x${string}`, {
66220
+ }], "getSlot0", readonly [`0x${string}`, `0x${string}`] | readonly [`0x${string}`, {
66221
66221
  currency0: `0x${string}`;
66222
66222
  currency1: `0x${string}`;
66223
66223
  fee: number;
66224
66224
  tickSpacing: number;
66225
66225
  hooks: `0x${string}`;
66226
- }] | readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, {
66226
+ }]>, "address" | "abi" | "args" | "functionName">> | undefined] | [args: readonly [`0x${string}`, {
66227
66227
  currency0: `0x${string}`;
66228
66228
  currency1: `0x${string}`;
66229
66229
  fee: number;
@@ -67064,13 +67064,13 @@ declare const useLens: () => {
67064
67064
  readonly internalType: "int128";
67065
67065
  }];
67066
67066
  readonly stateMutability: "view";
67067
- }], "getSlot0", readonly [`0x${string}`, {
67067
+ }], "getSlot0", readonly [`0x${string}`, `0x${string}`] | readonly [`0x${string}`, {
67068
67068
  currency0: `0x${string}`;
67069
67069
  currency1: `0x${string}`;
67070
67070
  fee: number;
67071
67071
  tickSpacing: number;
67072
67072
  hooks: `0x${string}`;
67073
- }] | readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
67073
+ }]>, "address" | "abi" | "args" | "functionName">> | undefined]) => Promise<never>;
67074
67074
  getTickBitmap: (...parameters: [args: readonly [`0x${string}`, `0x${string}`, number], options?: viem184.Prettify<viem184.UnionOmit<viem184.ReadContractParameters<readonly [{
67075
67075
  readonly type: "function";
67076
67076
  readonly name: "getFeeGrowthGlobals";
@@ -74669,4 +74669,4 @@ declare const useLens: () => {
74669
74669
  };
74670
74670
  //#endregion
74671
74671
  export { ExerciseOptionEvent as $, getTickAtPrice as A, TimelockProvider as At, PriceDataPoint as B, getTimelockMarket as Bt, getPayoutAtTick as C, zero as Ct, getPriceAtSqrtPriceX96 as D, OptionData as Dt, getNearestValidStrikeTick as E, useExerciseOption as Et, token0ToToken1 as F, TimelockMarketData as Ft, useUserOperators as G, getCurrentPrice as H, swapRouters as Ht, token0ToToken1AtTick as I, UniswapMathLens as It, useClosedUserPerps as J, useOperatorPerms as K, token1ToToken0 as L, getErc20 as Lt, liquiditiesToAmount1 as M, useTimelockConfig as Mt, liquiditiesToAmounts as N, TimelockLens as Nt, getPriceAtTick as O, useActiveUserOptions as Ot, roundTick as P, TimelockMarket as Pt, useMintPerp as Q, token1ToToken0AtTick as R, getStateView as Rt, getPayoutAtPrice as S, wrapPriceUnscaled as St, getAmountsFromLiquidity as T, useMarketData as Tt, getPriceHistory as U, swappers as Ut, PriceResolution as V, stateViews as Vt, useSetOperatorPerms as W, timelockLenses as Wt, usePerpsOperator as X, useUserPerps as Y, useClosePerp as Z, useCurrentTick as _, unscaleAmount as _t, useTokenData as a, useOptionPremium as at, UniswapPoolData as b, wrapAmountUnscaled as bt, batchGetAmountsFromLiquidity as c, useMaxPositionSize as ct, useLiquidityBlocks as d, formatAmount as dt, ExtendEvent as et, useBurnLiquidity as f, formatCondensed as ft, usePriceAtTick as g, scalePrice as gt, usePriceAtSqrtPriceX96 as h, scaleAmount as ht, TokenData as i, useExtendOption as it, liquiditiesToAmount0 as j, useCurrentMarket as jt, getSqrtPriceX96AtPrice as k, useClosedUserOptions as kt, useMintLiquidity as l, Amount as lt, usePriceHistory as m, formatVagueAmount as mt, useApproval as n, OptionEvent as nt, useVaultTVL as o, useOptionPnl as ot, useMarketPriceHistory as p, formatUSD as pt, useActiveUserPerps as q, useTokenBalance as r, useOptionTimeline as rt, useVaultData as s, useMintOption as st, useLens as t, MintOptionEvent as tt, LiquidityBlockData as u, EMPTY_ARRAY as ut, useCurrentPrice as v, unscalePrice as vt, PRICE_PRECISION as w, useMarketVolume as wt, usePoolData as x, wrapPrice as xt, PoolKey as y, wrapAmount as yt, PriceData as z, getTimelockLens as zt };
74672
- //# sourceMappingURL=client-DyWSMO32.d.cts.map
74672
+ //# sourceMappingURL=client-BRzenCT7.d.cts.map
package/dist/client.cjs CHANGED
@@ -551,7 +551,7 @@ const useExerciseOption = (marketAddr) => {
551
551
  ], [
552
552
  poolKey,
553
553
  0n,
554
- viem.maxUint160
554
+ viem.maxUint160 - 1n
555
555
  ]),
556
556
  refTick
557
557
  ]