Minor changes

This commit is contained in:
Thrilok Kumar 2021-10-22 18:10:14 +05:30
parent 3cd2968268
commit 361161b524
2 changed files with 4 additions and 7 deletions

View File

@ -95,7 +95,7 @@ contract LiquidityResolver is DSMath, Stores, Variables, Events {
instaPool.initiateMultiFlashLoan(tokens_, amts_, route, callData);
AccountInterface(address(this)).disable(address(instaPool));
_eventName = "LogFlashPayback(address[],uint256[])";
_eventName = "LogFlashMultiBorrow(address[],uint256[])";
_eventParam = abi.encode(tokens_, amts_);
}
@ -124,7 +124,8 @@ contract LiquidityResolver is DSMath, Stores, Variables, Events {
setUint(setIds[i], amts_[i]);
}
emit LogFlashPayback(tokens_, amts_);
_eventName = "LogFlashMultiPayback(address[],uint256[])";
_eventParam = abi.encode(tokens_, amts_);
}
}

View File

@ -8,10 +8,6 @@ contract Variables {
/**
* @dev Instapool contract proxy
*/
InstaFlashV2Interface public immutable instaPool;
constructor(address _instaPool) {
instaPool = InstaFlashV2Interface(_instaPool);
}
InstaFlashV2Interface public constant instaPool = InstaFlashV2Interface(0xF77A5935f35aDD4C2f524788805293EF86B87560);
}