Skip to content

Commit

Permalink
fix: Add event emission to natspec
Browse files Browse the repository at this point in the history
  • Loading branch information
LHerskind committed Dec 6, 2021
1 parent 4b02b3e commit ec28a38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contracts/protocol/libraries/logic/FlashLoanLogic.sol
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ library FlashLoanLogic {
* @dev For authorized flashborrowers the fee is waived
* @dev At the end of the transaction the pool will pull amount borrowed + fee from the receiver,
* if the receiver have not approved the pool the transaction will revert.
* @dev Emits the `FlashLoan()` event
* @param reserves The state of all the reserves
* @param reservesList The list of addresses of all the active reserves
* @param eModeCategories The configuration of all the efficiency mode categories
Expand Down Expand Up @@ -212,6 +213,7 @@ library FlashLoanLogic {
* @dev Does not waive fee for approved flashborrowers nor allow taking on debt instead of repaying to save gas
* @dev At the end of the transaction the pool will pull amount borrowed + fee from the receiver,
* if the receiver have not approved the pool the transaction will revert.
* @dev Emits the `FlashLoan()` event
* @param reserve The state of the flashloaned reserve
* @param params The additional parameters needed to execute the simple flashloan function
*/
Expand Down

0 comments on commit ec28a38

Please sign in to comment.