diff options
author | Jacob Evans <jacob@dekz.net> | 2018-09-05 22:13:21 +0800 |
---|---|---|
committer | Jacob Evans <jacob@dekz.net> | 2018-09-05 22:13:21 +0800 |
commit | db6ddc0c4ba582923b40e9cca807f70b950db019 (patch) | |
tree | 72eb96b565a7fac8e0d1749eb282e37efb56e491 /packages/testnet-faucets/src/ts/tokens.ts | |
parent | 174b36059368631eeaec3ec7c0a3847350b55d73 (diff) | |
download | dexon-sol-tools-db6ddc0c4ba582923b40e9cca807f70b950db019.tar dexon-sol-tools-db6ddc0c4ba582923b40e9cca807f70b950db019.tar.gz dexon-sol-tools-db6ddc0c4ba582923b40e9cca807f70b950db019.tar.bz2 dexon-sol-tools-db6ddc0c4ba582923b40e9cca807f70b950db019.tar.lz dexon-sol-tools-db6ddc0c4ba582923b40e9cca807f70b950db019.tar.xz dexon-sol-tools-db6ddc0c4ba582923b40e9cca807f70b950db019.tar.zst dexon-sol-tools-db6ddc0c4ba582923b40e9cca807f70b950db019.zip |
[testnet-faucets] update to v2
Diffstat (limited to 'packages/testnet-faucets/src/ts/tokens.ts')
-rw-r--r-- | packages/testnet-faucets/src/ts/tokens.ts | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/packages/testnet-faucets/src/ts/tokens.ts b/packages/testnet-faucets/src/ts/tokens.ts new file mode 100644 index 000000000..70e964b6f --- /dev/null +++ b/packages/testnet-faucets/src/ts/tokens.ts @@ -0,0 +1,41 @@ +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 } }; +} = { + 3: { + ZRX: { + ...tokens.ZRX, + address: '0xff67881f8d12f372d91baae9752eb3631ff0ed00', + }, + WETH: { + ...tokens.WETH, + address: '0xc778417e063141139fce010982780140aa0cd5ab', + }, + }, + 42: { + ZRX: { + ...tokens.ZRX, + address: '0x2002d3812f58e35f0ea1ffbf80a75a38c32175fa', + }, + WETH: { + ...tokens.WETH, + address: '0xd0a1e359811322d97991e03f863a0c30c2cf029c', + }, + }, +}; |