@chainflip/rpc 1.11.0-beta.12 → 1.11.0-beta.13
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/dist/common.d.cts +595 -4
- package/dist/common.d.ts +595 -4
- package/dist/parsers.cjs +18 -1
- package/dist/parsers.d.cts +1869 -266
- package/dist/parsers.d.ts +1869 -266
- package/dist/parsers.mjs +18 -1
- package/package.json +1 -1
package/dist/parsers.mjs
CHANGED
|
@@ -285,7 +285,24 @@ var liquidityProvider = z.object({
|
|
|
285
285
|
...accountInfoCommon,
|
|
286
286
|
refund_addresses: chainMapFactory(z.string().nullable(), null),
|
|
287
287
|
earned_fees: chainAssetMapFactory(numberOrHex, 0),
|
|
288
|
-
boost_balances: chainAssetMapFactory(boostBalances, [])
|
|
288
|
+
boost_balances: chainAssetMapFactory(boostBalances, []),
|
|
289
|
+
lending_positions: z.array(
|
|
290
|
+
z.intersection(
|
|
291
|
+
rpcAssetSchema,
|
|
292
|
+
z.object({
|
|
293
|
+
total_amount: numberOrHex,
|
|
294
|
+
available_amount: numberOrHex
|
|
295
|
+
})
|
|
296
|
+
)
|
|
297
|
+
).optional(),
|
|
298
|
+
collateral_balances: z.array(
|
|
299
|
+
z.intersection(
|
|
300
|
+
rpcAssetSchema,
|
|
301
|
+
z.object({
|
|
302
|
+
amount: numberOrHex
|
|
303
|
+
})
|
|
304
|
+
)
|
|
305
|
+
).optional()
|
|
289
306
|
});
|
|
290
307
|
var oldValidator = z.object({
|
|
291
308
|
role: z.literal("validator"),
|