zklighter-perps 1.0.30 → 1.0.31
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/PublicPoolShare.ts +4 -4
- package/openapi.json +3 -3
- package/package.json +1 -1
|
@@ -24,7 +24,7 @@ export interface PublicPoolShare {
|
|
|
24
24
|
* @type {number}
|
|
25
25
|
* @memberof PublicPoolShare
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
public_pool_index: number;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {number}
|
|
@@ -43,7 +43,7 @@ export interface PublicPoolShare {
|
|
|
43
43
|
* Check if a given object implements the PublicPoolShare interface.
|
|
44
44
|
*/
|
|
45
45
|
export function instanceOfPublicPoolShare(value: object): value is PublicPoolShare {
|
|
46
|
-
if (!('
|
|
46
|
+
if (!('public_pool_index' in value) || value['public_pool_index'] === undefined) return false;
|
|
47
47
|
if (!('shares_amount' in value) || value['shares_amount'] === undefined) return false;
|
|
48
48
|
if (!('entry_usdc' in value) || value['entry_usdc'] === undefined) return false;
|
|
49
49
|
return true;
|
|
@@ -59,7 +59,7 @@ export function PublicPoolShareFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
59
59
|
}
|
|
60
60
|
return {
|
|
61
61
|
|
|
62
|
-
'
|
|
62
|
+
'public_pool_index': json['public_pool_index'],
|
|
63
63
|
'shares_amount': json['shares_amount'],
|
|
64
64
|
'entry_usdc': json['entry_usdc'],
|
|
65
65
|
};
|
|
@@ -71,7 +71,7 @@ export function PublicPoolShareToJSON(value?: PublicPoolShare | null): any {
|
|
|
71
71
|
}
|
|
72
72
|
return {
|
|
73
73
|
|
|
74
|
-
'
|
|
74
|
+
'public_pool_index': value['public_pool_index'],
|
|
75
75
|
'shares_amount': value['shares_amount'],
|
|
76
76
|
'entry_usdc': value['entry_usdc'],
|
|
77
77
|
};
|
package/openapi.json
CHANGED
|
@@ -3419,7 +3419,7 @@
|
|
|
3419
3419
|
"PublicPoolShare": {
|
|
3420
3420
|
"type": "object",
|
|
3421
3421
|
"properties": {
|
|
3422
|
-
"
|
|
3422
|
+
"public_pool_index": {
|
|
3423
3423
|
"type": "integer",
|
|
3424
3424
|
"format": "int64",
|
|
3425
3425
|
"example": "1"
|
|
@@ -3436,7 +3436,7 @@
|
|
|
3436
3436
|
},
|
|
3437
3437
|
"title": "PublicPoolShare",
|
|
3438
3438
|
"required": [
|
|
3439
|
-
"
|
|
3439
|
+
"public_pool_index",
|
|
3440
3440
|
"shares_amount",
|
|
3441
3441
|
"entry_usdc"
|
|
3442
3442
|
]
|
|
@@ -4683,4 +4683,4 @@
|
|
|
4683
4683
|
"in": "header"
|
|
4684
4684
|
}
|
|
4685
4685
|
}
|
|
4686
|
-
}
|
|
4686
|
+
}
|