Put down collateral, Borrow, and repay a loan from Aave! Use this to short assets and accrue interest.
Upon deployment, this repo allows;
- Approval of
ETH
to be swapped forWETH
- To swap an
amount
ofETH
forWETH
- Depositing the
WETH
as collateral - To use that collateral to borrow
DAI
- Repayment of debt
The contract is designed to be deployed and tested on multiple networks, currently those networks are:
- mainnet-fork
- Kovan test network
The contract has been tested locally on mainnet-fork, with intergration testing performed on Kovan.
- solidity
- python
- brownie
- smartcontractkit/full-blockchain-solidity-course-py