zklighter-perps 1.0.191 → 1.0.192
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/PnLEntry.ts +9 -0
- package/openapi.json +7 -1
- package/package.json +1 -1
package/models/PnLEntry.ts
CHANGED
|
@@ -103,6 +103,12 @@ export interface PnLEntry {
|
|
|
103
103
|
* @memberof PnLEntry
|
|
104
104
|
*/
|
|
105
105
|
pool_total_shares: number;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {number}
|
|
109
|
+
* @memberof PnLEntry
|
|
110
|
+
*/
|
|
111
|
+
staked_lit: number;
|
|
106
112
|
}
|
|
107
113
|
|
|
108
114
|
/**
|
|
@@ -123,6 +129,7 @@ export function instanceOfPnLEntry(value: object): value is PnLEntry {
|
|
|
123
129
|
if (!('staking_inflow' in value) || value['staking_inflow'] === undefined) return false;
|
|
124
130
|
if (!('staking_outflow' in value) || value['staking_outflow'] === undefined) return false;
|
|
125
131
|
if (!('pool_total_shares' in value) || value['pool_total_shares'] === undefined) return false;
|
|
132
|
+
if (!('staked_lit' in value) || value['staked_lit'] === undefined) return false;
|
|
126
133
|
return true;
|
|
127
134
|
}
|
|
128
135
|
|
|
@@ -150,6 +157,7 @@ export function PnLEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
150
157
|
'staking_inflow': json['staking_inflow'],
|
|
151
158
|
'staking_outflow': json['staking_outflow'],
|
|
152
159
|
'pool_total_shares': json['pool_total_shares'],
|
|
160
|
+
'staked_lit': json['staked_lit'],
|
|
153
161
|
};
|
|
154
162
|
}
|
|
155
163
|
|
|
@@ -173,6 +181,7 @@ export function PnLEntryToJSON(value?: PnLEntry | null): any {
|
|
|
173
181
|
'staking_inflow': value['staking_inflow'],
|
|
174
182
|
'staking_outflow': value['staking_outflow'],
|
|
175
183
|
'pool_total_shares': value['pool_total_shares'],
|
|
184
|
+
'staked_lit': value['staked_lit'],
|
|
176
185
|
};
|
|
177
186
|
}
|
|
178
187
|
|
package/openapi.json
CHANGED
|
@@ -7262,6 +7262,11 @@
|
|
|
7262
7262
|
"type": "number",
|
|
7263
7263
|
"format": "double",
|
|
7264
7264
|
"example": "12.0"
|
|
7265
|
+
},
|
|
7266
|
+
"staked_lit": {
|
|
7267
|
+
"type": "number",
|
|
7268
|
+
"format": "double",
|
|
7269
|
+
"example": "12.0"
|
|
7265
7270
|
}
|
|
7266
7271
|
},
|
|
7267
7272
|
"title": "PnLEntry",
|
|
@@ -7279,7 +7284,8 @@
|
|
|
7279
7284
|
"staking_pnl",
|
|
7280
7285
|
"staking_inflow",
|
|
7281
7286
|
"staking_outflow",
|
|
7282
|
-
"pool_total_shares"
|
|
7287
|
+
"pool_total_shares",
|
|
7288
|
+
"staked_lit"
|
|
7283
7289
|
]
|
|
7284
7290
|
},
|
|
7285
7291
|
"PositionFunding": {
|