OpenZeppelin / OpenZeppelin/openzeppelin-contracts

Add FlashLender behaviour for ERC20 or ETH

Open
#2,083 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.