Commit 2efe8250 authored by Moody Salem's avatar Moody Salem

rename gorli to goerli

parent 24d8b4ab
import { ChainId } from '@uniswap/sdk-core' import { ChainId } from '@uniswap/sdk-core'
import gorli from './gorli.json' import goerli from './goerli.json'
import ropsten from './ropsten.json' import ropsten from './ropsten.json'
import rinkeby from './rinkeby.json' import rinkeby from './rinkeby.json'
import kovan from './kovan.json' import kovan from './kovan.json'
import mainnet from './mainnet.json' import mainnet from './mainnet.json'
function constructAddressMap( function constructAddressMap(
key: keyof typeof gorli | keyof typeof ropsten | keyof typeof rinkeby | keyof typeof mainnet key: keyof typeof goerli | keyof typeof ropsten | keyof typeof rinkeby | keyof typeof mainnet
): { [chainId in ChainId]?: string } { ): { [chainId in ChainId]?: string } {
return { return {
[ChainId.ROPSTEN]: ropsten[key], [ChainId.ROPSTEN]: ropsten[key],
[ChainId.KOVAN]: kovan[key], [ChainId.KOVAN]: kovan[key],
[ChainId.RINKEBY]: rinkeby[key], [ChainId.RINKEBY]: rinkeby[key],
[ChainId.GÖRLI]: gorli[key], [ChainId.GÖRLI]: goerli[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