Updated flashloan event

This commit is contained in:
The3D 2020-10-26 10:35:44 +01:00
parent 6398fe4260
commit c44ed2c0c7
2 changed files with 2 additions and 1 deletions

View File

@ -106,6 +106,7 @@ interface ILendingPool {
**/
event FlashLoan(
address indexed target,
uint256 mode,
address[] assets,
uint256[] amounts,
uint256[] premiums,

View File

@ -582,7 +582,7 @@ contract LendingPool is VersionedInitializable, ILendingPool, LendingPoolStorage
)
);
}
emit FlashLoan(receiverAddress, assets, amounts, premiums, referralCode);
emit FlashLoan(receiverAddress, mode, assets, amounts, premiums, referralCode);
}
}