This smart contract repo consists of 3 contracts which allow for users to be both makers and takers in fixed fee loans on compound.finance
rinkeby address: 0xfa6df5f5ab2C3c58dA6e872876e2766341EF4F9D
This contract is a matcher marketplace for fixed rate loans. I syncs up a loan taker with lenders who are willing to give them a fixed loan. If the borrower wants to take out a loan that is too big for one person, lenders can be grouped together.
rinkeby address: A new instance of this contract is created for each loan
This contract is created by Matcher
once the matching market desires to open up a loan. The contract mints an ERC20 which represents lenders shares of the collateral backing a borrowers stable loan. After the collateral position is closed, the ERC20 can be redeemed for a portion of the collateral.
rinkeby address: A new instance of this contract is created for each loan
This contract is the base of the code. It is created by LenderTokenContract
and is designed to handle opening and closing the borrowers debt position on compound. After the position is closed the contract sends all of its ETH
back to the LenderTokenContract
.