formulaRoot / aave_brownie_py

Defi: Swap, Deposit, Borrow, Approve ERC20, Borrow & Repay. Verify via Etherscan and Aave UI

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

Defi: Swap, Deposit, Borrow, Approve ERC20, Borrow & Repay. Verify via Etherscan and Aave UI


Languages

Language:Solidity 78.8%Language:Python 21.2%