mirror of
https://github.com/Instadapp/smart-contract.git
synced 2024-07-29 22:08:07 +00:00
address rinkeby Commented
This commit is contained in:
parent
8bb38b98d4
commit
8ad933a0b5
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user