aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Evans <jacob@dekz.net>2018-09-05 23:04:52 +0800
committerJacob Evans <jacob@dekz.net>2018-09-05 23:04:52 +0800
commit7ec95e8c29e8f272751918b3fd50d14dcfbe98c2 (patch)
treeb64e0834ebb53f2a5fe280bc27467f18df9813ae
parentb217495465a3b8df4c49045a4f56eb16e8413636 (diff)
downloaddexon-sol-tools-7ec95e8c29e8f272751918b3fd50d14dcfbe98c2.tar.gz
dexon-sol-tools-7ec95e8c29e8f272751918b3fd50d14dcfbe98c2.tar.zst
dexon-sol-tools-7ec95e8c29e8f272751918b3fd50d14dcfbe98c2.zip
Remove unused name and symbol
-rw-r--r--packages/testnet-faucets/src/ts/tokens.ts17
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,