Commit 1607f891 authored by Moody Salem's avatar Moody Salem

code in the mainnet addresses

parent 873cf976
......@@ -7,8 +7,9 @@ import mainnet from './mainnet.json'
function constructAddressMap(
key: keyof typeof goerli | keyof typeof ropsten | keyof typeof rinkeby | keyof typeof mainnet
): { [chainId in ChainId]?: string } {
): { [chainId in ChainId]: string } {
return {
[ChainId.MAINNET]: mainnet[key],
[ChainId.ROPSTEN]: ropsten[key],
[ChainId.KOVAN]: kovan[key],
[ChainId.RINKEBY]: rinkeby[key],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment