@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.mjs
CHANGED
|
@@ -188,7 +188,8 @@ const cfIngressEgressEnvironment = z.object({
|
|
|
188
188
|
egress_dust_limits: chainAssetMapFactory(numberOrHex, 0),
|
|
189
189
|
channel_opening_fees: chainMapFactory(numberOrHex, 0),
|
|
190
190
|
ingress_delays: chainMapFactory(z.number(), 0),
|
|
191
|
-
boost_delays: chainMapFactory(z.number(), 0)
|
|
191
|
+
boost_delays: chainMapFactory(z.number(), 0),
|
|
192
|
+
boost_minimum_add_funds_amounts: chainAssetMapFactory(numberOrHex.nullable(), null).optional()
|
|
192
193
|
}).transform(rename({ egress_dust_limits: "minimum_egress_amounts" }));
|
|
193
194
|
const cfSwappingEnvironment = z.object({
|
|
194
195
|
maximum_swap_amounts: chainAssetMapFactory(numberOrHex.nullable(), null),
|
|
@@ -605,7 +606,8 @@ const cfSafeModeStatuses = z.object({
|
|
|
605
606
|
swapping: z.object({
|
|
606
607
|
swaps_enabled: z.boolean(),
|
|
607
608
|
withdrawals_enabled: z.boolean(),
|
|
608
|
-
broker_registration_enabled: z.boolean()
|
|
609
|
+
broker_registration_enabled: z.boolean(),
|
|
610
|
+
deposit_enabled: z.boolean()
|
|
609
611
|
}),
|
|
610
612
|
liquidity_provider: z.object({
|
|
611
613
|
deposit_enabled: z.boolean(),
|
|
@@ -635,11 +637,12 @@ const cfSafeModeStatuses = z.object({
|
|
|
635
637
|
lending_pools: z.object({
|
|
636
638
|
add_boost_funds_enabled: z.boolean(),
|
|
637
639
|
stop_boosting_enabled: z.boolean(),
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
640
|
+
borrowing: cfSupportedAssets,
|
|
641
|
+
add_lender_funds: cfSupportedAssets,
|
|
642
|
+
withdraw_lender_funds: cfSupportedAssets,
|
|
643
|
+
add_collateral: cfSupportedAssets,
|
|
644
|
+
remove_collateral: cfSupportedAssets,
|
|
645
|
+
liquidations_enabled: z.boolean()
|
|
643
646
|
}),
|
|
644
647
|
broadcast_ethereum: broadcastPalletSafeModeStatuses,
|
|
645
648
|
broadcast_bitcoin: broadcastPalletSafeModeStatuses,
|
|
@@ -658,6 +661,12 @@ const cfSafeModeStatuses = z.object({
|
|
|
658
661
|
"CodeGreen",
|
|
659
662
|
"CodeAmber"
|
|
660
663
|
]),
|
|
664
|
+
ethereum_elections: z.object({
|
|
665
|
+
state_chain_gateway_witnessing: z.boolean(),
|
|
666
|
+
key_manager_witnessing: z.boolean(),
|
|
667
|
+
sc_utils_witnessing: z.boolean()
|
|
668
|
+
}).optional(),
|
|
669
|
+
arbitrum_elections: z.object({ key_manager_witnessing: z.boolean() }).optional(),
|
|
661
670
|
elections_generic: z.object({ oracle_price_elections: z.boolean() })
|
|
662
671
|
});
|
|
663
672
|
const cfLendingPools = z.array(z.object({
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chainflip/rpc",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@chainflip/utils": "2.1.2",
|
|
7
7
|
"zod": "^3.25.75"
|
|
8
8
|
},
|
|
9
9
|
"devDependencies": {
|
|
10
|
-
"@types/node": "^25.3.
|
|
10
|
+
"@types/node": "^25.3.3",
|
|
11
11
|
"@types/ws": "^8.18.1",
|
|
12
12
|
"ws": "^8.19.0"
|
|
13
13
|
},
|