Add mainnet deployment addresses for Dai, Chai, and ERC20BridgeProxy
This commit is contained in:
@@ -32,6 +32,12 @@ contract DeploymentConstants {
|
|||||||
address constant private UNISWAP_EXCHANGE_FACTORY_ADDRESS = 0xc0a47dFe034B400B47bDaD5FecDa2621de6c4d95;
|
address constant private UNISWAP_EXCHANGE_FACTORY_ADDRESS = 0xc0a47dFe034B400B47bDaD5FecDa2621de6c4d95;
|
||||||
/// @dev Mainnet address of the Eth2Dai `MatchingMarket` contract.
|
/// @dev Mainnet address of the Eth2Dai `MatchingMarket` contract.
|
||||||
address constant private ETH2DAI_ADDRESS = 0x39755357759cE0d7f32dC8dC45414CCa409AE24e;
|
address constant private ETH2DAI_ADDRESS = 0x39755357759cE0d7f32dC8dC45414CCa409AE24e;
|
||||||
|
/// @dev Mainnet address of the `ERC20BridgeProxy` contract
|
||||||
|
address constant private ERC20_BRIDGE_PROXY_ADDRESS = 0x8ED95d1746bf1E4dAb58d8ED4724f1Ef95B20Db0;
|
||||||
|
///@dev Mainnet address of the `Dai` (multi-collateral) contract
|
||||||
|
address constant private DAI_ADDRESS = 0x6B175474E89094C44Da98b954EedeAC495271d0F;
|
||||||
|
/// @dev Mainnet address of the `Chai` contract
|
||||||
|
address constant private CHAI_ADDRESS = 0x06AF07097C9Eeb7fD685c692751D5C66dB49c215;
|
||||||
|
|
||||||
/// @dev Overridable way to get the `KyberNetworkProxy` address.
|
/// @dev Overridable way to get the `KyberNetworkProxy` address.
|
||||||
/// @return kyberAddress The `IKyberNetworkProxy` address.
|
/// @return kyberAddress The `IKyberNetworkProxy` address.
|
||||||
@@ -45,7 +51,7 @@ contract DeploymentConstants {
|
|||||||
|
|
||||||
/// @dev Overridable way to get the WETH address.
|
/// @dev Overridable way to get the WETH address.
|
||||||
/// @return wethAddress The WETH address.
|
/// @return wethAddress The WETH address.
|
||||||
function _getWETHAddress()
|
function _getWethAddress()
|
||||||
internal
|
internal
|
||||||
view
|
view
|
||||||
returns (address wethAddress)
|
returns (address wethAddress)
|
||||||
@@ -72,4 +78,34 @@ contract DeploymentConstants {
|
|||||||
{
|
{
|
||||||
return ETH2DAI_ADDRESS;
|
return ETH2DAI_ADDRESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// @dev An overridable way to retrieve the `ERC20BridgeProxy` contract.
|
||||||
|
/// @return erc20BridgeProxyAddress The `ERC20BridgeProxy` contract.
|
||||||
|
function _getERC20BridgeProxyAddress()
|
||||||
|
internal
|
||||||
|
view
|
||||||
|
returns (address erc20BridgeProxyAddress)
|
||||||
|
{
|
||||||
|
return ERC20_BRIDGE_PROXY_ADDRESS;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// @dev An overridable way to retrieve the `Dai` contract.
|
||||||
|
/// @return daiAddress The `Dai` contract.
|
||||||
|
function _getDaiAddress()
|
||||||
|
internal
|
||||||
|
view
|
||||||
|
returns (address daiAddress)
|
||||||
|
{
|
||||||
|
return DAI_ADDRESS;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// @dev An overridable way to retrieve the `Chai` contract.
|
||||||
|
/// @return chaiAddress The `Chai` contract.
|
||||||
|
function _getChaiAddress()
|
||||||
|
internal
|
||||||
|
view
|
||||||
|
returns (address chaiAddress)
|
||||||
|
{
|
||||||
|
return CHAI_ADDRESS;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user