aave-protocol-v2/contracts/flashloan/interfaces/IFlashLoanReceiver.sol

18 lines
491 B
Solidity
Raw Normal View History

// 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
**/
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,
bytes calldata params
2020-10-12 13:19:27 +00:00
) external returns (bool);
}