src/app/_models/token.ts
Token object interface
Properties |
address |
address:
|
Type : string
|
Address of the deployed token contract. |
decimals |
decimals:
|
Type : string
|
Number of decimals to convert to smallest denomination of the token. |
name |
name:
|
Type : string
|
Name of the token. |
owner |
owner:
|
Type : string
|
Optional |
Address of account that deployed token. |
reserveRatio |
reserveRatio:
|
Type : string
|
Optional |
Token reserve to token minting ratio. |
reserves |
reserves:
|
Type : literal type
|
Token reserve information |
supply |
supply:
|
Type : string
|
Total token supply. |
symbol |
symbol:
|
Type : string
|
The unique token symbol. |
interface Token {
/** Name of the token. */
name: string;
/** The unique token symbol. */
symbol: string;
/** Address of the deployed token contract. */
address: string;
/** Total token supply. */
supply: string;
/** Number of decimals to convert to smallest denomination of the token. */
decimals: string;
/** Token reserve information */
reserves: {
'0xa686005CE37Dce7738436256982C3903f2E4ea8E'?: {
weight: string;
balance: string;
};
};
/** Token reserve to token minting ratio. */
reserveRatio?: string;
/** Address of account that deployed token. */
owner?: string;
}
/** @exports */
export { Token };