added getCompleteMarginACcountsForOwner
This commit is contained in:
parent
222262e43a
commit
8cba70abcd
|
@ -132,6 +132,10 @@ export class MarginAccount {
|
|||
return nativeToUi(this.getNativeBorrow(mangoGroup, tokenIndex), mangoGroup.mintDecimals[tokenIndex])
|
||||
}
|
||||
|
||||
getUiSrmBalance() {
|
||||
return nativeToUi(this.srmBalance, SRM_DECIMALS)
|
||||
}
|
||||
|
||||
async loadOpenOrders(
|
||||
connection: Connection,
|
||||
dexProgramId: PublicKey
|
||||
|
|
Loading…
Reference in New Issue