@dexknot/types
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

types

The submodule is a part of monorepo Dexknot.

Contains types used in different applications.

Install

  • yarn
yarn add --dev @dexknot/types

or

  • npm
npm install --dev @dexknot/types

Importing

Individual components can be imported:

import {
  //Interfaces
  AllowanceParams,
  BuildApproveTxParams,
  ExtendedPaletteOptions,
  ExtendedTypographyOptions,
  IProtocol,
  ITxStatus,
  IUserTokenInfo,
  NetworkError,
  QuoteInfo,
  Route,
  SwapInfo,
  Token,
  Tokens,
  UpdateQuoteParams,
  WidgetColors,

  //Types
  AdvancedSettings,
  AllowanceParamsWithSpender,
  CustomGasPriceSettings,
  DefaultRpcJsonEndpoint,
  DefaultTokenOptions,
  DefaultTypedValueOptions,
  FieldErrorState,
  GasOption,
  GasOptions,
  NetworkConfig,
  NetworkListBtnType,
  ReferrerOptions,
  RouteItem,
  Routes,
  TxBuilder,
  UsdStablecoins,

  //Enums
  ApproveStatus,
  FailedReasonType,
  Field,
  ProtocolName,
  SupportedChainId,
  SupportedChainIdInHex,
  SupportedGasOptions,
  SupportedWallets,
  TxStatusType,
} from '@dexknot/types';

Readme

Keywords

none

Package Sidebar

Install

npm i @dexknot/types

Weekly Downloads

0

Version

1.1.0

License

none

Unpacked Size

19.4 kB

Total Files

38

Last publish

Collaborators

  • leonets-yozh
  • alina_yozh