diff options
author | Jacob Evans <jacob@dekz.net> | 2018-09-05 23:04:52 +0800 |
---|---|---|
committer | Jacob Evans <jacob@dekz.net> | 2018-09-05 23:04:52 +0800 |
commit | 7ec95e8c29e8f272751918b3fd50d14dcfbe98c2 (patch) | |
tree | b64e0834ebb53f2a5fe280bc27467f18df9813ae /packages/testnet-faucets | |
parent | b217495465a3b8df4c49045a4f56eb16e8413636 (diff) | |
download | dexon-sol-tools-7ec95e8c29e8f272751918b3fd50d14dcfbe98c2.tar dexon-sol-tools-7ec95e8c29e8f272751918b3fd50d14dcfbe98c2.tar.gz dexon-sol-tools-7ec95e8c29e8f272751918b3fd50d14dcfbe98c2.tar.bz2 dexon-sol-tools-7ec95e8c29e8f272751918b3fd50d14dcfbe98c2.tar.lz dexon-sol-tools-7ec95e8c29e8f272751918b3fd50d14dcfbe98c2.tar.xz dexon-sol-tools-7ec95e8c29e8f272751918b3fd50d14dcfbe98c2.tar.zst dexon-sol-tools-7ec95e8c29e8f272751918b3fd50d14dcfbe98c2.zip |
Remove unused name and symbol
Diffstat (limited to 'packages/testnet-faucets')
-rw-r--r-- | packages/testnet-faucets/src/ts/tokens.ts | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/packages/testnet-faucets/src/ts/tokens.ts b/packages/testnet-faucets/src/ts/tokens.ts index 3ecc5c650..4ffb03df4 100644 --- a/packages/testnet-faucets/src/ts/tokens.ts +++ b/packages/testnet-faucets/src/ts/tokens.ts @@ -1,23 +1,16 @@ +interface TokensByNetwork { + [networkId: number]: { [tokenSymbol: string]: { address: string; decimals: number } }; +} + export const tokens = { ZRX: { - name: '0x Protocol Token', decimals: 18, - symbol: 'ZRX', }, WETH: { - name: 'Wrapped ETH', decimals: 18, - symbol: 'WETH', }, }; -export const ETHER_TOKEN = { - name: 'Ether', - decimals: 18, - symbol: 'ETH', -}; -export const TOKENS_BY_NETWORK: { - [networkId: number]: { [tokenSymbol: string]: { address: string; decimals: number; symbol: string; name: string } }; -} = { +export const TOKENS_BY_NETWORK: TokensByNetwork = { 3: { ZRX: { ...tokens.ZRX, |