zklighter-perps 1.0.169 → 1.0.170
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/AccountLimits.ts +9 -0
- package/openapi.json +5 -0
- package/package.json +1 -1
package/models/AccountLimits.ts
CHANGED
|
@@ -37,6 +37,12 @@ export interface AccountLimits {
|
|
|
37
37
|
* @memberof AccountLimits
|
|
38
38
|
*/
|
|
39
39
|
max_llp_percentage: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof AccountLimits
|
|
44
|
+
*/
|
|
45
|
+
max_llp_amount: string;
|
|
40
46
|
/**
|
|
41
47
|
*
|
|
42
48
|
* @type {string}
|
|
@@ -57,6 +63,7 @@ export interface AccountLimits {
|
|
|
57
63
|
export function instanceOfAccountLimits(value: object): value is AccountLimits {
|
|
58
64
|
if (!('code' in value) || value['code'] === undefined) return false;
|
|
59
65
|
if (!('max_llp_percentage' in value) || value['max_llp_percentage'] === undefined) return false;
|
|
66
|
+
if (!('max_llp_amount' in value) || value['max_llp_amount'] === undefined) return false;
|
|
60
67
|
if (!('user_tier' in value) || value['user_tier'] === undefined) return false;
|
|
61
68
|
if (!('can_create_public_pool' in value) || value['can_create_public_pool'] === undefined) return false;
|
|
62
69
|
return true;
|
|
@@ -75,6 +82,7 @@ export function AccountLimitsFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
75
82
|
'code': json['code'],
|
|
76
83
|
'message': json['message'] == null ? undefined : json['message'],
|
|
77
84
|
'max_llp_percentage': json['max_llp_percentage'],
|
|
85
|
+
'max_llp_amount': json['max_llp_amount'],
|
|
78
86
|
'user_tier': json['user_tier'],
|
|
79
87
|
'can_create_public_pool': json['can_create_public_pool'],
|
|
80
88
|
};
|
|
@@ -89,6 +97,7 @@ export function AccountLimitsToJSON(value?: AccountLimits | null): any {
|
|
|
89
97
|
'code': value['code'],
|
|
90
98
|
'message': value['message'],
|
|
91
99
|
'max_llp_percentage': value['max_llp_percentage'],
|
|
100
|
+
'max_llp_amount': value['max_llp_amount'],
|
|
92
101
|
'user_tier': value['user_tier'],
|
|
93
102
|
'can_create_public_pool': value['can_create_public_pool'],
|
|
94
103
|
};
|
package/openapi.json
CHANGED
|
@@ -3149,6 +3149,10 @@
|
|
|
3149
3149
|
"format": "int32",
|
|
3150
3150
|
"example": "25"
|
|
3151
3151
|
},
|
|
3152
|
+
"max_llp_amount": {
|
|
3153
|
+
"type": "string",
|
|
3154
|
+
"example": "1000000"
|
|
3155
|
+
},
|
|
3152
3156
|
"user_tier": {
|
|
3153
3157
|
"type": "string",
|
|
3154
3158
|
"example": "std"
|
|
@@ -3163,6 +3167,7 @@
|
|
|
3163
3167
|
"required": [
|
|
3164
3168
|
"code",
|
|
3165
3169
|
"max_llp_percentage",
|
|
3170
|
+
"max_llp_amount",
|
|
3166
3171
|
"user_tier",
|
|
3167
3172
|
"can_create_public_pool"
|
|
3168
3173
|
]
|