Implementing the account summary and asset pool listing page
In this section, we will implement the account summary and asset pool listing page shown in Figure 14.1.
Figure 14.1 – A snapshot of the account information and asset pool listing page
The page in the preceding screenshot is broken into two sections. Section 1 shows the crypto loan account information. The section contains the following four items:
- Total Deposit Value is the total value of deposit token assets for the connected account.
- Total Borrowed Value is the total value of borrowed token assets for the connected account.
- Maximum Borrowable Value is the maximum token value that the connected account can borrow.
- Is Account Healthy represents whether or not the connected account is healthy. The account is healthy (the value is true) if the total borrowed value is not greater than the maximum borrowable value. Otherwise, the account is not healthy (the value is false...