fix: dashboard fixes
This commit is contained in:
parent
6521bfd17e
commit
b5a0170685
|
@ -70,7 +70,6 @@ export interface LendingReserve {
|
||||||
|
|
||||||
dexMarketOption: number;
|
dexMarketOption: number;
|
||||||
dexMarket: PublicKey;
|
dexMarket: PublicKey;
|
||||||
dexMarketPrice: BN; // what is precision on the price?
|
|
||||||
|
|
||||||
config: {
|
config: {
|
||||||
optimalUtilizationRate: number;
|
optimalUtilizationRate: number;
|
||||||
|
@ -81,16 +80,12 @@ export interface LendingReserve {
|
||||||
optimalBorrowRate: number;
|
optimalBorrowRate: number;
|
||||||
maxBorrowRate: number;
|
maxBorrowRate: number;
|
||||||
};
|
};
|
||||||
// collateralFactor: number;
|
|
||||||
|
|
||||||
cumulativeBorrowRateWad: BN;
|
cumulativeBorrowRateWad: BN;
|
||||||
borrowedLiquidityWad: BN;
|
borrowedLiquidityWad: BN;
|
||||||
|
|
||||||
availableLiquidity: BN;
|
availableLiquidity: BN;
|
||||||
collateralMintSupply: BN;
|
collateralMintSupply: BN;
|
||||||
|
|
||||||
// Layout.uint128("cumulative_borrow_rate"),
|
|
||||||
// Layout.uint128("total_borrows"),
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export const LendingReserveParser = (
|
export const LendingReserveParser = (
|
||||||
|
|
|
@ -18,8 +18,8 @@ export const DashboardView = () => {
|
||||||
{userDeposits.length > 0 && (<div className="dashboard-left">
|
{userDeposits.length > 0 && (<div className="dashboard-left">
|
||||||
<span>{LABELS.DASHBOARD_TITLE_DEPOSITS}</span>
|
<span>{LABELS.DASHBOARD_TITLE_DEPOSITS}</span>
|
||||||
<div className="dashboard-item dashboard-header">
|
<div className="dashboard-item dashboard-header">
|
||||||
|
<div>{LABELS.TABLE_TITLE_ASSET}</div>
|
||||||
<div>{LABELS.TABLE_TITLE_DEPOSIT_BALANCE}</div>
|
<div>{LABELS.TABLE_TITLE_DEPOSIT_BALANCE}</div>
|
||||||
<div>{LABELS.TABLE_TITLE_LOAN_BALANCE}</div>
|
|
||||||
<div>{LABELS.TABLE_TITLE_APY}</div>
|
<div>{LABELS.TABLE_TITLE_APY}</div>
|
||||||
<div>{LABELS.TABLE_TITLE_ACTION}</div>
|
<div>{LABELS.TABLE_TITLE_ACTION}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue