zklighter-perps 1.0.63 → 1.0.64
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/EnrichedTx.ts +13 -4
- package/models/Tx.ts +13 -4
- package/openapi.json +15 -5
- package/package.json +1 -1
package/models/EnrichedTx.ts
CHANGED
|
@@ -102,7 +102,7 @@ export interface EnrichedTx {
|
|
|
102
102
|
* @type {number}
|
|
103
103
|
* @memberof EnrichedTx
|
|
104
104
|
*/
|
|
105
|
-
|
|
105
|
+
queued_at: number;
|
|
106
106
|
/**
|
|
107
107
|
*
|
|
108
108
|
* @type {number}
|
|
@@ -115,6 +115,12 @@ export interface EnrichedTx {
|
|
|
115
115
|
* @memberof EnrichedTx
|
|
116
116
|
*/
|
|
117
117
|
sequence_index: number;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @type {string}
|
|
121
|
+
* @memberof EnrichedTx
|
|
122
|
+
*/
|
|
123
|
+
parent_hash: string;
|
|
118
124
|
/**
|
|
119
125
|
*
|
|
120
126
|
* @type {number}
|
|
@@ -145,9 +151,10 @@ export function instanceOfEnrichedTx(value: object): value is EnrichedTx {
|
|
|
145
151
|
if (!('nonce' in value) || value['nonce'] === undefined) return false;
|
|
146
152
|
if (!('expire_at' in value) || value['expire_at'] === undefined) return false;
|
|
147
153
|
if (!('block_height' in value) || value['block_height'] === undefined) return false;
|
|
148
|
-
if (!('
|
|
154
|
+
if (!('queued_at' in value) || value['queued_at'] === undefined) return false;
|
|
149
155
|
if (!('executed_at' in value) || value['executed_at'] === undefined) return false;
|
|
150
156
|
if (!('sequence_index' in value) || value['sequence_index'] === undefined) return false;
|
|
157
|
+
if (!('parent_hash' in value) || value['parent_hash'] === undefined) return false;
|
|
151
158
|
if (!('committed_at' in value) || value['committed_at'] === undefined) return false;
|
|
152
159
|
if (!('verified_at' in value) || value['verified_at'] === undefined) return false;
|
|
153
160
|
return true;
|
|
@@ -176,9 +183,10 @@ export function EnrichedTxFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
176
183
|
'nonce': json['nonce'],
|
|
177
184
|
'expire_at': json['expire_at'],
|
|
178
185
|
'block_height': json['block_height'],
|
|
179
|
-
'
|
|
186
|
+
'queued_at': json['queued_at'],
|
|
180
187
|
'executed_at': json['executed_at'],
|
|
181
188
|
'sequence_index': json['sequence_index'],
|
|
189
|
+
'parent_hash': json['parent_hash'],
|
|
182
190
|
'committed_at': json['committed_at'],
|
|
183
191
|
'verified_at': json['verified_at'],
|
|
184
192
|
};
|
|
@@ -203,9 +211,10 @@ export function EnrichedTxToJSON(value?: EnrichedTx | null): any {
|
|
|
203
211
|
'nonce': value['nonce'],
|
|
204
212
|
'expire_at': value['expire_at'],
|
|
205
213
|
'block_height': value['block_height'],
|
|
206
|
-
'
|
|
214
|
+
'queued_at': value['queued_at'],
|
|
207
215
|
'executed_at': value['executed_at'],
|
|
208
216
|
'sequence_index': value['sequence_index'],
|
|
217
|
+
'parent_hash': value['parent_hash'],
|
|
209
218
|
'committed_at': value['committed_at'],
|
|
210
219
|
'verified_at': value['verified_at'],
|
|
211
220
|
};
|
package/models/Tx.ts
CHANGED
|
@@ -90,7 +90,7 @@ export interface Tx {
|
|
|
90
90
|
* @type {number}
|
|
91
91
|
* @memberof Tx
|
|
92
92
|
*/
|
|
93
|
-
|
|
93
|
+
queued_at: number;
|
|
94
94
|
/**
|
|
95
95
|
*
|
|
96
96
|
* @type {number}
|
|
@@ -103,6 +103,12 @@ export interface Tx {
|
|
|
103
103
|
* @memberof Tx
|
|
104
104
|
*/
|
|
105
105
|
sequence_index: number;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {string}
|
|
109
|
+
* @memberof Tx
|
|
110
|
+
*/
|
|
111
|
+
parent_hash: string;
|
|
106
112
|
}
|
|
107
113
|
|
|
108
114
|
/**
|
|
@@ -120,9 +126,10 @@ export function instanceOfTx(value: object): value is Tx {
|
|
|
120
126
|
if (!('nonce' in value) || value['nonce'] === undefined) return false;
|
|
121
127
|
if (!('expire_at' in value) || value['expire_at'] === undefined) return false;
|
|
122
128
|
if (!('block_height' in value) || value['block_height'] === undefined) return false;
|
|
123
|
-
if (!('
|
|
129
|
+
if (!('queued_at' in value) || value['queued_at'] === undefined) return false;
|
|
124
130
|
if (!('executed_at' in value) || value['executed_at'] === undefined) return false;
|
|
125
131
|
if (!('sequence_index' in value) || value['sequence_index'] === undefined) return false;
|
|
132
|
+
if (!('parent_hash' in value) || value['parent_hash'] === undefined) return false;
|
|
126
133
|
return true;
|
|
127
134
|
}
|
|
128
135
|
|
|
@@ -147,9 +154,10 @@ export function TxFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tx {
|
|
|
147
154
|
'nonce': json['nonce'],
|
|
148
155
|
'expire_at': json['expire_at'],
|
|
149
156
|
'block_height': json['block_height'],
|
|
150
|
-
'
|
|
157
|
+
'queued_at': json['queued_at'],
|
|
151
158
|
'executed_at': json['executed_at'],
|
|
152
159
|
'sequence_index': json['sequence_index'],
|
|
160
|
+
'parent_hash': json['parent_hash'],
|
|
153
161
|
};
|
|
154
162
|
}
|
|
155
163
|
|
|
@@ -170,9 +178,10 @@ export function TxToJSON(value?: Tx | null): any {
|
|
|
170
178
|
'nonce': value['nonce'],
|
|
171
179
|
'expire_at': value['expire_at'],
|
|
172
180
|
'block_height': value['block_height'],
|
|
173
|
-
'
|
|
181
|
+
'queued_at': value['queued_at'],
|
|
174
182
|
'executed_at': value['executed_at'],
|
|
175
183
|
'sequence_index': value['sequence_index'],
|
|
184
|
+
'parent_hash': value['parent_hash'],
|
|
176
185
|
};
|
|
177
186
|
}
|
|
178
187
|
|
package/openapi.json
CHANGED
|
@@ -2568,7 +2568,7 @@
|
|
|
2568
2568
|
"format": "int64",
|
|
2569
2569
|
"example": "45434"
|
|
2570
2570
|
},
|
|
2571
|
-
"
|
|
2571
|
+
"queued_at": {
|
|
2572
2572
|
"type": "integer",
|
|
2573
2573
|
"format": "int64",
|
|
2574
2574
|
"example": "1640995200"
|
|
@@ -2583,6 +2583,10 @@
|
|
|
2583
2583
|
"format": "int64",
|
|
2584
2584
|
"example": "8761"
|
|
2585
2585
|
},
|
|
2586
|
+
"parent_hash": {
|
|
2587
|
+
"type": "string",
|
|
2588
|
+
"example": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
|
|
2589
|
+
},
|
|
2586
2590
|
"committed_at": {
|
|
2587
2591
|
"type": "integer",
|
|
2588
2592
|
"format": "int64",
|
|
@@ -2608,9 +2612,10 @@
|
|
|
2608
2612
|
"nonce",
|
|
2609
2613
|
"expire_at",
|
|
2610
2614
|
"block_height",
|
|
2611
|
-
"
|
|
2615
|
+
"queued_at",
|
|
2612
2616
|
"executed_at",
|
|
2613
2617
|
"sequence_index",
|
|
2618
|
+
"parent_hash",
|
|
2614
2619
|
"committed_at",
|
|
2615
2620
|
"verified_at"
|
|
2616
2621
|
]
|
|
@@ -4974,7 +4979,7 @@
|
|
|
4974
4979
|
"format": "int64",
|
|
4975
4980
|
"example": "45434"
|
|
4976
4981
|
},
|
|
4977
|
-
"
|
|
4982
|
+
"queued_at": {
|
|
4978
4983
|
"type": "integer",
|
|
4979
4984
|
"format": "int64",
|
|
4980
4985
|
"example": "1640995200"
|
|
@@ -4988,6 +4993,10 @@
|
|
|
4988
4993
|
"type": "integer",
|
|
4989
4994
|
"format": "int64",
|
|
4990
4995
|
"example": "8761"
|
|
4996
|
+
},
|
|
4997
|
+
"parent_hash": {
|
|
4998
|
+
"type": "string",
|
|
4999
|
+
"example": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
|
|
4991
5000
|
}
|
|
4992
5001
|
},
|
|
4993
5002
|
"title": "Tx",
|
|
@@ -5003,9 +5012,10 @@
|
|
|
5003
5012
|
"nonce",
|
|
5004
5013
|
"expire_at",
|
|
5005
5014
|
"block_height",
|
|
5006
|
-
"
|
|
5015
|
+
"queued_at",
|
|
5007
5016
|
"executed_at",
|
|
5008
|
-
"sequence_index"
|
|
5017
|
+
"sequence_index",
|
|
5018
|
+
"parent_hash"
|
|
5009
5019
|
]
|
|
5010
5020
|
},
|
|
5011
5021
|
"TxHash": {
|