cic-staff-client/src/app/_models/token.ts
Spencer Ofwiti c86dde1311 Merge branch 'master' into spencer/docs
# Conflicts:
#	src/app/_eth/accountIndex.ts
#	src/app/_eth/token-registry.ts
#	src/app/_helpers/mock-backend.ts
#	src/app/_models/token.ts
#	src/app/_pgp/pgp-key-store.ts
2021-06-09 08:47:42 +03:00

28 lines
693 B
TypeScript

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