In this repository, writes about the frontend code of Hako Finance.
Frontend has 4 items. Listed below.
Displays hako's information. In particular,
- hako's address (hako contract's address)
- hako's balance of token
- total supply of token
- hako's credit to members ( = SUM(member's debt to hako))
- hako's debt to members ( = SUM(member's credit to hako))
- member count
- upper limit of credit creation and credit lending
Displays the user's information. In particular,
- user's address (user account's address)
- user's balance of token
- sentence that the user is member or not
- user's credit to hako
- user's debt to hako
- user's credit to other member (credit that user is lending to other member)
- user's debt to other member (credit that user is borrowing from other member)
- user's net assets ( = 2. + 4. - 5. + 6. - 7.)
- borrow value that the user registered
- borrow duration that the user registered
Displays the link to each transaction page. In particular,
- transfer
- transfer credit
- join Hako
- leave Hako
- deposit token
- withdraw token
- register borrowing
- lend credit
- collect debt
- return debt
- create credit
- reduce debt
Displays the link to the above 12 transactions log page.