zklighter-perps 1.0.156 → 1.0.157
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/PublicPoolMetadata.ts +9 -0
- package/openapi.json +6 -0
- package/package.json +1 -1
|
@@ -38,6 +38,12 @@ export interface PublicPoolMetadata {
|
|
|
38
38
|
* @memberof PublicPoolMetadata
|
|
39
39
|
*/
|
|
40
40
|
message?: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof PublicPoolMetadata
|
|
45
|
+
*/
|
|
46
|
+
account_index: number;
|
|
41
47
|
/**
|
|
42
48
|
*
|
|
43
49
|
* @type {number}
|
|
@@ -99,6 +105,7 @@ export interface PublicPoolMetadata {
|
|
|
99
105
|
*/
|
|
100
106
|
export function instanceOfPublicPoolMetadata(value: object): value is PublicPoolMetadata {
|
|
101
107
|
if (!('code' in value) || value['code'] === undefined) return false;
|
|
108
|
+
if (!('account_index' in value) || value['account_index'] === undefined) return false;
|
|
102
109
|
if (!('account_type' in value) || value['account_type'] === undefined) return false;
|
|
103
110
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
104
111
|
if (!('l1_address' in value) || value['l1_address'] === undefined) return false;
|
|
@@ -122,6 +129,7 @@ export function PublicPoolMetadataFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
122
129
|
|
|
123
130
|
'code': json['code'],
|
|
124
131
|
'message': json['message'] == null ? undefined : json['message'],
|
|
132
|
+
'account_index': json['account_index'],
|
|
125
133
|
'account_type': json['account_type'],
|
|
126
134
|
'name': json['name'],
|
|
127
135
|
'l1_address': json['l1_address'],
|
|
@@ -142,6 +150,7 @@ export function PublicPoolMetadataToJSON(value?: PublicPoolMetadata | null): any
|
|
|
142
150
|
|
|
143
151
|
'code': value['code'],
|
|
144
152
|
'message': value['message'],
|
|
153
|
+
'account_index': value['account_index'],
|
|
145
154
|
'account_type': value['account_type'],
|
|
146
155
|
'name': value['name'],
|
|
147
156
|
'l1_address': value['l1_address'],
|
package/openapi.json
CHANGED
|
@@ -6108,6 +6108,11 @@
|
|
|
6108
6108
|
"message": {
|
|
6109
6109
|
"type": "string"
|
|
6110
6110
|
},
|
|
6111
|
+
"account_index": {
|
|
6112
|
+
"type": "integer",
|
|
6113
|
+
"format": "int64",
|
|
6114
|
+
"example": "3"
|
|
6115
|
+
},
|
|
6111
6116
|
"account_type": {
|
|
6112
6117
|
"type": "integer",
|
|
6113
6118
|
"format": "uint8",
|
|
@@ -6150,6 +6155,7 @@
|
|
|
6150
6155
|
"title": "PublicPoolMetadata",
|
|
6151
6156
|
"required": [
|
|
6152
6157
|
"code",
|
|
6158
|
+
"account_index",
|
|
6153
6159
|
"account_type",
|
|
6154
6160
|
"name",
|
|
6155
6161
|
"l1_address",
|