mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Updated flashloan event
This commit is contained in:
parent
6398fe4260
commit
c44ed2c0c7
|
@ -106,6 +106,7 @@ interface ILendingPool {
|
||||||
**/
|
**/
|
||||||
event FlashLoan(
|
event FlashLoan(
|
||||||
address indexed target,
|
address indexed target,
|
||||||
|
uint256 mode,
|
||||||
address[] assets,
|
address[] assets,
|
||||||
uint256[] amounts,
|
uint256[] amounts,
|
||||||
uint256[] premiums,
|
uint256[] premiums,
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user