zklighter-perps 1.0.132 → 1.0.133
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/PublicPool.ts +9 -0
- package/openapi.json +5 -0
- package/package.json +1 -1
package/models/PublicPool.ts
CHANGED
|
@@ -134,6 +134,12 @@ export interface PublicPool {
|
|
|
134
134
|
* @memberof PublicPool
|
|
135
135
|
*/
|
|
136
136
|
total_asset_value: string;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @type {string}
|
|
140
|
+
* @memberof PublicPool
|
|
141
|
+
*/
|
|
142
|
+
cross_asset_value: string;
|
|
137
143
|
/**
|
|
138
144
|
*
|
|
139
145
|
* @type {PublicPoolInfo}
|
|
@@ -168,6 +174,7 @@ export function instanceOfPublicPool(value: object): value is PublicPool {
|
|
|
168
174
|
if (!('can_invite' in value) || value['can_invite'] === undefined) return false;
|
|
169
175
|
if (!('referral_points_percentage' in value) || value['referral_points_percentage'] === undefined) return false;
|
|
170
176
|
if (!('total_asset_value' in value) || value['total_asset_value'] === undefined) return false;
|
|
177
|
+
if (!('cross_asset_value' in value) || value['cross_asset_value'] === undefined) return false;
|
|
171
178
|
if (!('pool_info' in value) || value['pool_info'] === undefined) return false;
|
|
172
179
|
return true;
|
|
173
180
|
}
|
|
@@ -199,6 +206,7 @@ export function PublicPoolFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
199
206
|
'can_invite': json['can_invite'],
|
|
200
207
|
'referral_points_percentage': json['referral_points_percentage'],
|
|
201
208
|
'total_asset_value': json['total_asset_value'],
|
|
209
|
+
'cross_asset_value': json['cross_asset_value'],
|
|
202
210
|
'pool_info': PublicPoolInfoFromJSON(json['pool_info']),
|
|
203
211
|
'account_share': json['account_share'] == null ? undefined : PublicPoolShareFromJSON(json['account_share']),
|
|
204
212
|
};
|
|
@@ -227,6 +235,7 @@ export function PublicPoolToJSON(value?: PublicPool | null): any {
|
|
|
227
235
|
'can_invite': value['can_invite'],
|
|
228
236
|
'referral_points_percentage': value['referral_points_percentage'],
|
|
229
237
|
'total_asset_value': value['total_asset_value'],
|
|
238
|
+
'cross_asset_value': value['cross_asset_value'],
|
|
230
239
|
'pool_info': PublicPoolInfoToJSON(value['pool_info']),
|
|
231
240
|
'account_share': PublicPoolShareToJSON(value['account_share']),
|
|
232
241
|
};
|
package/openapi.json
CHANGED
|
@@ -5645,6 +5645,10 @@
|
|
|
5645
5645
|
"type": "string",
|
|
5646
5646
|
"example": "19995"
|
|
5647
5647
|
},
|
|
5648
|
+
"cross_asset_value": {
|
|
5649
|
+
"type": "string",
|
|
5650
|
+
"example": "19995"
|
|
5651
|
+
},
|
|
5648
5652
|
"pool_info": {
|
|
5649
5653
|
"$ref": "#/definitions/PublicPoolInfo"
|
|
5650
5654
|
},
|
|
@@ -5670,6 +5674,7 @@
|
|
|
5670
5674
|
"can_invite",
|
|
5671
5675
|
"referral_points_percentage",
|
|
5672
5676
|
"total_asset_value",
|
|
5677
|
+
"cross_asset_value",
|
|
5673
5678
|
"pool_info"
|
|
5674
5679
|
]
|
|
5675
5680
|
},
|