File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ const fields = {
16
16
amount : 5 ,
17
17
basePrice : 6 ,
18
18
isMatch : 8 ,
19
- isMarketSold : 9
19
+ isMarketSold : 9 ,
20
+ liquidationPrice : 11
20
21
}
21
22
22
23
/**
@@ -32,6 +33,7 @@ class Liquidations extends Model {
32
33
* @param {number } data.basePrice - base price
33
34
* @param {number|boolean } data.isMatch - matched flag
34
35
* @param {number|boolean } data.isMarketSold - sold flag
36
+ * @param {number } data.liquidationPrice - Price at which the liquidation was triggered
35
37
*/
36
38
constructor ( data = { } ) {
37
39
super ( { data, fields } )
@@ -79,7 +81,8 @@ class Liquidations extends Model {
79
81
amount : amountValidator ,
80
82
basePrice : priceValidator ,
81
83
isMatch : boolValidator ,
82
- isMarketSold : boolValidator
84
+ isMarketSold : boolValidator ,
85
+ liquidationPrice : numberValidator
83
86
}
84
87
} )
85
88
}
You can’t perform that action at this time.
0 commit comments