UNPKG

casinocronos-sdk

Version:

🛠 An SDK for building applications on top of the CasinoCronos.com Decentralized Token Exchange & Casino.

31 lines (30 loc) • 1.05 kB
/** * A currency is any fungible financial instrument on Ethereum, including Ether and all ERC20 tokens. * * The only instance of the base class `Currency` is Ether. */ export declare class Currency { readonly decimals: number; readonly symbol?: string; readonly name?: string; /** * The ETHER instance of the base class `Currency`. */ static readonly ETHER: Currency; /** * The HARMONY instance of the base class `Currency`. */ /** * The BINANCE_COIN instance of the base class `Currency`. */ /** * Constructs an instance of the base class `Currency`. The only instance of the base class `Currency` is `Currency.ETHER`. * @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 ETHER: Currency; declare const DEFAULT_CURRENCIES: Currency[]; export { ETHER, DEFAULT_CURRENCIES };