@sonicxchain/soxswap-sdk
Version:
An SDK for building applications on top of Soxswap.
25 lines (24 loc) • 844 B
TypeScript
/**
* A currency is any fungible financial instrument on SonicX, including SOX and all SRC20 tokens.
*
* The only instance of the base class `Currency` is SOX.
*/
export declare class Currency {
readonly decimals: number;
readonly symbol?: string;
readonly name?: string;
/**
* The only instance of the base class `Currency`.
*/
static readonly SOX: Currency;
/**
* Constructs an instance of the base class `Currency`. The only instance of the base class `Currency` is `Currency.SOX`.
* @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);
isLiquidityToken(): boolean;
}
declare const SOX: Currency;
export { SOX };