@chainflip/rpc 1.11.13 → 1.11.15
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 +9 -6
- package/dist/common.d.ts +9 -6
- package/dist/parsers.cjs +3 -2
- package/dist/parsers.d.cts +12 -9
- package/dist/parsers.d.ts +12 -9
- package/dist/parsers.mjs +3 -2
- package/package.json +1 -1
package/dist/common.d.cts
CHANGED
|
@@ -25874,7 +25874,8 @@ declare const rpcResult: {
|
|
|
25874
25874
|
interest_payment_interval_blocks: z.ZodNumber;
|
|
25875
25875
|
fee_swap_threshold_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
25876
25876
|
interest_collection_threshold_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
25877
|
-
|
|
25877
|
+
soft_liquidation_swap_chunk_size_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
25878
|
+
hard_liquidation_swap_chunk_size_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
25878
25879
|
soft_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
25879
25880
|
hard_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
25880
25881
|
fee_swap_max_oracle_slippage: z.ZodNumber;
|
|
@@ -25901,7 +25902,8 @@ declare const rpcResult: {
|
|
|
25901
25902
|
interest_payment_interval_blocks: number;
|
|
25902
25903
|
fee_swap_threshold_usd: bigint;
|
|
25903
25904
|
interest_collection_threshold_usd: bigint;
|
|
25904
|
-
|
|
25905
|
+
soft_liquidation_swap_chunk_size_usd: bigint;
|
|
25906
|
+
hard_liquidation_swap_chunk_size_usd: bigint;
|
|
25905
25907
|
soft_liquidation_max_oracle_slippage: number;
|
|
25906
25908
|
hard_liquidation_max_oracle_slippage: number;
|
|
25907
25909
|
fee_swap_max_oracle_slippage: number;
|
|
@@ -25928,7 +25930,8 @@ declare const rpcResult: {
|
|
|
25928
25930
|
interest_payment_interval_blocks: number;
|
|
25929
25931
|
fee_swap_threshold_usd: string | number;
|
|
25930
25932
|
interest_collection_threshold_usd: string | number;
|
|
25931
|
-
|
|
25933
|
+
soft_liquidation_swap_chunk_size_usd: string | number;
|
|
25934
|
+
hard_liquidation_swap_chunk_size_usd: string | number;
|
|
25932
25935
|
soft_liquidation_max_oracle_slippage: number;
|
|
25933
25936
|
hard_liquidation_max_oracle_slippage: number;
|
|
25934
25937
|
fee_swap_max_oracle_slippage: number;
|
|
@@ -26056,7 +26059,7 @@ declare const rpcResult: {
|
|
|
26056
26059
|
chain: "Assethub";
|
|
26057
26060
|
asset: "USDT";
|
|
26058
26061
|
}>]>;
|
|
26059
|
-
ltv_ratio: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number
|
|
26062
|
+
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>>;
|
|
26060
26063
|
collateral: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
26061
26064
|
chain: z.ZodLiteral<"Bitcoin">;
|
|
26062
26065
|
asset: z.ZodLiteral<"BTC">;
|
|
@@ -26456,7 +26459,7 @@ declare const rpcResult: {
|
|
|
26456
26459
|
chain: "Assethub";
|
|
26457
26460
|
asset: "USDT";
|
|
26458
26461
|
};
|
|
26459
|
-
ltv_ratio: bigint;
|
|
26462
|
+
ltv_ratio: bigint | null;
|
|
26460
26463
|
collateral: (({
|
|
26461
26464
|
chain: "Bitcoin";
|
|
26462
26465
|
asset: "BTC";
|
|
@@ -26592,7 +26595,7 @@ declare const rpcResult: {
|
|
|
26592
26595
|
chain: "Assethub";
|
|
26593
26596
|
asset: "USDT";
|
|
26594
26597
|
};
|
|
26595
|
-
ltv_ratio: string | number;
|
|
26598
|
+
ltv_ratio: string | number | null;
|
|
26596
26599
|
collateral: (({
|
|
26597
26600
|
chain: "Bitcoin";
|
|
26598
26601
|
asset: "BTC";
|
package/dist/common.d.ts
CHANGED
|
@@ -25874,7 +25874,8 @@ declare const rpcResult: {
|
|
|
25874
25874
|
interest_payment_interval_blocks: z.ZodNumber;
|
|
25875
25875
|
fee_swap_threshold_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
25876
25876
|
interest_collection_threshold_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
25877
|
-
|
|
25877
|
+
soft_liquidation_swap_chunk_size_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
25878
|
+
hard_liquidation_swap_chunk_size_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
25878
25879
|
soft_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
25879
25880
|
hard_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
25880
25881
|
fee_swap_max_oracle_slippage: z.ZodNumber;
|
|
@@ -25901,7 +25902,8 @@ declare const rpcResult: {
|
|
|
25901
25902
|
interest_payment_interval_blocks: number;
|
|
25902
25903
|
fee_swap_threshold_usd: bigint;
|
|
25903
25904
|
interest_collection_threshold_usd: bigint;
|
|
25904
|
-
|
|
25905
|
+
soft_liquidation_swap_chunk_size_usd: bigint;
|
|
25906
|
+
hard_liquidation_swap_chunk_size_usd: bigint;
|
|
25905
25907
|
soft_liquidation_max_oracle_slippage: number;
|
|
25906
25908
|
hard_liquidation_max_oracle_slippage: number;
|
|
25907
25909
|
fee_swap_max_oracle_slippage: number;
|
|
@@ -25928,7 +25930,8 @@ declare const rpcResult: {
|
|
|
25928
25930
|
interest_payment_interval_blocks: number;
|
|
25929
25931
|
fee_swap_threshold_usd: string | number;
|
|
25930
25932
|
interest_collection_threshold_usd: string | number;
|
|
25931
|
-
|
|
25933
|
+
soft_liquidation_swap_chunk_size_usd: string | number;
|
|
25934
|
+
hard_liquidation_swap_chunk_size_usd: string | number;
|
|
25932
25935
|
soft_liquidation_max_oracle_slippage: number;
|
|
25933
25936
|
hard_liquidation_max_oracle_slippage: number;
|
|
25934
25937
|
fee_swap_max_oracle_slippage: number;
|
|
@@ -26056,7 +26059,7 @@ declare const rpcResult: {
|
|
|
26056
26059
|
chain: "Assethub";
|
|
26057
26060
|
asset: "USDT";
|
|
26058
26061
|
}>]>;
|
|
26059
|
-
ltv_ratio: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number
|
|
26062
|
+
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>>;
|
|
26060
26063
|
collateral: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
26061
26064
|
chain: z.ZodLiteral<"Bitcoin">;
|
|
26062
26065
|
asset: z.ZodLiteral<"BTC">;
|
|
@@ -26456,7 +26459,7 @@ declare const rpcResult: {
|
|
|
26456
26459
|
chain: "Assethub";
|
|
26457
26460
|
asset: "USDT";
|
|
26458
26461
|
};
|
|
26459
|
-
ltv_ratio: bigint;
|
|
26462
|
+
ltv_ratio: bigint | null;
|
|
26460
26463
|
collateral: (({
|
|
26461
26464
|
chain: "Bitcoin";
|
|
26462
26465
|
asset: "BTC";
|
|
@@ -26592,7 +26595,7 @@ declare const rpcResult: {
|
|
|
26592
26595
|
chain: "Assethub";
|
|
26593
26596
|
asset: "USDT";
|
|
26594
26597
|
};
|
|
26595
|
-
ltv_ratio: string | number;
|
|
26598
|
+
ltv_ratio: string | number | null;
|
|
26596
26599
|
collateral: (({
|
|
26597
26600
|
chain: "Bitcoin";
|
|
26598
26601
|
asset: "BTC";
|
package/dist/parsers.cjs
CHANGED
|
@@ -618,7 +618,8 @@ var cfLendingConfig = _zod.z.object({
|
|
|
618
618
|
interest_payment_interval_blocks: _zod.z.number(),
|
|
619
619
|
fee_swap_threshold_usd: numberOrHex,
|
|
620
620
|
interest_collection_threshold_usd: numberOrHex,
|
|
621
|
-
|
|
621
|
+
soft_liquidation_swap_chunk_size_usd: numberOrHex,
|
|
622
|
+
hard_liquidation_swap_chunk_size_usd: numberOrHex,
|
|
622
623
|
soft_liquidation_max_oracle_slippage: _zod.z.number(),
|
|
623
624
|
hard_liquidation_max_oracle_slippage: _zod.z.number(),
|
|
624
625
|
fee_swap_max_oracle_slippage: _zod.z.number(),
|
|
@@ -629,7 +630,7 @@ var cfLendingConfig = _zod.z.object({
|
|
|
629
630
|
var cfLoanAccount = _zod.z.object({
|
|
630
631
|
account: accountId,
|
|
631
632
|
primary_collateral_asset: rpcAssetSchema,
|
|
632
|
-
ltv_ratio: numberOrHex,
|
|
633
|
+
ltv_ratio: numberOrHex.nullable(),
|
|
633
634
|
collateral: _zod.z.array(
|
|
634
635
|
_zod.z.intersection(
|
|
635
636
|
rpcAssetSchema,
|
package/dist/parsers.d.cts
CHANGED
|
@@ -30192,7 +30192,8 @@ declare const cfLendingConfig: z.ZodObject<{
|
|
|
30192
30192
|
interest_payment_interval_blocks: z.ZodNumber;
|
|
30193
30193
|
fee_swap_threshold_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
30194
30194
|
interest_collection_threshold_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
30195
|
-
|
|
30195
|
+
soft_liquidation_swap_chunk_size_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
30196
|
+
hard_liquidation_swap_chunk_size_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
30196
30197
|
soft_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
30197
30198
|
hard_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
30198
30199
|
fee_swap_max_oracle_slippage: z.ZodNumber;
|
|
@@ -30219,7 +30220,8 @@ declare const cfLendingConfig: z.ZodObject<{
|
|
|
30219
30220
|
interest_payment_interval_blocks: number;
|
|
30220
30221
|
fee_swap_threshold_usd: bigint;
|
|
30221
30222
|
interest_collection_threshold_usd: bigint;
|
|
30222
|
-
|
|
30223
|
+
soft_liquidation_swap_chunk_size_usd: bigint;
|
|
30224
|
+
hard_liquidation_swap_chunk_size_usd: bigint;
|
|
30223
30225
|
soft_liquidation_max_oracle_slippage: number;
|
|
30224
30226
|
hard_liquidation_max_oracle_slippage: number;
|
|
30225
30227
|
fee_swap_max_oracle_slippage: number;
|
|
@@ -30246,7 +30248,8 @@ declare const cfLendingConfig: z.ZodObject<{
|
|
|
30246
30248
|
interest_payment_interval_blocks: number;
|
|
30247
30249
|
fee_swap_threshold_usd: string | number;
|
|
30248
30250
|
interest_collection_threshold_usd: string | number;
|
|
30249
|
-
|
|
30251
|
+
soft_liquidation_swap_chunk_size_usd: string | number;
|
|
30252
|
+
hard_liquidation_swap_chunk_size_usd: string | number;
|
|
30250
30253
|
soft_liquidation_max_oracle_slippage: number;
|
|
30251
30254
|
hard_liquidation_max_oracle_slippage: number;
|
|
30252
30255
|
fee_swap_max_oracle_slippage: number;
|
|
@@ -30374,7 +30377,7 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
30374
30377
|
chain: "Assethub";
|
|
30375
30378
|
asset: "USDT";
|
|
30376
30379
|
}>]>;
|
|
30377
|
-
ltv_ratio: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number
|
|
30380
|
+
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>>;
|
|
30378
30381
|
collateral: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
30379
30382
|
chain: z.ZodLiteral<"Bitcoin">;
|
|
30380
30383
|
asset: z.ZodLiteral<"BTC">;
|
|
@@ -30774,7 +30777,7 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
30774
30777
|
chain: "Assethub";
|
|
30775
30778
|
asset: "USDT";
|
|
30776
30779
|
};
|
|
30777
|
-
ltv_ratio: bigint;
|
|
30780
|
+
ltv_ratio: bigint | null;
|
|
30778
30781
|
collateral: (({
|
|
30779
30782
|
chain: "Bitcoin";
|
|
30780
30783
|
asset: "BTC";
|
|
@@ -30910,7 +30913,7 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
30910
30913
|
chain: "Assethub";
|
|
30911
30914
|
asset: "USDT";
|
|
30912
30915
|
};
|
|
30913
|
-
ltv_ratio: string | number;
|
|
30916
|
+
ltv_ratio: string | number | null;
|
|
30914
30917
|
collateral: (({
|
|
30915
30918
|
chain: "Bitcoin";
|
|
30916
30919
|
asset: "BTC";
|
|
@@ -31125,7 +31128,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
|
31125
31128
|
chain: "Assethub";
|
|
31126
31129
|
asset: "USDT";
|
|
31127
31130
|
}>]>;
|
|
31128
|
-
ltv_ratio: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number
|
|
31131
|
+
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>>;
|
|
31129
31132
|
collateral: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
31130
31133
|
chain: z.ZodLiteral<"Bitcoin">;
|
|
31131
31134
|
asset: z.ZodLiteral<"BTC">;
|
|
@@ -31525,7 +31528,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
|
31525
31528
|
chain: "Assethub";
|
|
31526
31529
|
asset: "USDT";
|
|
31527
31530
|
};
|
|
31528
|
-
ltv_ratio: bigint;
|
|
31531
|
+
ltv_ratio: bigint | null;
|
|
31529
31532
|
collateral: (({
|
|
31530
31533
|
chain: "Bitcoin";
|
|
31531
31534
|
asset: "BTC";
|
|
@@ -31661,7 +31664,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
|
31661
31664
|
chain: "Assethub";
|
|
31662
31665
|
asset: "USDT";
|
|
31663
31666
|
};
|
|
31664
|
-
ltv_ratio: string | number;
|
|
31667
|
+
ltv_ratio: string | number | null;
|
|
31665
31668
|
collateral: (({
|
|
31666
31669
|
chain: "Bitcoin";
|
|
31667
31670
|
asset: "BTC";
|
package/dist/parsers.d.ts
CHANGED
|
@@ -30192,7 +30192,8 @@ declare const cfLendingConfig: z.ZodObject<{
|
|
|
30192
30192
|
interest_payment_interval_blocks: z.ZodNumber;
|
|
30193
30193
|
fee_swap_threshold_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
30194
30194
|
interest_collection_threshold_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
30195
|
-
|
|
30195
|
+
soft_liquidation_swap_chunk_size_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
30196
|
+
hard_liquidation_swap_chunk_size_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
30196
30197
|
soft_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
30197
30198
|
hard_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
30198
30199
|
fee_swap_max_oracle_slippage: z.ZodNumber;
|
|
@@ -30219,7 +30220,8 @@ declare const cfLendingConfig: z.ZodObject<{
|
|
|
30219
30220
|
interest_payment_interval_blocks: number;
|
|
30220
30221
|
fee_swap_threshold_usd: bigint;
|
|
30221
30222
|
interest_collection_threshold_usd: bigint;
|
|
30222
|
-
|
|
30223
|
+
soft_liquidation_swap_chunk_size_usd: bigint;
|
|
30224
|
+
hard_liquidation_swap_chunk_size_usd: bigint;
|
|
30223
30225
|
soft_liquidation_max_oracle_slippage: number;
|
|
30224
30226
|
hard_liquidation_max_oracle_slippage: number;
|
|
30225
30227
|
fee_swap_max_oracle_slippage: number;
|
|
@@ -30246,7 +30248,8 @@ declare const cfLendingConfig: z.ZodObject<{
|
|
|
30246
30248
|
interest_payment_interval_blocks: number;
|
|
30247
30249
|
fee_swap_threshold_usd: string | number;
|
|
30248
30250
|
interest_collection_threshold_usd: string | number;
|
|
30249
|
-
|
|
30251
|
+
soft_liquidation_swap_chunk_size_usd: string | number;
|
|
30252
|
+
hard_liquidation_swap_chunk_size_usd: string | number;
|
|
30250
30253
|
soft_liquidation_max_oracle_slippage: number;
|
|
30251
30254
|
hard_liquidation_max_oracle_slippage: number;
|
|
30252
30255
|
fee_swap_max_oracle_slippage: number;
|
|
@@ -30374,7 +30377,7 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
30374
30377
|
chain: "Assethub";
|
|
30375
30378
|
asset: "USDT";
|
|
30376
30379
|
}>]>;
|
|
30377
|
-
ltv_ratio: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number
|
|
30380
|
+
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>>;
|
|
30378
30381
|
collateral: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
30379
30382
|
chain: z.ZodLiteral<"Bitcoin">;
|
|
30380
30383
|
asset: z.ZodLiteral<"BTC">;
|
|
@@ -30774,7 +30777,7 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
30774
30777
|
chain: "Assethub";
|
|
30775
30778
|
asset: "USDT";
|
|
30776
30779
|
};
|
|
30777
|
-
ltv_ratio: bigint;
|
|
30780
|
+
ltv_ratio: bigint | null;
|
|
30778
30781
|
collateral: (({
|
|
30779
30782
|
chain: "Bitcoin";
|
|
30780
30783
|
asset: "BTC";
|
|
@@ -30910,7 +30913,7 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
30910
30913
|
chain: "Assethub";
|
|
30911
30914
|
asset: "USDT";
|
|
30912
30915
|
};
|
|
30913
|
-
ltv_ratio: string | number;
|
|
30916
|
+
ltv_ratio: string | number | null;
|
|
30914
30917
|
collateral: (({
|
|
30915
30918
|
chain: "Bitcoin";
|
|
30916
30919
|
asset: "BTC";
|
|
@@ -31125,7 +31128,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
|
31125
31128
|
chain: "Assethub";
|
|
31126
31129
|
asset: "USDT";
|
|
31127
31130
|
}>]>;
|
|
31128
|
-
ltv_ratio: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number
|
|
31131
|
+
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>>;
|
|
31129
31132
|
collateral: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
31130
31133
|
chain: z.ZodLiteral<"Bitcoin">;
|
|
31131
31134
|
asset: z.ZodLiteral<"BTC">;
|
|
@@ -31525,7 +31528,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
|
31525
31528
|
chain: "Assethub";
|
|
31526
31529
|
asset: "USDT";
|
|
31527
31530
|
};
|
|
31528
|
-
ltv_ratio: bigint;
|
|
31531
|
+
ltv_ratio: bigint | null;
|
|
31529
31532
|
collateral: (({
|
|
31530
31533
|
chain: "Bitcoin";
|
|
31531
31534
|
asset: "BTC";
|
|
@@ -31661,7 +31664,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
|
31661
31664
|
chain: "Assethub";
|
|
31662
31665
|
asset: "USDT";
|
|
31663
31666
|
};
|
|
31664
|
-
ltv_ratio: string | number;
|
|
31667
|
+
ltv_ratio: string | number | null;
|
|
31665
31668
|
collateral: (({
|
|
31666
31669
|
chain: "Bitcoin";
|
|
31667
31670
|
asset: "BTC";
|
package/dist/parsers.mjs
CHANGED
|
@@ -618,7 +618,8 @@ var cfLendingConfig = z.object({
|
|
|
618
618
|
interest_payment_interval_blocks: z.number(),
|
|
619
619
|
fee_swap_threshold_usd: numberOrHex,
|
|
620
620
|
interest_collection_threshold_usd: numberOrHex,
|
|
621
|
-
|
|
621
|
+
soft_liquidation_swap_chunk_size_usd: numberOrHex,
|
|
622
|
+
hard_liquidation_swap_chunk_size_usd: numberOrHex,
|
|
622
623
|
soft_liquidation_max_oracle_slippage: z.number(),
|
|
623
624
|
hard_liquidation_max_oracle_slippage: z.number(),
|
|
624
625
|
fee_swap_max_oracle_slippage: z.number(),
|
|
@@ -629,7 +630,7 @@ var cfLendingConfig = z.object({
|
|
|
629
630
|
var cfLoanAccount = z.object({
|
|
630
631
|
account: accountId,
|
|
631
632
|
primary_collateral_asset: rpcAssetSchema,
|
|
632
|
-
ltv_ratio: numberOrHex,
|
|
633
|
+
ltv_ratio: numberOrHex.nullable(),
|
|
633
634
|
collateral: z.array(
|
|
634
635
|
z.intersection(
|
|
635
636
|
rpcAssetSchema,
|