@chainflip/rpc 2.1.2 → 2.1.3
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 +195 -959
- package/dist/common.d.mts +195 -959
- package/dist/parsers.cjs +14 -6
- package/dist/parsers.d.cts +169 -933
- package/dist/parsers.d.mts +169 -933
- package/dist/parsers.mjs +14 -6
- package/package.json +2 -2
package/dist/parsers.mjs
CHANGED
|
@@ -605,7 +605,8 @@ const cfSafeModeStatuses = z.object({
|
|
|
605
605
|
swapping: z.object({
|
|
606
606
|
swaps_enabled: z.boolean(),
|
|
607
607
|
withdrawals_enabled: z.boolean(),
|
|
608
|
-
broker_registration_enabled: z.boolean()
|
|
608
|
+
broker_registration_enabled: z.boolean(),
|
|
609
|
+
deposit_enabled: z.boolean()
|
|
609
610
|
}),
|
|
610
611
|
liquidity_provider: z.object({
|
|
611
612
|
deposit_enabled: z.boolean(),
|
|
@@ -635,11 +636,12 @@ const cfSafeModeStatuses = z.object({
|
|
|
635
636
|
lending_pools: z.object({
|
|
636
637
|
add_boost_funds_enabled: z.boolean(),
|
|
637
638
|
stop_boosting_enabled: z.boolean(),
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
639
|
+
borrowing: cfSupportedAssets,
|
|
640
|
+
add_lender_funds: cfSupportedAssets,
|
|
641
|
+
withdraw_lender_funds: cfSupportedAssets,
|
|
642
|
+
add_collateral: cfSupportedAssets,
|
|
643
|
+
remove_collateral: cfSupportedAssets,
|
|
644
|
+
liquidations_enabled: z.boolean()
|
|
643
645
|
}),
|
|
644
646
|
broadcast_ethereum: broadcastPalletSafeModeStatuses,
|
|
645
647
|
broadcast_bitcoin: broadcastPalletSafeModeStatuses,
|
|
@@ -658,6 +660,12 @@ const cfSafeModeStatuses = z.object({
|
|
|
658
660
|
"CodeGreen",
|
|
659
661
|
"CodeAmber"
|
|
660
662
|
]),
|
|
663
|
+
ethereum_elections: z.object({
|
|
664
|
+
state_chain_gateway_witnessing: z.boolean(),
|
|
665
|
+
key_manager_witnessing: z.boolean(),
|
|
666
|
+
sc_utils_witnessing: z.boolean()
|
|
667
|
+
}).optional(),
|
|
668
|
+
arbitrum_elections: z.object({ key_manager_witnessing: z.boolean() }).optional(),
|
|
661
669
|
elections_generic: z.object({ oracle_price_elections: z.boolean() })
|
|
662
670
|
});
|
|
663
671
|
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.3",
|
|
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
|
},
|