@chainflip/rpc 2.1.2 → 2.1.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 +711 -967
- package/dist/common.d.mts +711 -967
- package/dist/parsers.cjs +16 -7
- package/dist/parsers.d.cts +736 -992
- package/dist/parsers.d.mts +736 -992
- package/dist/parsers.mjs +16 -7
- package/package.json +2 -2
package/dist/parsers.cjs
CHANGED
|
@@ -189,7 +189,8 @@ const cfIngressEgressEnvironment = zod.z.object({
|
|
|
189
189
|
egress_dust_limits: chainAssetMapFactory(numberOrHex, 0),
|
|
190
190
|
channel_opening_fees: chainMapFactory(numberOrHex, 0),
|
|
191
191
|
ingress_delays: chainMapFactory(zod.z.number(), 0),
|
|
192
|
-
boost_delays: chainMapFactory(zod.z.number(), 0)
|
|
192
|
+
boost_delays: chainMapFactory(zod.z.number(), 0),
|
|
193
|
+
boost_minimum_add_funds_amounts: chainAssetMapFactory(numberOrHex.nullable(), null).optional()
|
|
193
194
|
}).transform(rename({ egress_dust_limits: "minimum_egress_amounts" }));
|
|
194
195
|
const cfSwappingEnvironment = zod.z.object({
|
|
195
196
|
maximum_swap_amounts: chainAssetMapFactory(numberOrHex.nullable(), null),
|
|
@@ -606,7 +607,8 @@ const cfSafeModeStatuses = zod.z.object({
|
|
|
606
607
|
swapping: zod.z.object({
|
|
607
608
|
swaps_enabled: zod.z.boolean(),
|
|
608
609
|
withdrawals_enabled: zod.z.boolean(),
|
|
609
|
-
broker_registration_enabled: zod.z.boolean()
|
|
610
|
+
broker_registration_enabled: zod.z.boolean(),
|
|
611
|
+
deposit_enabled: zod.z.boolean()
|
|
610
612
|
}),
|
|
611
613
|
liquidity_provider: zod.z.object({
|
|
612
614
|
deposit_enabled: zod.z.boolean(),
|
|
@@ -636,11 +638,12 @@ const cfSafeModeStatuses = zod.z.object({
|
|
|
636
638
|
lending_pools: zod.z.object({
|
|
637
639
|
add_boost_funds_enabled: zod.z.boolean(),
|
|
638
640
|
stop_boosting_enabled: zod.z.boolean(),
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
641
|
+
borrowing: cfSupportedAssets,
|
|
642
|
+
add_lender_funds: cfSupportedAssets,
|
|
643
|
+
withdraw_lender_funds: cfSupportedAssets,
|
|
644
|
+
add_collateral: cfSupportedAssets,
|
|
645
|
+
remove_collateral: cfSupportedAssets,
|
|
646
|
+
liquidations_enabled: zod.z.boolean()
|
|
644
647
|
}),
|
|
645
648
|
broadcast_ethereum: broadcastPalletSafeModeStatuses,
|
|
646
649
|
broadcast_bitcoin: broadcastPalletSafeModeStatuses,
|
|
@@ -659,6 +662,12 @@ const cfSafeModeStatuses = zod.z.object({
|
|
|
659
662
|
"CodeGreen",
|
|
660
663
|
"CodeAmber"
|
|
661
664
|
]),
|
|
665
|
+
ethereum_elections: zod.z.object({
|
|
666
|
+
state_chain_gateway_witnessing: zod.z.boolean(),
|
|
667
|
+
key_manager_witnessing: zod.z.boolean(),
|
|
668
|
+
sc_utils_witnessing: zod.z.boolean()
|
|
669
|
+
}).optional(),
|
|
670
|
+
arbitrum_elections: zod.z.object({ key_manager_witnessing: zod.z.boolean() }).optional(),
|
|
662
671
|
elections_generic: zod.z.object({ oracle_price_elections: zod.z.boolean() })
|
|
663
672
|
});
|
|
664
673
|
const cfLendingPools = zod.z.array(zod.z.object({
|