diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-12-23 04:59:40 +0800 |
---|---|---|
committer | Greg Hysen <greg.hysen@gmail.com> | 2019-01-08 07:50:48 +0800 |
commit | 55e3774480eda205dd14650d9b9f7511f3d03dd6 (patch) | |
tree | 3ad56899ef5d58e4b2e185bb62ddd602ab671ba2 /packages/contract-addresses/src | |
parent | c6ab380685098dbf3a0a6ee5fae137e816839c2d (diff) | |
download | dexon-0x-contracts-55e3774480eda205dd14650d9b9f7511f3d03dd6.tar.gz dexon-0x-contracts-55e3774480eda205dd14650d9b9f7511f3d03dd6.tar.zst dexon-0x-contracts-55e3774480eda205dd14650d9b9f7511f3d03dd6.zip |
Added @todo for including dutch auction addresses once deployed
Diffstat (limited to 'packages/contract-addresses/src')
-rw-r--r-- | packages/contract-addresses/src/index.ts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/contract-addresses/src/index.ts b/packages/contract-addresses/src/index.ts index 486b078f7..04295300c 100644 --- a/packages/contract-addresses/src/index.ts +++ b/packages/contract-addresses/src/index.ts @@ -20,6 +20,8 @@ export enum NetworkId { Ganache = 50, } +const NULL_ADDRESS = '0x0000000000000000000000000000000000000000'; + const networkToAddresses: { [networkId: number]: ContractAddresses } = { 1: { erc20Proxy: '0x2240dab907db71e64d3e0dba4800c83b5c502d4e', @@ -30,7 +32,8 @@ const networkToAddresses: { [networkId: number]: ContractAddresses } = { assetProxyOwner: '0x17992e4ffb22730138e4b62aaa6367fa9d3699a6', forwarder: '0x5468a1dc173652ee28d249c271fa9933144746b1', orderValidator: '0x9463e518dea6810309563c81d5266c1b1d149138', - dutchAuction: '0x', + // @todo hysz/dekz: Add mainnet address once deployed. + dutchAuction: NULL_ADDRESS, }, 3: { erc20Proxy: '0xb1408f4c245a23c31b98d2c626777d4c0d766caa', @@ -75,7 +78,8 @@ const networkToAddresses: { [networkId: number]: ContractAddresses } = { assetProxyOwner: '0x34d402f14d58e001d8efbe6585051bf9706aa064', forwarder: '0xb69e673309512a9d726f87304c6984054f87a93b', orderValidator: '0xe86bb98fcf9bff3512c74589b78fb168200cc546', - dutchAuction: '0x', + // @todo hysz/dekz: Add address once deployed. + dutchAuction: NULL_ADDRESS, }, }; |