diff options
author | Fabio Berger <me@fabioberger.com> | 2018-01-31 04:01:16 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-01-31 04:01:16 +0800 |
commit | ecf86d1d1330ae99194b94cce9167f5d42228a6d (patch) | |
tree | cd3725cea6da4b6e6e18793ee2ebd605e6b1db4d /packages/website/ts/utils/constants.ts | |
parent | adc6170f029cdcee7c3197b60e579e87af402d1e (diff) | |
download | dexon-sol-tools-ecf86d1d1330ae99194b94cce9167f5d42228a6d.tar dexon-sol-tools-ecf86d1d1330ae99194b94cce9167f5d42228a6d.tar.gz dexon-sol-tools-ecf86d1d1330ae99194b94cce9167f5d42228a6d.tar.bz2 dexon-sol-tools-ecf86d1d1330ae99194b94cce9167f5d42228a6d.tar.lz dexon-sol-tools-ecf86d1d1330ae99194b94cce9167f5d42228a6d.tar.xz dexon-sol-tools-ecf86d1d1330ae99194b94cce9167f5d42228a6d.tar.zst dexon-sol-tools-ecf86d1d1330ae99194b94cce9167f5d42228a6d.zip |
Uppercase Networks enum values
Diffstat (limited to 'packages/website/ts/utils/constants.ts')
-rw-r--r-- | packages/website/ts/utils/constants.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/website/ts/utils/constants.ts b/packages/website/ts/utils/constants.ts index 4d6cb06c9..26a793f38 100644 --- a/packages/website/ts/utils/constants.ts +++ b/packages/website/ts/utils/constants.ts @@ -24,16 +24,16 @@ export const constants = { NETWORK_ID_KOVAN: 42, NETWORK_ID_TESTRPC: 50, NETWORK_NAME_BY_ID: { - 1: Networks.mainnet, - 3: Networks.ropsten, - 4: Networks.rinkeby, - 42: Networks.kovan, + 1: Networks.Mainnet, + 3: Networks.Ropsten, + 4: Networks.Rinkeby, + 42: Networks.Kovan, } as { [symbol: number]: string }, NETWORK_ID_BY_NAME: { - [Networks.mainnet]: 1, - [Networks.ropsten]: 3, - [Networks.rinkeby]: 4, - [Networks.kovan]: 42, + [Networks.Mainnet]: 1, + [Networks.Ropsten]: 3, + [Networks.Rinkeby]: 4, + [Networks.Kovan]: 42, } as { [networkName: string]: number }, NULL_ADDRESS: '0x0000000000000000000000000000000000000000', PROVIDER_NAME_LEDGER: 'Ledger', |