timelock-sdk 0.0.175 → 0.0.176

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.
@@ -5,9 +5,9 @@ import Big from "big.js";
5
5
  import JSBI from "jsbi";
6
6
  import React, { ReactNode } from "react";
7
7
  import { GraphQLClient, RequestOptions } from "graphql-request";
8
- import * as wagmi0 from "wagmi";
9
8
  import * as _tanstack_react_query0 from "@tanstack/react-query";
10
9
  import { NonUndefinedGuard } from "@tanstack/react-query";
10
+ import * as wagmi0 from "wagmi";
11
11
  import "graphql";
12
12
  import * as _tanstack_query_core0 from "@tanstack/query-core";
13
13
  import * as _wagmi_core0 from "@wagmi/core";
@@ -5981,7 +5981,7 @@ declare const getErc20: (address: Address, client: Client) => {
5981
5981
  }];
5982
5982
  };
5983
5983
  declare const getTimelockMarket: (address: Address, client: Client) => TimelockMarket;
5984
- declare const getStateView: (client: Client | PublicClient) => {
5984
+ declare const getStateView: (client: PublicClient, address?: Address) => Promise<{
5985
5985
  read: {
5986
5986
  getFeeGrowthGlobals: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
5987
5987
  readonly type: "function";
@@ -25418,8 +25418,8 @@ declare const getStateView: (client: Client | PublicClient) => {
25418
25418
  }];
25419
25419
  readonly stateMutability: "view";
25420
25420
  }];
25421
- };
25422
- declare const getTimelockLens: (client: Client | PublicClient) => {
25421
+ }>;
25422
+ declare const getTimelockLens: (client: PublicClient, address?: Address) => Promise<{
25423
25423
  read: {
25424
25424
  batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
25425
25425
  readonly type: "function";
@@ -48104,7 +48104,7 @@ declare const getTimelockLens: (client: Client | PublicClient) => {
48104
48104
  }];
48105
48105
  readonly stateMutability: "view";
48106
48106
  }];
48107
- };
48107
+ }>;
48108
48108
  declare const swappers: Record<number, Address>;
48109
48109
  declare const timelockLenses: Record<number, Address>;
48110
48110
  declare const timelockFactories: Record<number, Address>;
@@ -101588,4 +101588,4 @@ declare const useLens: () => {
101588
101588
  };
101589
101589
  //#endregion
101590
101590
  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 };
101591
- //# sourceMappingURL=client-tKAF1RaW.d.ts.map
101591
+ //# sourceMappingURL=client-Bs4nrL5u.d.ts.map