diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-09-07 19:03:02 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-09-07 19:05:11 +0800 |
commit | 8131c5d6bcf80a9d55bd881efe418d2b9fe8d29f (patch) | |
tree | 6b84e2f36a60514af5cf63dbf2c4806b8ef08c12 /packages/website/ts/utils/token_address_overrides.ts | |
parent | df5779b6d1a81f85b91c57fd2948ded91c1a07d7 (diff) | |
download | dexon-sol-tools-8131c5d6bcf80a9d55bd881efe418d2b9fe8d29f.tar dexon-sol-tools-8131c5d6bcf80a9d55bd881efe418d2b9fe8d29f.tar.gz dexon-sol-tools-8131c5d6bcf80a9d55bd881efe418d2b9fe8d29f.tar.bz2 dexon-sol-tools-8131c5d6bcf80a9d55bd881efe418d2b9fe8d29f.tar.lz dexon-sol-tools-8131c5d6bcf80a9d55bd881efe418d2b9fe8d29f.tar.xz dexon-sol-tools-8131c5d6bcf80a9d55bd881efe418d2b9fe8d29f.tar.zst dexon-sol-tools-8131c5d6bcf80a9d55bd881efe418d2b9fe8d29f.zip |
Fix minting for new tokens on testnets
Diffstat (limited to 'packages/website/ts/utils/token_address_overrides.ts')
-rw-r--r-- | packages/website/ts/utils/token_address_overrides.ts | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/website/ts/utils/token_address_overrides.ts b/packages/website/ts/utils/token_address_overrides.ts new file mode 100644 index 000000000..8353358bc --- /dev/null +++ b/packages/website/ts/utils/token_address_overrides.ts @@ -0,0 +1,24 @@ +import { ObjectMap } from 'ts/types'; +import { constants } from 'ts/utils/constants'; + +// Map of networkId -> tokenSymbol -> tokenAddress +export type TokenOverrides = ObjectMap<ObjectMap<string>>; + +export const tokenAddressOverrides: TokenOverrides = { + [constants.NETWORK_ID_KOVAN]: { + ZRX: '0x2002d3812f58e35f0ea1ffbf80a75a38c32175fa', + REP: '0x8cb3971b8eb709c14616bd556ff6683019e90d9c', + DGD: '0xa4f468c9c692eb6b4b8b06270dae7a2cfeedcde9', + GNT: '0x31fb614e223706f15d0d3c5f4b08bdf0d5c78623', + MKR: '0x7b6b10caa9e8e9552ba72638ea5b47c25afea1f3', + MLN: '0x17e394d1df6ce29d042195ea38411a98ff3ead94', + }, + [constants.NETWORK_ID_ROPSTEN]: { + ZRX: '0xff67881f8d12f372d91baae9752eb3631ff0ed00', + REP: '0xb0b443fe0e8a04c4c85e8fda9c5c1ccc057d6653', + DGD: '0xc4895a5aafa2708d6bc1294e20ec839aad156b1d', + GNT: '0x7f8acc55a359ca4517c30510566ac35b800f7cac', + MKR: '0x06732516acd125b6e83c127752ed5f027e1b276e', + MLN: '0x823ebe83d39115536274a8617e00a1ff3544fd63', + }, +}; |