This is a simple decentralized lending borrowing protocol built for nebies developers who try to understand how web3 lending platforms like aave and compound work .
-
Pool
Main point of interaction with the protocol, users can :
- supply
- borrow
- withdraw
- repay
- liquidate undercollateralized user
as long as the token is supported by the protocol .
-
PoolConfiguration
Allows the addition of a new token and all the related configuration .
- PoolLogic
Validate some end-user functions in the Pool contract .
- ReservesManager
Manage reserves and calculates debt & interests indexes .
You can deploy all contracts on goerli testnet and set all up by running the following command :
brownie run scripts/arrange.py --network goerli
and then experiment with scripts in the script
folder .
for educational purposes. Not intended for real financial use.