Added beingLiquidated to MarginAccount
This commit is contained in:
parent
bc53bea5fa
commit
767734b224
|
@ -168,6 +168,8 @@ export class MarginAccount {
|
||||||
owner!: PublicKey;
|
owner!: PublicKey;
|
||||||
deposits!: number[];
|
deposits!: number[];
|
||||||
borrows!: number[];
|
borrows!: number[];
|
||||||
|
beingLiquidated!: boolean;
|
||||||
|
|
||||||
openOrders!: PublicKey[];
|
openOrders!: PublicKey[];
|
||||||
openOrdersAccounts: (OpenOrders | undefined)[] // undefined if an openOrdersAccount not yet initialized and has zeroKey
|
openOrdersAccounts: (OpenOrders | undefined)[] // undefined if an openOrdersAccount not yet initialized and has zeroKey
|
||||||
// TODO keep updated with websocket
|
// TODO keep updated with websocket
|
||||||
|
|
Loading…
Reference in New Issue