@chainflip/rpc 1.11.2 → 1.11.4
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 +50 -42
- package/dist/common.d.ts +50 -42
- package/dist/parsers.cjs +10 -8
- package/dist/parsers.d.cts +50 -42
- package/dist/parsers.d.ts +50 -42
- package/dist/parsers.mjs +10 -8
- package/package.json +1 -1
package/dist/common.d.cts
CHANGED
|
@@ -24697,90 +24697,98 @@ declare const rpcResult: {
|
|
|
24697
24697
|
}>, "many">;
|
|
24698
24698
|
readonly cf_lending_config: z.ZodObject<{
|
|
24699
24699
|
ltv_thresholds: z.ZodObject<{
|
|
24700
|
-
|
|
24701
|
-
|
|
24702
|
-
|
|
24703
|
-
|
|
24704
|
-
|
|
24705
|
-
|
|
24706
|
-
|
|
24707
|
-
}, "strip", z.ZodTypeAny, {
|
|
24708
|
-
|
|
24709
|
-
|
|
24710
|
-
|
|
24711
|
-
|
|
24712
|
-
|
|
24713
|
-
|
|
24714
|
-
|
|
24715
|
-
}, {
|
|
24716
|
-
|
|
24717
|
-
|
|
24718
|
-
|
|
24719
|
-
|
|
24720
|
-
|
|
24721
|
-
|
|
24722
|
-
|
|
24700
|
+
target: z.ZodNumber;
|
|
24701
|
+
topup: z.ZodNumber;
|
|
24702
|
+
soft_liquidation: z.ZodNumber;
|
|
24703
|
+
soft_liquidation_abort: z.ZodNumber;
|
|
24704
|
+
hard_liquidation: z.ZodNumber;
|
|
24705
|
+
hard_liquidation_abort: z.ZodNumber;
|
|
24706
|
+
low_ltv: z.ZodNumber;
|
|
24707
|
+
}, "strip", z.ZodTypeAny, {
|
|
24708
|
+
target: number;
|
|
24709
|
+
topup: number;
|
|
24710
|
+
soft_liquidation: number;
|
|
24711
|
+
soft_liquidation_abort: number;
|
|
24712
|
+
hard_liquidation: number;
|
|
24713
|
+
hard_liquidation_abort: number;
|
|
24714
|
+
low_ltv: number;
|
|
24715
|
+
}, {
|
|
24716
|
+
target: number;
|
|
24717
|
+
topup: number;
|
|
24718
|
+
soft_liquidation: number;
|
|
24719
|
+
soft_liquidation_abort: number;
|
|
24720
|
+
hard_liquidation: number;
|
|
24721
|
+
hard_liquidation_abort: number;
|
|
24722
|
+
low_ltv: number;
|
|
24723
24723
|
}>;
|
|
24724
24724
|
network_fee_contributions: z.ZodObject<{
|
|
24725
|
-
|
|
24725
|
+
extra_interest: z.ZodNumber;
|
|
24726
|
+
interest_on_collateral_max: z.ZodNumber;
|
|
24726
24727
|
from_origination_fee: z.ZodNumber;
|
|
24727
24728
|
from_liquidation_fee: z.ZodNumber;
|
|
24728
24729
|
}, "strip", z.ZodTypeAny, {
|
|
24729
|
-
|
|
24730
|
+
extra_interest: number;
|
|
24731
|
+
interest_on_collateral_max: number;
|
|
24730
24732
|
from_origination_fee: number;
|
|
24731
24733
|
from_liquidation_fee: number;
|
|
24732
24734
|
}, {
|
|
24733
|
-
|
|
24735
|
+
extra_interest: number;
|
|
24736
|
+
interest_on_collateral_max: number;
|
|
24734
24737
|
from_origination_fee: number;
|
|
24735
24738
|
from_liquidation_fee: number;
|
|
24736
24739
|
}>;
|
|
24737
24740
|
fee_swap_interval_blocks: z.ZodNumber;
|
|
24738
24741
|
interest_payment_interval_blocks: z.ZodNumber;
|
|
24739
24742
|
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>;
|
|
24743
|
+
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>;
|
|
24740
24744
|
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>;
|
|
24741
24745
|
soft_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
24742
24746
|
hard_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
24743
24747
|
fee_swap_max_oracle_slippage: z.ZodNumber;
|
|
24744
24748
|
}, "strip", z.ZodTypeAny, {
|
|
24745
24749
|
ltv_thresholds: {
|
|
24746
|
-
|
|
24747
|
-
|
|
24748
|
-
|
|
24749
|
-
|
|
24750
|
-
|
|
24751
|
-
|
|
24752
|
-
|
|
24750
|
+
target: number;
|
|
24751
|
+
topup: number;
|
|
24752
|
+
soft_liquidation: number;
|
|
24753
|
+
soft_liquidation_abort: number;
|
|
24754
|
+
hard_liquidation: number;
|
|
24755
|
+
hard_liquidation_abort: number;
|
|
24756
|
+
low_ltv: number;
|
|
24753
24757
|
};
|
|
24754
24758
|
network_fee_contributions: {
|
|
24755
|
-
|
|
24759
|
+
extra_interest: number;
|
|
24760
|
+
interest_on_collateral_max: number;
|
|
24756
24761
|
from_origination_fee: number;
|
|
24757
24762
|
from_liquidation_fee: number;
|
|
24758
24763
|
};
|
|
24759
24764
|
fee_swap_interval_blocks: number;
|
|
24760
24765
|
interest_payment_interval_blocks: number;
|
|
24761
24766
|
fee_swap_threshold_usd: bigint;
|
|
24767
|
+
interest_collection_threshold_usd: bigint;
|
|
24762
24768
|
liquidation_swap_chunk_size_usd: bigint;
|
|
24763
24769
|
soft_liquidation_max_oracle_slippage: number;
|
|
24764
24770
|
hard_liquidation_max_oracle_slippage: number;
|
|
24765
24771
|
fee_swap_max_oracle_slippage: number;
|
|
24766
24772
|
}, {
|
|
24767
24773
|
ltv_thresholds: {
|
|
24768
|
-
|
|
24769
|
-
|
|
24770
|
-
|
|
24771
|
-
|
|
24772
|
-
|
|
24773
|
-
|
|
24774
|
-
|
|
24774
|
+
target: number;
|
|
24775
|
+
topup: number;
|
|
24776
|
+
soft_liquidation: number;
|
|
24777
|
+
soft_liquidation_abort: number;
|
|
24778
|
+
hard_liquidation: number;
|
|
24779
|
+
hard_liquidation_abort: number;
|
|
24780
|
+
low_ltv: number;
|
|
24775
24781
|
};
|
|
24776
24782
|
network_fee_contributions: {
|
|
24777
|
-
|
|
24783
|
+
extra_interest: number;
|
|
24784
|
+
interest_on_collateral_max: number;
|
|
24778
24785
|
from_origination_fee: number;
|
|
24779
24786
|
from_liquidation_fee: number;
|
|
24780
24787
|
};
|
|
24781
24788
|
fee_swap_interval_blocks: number;
|
|
24782
24789
|
interest_payment_interval_blocks: number;
|
|
24783
24790
|
fee_swap_threshold_usd: string | number;
|
|
24791
|
+
interest_collection_threshold_usd: string | number;
|
|
24784
24792
|
liquidation_swap_chunk_size_usd: string | number;
|
|
24785
24793
|
soft_liquidation_max_oracle_slippage: number;
|
|
24786
24794
|
hard_liquidation_max_oracle_slippage: number;
|
package/dist/common.d.ts
CHANGED
|
@@ -24697,90 +24697,98 @@ declare const rpcResult: {
|
|
|
24697
24697
|
}>, "many">;
|
|
24698
24698
|
readonly cf_lending_config: z.ZodObject<{
|
|
24699
24699
|
ltv_thresholds: z.ZodObject<{
|
|
24700
|
-
|
|
24701
|
-
|
|
24702
|
-
|
|
24703
|
-
|
|
24704
|
-
|
|
24705
|
-
|
|
24706
|
-
|
|
24707
|
-
}, "strip", z.ZodTypeAny, {
|
|
24708
|
-
|
|
24709
|
-
|
|
24710
|
-
|
|
24711
|
-
|
|
24712
|
-
|
|
24713
|
-
|
|
24714
|
-
|
|
24715
|
-
}, {
|
|
24716
|
-
|
|
24717
|
-
|
|
24718
|
-
|
|
24719
|
-
|
|
24720
|
-
|
|
24721
|
-
|
|
24722
|
-
|
|
24700
|
+
target: z.ZodNumber;
|
|
24701
|
+
topup: z.ZodNumber;
|
|
24702
|
+
soft_liquidation: z.ZodNumber;
|
|
24703
|
+
soft_liquidation_abort: z.ZodNumber;
|
|
24704
|
+
hard_liquidation: z.ZodNumber;
|
|
24705
|
+
hard_liquidation_abort: z.ZodNumber;
|
|
24706
|
+
low_ltv: z.ZodNumber;
|
|
24707
|
+
}, "strip", z.ZodTypeAny, {
|
|
24708
|
+
target: number;
|
|
24709
|
+
topup: number;
|
|
24710
|
+
soft_liquidation: number;
|
|
24711
|
+
soft_liquidation_abort: number;
|
|
24712
|
+
hard_liquidation: number;
|
|
24713
|
+
hard_liquidation_abort: number;
|
|
24714
|
+
low_ltv: number;
|
|
24715
|
+
}, {
|
|
24716
|
+
target: number;
|
|
24717
|
+
topup: number;
|
|
24718
|
+
soft_liquidation: number;
|
|
24719
|
+
soft_liquidation_abort: number;
|
|
24720
|
+
hard_liquidation: number;
|
|
24721
|
+
hard_liquidation_abort: number;
|
|
24722
|
+
low_ltv: number;
|
|
24723
24723
|
}>;
|
|
24724
24724
|
network_fee_contributions: z.ZodObject<{
|
|
24725
|
-
|
|
24725
|
+
extra_interest: z.ZodNumber;
|
|
24726
|
+
interest_on_collateral_max: z.ZodNumber;
|
|
24726
24727
|
from_origination_fee: z.ZodNumber;
|
|
24727
24728
|
from_liquidation_fee: z.ZodNumber;
|
|
24728
24729
|
}, "strip", z.ZodTypeAny, {
|
|
24729
|
-
|
|
24730
|
+
extra_interest: number;
|
|
24731
|
+
interest_on_collateral_max: number;
|
|
24730
24732
|
from_origination_fee: number;
|
|
24731
24733
|
from_liquidation_fee: number;
|
|
24732
24734
|
}, {
|
|
24733
|
-
|
|
24735
|
+
extra_interest: number;
|
|
24736
|
+
interest_on_collateral_max: number;
|
|
24734
24737
|
from_origination_fee: number;
|
|
24735
24738
|
from_liquidation_fee: number;
|
|
24736
24739
|
}>;
|
|
24737
24740
|
fee_swap_interval_blocks: z.ZodNumber;
|
|
24738
24741
|
interest_payment_interval_blocks: z.ZodNumber;
|
|
24739
24742
|
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>;
|
|
24743
|
+
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>;
|
|
24740
24744
|
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>;
|
|
24741
24745
|
soft_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
24742
24746
|
hard_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
24743
24747
|
fee_swap_max_oracle_slippage: z.ZodNumber;
|
|
24744
24748
|
}, "strip", z.ZodTypeAny, {
|
|
24745
24749
|
ltv_thresholds: {
|
|
24746
|
-
|
|
24747
|
-
|
|
24748
|
-
|
|
24749
|
-
|
|
24750
|
-
|
|
24751
|
-
|
|
24752
|
-
|
|
24750
|
+
target: number;
|
|
24751
|
+
topup: number;
|
|
24752
|
+
soft_liquidation: number;
|
|
24753
|
+
soft_liquidation_abort: number;
|
|
24754
|
+
hard_liquidation: number;
|
|
24755
|
+
hard_liquidation_abort: number;
|
|
24756
|
+
low_ltv: number;
|
|
24753
24757
|
};
|
|
24754
24758
|
network_fee_contributions: {
|
|
24755
|
-
|
|
24759
|
+
extra_interest: number;
|
|
24760
|
+
interest_on_collateral_max: number;
|
|
24756
24761
|
from_origination_fee: number;
|
|
24757
24762
|
from_liquidation_fee: number;
|
|
24758
24763
|
};
|
|
24759
24764
|
fee_swap_interval_blocks: number;
|
|
24760
24765
|
interest_payment_interval_blocks: number;
|
|
24761
24766
|
fee_swap_threshold_usd: bigint;
|
|
24767
|
+
interest_collection_threshold_usd: bigint;
|
|
24762
24768
|
liquidation_swap_chunk_size_usd: bigint;
|
|
24763
24769
|
soft_liquidation_max_oracle_slippage: number;
|
|
24764
24770
|
hard_liquidation_max_oracle_slippage: number;
|
|
24765
24771
|
fee_swap_max_oracle_slippage: number;
|
|
24766
24772
|
}, {
|
|
24767
24773
|
ltv_thresholds: {
|
|
24768
|
-
|
|
24769
|
-
|
|
24770
|
-
|
|
24771
|
-
|
|
24772
|
-
|
|
24773
|
-
|
|
24774
|
-
|
|
24774
|
+
target: number;
|
|
24775
|
+
topup: number;
|
|
24776
|
+
soft_liquidation: number;
|
|
24777
|
+
soft_liquidation_abort: number;
|
|
24778
|
+
hard_liquidation: number;
|
|
24779
|
+
hard_liquidation_abort: number;
|
|
24780
|
+
low_ltv: number;
|
|
24775
24781
|
};
|
|
24776
24782
|
network_fee_contributions: {
|
|
24777
|
-
|
|
24783
|
+
extra_interest: number;
|
|
24784
|
+
interest_on_collateral_max: number;
|
|
24778
24785
|
from_origination_fee: number;
|
|
24779
24786
|
from_liquidation_fee: number;
|
|
24780
24787
|
};
|
|
24781
24788
|
fee_swap_interval_blocks: number;
|
|
24782
24789
|
interest_payment_interval_blocks: number;
|
|
24783
24790
|
fee_swap_threshold_usd: string | number;
|
|
24791
|
+
interest_collection_threshold_usd: string | number;
|
|
24784
24792
|
liquidation_swap_chunk_size_usd: string | number;
|
|
24785
24793
|
soft_liquidation_max_oracle_slippage: number;
|
|
24786
24794
|
hard_liquidation_max_oracle_slippage: number;
|
package/dist/parsers.cjs
CHANGED
|
@@ -629,22 +629,24 @@ var cfLendingPools = _zod.z.array(
|
|
|
629
629
|
);
|
|
630
630
|
var cfLendingConfig = _zod.z.object({
|
|
631
631
|
ltv_thresholds: _zod.z.object({
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
632
|
+
target: _zod.z.number(),
|
|
633
|
+
topup: _zod.z.number(),
|
|
634
|
+
soft_liquidation: _zod.z.number(),
|
|
635
|
+
soft_liquidation_abort: _zod.z.number(),
|
|
636
|
+
hard_liquidation: _zod.z.number(),
|
|
637
|
+
hard_liquidation_abort: _zod.z.number(),
|
|
638
|
+
low_ltv: _zod.z.number()
|
|
639
639
|
}),
|
|
640
640
|
network_fee_contributions: _zod.z.object({
|
|
641
|
-
|
|
641
|
+
extra_interest: _zod.z.number(),
|
|
642
|
+
interest_on_collateral_max: _zod.z.number(),
|
|
642
643
|
from_origination_fee: _zod.z.number(),
|
|
643
644
|
from_liquidation_fee: _zod.z.number()
|
|
644
645
|
}),
|
|
645
646
|
fee_swap_interval_blocks: _zod.z.number(),
|
|
646
647
|
interest_payment_interval_blocks: _zod.z.number(),
|
|
647
648
|
fee_swap_threshold_usd: numberOrHex,
|
|
649
|
+
interest_collection_threshold_usd: numberOrHex,
|
|
648
650
|
liquidation_swap_chunk_size_usd: numberOrHex,
|
|
649
651
|
soft_liquidation_max_oracle_slippage: _zod.z.number(),
|
|
650
652
|
hard_liquidation_max_oracle_slippage: _zod.z.number(),
|
package/dist/parsers.d.cts
CHANGED
|
@@ -29017,90 +29017,98 @@ declare const cfLendingPools: z.ZodArray<z.ZodObject<{
|
|
|
29017
29017
|
}>, "many">;
|
|
29018
29018
|
declare const cfLendingConfig: z.ZodObject<{
|
|
29019
29019
|
ltv_thresholds: z.ZodObject<{
|
|
29020
|
-
|
|
29021
|
-
|
|
29022
|
-
|
|
29023
|
-
|
|
29024
|
-
|
|
29025
|
-
|
|
29026
|
-
|
|
29027
|
-
}, "strip", z.ZodTypeAny, {
|
|
29028
|
-
|
|
29029
|
-
|
|
29030
|
-
|
|
29031
|
-
|
|
29032
|
-
|
|
29033
|
-
|
|
29034
|
-
|
|
29035
|
-
}, {
|
|
29036
|
-
|
|
29037
|
-
|
|
29038
|
-
|
|
29039
|
-
|
|
29040
|
-
|
|
29041
|
-
|
|
29042
|
-
|
|
29020
|
+
target: z.ZodNumber;
|
|
29021
|
+
topup: z.ZodNumber;
|
|
29022
|
+
soft_liquidation: z.ZodNumber;
|
|
29023
|
+
soft_liquidation_abort: z.ZodNumber;
|
|
29024
|
+
hard_liquidation: z.ZodNumber;
|
|
29025
|
+
hard_liquidation_abort: z.ZodNumber;
|
|
29026
|
+
low_ltv: z.ZodNumber;
|
|
29027
|
+
}, "strip", z.ZodTypeAny, {
|
|
29028
|
+
target: number;
|
|
29029
|
+
topup: number;
|
|
29030
|
+
soft_liquidation: number;
|
|
29031
|
+
soft_liquidation_abort: number;
|
|
29032
|
+
hard_liquidation: number;
|
|
29033
|
+
hard_liquidation_abort: number;
|
|
29034
|
+
low_ltv: number;
|
|
29035
|
+
}, {
|
|
29036
|
+
target: number;
|
|
29037
|
+
topup: number;
|
|
29038
|
+
soft_liquidation: number;
|
|
29039
|
+
soft_liquidation_abort: number;
|
|
29040
|
+
hard_liquidation: number;
|
|
29041
|
+
hard_liquidation_abort: number;
|
|
29042
|
+
low_ltv: number;
|
|
29043
29043
|
}>;
|
|
29044
29044
|
network_fee_contributions: z.ZodObject<{
|
|
29045
|
-
|
|
29045
|
+
extra_interest: z.ZodNumber;
|
|
29046
|
+
interest_on_collateral_max: z.ZodNumber;
|
|
29046
29047
|
from_origination_fee: z.ZodNumber;
|
|
29047
29048
|
from_liquidation_fee: z.ZodNumber;
|
|
29048
29049
|
}, "strip", z.ZodTypeAny, {
|
|
29049
|
-
|
|
29050
|
+
extra_interest: number;
|
|
29051
|
+
interest_on_collateral_max: number;
|
|
29050
29052
|
from_origination_fee: number;
|
|
29051
29053
|
from_liquidation_fee: number;
|
|
29052
29054
|
}, {
|
|
29053
|
-
|
|
29055
|
+
extra_interest: number;
|
|
29056
|
+
interest_on_collateral_max: number;
|
|
29054
29057
|
from_origination_fee: number;
|
|
29055
29058
|
from_liquidation_fee: number;
|
|
29056
29059
|
}>;
|
|
29057
29060
|
fee_swap_interval_blocks: z.ZodNumber;
|
|
29058
29061
|
interest_payment_interval_blocks: z.ZodNumber;
|
|
29059
29062
|
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>;
|
|
29063
|
+
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>;
|
|
29060
29064
|
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>;
|
|
29061
29065
|
soft_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
29062
29066
|
hard_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
29063
29067
|
fee_swap_max_oracle_slippage: z.ZodNumber;
|
|
29064
29068
|
}, "strip", z.ZodTypeAny, {
|
|
29065
29069
|
ltv_thresholds: {
|
|
29066
|
-
|
|
29067
|
-
|
|
29068
|
-
|
|
29069
|
-
|
|
29070
|
-
|
|
29071
|
-
|
|
29072
|
-
|
|
29070
|
+
target: number;
|
|
29071
|
+
topup: number;
|
|
29072
|
+
soft_liquidation: number;
|
|
29073
|
+
soft_liquidation_abort: number;
|
|
29074
|
+
hard_liquidation: number;
|
|
29075
|
+
hard_liquidation_abort: number;
|
|
29076
|
+
low_ltv: number;
|
|
29073
29077
|
};
|
|
29074
29078
|
network_fee_contributions: {
|
|
29075
|
-
|
|
29079
|
+
extra_interest: number;
|
|
29080
|
+
interest_on_collateral_max: number;
|
|
29076
29081
|
from_origination_fee: number;
|
|
29077
29082
|
from_liquidation_fee: number;
|
|
29078
29083
|
};
|
|
29079
29084
|
fee_swap_interval_blocks: number;
|
|
29080
29085
|
interest_payment_interval_blocks: number;
|
|
29081
29086
|
fee_swap_threshold_usd: bigint;
|
|
29087
|
+
interest_collection_threshold_usd: bigint;
|
|
29082
29088
|
liquidation_swap_chunk_size_usd: bigint;
|
|
29083
29089
|
soft_liquidation_max_oracle_slippage: number;
|
|
29084
29090
|
hard_liquidation_max_oracle_slippage: number;
|
|
29085
29091
|
fee_swap_max_oracle_slippage: number;
|
|
29086
29092
|
}, {
|
|
29087
29093
|
ltv_thresholds: {
|
|
29088
|
-
|
|
29089
|
-
|
|
29090
|
-
|
|
29091
|
-
|
|
29092
|
-
|
|
29093
|
-
|
|
29094
|
-
|
|
29094
|
+
target: number;
|
|
29095
|
+
topup: number;
|
|
29096
|
+
soft_liquidation: number;
|
|
29097
|
+
soft_liquidation_abort: number;
|
|
29098
|
+
hard_liquidation: number;
|
|
29099
|
+
hard_liquidation_abort: number;
|
|
29100
|
+
low_ltv: number;
|
|
29095
29101
|
};
|
|
29096
29102
|
network_fee_contributions: {
|
|
29097
|
-
|
|
29103
|
+
extra_interest: number;
|
|
29104
|
+
interest_on_collateral_max: number;
|
|
29098
29105
|
from_origination_fee: number;
|
|
29099
29106
|
from_liquidation_fee: number;
|
|
29100
29107
|
};
|
|
29101
29108
|
fee_swap_interval_blocks: number;
|
|
29102
29109
|
interest_payment_interval_blocks: number;
|
|
29103
29110
|
fee_swap_threshold_usd: string | number;
|
|
29111
|
+
interest_collection_threshold_usd: string | number;
|
|
29104
29112
|
liquidation_swap_chunk_size_usd: string | number;
|
|
29105
29113
|
soft_liquidation_max_oracle_slippage: number;
|
|
29106
29114
|
hard_liquidation_max_oracle_slippage: number;
|
package/dist/parsers.d.ts
CHANGED
|
@@ -29017,90 +29017,98 @@ declare const cfLendingPools: z.ZodArray<z.ZodObject<{
|
|
|
29017
29017
|
}>, "many">;
|
|
29018
29018
|
declare const cfLendingConfig: z.ZodObject<{
|
|
29019
29019
|
ltv_thresholds: z.ZodObject<{
|
|
29020
|
-
|
|
29021
|
-
|
|
29022
|
-
|
|
29023
|
-
|
|
29024
|
-
|
|
29025
|
-
|
|
29026
|
-
|
|
29027
|
-
}, "strip", z.ZodTypeAny, {
|
|
29028
|
-
|
|
29029
|
-
|
|
29030
|
-
|
|
29031
|
-
|
|
29032
|
-
|
|
29033
|
-
|
|
29034
|
-
|
|
29035
|
-
}, {
|
|
29036
|
-
|
|
29037
|
-
|
|
29038
|
-
|
|
29039
|
-
|
|
29040
|
-
|
|
29041
|
-
|
|
29042
|
-
|
|
29020
|
+
target: z.ZodNumber;
|
|
29021
|
+
topup: z.ZodNumber;
|
|
29022
|
+
soft_liquidation: z.ZodNumber;
|
|
29023
|
+
soft_liquidation_abort: z.ZodNumber;
|
|
29024
|
+
hard_liquidation: z.ZodNumber;
|
|
29025
|
+
hard_liquidation_abort: z.ZodNumber;
|
|
29026
|
+
low_ltv: z.ZodNumber;
|
|
29027
|
+
}, "strip", z.ZodTypeAny, {
|
|
29028
|
+
target: number;
|
|
29029
|
+
topup: number;
|
|
29030
|
+
soft_liquidation: number;
|
|
29031
|
+
soft_liquidation_abort: number;
|
|
29032
|
+
hard_liquidation: number;
|
|
29033
|
+
hard_liquidation_abort: number;
|
|
29034
|
+
low_ltv: number;
|
|
29035
|
+
}, {
|
|
29036
|
+
target: number;
|
|
29037
|
+
topup: number;
|
|
29038
|
+
soft_liquidation: number;
|
|
29039
|
+
soft_liquidation_abort: number;
|
|
29040
|
+
hard_liquidation: number;
|
|
29041
|
+
hard_liquidation_abort: number;
|
|
29042
|
+
low_ltv: number;
|
|
29043
29043
|
}>;
|
|
29044
29044
|
network_fee_contributions: z.ZodObject<{
|
|
29045
|
-
|
|
29045
|
+
extra_interest: z.ZodNumber;
|
|
29046
|
+
interest_on_collateral_max: z.ZodNumber;
|
|
29046
29047
|
from_origination_fee: z.ZodNumber;
|
|
29047
29048
|
from_liquidation_fee: z.ZodNumber;
|
|
29048
29049
|
}, "strip", z.ZodTypeAny, {
|
|
29049
|
-
|
|
29050
|
+
extra_interest: number;
|
|
29051
|
+
interest_on_collateral_max: number;
|
|
29050
29052
|
from_origination_fee: number;
|
|
29051
29053
|
from_liquidation_fee: number;
|
|
29052
29054
|
}, {
|
|
29053
|
-
|
|
29055
|
+
extra_interest: number;
|
|
29056
|
+
interest_on_collateral_max: number;
|
|
29054
29057
|
from_origination_fee: number;
|
|
29055
29058
|
from_liquidation_fee: number;
|
|
29056
29059
|
}>;
|
|
29057
29060
|
fee_swap_interval_blocks: z.ZodNumber;
|
|
29058
29061
|
interest_payment_interval_blocks: z.ZodNumber;
|
|
29059
29062
|
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>;
|
|
29063
|
+
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>;
|
|
29060
29064
|
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>;
|
|
29061
29065
|
soft_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
29062
29066
|
hard_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
29063
29067
|
fee_swap_max_oracle_slippage: z.ZodNumber;
|
|
29064
29068
|
}, "strip", z.ZodTypeAny, {
|
|
29065
29069
|
ltv_thresholds: {
|
|
29066
|
-
|
|
29067
|
-
|
|
29068
|
-
|
|
29069
|
-
|
|
29070
|
-
|
|
29071
|
-
|
|
29072
|
-
|
|
29070
|
+
target: number;
|
|
29071
|
+
topup: number;
|
|
29072
|
+
soft_liquidation: number;
|
|
29073
|
+
soft_liquidation_abort: number;
|
|
29074
|
+
hard_liquidation: number;
|
|
29075
|
+
hard_liquidation_abort: number;
|
|
29076
|
+
low_ltv: number;
|
|
29073
29077
|
};
|
|
29074
29078
|
network_fee_contributions: {
|
|
29075
|
-
|
|
29079
|
+
extra_interest: number;
|
|
29080
|
+
interest_on_collateral_max: number;
|
|
29076
29081
|
from_origination_fee: number;
|
|
29077
29082
|
from_liquidation_fee: number;
|
|
29078
29083
|
};
|
|
29079
29084
|
fee_swap_interval_blocks: number;
|
|
29080
29085
|
interest_payment_interval_blocks: number;
|
|
29081
29086
|
fee_swap_threshold_usd: bigint;
|
|
29087
|
+
interest_collection_threshold_usd: bigint;
|
|
29082
29088
|
liquidation_swap_chunk_size_usd: bigint;
|
|
29083
29089
|
soft_liquidation_max_oracle_slippage: number;
|
|
29084
29090
|
hard_liquidation_max_oracle_slippage: number;
|
|
29085
29091
|
fee_swap_max_oracle_slippage: number;
|
|
29086
29092
|
}, {
|
|
29087
29093
|
ltv_thresholds: {
|
|
29088
|
-
|
|
29089
|
-
|
|
29090
|
-
|
|
29091
|
-
|
|
29092
|
-
|
|
29093
|
-
|
|
29094
|
-
|
|
29094
|
+
target: number;
|
|
29095
|
+
topup: number;
|
|
29096
|
+
soft_liquidation: number;
|
|
29097
|
+
soft_liquidation_abort: number;
|
|
29098
|
+
hard_liquidation: number;
|
|
29099
|
+
hard_liquidation_abort: number;
|
|
29100
|
+
low_ltv: number;
|
|
29095
29101
|
};
|
|
29096
29102
|
network_fee_contributions: {
|
|
29097
|
-
|
|
29103
|
+
extra_interest: number;
|
|
29104
|
+
interest_on_collateral_max: number;
|
|
29098
29105
|
from_origination_fee: number;
|
|
29099
29106
|
from_liquidation_fee: number;
|
|
29100
29107
|
};
|
|
29101
29108
|
fee_swap_interval_blocks: number;
|
|
29102
29109
|
interest_payment_interval_blocks: number;
|
|
29103
29110
|
fee_swap_threshold_usd: string | number;
|
|
29111
|
+
interest_collection_threshold_usd: string | number;
|
|
29104
29112
|
liquidation_swap_chunk_size_usd: string | number;
|
|
29105
29113
|
soft_liquidation_max_oracle_slippage: number;
|
|
29106
29114
|
hard_liquidation_max_oracle_slippage: number;
|
package/dist/parsers.mjs
CHANGED
|
@@ -629,22 +629,24 @@ var cfLendingPools = z.array(
|
|
|
629
629
|
);
|
|
630
630
|
var cfLendingConfig = z.object({
|
|
631
631
|
ltv_thresholds: z.object({
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
632
|
+
target: z.number(),
|
|
633
|
+
topup: z.number(),
|
|
634
|
+
soft_liquidation: z.number(),
|
|
635
|
+
soft_liquidation_abort: z.number(),
|
|
636
|
+
hard_liquidation: z.number(),
|
|
637
|
+
hard_liquidation_abort: z.number(),
|
|
638
|
+
low_ltv: z.number()
|
|
639
639
|
}),
|
|
640
640
|
network_fee_contributions: z.object({
|
|
641
|
-
|
|
641
|
+
extra_interest: z.number(),
|
|
642
|
+
interest_on_collateral_max: z.number(),
|
|
642
643
|
from_origination_fee: z.number(),
|
|
643
644
|
from_liquidation_fee: z.number()
|
|
644
645
|
}),
|
|
645
646
|
fee_swap_interval_blocks: z.number(),
|
|
646
647
|
interest_payment_interval_blocks: z.number(),
|
|
647
648
|
fee_swap_threshold_usd: numberOrHex,
|
|
649
|
+
interest_collection_threshold_usd: numberOrHex,
|
|
648
650
|
liquidation_swap_chunk_size_usd: numberOrHex,
|
|
649
651
|
soft_liquidation_max_oracle_slippage: z.number(),
|
|
650
652
|
hard_liquidation_max_oracle_slippage: z.number(),
|