Added beingLiquidated to MarginAccount

This commit is contained in:
dd 2021-04-07 20:52:34 -04:00
parent bc53bea5fa
commit 767734b224
1 changed files with 2 additions and 0 deletions

View File

@ -168,6 +168,8 @@ export class MarginAccount {
owner!: PublicKey;
deposits!: number[];
borrows!: number[];
beingLiquidated!: boolean;
openOrders!: PublicKey[];
openOrdersAccounts: (OpenOrders | undefined)[] // undefined if an openOrdersAccount not yet initialized and has zeroKey
// TODO keep updated with websocket