2020-05-29 16:45:37 +00:00
|
|
|
// SPDX-License-Identifier: agpl-3.0
|
|
|
|
pragma solidity ^0.6.8;
|
|
|
|
|
|
|
|
/**
|
2020-07-13 08:54:08 +00:00
|
|
|
* @title IFlashLoanReceiver interface
|
|
|
|
* @notice Interface for the Aave fee IFlashLoanReceiver.
|
|
|
|
* @author Aave
|
|
|
|
* @dev implement this interface to develop a flashloan-compatible flashLoanReceiver contract
|
|
|
|
**/
|
2020-05-29 16:45:37 +00:00
|
|
|
interface IFlashLoanReceiver {
|
2020-07-13 08:54:08 +00:00
|
|
|
function executeOperation(
|
2020-10-23 16:41:08 +00:00
|
|
|
address[] calldata assets,
|
2020-10-22 18:37:50 +00:00
|
|
|
uint256[] calldata amounts,
|
|
|
|
uint256[] calldata premiums,
|
2020-10-30 12:32:42 +00:00
|
|
|
address initiator,
|
2020-08-21 14:03:01 +00:00
|
|
|
bytes calldata params
|
2020-10-12 13:19:27 +00:00
|
|
|
) external returns (bool);
|
2020-05-29 16:45:37 +00:00
|
|
|
}
|