OpenZeppelin / OpenZeppelin/openzeppelin-contracts
Add FlashLender behaviour for ERC20 or ETH
Nobody has claimed this yet.
- Dominant language
- Solidity
- Stars
- 27.2k
- Forks
- 12.4k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 33
Description
🧐 Motivation
Flash loans are a new DeFi primitive, popularized by Aave, where a borrower can take an arbitrarily large loan as long as they repay it back (with a fee) in the same tx. This provides access to cash for arbitrage or similar tasks, without needing to have that cash in advance.
📝 Details
Our own @Austin-Williams has an initial implementation of the FlashLender base contracts at https://github.com/Austin-Williams/easy-flash-loans.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the initial FlashLender base-contract implementation in the linked easy-flash-loans repository and compare it with this project's existing contracts. The issue does not specify the required ERC20 or ETH behavior, integration point, tests, or acceptance criteria, so completion requires those details to be agreed first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- solidity
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100