bundubuduri / aave-like-defi-product

An aave-like defi product that enables users to Lend,, borrow and repay assets. Assets are ERC-20 tokens.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Objectives:

  1. Swap ETH to WETH (Wrapped Ether) to enable ETH to work with other ERC20 Tokens
  2. Deposit the swapped WETH into Aave[https://docs.aave.com/developers/core-contracts/pool] using the deposit()
  3. Borrow assest with the ETH as Collateral
  • Approve sending out ERC20 tokens. Other contracts need to be approve before they can use your tokens
  • Chech how much you can borrow
  • Borrow
  1. Pay everything back
  • Repay the borrowed tokens

Additional Tasks:

  1. Interact with decentralized exchanges (DEX)
  • Paraswap
  • Uniswap

Testing:

  1. Integration Test: Kovan
  2. Unit test: Mainnet-fork

About

An aave-like defi product that enables users to Lend,, borrow and repay assets. Assets are ERC-20 tokens.

License:MIT License


Languages

Language:Solidity 78.8%Language:Python 21.2%