MyCrypto/scripts/types/TokensJson.ts

21 lines
357 B
TypeScript
Raw Normal View History

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;
}