Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Aave FlashLoan.sol sample for Ropsten network
contract FlashLoanReceiverBase is IFlashLoanReceiver {
using SafeERC20 for IERC20;
using SafeMath for uint256;
// TODO: Set here the address of the Aave protocol addresses provider.
// See https://developers.aave.com/#the-lendingpooladdressesprovider. This address should not change once deployed.
ILendingPoolAddressesProvider public constant addressesProvider =
ILendingPoolAddressesProvider(address(0x1c8756FD2B28e9426CDBDcC7E3c4d64fa9A54728));
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment