@dhedge/backend-flatcoin-core 0.2.77 → 0.2.78
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.
|
@@ -341,6 +341,8 @@ exports.getLeverageOpensQuery = (0, graphql_request_1.gql) `
|
|
|
341
341
|
account
|
|
342
342
|
margin
|
|
343
343
|
size
|
|
344
|
+
transactionHash
|
|
345
|
+
executedBy
|
|
344
346
|
}
|
|
345
347
|
}
|
|
346
348
|
`;
|
|
@@ -352,6 +354,8 @@ exports.getLeverageOpensByTimestampFromQuery = (0, graphql_request_1.gql) `
|
|
|
352
354
|
entryPrice
|
|
353
355
|
tokenId
|
|
354
356
|
account
|
|
357
|
+
margin
|
|
358
|
+
size
|
|
355
359
|
transactionHash
|
|
356
360
|
executedBy
|
|
357
361
|
}
|
|
@@ -366,6 +370,8 @@ exports.getLeverageClosesQuery = (0, graphql_request_1.gql) `
|
|
|
366
370
|
closePrice
|
|
367
371
|
settledMargin
|
|
368
372
|
size
|
|
373
|
+
transactionHash
|
|
374
|
+
executedBy
|
|
369
375
|
}
|
|
370
376
|
}
|
|
371
377
|
`;
|
|
@@ -376,6 +382,8 @@ exports.getLeverageClosesByTimestampFromQuery = (0, graphql_request_1.gql) `
|
|
|
376
382
|
blockTimestamp
|
|
377
383
|
tokenId
|
|
378
384
|
closePrice
|
|
385
|
+
settledMargin
|
|
386
|
+
size
|
|
379
387
|
transactionHash
|
|
380
388
|
executedBy
|
|
381
389
|
}
|
|
@@ -401,7 +409,7 @@ exports.getLeverageAdjustsByBlockFromQuery = (0, graphql_request_1.gql) `
|
|
|
401
409
|
tokenId
|
|
402
410
|
marginDelta
|
|
403
411
|
sizeDelta
|
|
404
|
-
|
|
412
|
+
blockTimestamp
|
|
405
413
|
transactionHash
|
|
406
414
|
adjustPrice
|
|
407
415
|
executedBy
|
|
@@ -43,6 +43,8 @@ export interface LeverageOpen {
|
|
|
43
43
|
blockNumber: number;
|
|
44
44
|
margin: string;
|
|
45
45
|
size: string;
|
|
46
|
+
transactionHash: string;
|
|
47
|
+
executedBy: string;
|
|
46
48
|
}
|
|
47
49
|
export interface LeverageAdjust {
|
|
48
50
|
tokenId: number;
|
|
@@ -61,6 +63,8 @@ export interface LeverageClose {
|
|
|
61
63
|
blockNumber: number;
|
|
62
64
|
settledMargin: string;
|
|
63
65
|
size: string;
|
|
66
|
+
transactionHash: string;
|
|
67
|
+
executedBy: string;
|
|
64
68
|
}
|
|
65
69
|
export interface PositionLiquidated {
|
|
66
70
|
tokenId: number;
|