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-08-21 14:03:01 +00:00
|
|
|
address reserve,
|
|
|
|
uint256 amount,
|
|
|
|
uint256 fee,
|
|
|
|
bytes calldata params
|
2020-07-13 08:54:08 +00:00
|
|
|
) external;
|
2020-05-29 16:45:37 +00:00
|
|
|
}
|