address rinkeby Commented

This commit is contained in:
Samyak Jain 2019-04-20 20:42:25 +05:30
parent 8bb38b98d4
commit 8ad933a0b5

View File

@ -40,8 +40,8 @@ contract Helper {
* @dev get Uniswap Proxy address
*/
function getAddressUniFactory() public pure returns (address factory) {
// factory = 0xc0a47dFe034B400B47bDaD5FecDa2621de6c4d95;
factory = 0xf5D915570BC477f9B8D6C0E980aA81757A3AaC36; // Rinkeby
factory = 0xc0a47dFe034B400B47bDaD5FecDa2621de6c4d95;
// factory = 0xf5D915570BC477f9B8D6C0E980aA81757A3AaC36; // Rinkeby
}
// Get Uniswap's Exchange address from Factory Contract
@ -200,7 +200,7 @@ contract Pool is Helper {
{
address poolAddr = getAddressPool(token);
uint userPoolBal = IERC20(poolAddr).balanceOf(address(this));
setApproval(poolAddr, userPoolBal, poolAddr);
(ethReturned, tokenReturned) = UniswapPool(poolAddr).removeLiquidity(
userPoolBal,