@polkadot/util
Version:
A collection of useful utilities for @polkadot
12 lines (11 loc) • 338 B
TypeScript
/**
* @summary Utility methods to convert to and from `BN` objects
*/
export * from './consts';
export { BN } from './bn';
export { bnFromHex } from './fromHex';
export { bnMax, bnMin } from './min';
export { bnSqrt } from './sqrt';
export { bnToBn } from './toBn';
export { bnToHex } from './toHex';
export { bnToU8a } from './toU8a';