zklighter-perps 1.0.37 → 1.0.39
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.
- package/models/PublicPoolInfo.ts +4 -4
- package/models/Trade.ts +8 -8
- package/openapi.json +6 -8
- package/package.json +1 -1
package/models/PublicPoolInfo.ts
CHANGED
|
@@ -27,16 +27,16 @@ export interface PublicPoolInfo {
|
|
|
27
27
|
status: number;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
|
-
* @type {
|
|
30
|
+
* @type {string}
|
|
31
31
|
* @memberof PublicPoolInfo
|
|
32
32
|
*/
|
|
33
|
-
operator_fee:
|
|
33
|
+
operator_fee: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
|
-
* @type {
|
|
36
|
+
* @type {string}
|
|
37
37
|
* @memberof PublicPoolInfo
|
|
38
38
|
*/
|
|
39
|
-
min_operator_share_rate:
|
|
39
|
+
min_operator_share_rate: string;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {number}
|
package/models/Trade.ts
CHANGED
|
@@ -72,13 +72,13 @@ export interface Trade {
|
|
|
72
72
|
* @type {number}
|
|
73
73
|
* @memberof Trade
|
|
74
74
|
*/
|
|
75
|
-
|
|
75
|
+
ask_account_id: number;
|
|
76
76
|
/**
|
|
77
77
|
*
|
|
78
78
|
* @type {number}
|
|
79
79
|
* @memberof Trade
|
|
80
80
|
*/
|
|
81
|
-
|
|
81
|
+
bid_account_id: number;
|
|
82
82
|
/**
|
|
83
83
|
*
|
|
84
84
|
* @type {boolean}
|
|
@@ -123,8 +123,8 @@ export function instanceOfTrade(value: object): value is Trade {
|
|
|
123
123
|
if (!('price' in value) || value['price'] === undefined) return false;
|
|
124
124
|
if (!('ask_id' in value) || value['ask_id'] === undefined) return false;
|
|
125
125
|
if (!('bid_id' in value) || value['bid_id'] === undefined) return false;
|
|
126
|
-
if (!('
|
|
127
|
-
if (!('
|
|
126
|
+
if (!('ask_account_id' in value) || value['ask_account_id'] === undefined) return false;
|
|
127
|
+
if (!('bid_account_id' in value) || value['bid_account_id'] === undefined) return false;
|
|
128
128
|
if (!('is_maker_ask' in value) || value['is_maker_ask'] === undefined) return false;
|
|
129
129
|
if (!('block_height' in value) || value['block_height'] === undefined) return false;
|
|
130
130
|
if (!('timestamp' in value) || value['timestamp'] === undefined) return false;
|
|
@@ -149,8 +149,8 @@ export function TradeFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tra
|
|
|
149
149
|
'price': json['price'],
|
|
150
150
|
'ask_id': json['ask_id'],
|
|
151
151
|
'bid_id': json['bid_id'],
|
|
152
|
-
'
|
|
153
|
-
'
|
|
152
|
+
'ask_account_id': json['ask_account_id'],
|
|
153
|
+
'bid_account_id': json['bid_account_id'],
|
|
154
154
|
'is_maker_ask': json['is_maker_ask'],
|
|
155
155
|
'block_height': json['block_height'],
|
|
156
156
|
'timestamp': json['timestamp'],
|
|
@@ -171,8 +171,8 @@ export function TradeToJSON(value?: Trade | null): any {
|
|
|
171
171
|
'price': value['price'],
|
|
172
172
|
'ask_id': value['ask_id'],
|
|
173
173
|
'bid_id': value['bid_id'],
|
|
174
|
-
'
|
|
175
|
-
'
|
|
174
|
+
'ask_account_id': value['ask_account_id'],
|
|
175
|
+
'bid_account_id': value['bid_account_id'],
|
|
176
176
|
'is_maker_ask': value['is_maker_ask'],
|
|
177
177
|
'block_height': value['block_height'],
|
|
178
178
|
'timestamp': value['timestamp'],
|
package/openapi.json
CHANGED
|
@@ -3594,13 +3594,11 @@
|
|
|
3594
3594
|
"example": "0"
|
|
3595
3595
|
},
|
|
3596
3596
|
"operator_fee": {
|
|
3597
|
-
"type": "
|
|
3598
|
-
"format": "int64",
|
|
3597
|
+
"type": "string",
|
|
3599
3598
|
"example": "100"
|
|
3600
3599
|
},
|
|
3601
3600
|
"min_operator_share_rate": {
|
|
3602
|
-
"type": "
|
|
3603
|
-
"format": "int64",
|
|
3601
|
+
"type": "string",
|
|
3604
3602
|
"example": "200"
|
|
3605
3603
|
},
|
|
3606
3604
|
"total_shares": {
|
|
@@ -4656,12 +4654,12 @@
|
|
|
4656
4654
|
"format": "int64",
|
|
4657
4655
|
"example": "245"
|
|
4658
4656
|
},
|
|
4659
|
-
"
|
|
4657
|
+
"ask_account_id": {
|
|
4660
4658
|
"type": "integer",
|
|
4661
4659
|
"format": "int64",
|
|
4662
4660
|
"example": "1"
|
|
4663
4661
|
},
|
|
4664
|
-
"
|
|
4662
|
+
"bid_account_id": {
|
|
4665
4663
|
"type": "integer",
|
|
4666
4664
|
"format": "int64",
|
|
4667
4665
|
"example": "3"
|
|
@@ -4692,8 +4690,8 @@
|
|
|
4692
4690
|
"price",
|
|
4693
4691
|
"ask_id",
|
|
4694
4692
|
"bid_id",
|
|
4695
|
-
"
|
|
4696
|
-
"
|
|
4693
|
+
"ask_account_id",
|
|
4694
|
+
"bid_account_id",
|
|
4697
4695
|
"is_maker_ask",
|
|
4698
4696
|
"block_height",
|
|
4699
4697
|
"timestamp"
|