mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
Minor changes
This commit is contained in:
parent
3cd2968268
commit
361161b524
|
@ -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_);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user