@chainflip/rpc 1.11.12 → 1.11.14
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 +11 -8
- package/dist/common.d.ts +11 -8
- package/dist/parsers.cjs +3 -2
- package/dist/parsers.d.cts +16 -13
- package/dist/parsers.d.ts +16 -13
- 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;
|
|
@@ -26400,19 +26403,19 @@ declare const rpcResult: {
|
|
|
26400
26403
|
loan_id: number;
|
|
26401
26404
|
swap_request_id: number;
|
|
26402
26405
|
}>, "many">;
|
|
26403
|
-
|
|
26406
|
+
liquidation_type: z.ZodEnum<["SoftVoluntary", "Soft", "Hard"]>;
|
|
26404
26407
|
}, "strip", z.ZodTypeAny, {
|
|
26405
26408
|
liquidation_swaps: {
|
|
26406
26409
|
loan_id: number;
|
|
26407
26410
|
swap_request_id: number;
|
|
26408
26411
|
}[];
|
|
26409
|
-
|
|
26412
|
+
liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
|
|
26410
26413
|
}, {
|
|
26411
26414
|
liquidation_swaps: {
|
|
26412
26415
|
loan_id: number;
|
|
26413
26416
|
swap_request_id: number;
|
|
26414
26417
|
}[];
|
|
26415
|
-
|
|
26418
|
+
liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
|
|
26416
26419
|
}>>;
|
|
26417
26420
|
}, "strip", z.ZodTypeAny, {
|
|
26418
26421
|
account: `cF${string}`;
|
|
@@ -26548,7 +26551,7 @@ declare const rpcResult: {
|
|
|
26548
26551
|
loan_id: number;
|
|
26549
26552
|
swap_request_id: number;
|
|
26550
26553
|
}[];
|
|
26551
|
-
|
|
26554
|
+
liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
|
|
26552
26555
|
} | null;
|
|
26553
26556
|
}, {
|
|
26554
26557
|
account: string;
|
|
@@ -26684,7 +26687,7 @@ declare const rpcResult: {
|
|
|
26684
26687
|
loan_id: number;
|
|
26685
26688
|
swap_request_id: number;
|
|
26686
26689
|
}[];
|
|
26687
|
-
|
|
26690
|
+
liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
|
|
26688
26691
|
} | null;
|
|
26689
26692
|
}>, "many">;
|
|
26690
26693
|
readonly cf_lending_pool_supply_balances: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
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;
|
|
@@ -26400,19 +26403,19 @@ declare const rpcResult: {
|
|
|
26400
26403
|
loan_id: number;
|
|
26401
26404
|
swap_request_id: number;
|
|
26402
26405
|
}>, "many">;
|
|
26403
|
-
|
|
26406
|
+
liquidation_type: z.ZodEnum<["SoftVoluntary", "Soft", "Hard"]>;
|
|
26404
26407
|
}, "strip", z.ZodTypeAny, {
|
|
26405
26408
|
liquidation_swaps: {
|
|
26406
26409
|
loan_id: number;
|
|
26407
26410
|
swap_request_id: number;
|
|
26408
26411
|
}[];
|
|
26409
|
-
|
|
26412
|
+
liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
|
|
26410
26413
|
}, {
|
|
26411
26414
|
liquidation_swaps: {
|
|
26412
26415
|
loan_id: number;
|
|
26413
26416
|
swap_request_id: number;
|
|
26414
26417
|
}[];
|
|
26415
|
-
|
|
26418
|
+
liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
|
|
26416
26419
|
}>>;
|
|
26417
26420
|
}, "strip", z.ZodTypeAny, {
|
|
26418
26421
|
account: `cF${string}`;
|
|
@@ -26548,7 +26551,7 @@ declare const rpcResult: {
|
|
|
26548
26551
|
loan_id: number;
|
|
26549
26552
|
swap_request_id: number;
|
|
26550
26553
|
}[];
|
|
26551
|
-
|
|
26554
|
+
liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
|
|
26552
26555
|
} | null;
|
|
26553
26556
|
}, {
|
|
26554
26557
|
account: string;
|
|
@@ -26684,7 +26687,7 @@ declare const rpcResult: {
|
|
|
26684
26687
|
loan_id: number;
|
|
26685
26688
|
swap_request_id: number;
|
|
26686
26689
|
}[];
|
|
26687
|
-
|
|
26690
|
+
liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
|
|
26688
26691
|
} | null;
|
|
26689
26692
|
}>, "many">;
|
|
26690
26693
|
readonly cf_lending_pool_supply_balances: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
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(),
|
|
@@ -652,7 +653,7 @@ var cfLoanAccount = _zod.z.object({
|
|
|
652
653
|
loan_id: _zod.z.number()
|
|
653
654
|
})
|
|
654
655
|
),
|
|
655
|
-
|
|
656
|
+
liquidation_type: _zod.z.enum(["SoftVoluntary", "Soft", "Hard"])
|
|
656
657
|
}).nullable()
|
|
657
658
|
});
|
|
658
659
|
var cfLoanAccounts = _zod.z.array(cfLoanAccount);
|
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;
|
|
@@ -30718,19 +30721,19 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
30718
30721
|
loan_id: number;
|
|
30719
30722
|
swap_request_id: number;
|
|
30720
30723
|
}>, "many">;
|
|
30721
|
-
|
|
30724
|
+
liquidation_type: z.ZodEnum<["SoftVoluntary", "Soft", "Hard"]>;
|
|
30722
30725
|
}, "strip", z.ZodTypeAny, {
|
|
30723
30726
|
liquidation_swaps: {
|
|
30724
30727
|
loan_id: number;
|
|
30725
30728
|
swap_request_id: number;
|
|
30726
30729
|
}[];
|
|
30727
|
-
|
|
30730
|
+
liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
|
|
30728
30731
|
}, {
|
|
30729
30732
|
liquidation_swaps: {
|
|
30730
30733
|
loan_id: number;
|
|
30731
30734
|
swap_request_id: number;
|
|
30732
30735
|
}[];
|
|
30733
|
-
|
|
30736
|
+
liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
|
|
30734
30737
|
}>>;
|
|
30735
30738
|
}, "strip", z.ZodTypeAny, {
|
|
30736
30739
|
account: `cF${string}`;
|
|
@@ -30866,7 +30869,7 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
30866
30869
|
loan_id: number;
|
|
30867
30870
|
swap_request_id: number;
|
|
30868
30871
|
}[];
|
|
30869
|
-
|
|
30872
|
+
liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
|
|
30870
30873
|
} | null;
|
|
30871
30874
|
}, {
|
|
30872
30875
|
account: string;
|
|
@@ -31002,7 +31005,7 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
31002
31005
|
loan_id: number;
|
|
31003
31006
|
swap_request_id: number;
|
|
31004
31007
|
}[];
|
|
31005
|
-
|
|
31008
|
+
liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
|
|
31006
31009
|
} | null;
|
|
31007
31010
|
}>;
|
|
31008
31011
|
declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
@@ -31469,19 +31472,19 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
|
31469
31472
|
loan_id: number;
|
|
31470
31473
|
swap_request_id: number;
|
|
31471
31474
|
}>, "many">;
|
|
31472
|
-
|
|
31475
|
+
liquidation_type: z.ZodEnum<["SoftVoluntary", "Soft", "Hard"]>;
|
|
31473
31476
|
}, "strip", z.ZodTypeAny, {
|
|
31474
31477
|
liquidation_swaps: {
|
|
31475
31478
|
loan_id: number;
|
|
31476
31479
|
swap_request_id: number;
|
|
31477
31480
|
}[];
|
|
31478
|
-
|
|
31481
|
+
liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
|
|
31479
31482
|
}, {
|
|
31480
31483
|
liquidation_swaps: {
|
|
31481
31484
|
loan_id: number;
|
|
31482
31485
|
swap_request_id: number;
|
|
31483
31486
|
}[];
|
|
31484
|
-
|
|
31487
|
+
liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
|
|
31485
31488
|
}>>;
|
|
31486
31489
|
}, "strip", z.ZodTypeAny, {
|
|
31487
31490
|
account: `cF${string}`;
|
|
@@ -31617,7 +31620,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
|
31617
31620
|
loan_id: number;
|
|
31618
31621
|
swap_request_id: number;
|
|
31619
31622
|
}[];
|
|
31620
|
-
|
|
31623
|
+
liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
|
|
31621
31624
|
} | null;
|
|
31622
31625
|
}, {
|
|
31623
31626
|
account: string;
|
|
@@ -31753,7 +31756,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
|
31753
31756
|
loan_id: number;
|
|
31754
31757
|
swap_request_id: number;
|
|
31755
31758
|
}[];
|
|
31756
|
-
|
|
31759
|
+
liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
|
|
31757
31760
|
} | null;
|
|
31758
31761
|
}>, "many">;
|
|
31759
31762
|
declare const cfLendingPoolSupplyBalances: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
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;
|
|
@@ -30718,19 +30721,19 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
30718
30721
|
loan_id: number;
|
|
30719
30722
|
swap_request_id: number;
|
|
30720
30723
|
}>, "many">;
|
|
30721
|
-
|
|
30724
|
+
liquidation_type: z.ZodEnum<["SoftVoluntary", "Soft", "Hard"]>;
|
|
30722
30725
|
}, "strip", z.ZodTypeAny, {
|
|
30723
30726
|
liquidation_swaps: {
|
|
30724
30727
|
loan_id: number;
|
|
30725
30728
|
swap_request_id: number;
|
|
30726
30729
|
}[];
|
|
30727
|
-
|
|
30730
|
+
liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
|
|
30728
30731
|
}, {
|
|
30729
30732
|
liquidation_swaps: {
|
|
30730
30733
|
loan_id: number;
|
|
30731
30734
|
swap_request_id: number;
|
|
30732
30735
|
}[];
|
|
30733
|
-
|
|
30736
|
+
liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
|
|
30734
30737
|
}>>;
|
|
30735
30738
|
}, "strip", z.ZodTypeAny, {
|
|
30736
30739
|
account: `cF${string}`;
|
|
@@ -30866,7 +30869,7 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
30866
30869
|
loan_id: number;
|
|
30867
30870
|
swap_request_id: number;
|
|
30868
30871
|
}[];
|
|
30869
|
-
|
|
30872
|
+
liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
|
|
30870
30873
|
} | null;
|
|
30871
30874
|
}, {
|
|
30872
30875
|
account: string;
|
|
@@ -31002,7 +31005,7 @@ declare const cfLoanAccount: z.ZodObject<{
|
|
|
31002
31005
|
loan_id: number;
|
|
31003
31006
|
swap_request_id: number;
|
|
31004
31007
|
}[];
|
|
31005
|
-
|
|
31008
|
+
liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
|
|
31006
31009
|
} | null;
|
|
31007
31010
|
}>;
|
|
31008
31011
|
declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
@@ -31469,19 +31472,19 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
|
31469
31472
|
loan_id: number;
|
|
31470
31473
|
swap_request_id: number;
|
|
31471
31474
|
}>, "many">;
|
|
31472
|
-
|
|
31475
|
+
liquidation_type: z.ZodEnum<["SoftVoluntary", "Soft", "Hard"]>;
|
|
31473
31476
|
}, "strip", z.ZodTypeAny, {
|
|
31474
31477
|
liquidation_swaps: {
|
|
31475
31478
|
loan_id: number;
|
|
31476
31479
|
swap_request_id: number;
|
|
31477
31480
|
}[];
|
|
31478
|
-
|
|
31481
|
+
liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
|
|
31479
31482
|
}, {
|
|
31480
31483
|
liquidation_swaps: {
|
|
31481
31484
|
loan_id: number;
|
|
31482
31485
|
swap_request_id: number;
|
|
31483
31486
|
}[];
|
|
31484
|
-
|
|
31487
|
+
liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
|
|
31485
31488
|
}>>;
|
|
31486
31489
|
}, "strip", z.ZodTypeAny, {
|
|
31487
31490
|
account: `cF${string}`;
|
|
@@ -31617,7 +31620,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
|
31617
31620
|
loan_id: number;
|
|
31618
31621
|
swap_request_id: number;
|
|
31619
31622
|
}[];
|
|
31620
|
-
|
|
31623
|
+
liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
|
|
31621
31624
|
} | null;
|
|
31622
31625
|
}, {
|
|
31623
31626
|
account: string;
|
|
@@ -31753,7 +31756,7 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
|
|
|
31753
31756
|
loan_id: number;
|
|
31754
31757
|
swap_request_id: number;
|
|
31755
31758
|
}[];
|
|
31756
|
-
|
|
31759
|
+
liquidation_type: "SoftVoluntary" | "Soft" | "Hard";
|
|
31757
31760
|
} | null;
|
|
31758
31761
|
}>, "many">;
|
|
31759
31762
|
declare const cfLendingPoolSupplyBalances: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
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(),
|
|
@@ -652,7 +653,7 @@ var cfLoanAccount = z.object({
|
|
|
652
653
|
loan_id: z.number()
|
|
653
654
|
})
|
|
654
655
|
),
|
|
655
|
-
|
|
656
|
+
liquidation_type: z.enum(["SoftVoluntary", "Soft", "Hard"])
|
|
656
657
|
}).nullable()
|
|
657
658
|
});
|
|
658
659
|
var cfLoanAccounts = z.array(cfLoanAccount);
|