@dhedge/backend-flatcoin-core 0.3.14 → 0.3.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -580,8 +580,8 @@ exports.getClosedPositionsQuery = (0, graphql_request_1.gql) `
|
|
|
580
580
|
status
|
|
581
581
|
closeTimestamp
|
|
582
582
|
accruedFunding
|
|
583
|
-
|
|
584
|
-
|
|
583
|
+
marginDeposited
|
|
584
|
+
marginWithdrawn
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
587
|
`;
|
|
@@ -612,6 +612,7 @@ exports.getLiquidatedPositionsQueryByCloseBlockFrom = (0, graphql_request_1.gql)
|
|
|
612
612
|
orderDirection: desc
|
|
613
613
|
first: 1000
|
|
614
614
|
) {
|
|
615
|
+
tokenId
|
|
615
616
|
account
|
|
616
617
|
profitLoss
|
|
617
618
|
margin
|
|
@@ -89,15 +89,15 @@ export interface LimitOrderExecuted {
|
|
|
89
89
|
executedBy: string;
|
|
90
90
|
}
|
|
91
91
|
export interface Position {
|
|
92
|
-
tokenId:
|
|
92
|
+
tokenId: number;
|
|
93
93
|
account: string;
|
|
94
94
|
profitLoss: number;
|
|
95
95
|
margin: number;
|
|
96
96
|
closeTimestamp: number;
|
|
97
97
|
closeBlock: number;
|
|
98
98
|
accruedFunding: number;
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
marginDeposited: number;
|
|
100
|
+
marginWithdrawn: number;
|
|
101
101
|
}
|
|
102
102
|
export interface UnitHolder {
|
|
103
103
|
address: string;
|