Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 789 Bytes

IFlashLoanReceiver.md

File metadata and controls

35 lines (18 loc) · 789 Bytes

IFlashLoanReceiver

Aave

IFlashLoanReceiver interface

Interface for the Nerve fee IFlashLoanReceiver. Modified from Aave's IFlashLoanReceiver interface. https://github.com/aave/aave-protocol/blob/4b4545fb583fd4f400507b10f3c3114f45b8a037/contracts/flashloan/interfaces/IFlashLoanReceiver.sol

implement this interface to develop a flashloan-compatible flashLoanReceiver contract*

Methods

executeOperation

function executeOperation(address pool, address token, uint256 amount, uint256 fee, bytes params) external nonpayable

Parameters

Name Type Description
pool address undefined
token address undefined
amount uint256 undefined
fee uint256 undefined
params bytes undefined