@chainflip/rpc 2.0.5 → 2.0.6
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 +4 -4
- package/dist/common.d.ts +4 -4
- package/dist/parsers.cjs +1 -1
- package/dist/parsers.d.cts +8 -8
- package/dist/parsers.d.ts +8 -8
- package/dist/parsers.mjs +1 -1
- package/package.json +1 -1
package/dist/common.d.cts
CHANGED
|
@@ -25985,7 +25985,7 @@ declare const rpcResult: {
|
|
|
25985
25985
|
}>;
|
|
25986
25986
|
readonly cf_loan_accounts: z.ZodArray<z.ZodObject<{
|
|
25987
25987
|
account: z.ZodEffects<z.ZodString, `cF${string}`, string>;
|
|
25988
|
-
collateral_topup_asset: z.ZodUnion<[z.ZodObject<{
|
|
25988
|
+
collateral_topup_asset: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
25989
25989
|
chain: z.ZodLiteral<"Bitcoin">;
|
|
25990
25990
|
asset: z.ZodLiteral<"BTC">;
|
|
25991
25991
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -26102,7 +26102,7 @@ declare const rpcResult: {
|
|
|
26102
26102
|
}, {
|
|
26103
26103
|
chain: "Assethub";
|
|
26104
26104
|
asset: "USDT";
|
|
26105
|
-
}>]
|
|
26105
|
+
}>]>>;
|
|
26106
26106
|
ltv_ratio: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
26107
26107
|
collateral: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
26108
26108
|
chain: z.ZodLiteral<"Bitcoin">;
|
|
@@ -26502,7 +26502,7 @@ declare const rpcResult: {
|
|
|
26502
26502
|
} | {
|
|
26503
26503
|
chain: "Assethub";
|
|
26504
26504
|
asset: "USDT";
|
|
26505
|
-
};
|
|
26505
|
+
} | null;
|
|
26506
26506
|
ltv_ratio: bigint | null;
|
|
26507
26507
|
collateral: (({
|
|
26508
26508
|
chain: "Bitcoin";
|
|
@@ -26638,7 +26638,7 @@ declare const rpcResult: {
|
|
|
26638
26638
|
} | {
|
|
26639
26639
|
chain: "Assethub";
|
|
26640
26640
|
asset: "USDT";
|
|
26641
|
-
};
|
|
26641
|
+
} | null;
|
|
26642
26642
|
ltv_ratio: string | number | null;
|
|
26643
26643
|
collateral: (({
|
|
26644
26644
|
chain: "Bitcoin";
|
package/dist/common.d.ts
CHANGED
|
@@ -25985,7 +25985,7 @@ declare const rpcResult: {
|
|
|
25985
25985
|
}>;
|
|
25986
25986
|
readonly cf_loan_accounts: z.ZodArray<z.ZodObject<{
|
|
25987
25987
|
account: z.ZodEffects<z.ZodString, `cF${string}`, string>;
|
|
25988
|
-
collateral_topup_asset: z.ZodUnion<[z.ZodObject<{
|
|
25988
|
+
collateral_topup_asset: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
25989
25989
|
chain: z.ZodLiteral<"Bitcoin">;
|
|
25990
25990
|
asset: z.ZodLiteral<"BTC">;
|
|
25991
25991
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -26102,7 +26102,7 @@ declare const rpcResult: {
|
|
|
26102
26102
|
}, {
|
|
26103
26103
|
chain: "Assethub";
|
|
26104
26104
|
asset: "USDT";
|
|
26105
|
-
}>]
|
|
26105
|
+
}>]>>;
|
|
26106
26106
|
ltv_ratio: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
26107
26107
|
collateral: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
26108
26108
|
chain: z.ZodLiteral<"Bitcoin">;
|
|
@@ -26502,7 +26502,7 @@ declare const rpcResult: {
|
|
|
26502
26502
|
} | {
|
|
26503
26503
|
chain: "Assethub";
|
|
26504
26504
|
asset: "USDT";
|
|
26505
|
-
};
|
|
26505
|
+
} | null;
|
|
26506
26506
|
ltv_ratio: bigint | null;
|
|
26507
26507
|
collateral: (({
|
|
26508
26508
|
chain: "Bitcoin";
|
|
@@ -26638,7 +26638,7 @@ declare const rpcResult: {
|
|
|
26638
26638
|
} | {
|
|
26639
26639
|
chain: "Assethub";
|
|
26640
26640
|
asset: "USDT";
|
|
26641
|
-
};
|
|
26641
|
+
} | null;
|
|
26642
26642
|
ltv_ratio: string | number | null;
|
|
26643
26643
|
collateral: (({
|
|
26644
26644
|
chain: "Bitcoin";
|
package/dist/parsers.cjs
CHANGED
|
@@ -639,7 +639,7 @@ var cfLendingConfig = _zod.z.object({
|
|
|
639
639
|
});
|
|
640
640
|
var cfLoanAccount = _zod.z.object({
|
|
641
641
|
account: accountId,
|
|
642
|
-
collateral_topup_asset: rpcAssetSchema,
|
|
642
|
+
collateral_topup_asset: rpcAssetSchema.nullable(),
|
|
643
643
|
ltv_ratio: numberOrHex.nullable(),
|
|
644
644
|
collateral: _zod.z.array(
|
|
645
645
|
_zod.z.intersection(
|
package/dist/parsers.d.cts
CHANGED
|
@@ -30287,7 +30287,7 @@ declare const cfLendingConfig: z.ZodObject<{
|
|
|
30287
30287
|
}>;
|
|
30288
30288
|
declare const cfLoanAccount: z.ZodObject<{
|
|
30289
30289
|
account: z.ZodEffects<z.ZodString, `cF${string}`, string>;
|
|
30290
|
-
collateral_topup_asset: z.ZodUnion<[z.ZodObject<{
|
|
30290
|
+
collateral_topup_asset: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
30291
30291
|
chain: z.ZodLiteral<"Bitcoin">;
|
|
30292
30292
|
asset: z.ZodLiteral<"BTC">;
|
|
30293
30293
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -30404,7 +30404,7 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
30404
30404
|
}, {
|
|
30405
30405
|
chain: "Assethub";
|
|
30406
30406
|
asset: "USDT";
|
|
30407
|
-
}>]
|
|
30407
|
+
}>]>>;
|
|
30408
30408
|
ltv_ratio: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
30409
30409
|
collateral: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
30410
30410
|
chain: z.ZodLiteral<"Bitcoin">;
|
|
@@ -30804,7 +30804,7 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
30804
30804
|
} | {
|
|
30805
30805
|
chain: "Assethub";
|
|
30806
30806
|
asset: "USDT";
|
|
30807
|
-
};
|
|
30807
|
+
} | null;
|
|
30808
30808
|
ltv_ratio: bigint | null;
|
|
30809
30809
|
collateral: (({
|
|
30810
30810
|
chain: "Bitcoin";
|
|
@@ -30940,7 +30940,7 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
30940
30940
|
} | {
|
|
30941
30941
|
chain: "Assethub";
|
|
30942
30942
|
asset: "USDT";
|
|
30943
|
-
};
|
|
30943
|
+
} | null;
|
|
30944
30944
|
ltv_ratio: string | number | null;
|
|
30945
30945
|
collateral: (({
|
|
30946
30946
|
chain: "Bitcoin";
|
|
@@ -31038,7 +31038,7 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
31038
31038
|
}>;
|
|
31039
31039
|
declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
31040
31040
|
account: z.ZodEffects<z.ZodString, `cF${string}`, string>;
|
|
31041
|
-
collateral_topup_asset: z.ZodUnion<[z.ZodObject<{
|
|
31041
|
+
collateral_topup_asset: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
31042
31042
|
chain: z.ZodLiteral<"Bitcoin">;
|
|
31043
31043
|
asset: z.ZodLiteral<"BTC">;
|
|
31044
31044
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -31155,7 +31155,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
|
31155
31155
|
}, {
|
|
31156
31156
|
chain: "Assethub";
|
|
31157
31157
|
asset: "USDT";
|
|
31158
|
-
}>]
|
|
31158
|
+
}>]>>;
|
|
31159
31159
|
ltv_ratio: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
31160
31160
|
collateral: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
31161
31161
|
chain: z.ZodLiteral<"Bitcoin">;
|
|
@@ -31555,7 +31555,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
|
31555
31555
|
} | {
|
|
31556
31556
|
chain: "Assethub";
|
|
31557
31557
|
asset: "USDT";
|
|
31558
|
-
};
|
|
31558
|
+
} | null;
|
|
31559
31559
|
ltv_ratio: bigint | null;
|
|
31560
31560
|
collateral: (({
|
|
31561
31561
|
chain: "Bitcoin";
|
|
@@ -31691,7 +31691,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
|
31691
31691
|
} | {
|
|
31692
31692
|
chain: "Assethub";
|
|
31693
31693
|
asset: "USDT";
|
|
31694
|
-
};
|
|
31694
|
+
} | null;
|
|
31695
31695
|
ltv_ratio: string | number | null;
|
|
31696
31696
|
collateral: (({
|
|
31697
31697
|
chain: "Bitcoin";
|
package/dist/parsers.d.ts
CHANGED
|
@@ -30287,7 +30287,7 @@ declare const cfLendingConfig: z.ZodObject<{
|
|
|
30287
30287
|
}>;
|
|
30288
30288
|
declare const cfLoanAccount: z.ZodObject<{
|
|
30289
30289
|
account: z.ZodEffects<z.ZodString, `cF${string}`, string>;
|
|
30290
|
-
collateral_topup_asset: z.ZodUnion<[z.ZodObject<{
|
|
30290
|
+
collateral_topup_asset: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
30291
30291
|
chain: z.ZodLiteral<"Bitcoin">;
|
|
30292
30292
|
asset: z.ZodLiteral<"BTC">;
|
|
30293
30293
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -30404,7 +30404,7 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
30404
30404
|
}, {
|
|
30405
30405
|
chain: "Assethub";
|
|
30406
30406
|
asset: "USDT";
|
|
30407
|
-
}>]
|
|
30407
|
+
}>]>>;
|
|
30408
30408
|
ltv_ratio: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
30409
30409
|
collateral: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
30410
30410
|
chain: z.ZodLiteral<"Bitcoin">;
|
|
@@ -30804,7 +30804,7 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
30804
30804
|
} | {
|
|
30805
30805
|
chain: "Assethub";
|
|
30806
30806
|
asset: "USDT";
|
|
30807
|
-
};
|
|
30807
|
+
} | null;
|
|
30808
30808
|
ltv_ratio: bigint | null;
|
|
30809
30809
|
collateral: (({
|
|
30810
30810
|
chain: "Bitcoin";
|
|
@@ -30940,7 +30940,7 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
30940
30940
|
} | {
|
|
30941
30941
|
chain: "Assethub";
|
|
30942
30942
|
asset: "USDT";
|
|
30943
|
-
};
|
|
30943
|
+
} | null;
|
|
30944
30944
|
ltv_ratio: string | number | null;
|
|
30945
30945
|
collateral: (({
|
|
30946
30946
|
chain: "Bitcoin";
|
|
@@ -31038,7 +31038,7 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
31038
31038
|
}>;
|
|
31039
31039
|
declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
31040
31040
|
account: z.ZodEffects<z.ZodString, `cF${string}`, string>;
|
|
31041
|
-
collateral_topup_asset: z.ZodUnion<[z.ZodObject<{
|
|
31041
|
+
collateral_topup_asset: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
31042
31042
|
chain: z.ZodLiteral<"Bitcoin">;
|
|
31043
31043
|
asset: z.ZodLiteral<"BTC">;
|
|
31044
31044
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -31155,7 +31155,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
|
31155
31155
|
}, {
|
|
31156
31156
|
chain: "Assethub";
|
|
31157
31157
|
asset: "USDT";
|
|
31158
|
-
}>]
|
|
31158
|
+
}>]>>;
|
|
31159
31159
|
ltv_ratio: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
31160
31160
|
collateral: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
31161
31161
|
chain: z.ZodLiteral<"Bitcoin">;
|
|
@@ -31555,7 +31555,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
|
31555
31555
|
} | {
|
|
31556
31556
|
chain: "Assethub";
|
|
31557
31557
|
asset: "USDT";
|
|
31558
|
-
};
|
|
31558
|
+
} | null;
|
|
31559
31559
|
ltv_ratio: bigint | null;
|
|
31560
31560
|
collateral: (({
|
|
31561
31561
|
chain: "Bitcoin";
|
|
@@ -31691,7 +31691,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
|
31691
31691
|
} | {
|
|
31692
31692
|
chain: "Assethub";
|
|
31693
31693
|
asset: "USDT";
|
|
31694
|
-
};
|
|
31694
|
+
} | null;
|
|
31695
31695
|
ltv_ratio: string | number | null;
|
|
31696
31696
|
collateral: (({
|
|
31697
31697
|
chain: "Bitcoin";
|
package/dist/parsers.mjs
CHANGED
|
@@ -639,7 +639,7 @@ var cfLendingConfig = z.object({
|
|
|
639
639
|
});
|
|
640
640
|
var cfLoanAccount = z.object({
|
|
641
641
|
account: accountId,
|
|
642
|
-
collateral_topup_asset: rpcAssetSchema,
|
|
642
|
+
collateral_topup_asset: rpcAssetSchema.nullable(),
|
|
643
643
|
ltv_ratio: numberOrHex.nullable(),
|
|
644
644
|
collateral: z.array(
|
|
645
645
|
z.intersection(
|