dashboard: add in use count, and serum3 oo pubkey

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2023-09-12 09:22:37 +02:00
parent e6db2d2267
commit 88f08db46a
1 changed files with 8 additions and 0 deletions

View File

@ -188,6 +188,10 @@ const MangoAccountDashboard: NextPage = () => {
label="Value at oracle price"
value={`$${token.balanceUi(bank) * bank.uiPrice}`}
/>
<KeyValuePair
label="In Use Count"
value={`$${token.inUseCount}`}
/>
</div>
)
})}
@ -221,6 +225,10 @@ const MangoAccountDashboard: NextPage = () => {
label="Market Index"
value={serum.marketIndex}
/>
<KeyValuePair
label="Open Orders"
value={serum.openOrders.toBase58()}
/>
</div>
)
})}