UNPKG

@opticlab/kdex-sdk

Version:

🛠 An SDK for building applications on top of KDEX.

24 lines (23 loc) • 816 B
/** * A currency is any fungible financial instrument on Klaytn, including Klay and all ERC20 tokens. * * The only instance of the base class `Currency` is Klay. */ export declare class Currency { readonly decimals: number; readonly symbol?: string; readonly name?: string; /** * The only instance of the base class `Currency`. */ static readonly KLAY: Currency; /** * Constructs an instance of the base class `Currency`. The only instance of the base class `Currency` is `Currency.KLAY`. * @param decimals decimals of the currency * @param symbol symbol of the currency * @param name of the currency */ protected constructor(decimals: number, symbol?: string, name?: string); } declare const KLAY: Currency; export { KLAY };