Merge pull request #322 from blockworks-foundation/lou/dashboard-slots
add more slot metrics to dashboard
This commit is contained in:
commit
e00442e77a
|
@ -165,6 +165,22 @@ const MangoAccountDashboard: NextPage = () => {
|
||||||
label="Active Perp Position Count"
|
label="Active Perp Position Count"
|
||||||
value={mangoAccount.perpActive().length}
|
value={mangoAccount.perpActive().length}
|
||||||
/>
|
/>
|
||||||
|
<KeyValuePair
|
||||||
|
label="Token Position Count"
|
||||||
|
value={mangoAccount.tokens.length}
|
||||||
|
/>
|
||||||
|
<KeyValuePair
|
||||||
|
label="Active Token Position Count"
|
||||||
|
value={mangoAccount.tokensActive().length}
|
||||||
|
/>
|
||||||
|
<KeyValuePair
|
||||||
|
label="Serum OO Count"
|
||||||
|
value={mangoAccount.serum3.length}
|
||||||
|
/>
|
||||||
|
<KeyValuePair
|
||||||
|
label="Active Serum OO Count"
|
||||||
|
value={mangoAccount.serum3Active().length}
|
||||||
|
/>
|
||||||
|
|
||||||
<h3 className="mt-4">Token Active Positions</h3>
|
<h3 className="mt-4">Token Active Positions</h3>
|
||||||
{mangoAccount.tokensActive().map((token) => {
|
{mangoAccount.tokensActive().map((token) => {
|
||||||
|
|
Loading…
Reference in New Issue