mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-11 03:26:14 +00:00
574c628e61
* Add script to update tokens from ethereum-lists/tokens, commit output. * Force decimals to be integers. * Eth-lists-script Typescript (#1508) * Update scripts to handle collisions, and use typescript * Add comment on duplicateAddress validator * Lock dep on ts-node * Fix tsc errors * revert tokens update * make implicit anys
21 lines
357 B
TypeScript
21 lines
357 B
TypeScript
export interface RawTokenJSON {
|
|
name?: string;
|
|
symbol?: string;
|
|
address?: string;
|
|
decimals?: number | string;
|
|
}
|
|
|
|
export interface ValidatedTokenJSON {
|
|
name: string;
|
|
symbol: string;
|
|
address: string;
|
|
decimals: number | string;
|
|
}
|
|
|
|
export interface NormalizedTokenJSON {
|
|
name: string;
|
|
symbol: string;
|
|
address: string;
|
|
decimal: number;
|
|
}
|