@chainflip/rpc 2.2.0-alpha.1 → 2.2.0-alpha.2
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 +996 -996
- package/dist/common.d.mts +996 -996
- package/dist/parsers.cjs +2 -2
- package/dist/parsers.d.cts +1427 -1427
- package/dist/parsers.d.mts +1427 -1427
- package/dist/parsers.mjs +2 -2
- package/package.json +1 -1
package/dist/parsers.mjs
CHANGED
|
@@ -726,7 +726,7 @@ const cfLendingPools = z.array(z.object({
|
|
|
726
726
|
const cfLendingConfig = z.object({
|
|
727
727
|
ltv_thresholds: z.object({
|
|
728
728
|
target: z.number(),
|
|
729
|
-
topup: z.number().
|
|
729
|
+
topup: z.number().nullish(),
|
|
730
730
|
soft_liquidation: z.number(),
|
|
731
731
|
soft_liquidation_abort: z.number(),
|
|
732
732
|
hard_liquidation: z.number(),
|
|
@@ -755,7 +755,7 @@ const cfLendingConfig = z.object({
|
|
|
755
755
|
});
|
|
756
756
|
const cfLoanAccount = z.object({
|
|
757
757
|
account: accountId,
|
|
758
|
-
collateral_topup_asset: rpcAssetSchema.
|
|
758
|
+
collateral_topup_asset: rpcAssetSchema.nullish(),
|
|
759
759
|
ltv_ratio: numberOrHex.nullable(),
|
|
760
760
|
collateral: z.array(z.intersection(rpcAssetSchema, z.object({ amount: numberOrHex }))),
|
|
761
761
|
loans: z.array(z.object({
|