flashloan-box
A box containing all you need to get started with developing Aave v1 flash loans (by aave)
openzeppelincontracts
By OpenZeppelin
Our great sponsors
flashloan-box | openzeppelincontracts | |
---|---|---|
1 | 1 | |
569 | - | |
1.6% | - | |
0.0 | - | |
over 1 year ago | - | |
Solidity | ||
GNU Affero General Public License v3.0 | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
flashloan-box
Posts with mentions or reviews of flashloan-box.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-07.
-
A question regarding AVEE flash loan code
``` pragma solidity 0.6.12; import { FlashLoanReceiverBase } from "https://github.com/aave/flashloan-box/blob/Remix/contracts/aave/FlashLoanReceiverBase.sol"; import { ILendingPool } from "https://github.com/aave/flashloan-box/blob/Remix/contracts/aave/ILendingPool.sol"; import { ILendingPoolAddressesProvider } from "https://github.com/aave/flashloan-box/blob/Remix/contracts/aave/ILendingPoolAddressesProvider.sol"; import { IERC20 } from "https://github.com/alcueca/ERC3156/blob/main/contracts/ERC20.sol"; /** !!! Never keep funds permanently on your FlashLoanReceiverBase contract as they could be exposed to a 'griefing' attack, where the stored funds are used by an attacker. !!! */ contract MyV2FlashLoan is FlashLoanReceiverBase { /** This function is called after your contract has received the flash loaned amount */ function executeOperation( address[] calldata assets, uint256[] calldata amounts, uint256[] calldata premiums, address initiator, bytes calldata params ) external override returns (bool) { // // This contract now has the funds requested. // Your logic goes here. //
openzeppelincontracts
Posts with mentions or reviews of openzeppelincontracts.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-07.
-
A question regarding AVEE flash loan code
not found https://github.com/OpenZeppelin/openzeppelincontracts/blob/master/contracts/token/ERC20/SafeERC20.sol