Add TokenMetadata type

This commit is contained in:
Fabio Berger
2017-05-30 10:42:39 +02:00
parent 5bfc3f8976
commit f2cd368a49
2 changed files with 5 additions and 2 deletions

View File

@@ -41,6 +41,9 @@ export const SolidityTypes = strEnum([
]);
export type SolidityTypes = keyof typeof SolidityTypes;
// [address, name, symbol, projectUrl, decimals, ipfsHash, swarmHash]
export type TokenMetadata = [string, string, string, string, BigNumber.BigNumber, string, string];
export interface Token {
name: string;
address: string;