mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
- Added initiator to flash loan event.
This commit is contained in:
parent
de7ec39f24
commit
092aacc85a
|
@ -99,6 +99,7 @@ interface ILendingPool {
|
|||
/**
|
||||
* @dev emitted when a flashloan is executed
|
||||
* @param target the address of the flashLoanReceiver
|
||||
* @param initiator the address initiating the flash loan
|
||||
* @param asset the address of the asset being flashborrowed
|
||||
* @param amount the amount requested
|
||||
* @param premium the total fee on the amount
|
||||
|
@ -106,6 +107,7 @@ interface ILendingPool {
|
|||
**/
|
||||
event FlashLoan(
|
||||
address indexed target,
|
||||
address initiator,
|
||||
address asset,
|
||||
uint256 amount,
|
||||
uint256 premium,
|
||||
|
|
|
@ -595,6 +595,7 @@ contract LendingPool is VersionedInitializable, ILendingPool, LendingPoolStorage
|
|||
}
|
||||
emit FlashLoan(
|
||||
receiverAddress,
|
||||
msg.sender,
|
||||
vars.currentAsset,
|
||||
vars.currentAmount,
|
||||
vars.currentPremium,
|
||||
|
|
Loading…
Reference in New Issue
Block a user