Undercollatoral Loan "Ecosystem" on a time-restricted basis.
'- The project aims to be the center of an ecosystem, build around its special behavior UNERC20 tokens given out for a penny of the actual collateral underneath.
The smart contract is built with solidity
EIP1967 is used for creating Wrapped Tokens implementations.
The interest model works by making changes to the ellipse equ.
The price feeds, interest and security are calculated using Chainlink (the current live version only has some code for it, need more time to add these features. )
There are four places:
Factory contract: master of all other contracts. Deals with add/remove liquidity, issue/payback loan across of contracts, etc.
UNERC20: contains info regarding users and their UN(token) minted/burned, their time factor, liquidation, etc.
DataProvder.sol: goto contract for any info regarding different Tokens, protocol, positions, price feeds, etc.
Interest. sol: for calculating interest/ security deposits.
The project uses truffle for now, which I aim to migrate to hardhat soon.
The UI is made using: React, Redux, Webpack, Create-eth-app (ejected) , HTML, CSS, Material-ui React, Web3.js .
The UI would eventually see GraphQl queries i.e. The Graph for fetching and displaying data.