UNPKG

@saberhq/token-utils

Version:

Token-related math and transaction utilities for Solana.

21 lines 954 B
/** * [[include:token-utils/README.md]] * @module */ /// <reference types="@solana/spl-token" /> export * from "./ata.js"; export * from "./instructions/index.js"; export * from "./layout.js"; export * from "./price.js"; export * from "./splTokenRegistry.js"; export * from "./token.js"; export * from "./tokenAmount.js"; export * from "./tokenList.js"; export * from "./tokenOwner.js"; export * from "./tokenProvider.js"; export type { BigintIsh, IFormatUint, NumberFormat } from "@ubeswap/token-math"; export { Fraction, makeDecimalMultiplier, MAX_U64, MAX_U256, ONE, parseBigintIsh, Percent, Rounding, TEN, validateU64, validateU256, ZERO, } from "@ubeswap/token-math"; export * from "./common.js"; export type { AuthorityType, MintInfo as MintData, MultisigInfo, } from "@solana/spl-token"; export { ASSOCIATED_TOKEN_PROGRAM_ID, NATIVE_MINT, Token as SPLToken, TOKEN_PROGRAM_ID, u64, } from "@solana/spl-token"; //# sourceMappingURL=index.d.ts.map