zklighter-perps 1.0.168 → 1.0.169
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
|
@@ -44,6 +44,12 @@ export interface PublicPoolMetadata {
|
|
|
44
44
|
* @memberof PublicPoolMetadata
|
|
45
45
|
*/
|
|
46
46
|
account_index: number;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof PublicPoolMetadata
|
|
51
|
+
*/
|
|
52
|
+
master_account_index: number;
|
|
47
53
|
/**
|
|
48
54
|
*
|
|
49
55
|
* @type {number}
|
|
@@ -106,6 +112,7 @@ export interface PublicPoolMetadata {
|
|
|
106
112
|
export function instanceOfPublicPoolMetadata(value: object): value is PublicPoolMetadata {
|
|
107
113
|
if (!('code' in value) || value['code'] === undefined) return false;
|
|
108
114
|
if (!('account_index' in value) || value['account_index'] === undefined) return false;
|
|
115
|
+
if (!('master_account_index' in value) || value['master_account_index'] === undefined) return false;
|
|
109
116
|
if (!('account_type' in value) || value['account_type'] === undefined) return false;
|
|
110
117
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
111
118
|
if (!('l1_address' in value) || value['l1_address'] === undefined) return false;
|
|
@@ -130,6 +137,7 @@ export function PublicPoolMetadataFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
130
137
|
'code': json['code'],
|
|
131
138
|
'message': json['message'] == null ? undefined : json['message'],
|
|
132
139
|
'account_index': json['account_index'],
|
|
140
|
+
'master_account_index': json['master_account_index'],
|
|
133
141
|
'account_type': json['account_type'],
|
|
134
142
|
'name': json['name'],
|
|
135
143
|
'l1_address': json['l1_address'],
|
|
@@ -151,6 +159,7 @@ export function PublicPoolMetadataToJSON(value?: PublicPoolMetadata | null): any
|
|
|
151
159
|
'code': value['code'],
|
|
152
160
|
'message': value['message'],
|
|
153
161
|
'account_index': value['account_index'],
|
|
162
|
+
'master_account_index': value['master_account_index'],
|
|
154
163
|
'account_type': value['account_type'],
|
|
155
164
|
'name': value['name'],
|
|
156
165
|
'l1_address': value['l1_address'],
|
package/openapi.json
CHANGED
|
@@ -6238,6 +6238,11 @@
|
|
|
6238
6238
|
"format": "int64",
|
|
6239
6239
|
"example": "3"
|
|
6240
6240
|
},
|
|
6241
|
+
"master_account_index": {
|
|
6242
|
+
"type": "integer",
|
|
6243
|
+
"format": "int64",
|
|
6244
|
+
"example": "61"
|
|
6245
|
+
},
|
|
6241
6246
|
"account_type": {
|
|
6242
6247
|
"type": "integer",
|
|
6243
6248
|
"format": "uint8",
|
|
@@ -6281,6 +6286,7 @@
|
|
|
6281
6286
|
"required": [
|
|
6282
6287
|
"code",
|
|
6283
6288
|
"account_index",
|
|
6289
|
+
"master_account_index",
|
|
6284
6290
|
"account_type",
|
|
6285
6291
|
"name",
|
|
6286
6292
|
"l1_address",
|