@chainflip/rpc 1.11.0-beta.9 → 1.11.1
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.cjs +9 -1
- package/dist/common.d.cts +3180 -2470
- package/dist/common.d.ts +3180 -2470
- package/dist/common.mjs +10 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/parsers.cjs +119 -6
- package/dist/parsers.d.cts +6589 -4562
- package/dist/parsers.d.ts +6589 -4562
- package/dist/parsers.mjs +118 -5
- package/dist/types.d.cts +9 -1
- package/dist/types.d.ts +9 -1
- package/package.json +3 -3
package/dist/parsers.mjs
CHANGED
|
@@ -5,7 +5,8 @@ import { isHex } from "@chainflip/utils/string";
|
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
var hexString = z.string().refine(isHex, { message: "Invalid hex string" });
|
|
7
7
|
var u256 = hexString.transform((value) => BigInt(value));
|
|
8
|
-
var
|
|
8
|
+
var numericString = z.string().regex(/^[0-9]+$/);
|
|
9
|
+
var numberOrHex = z.union([z.number(), u256, numericString]).transform((n) => BigInt(n));
|
|
9
10
|
var chainAssetMapFactory = (parser, _defaultValue) => z.object({
|
|
10
11
|
Bitcoin: z.object({ BTC: parser }),
|
|
11
12
|
Ethereum: z.object({ ETH: parser, USDC: parser, FLIP: parser, USDT: parser }),
|
|
@@ -13,7 +14,7 @@ var chainAssetMapFactory = (parser, _defaultValue) => z.object({
|
|
|
13
14
|
Arbitrum: z.object({ ETH: parser, USDC: parser }),
|
|
14
15
|
Solana: z.object({ SOL: parser, USDC: parser }),
|
|
15
16
|
Assethub: z.object({ DOT: parser, USDC: parser, USDT: parser })
|
|
16
|
-
});
|
|
17
|
+
}).omit({ Polkadot: true });
|
|
17
18
|
var chainBaseAssetMapFactory = (parser, _defaultValue) => z.object({
|
|
18
19
|
Bitcoin: z.object({ BTC: parser }),
|
|
19
20
|
Ethereum: z.object({ ETH: parser, FLIP: parser, USDT: parser }),
|
|
@@ -21,7 +22,7 @@ var chainBaseAssetMapFactory = (parser, _defaultValue) => z.object({
|
|
|
21
22
|
Arbitrum: z.object({ ETH: parser, USDC: parser }),
|
|
22
23
|
Solana: z.object({ SOL: parser, USDC: parser }),
|
|
23
24
|
Assethub: z.object({ DOT: parser, USDC: parser, USDT: parser })
|
|
24
|
-
});
|
|
25
|
+
}).omit({ Polkadot: true });
|
|
25
26
|
var chainMapFactory = (parser, _defaultValue) => z.object({
|
|
26
27
|
Bitcoin: parser,
|
|
27
28
|
Ethereum: parser,
|
|
@@ -29,7 +30,7 @@ var chainMapFactory = (parser, _defaultValue) => z.object({
|
|
|
29
30
|
Arbitrum: parser,
|
|
30
31
|
Solana: parser,
|
|
31
32
|
Assethub: parser
|
|
32
|
-
});
|
|
33
|
+
}).omit({ Polkadot: true });
|
|
33
34
|
var rpcAssetSchema = z.union([
|
|
34
35
|
z.object({ chain: z.literal("Bitcoin"), asset: z.literal("BTC") }),
|
|
35
36
|
z.object({ chain: z.literal("Polkadot"), asset: z.literal("DOT") }),
|
|
@@ -211,6 +212,7 @@ var delegationStatus = z.object({
|
|
|
211
212
|
bid: numberOrHex
|
|
212
213
|
});
|
|
213
214
|
var accountInfoCommon = {
|
|
215
|
+
vanity_name: z.string().optional(),
|
|
214
216
|
flip_balance: numberOrHex,
|
|
215
217
|
asset_balances: chainAssetMapFactory(numberOrHex, 0),
|
|
216
218
|
bond: numberOrHex,
|
|
@@ -284,7 +286,24 @@ var liquidityProvider = z.object({
|
|
|
284
286
|
...accountInfoCommon,
|
|
285
287
|
refund_addresses: chainMapFactory(z.string().nullable(), null),
|
|
286
288
|
earned_fees: chainAssetMapFactory(numberOrHex, 0),
|
|
287
|
-
boost_balances: chainAssetMapFactory(boostBalances, [])
|
|
289
|
+
boost_balances: chainAssetMapFactory(boostBalances, []),
|
|
290
|
+
lending_positions: z.array(
|
|
291
|
+
z.intersection(
|
|
292
|
+
rpcAssetSchema,
|
|
293
|
+
z.object({
|
|
294
|
+
total_amount: numberOrHex,
|
|
295
|
+
available_amount: numberOrHex
|
|
296
|
+
})
|
|
297
|
+
)
|
|
298
|
+
).optional(),
|
|
299
|
+
collateral_balances: z.array(
|
|
300
|
+
z.intersection(
|
|
301
|
+
rpcAssetSchema,
|
|
302
|
+
z.object({
|
|
303
|
+
amount: numberOrHex
|
|
304
|
+
})
|
|
305
|
+
)
|
|
306
|
+
).optional()
|
|
288
307
|
});
|
|
289
308
|
var oldValidator = z.object({
|
|
290
309
|
role: z.literal("validator"),
|
|
@@ -445,6 +464,23 @@ var cfAuctionState = z.object({
|
|
|
445
464
|
min_active_bid: numberOrHex.nullable(),
|
|
446
465
|
min_bid: numberOrHex
|
|
447
466
|
}).transform(rename({ epoch_duration: "epoch_duration_blocks" }));
|
|
467
|
+
var cfMonitoringSimulateAuction = z.object({
|
|
468
|
+
auction_outcome: z.object({
|
|
469
|
+
winners: z.array(accountId),
|
|
470
|
+
bond: numberOrHex
|
|
471
|
+
}),
|
|
472
|
+
operators_info: z.record(
|
|
473
|
+
accountId,
|
|
474
|
+
z.object({
|
|
475
|
+
operator: accountId,
|
|
476
|
+
validators: z.record(accountId, numberOrHex),
|
|
477
|
+
delegators: z.record(accountId, numberOrHex),
|
|
478
|
+
delegation_fee_bps: z.number()
|
|
479
|
+
})
|
|
480
|
+
),
|
|
481
|
+
new_validators: z.array(accountId),
|
|
482
|
+
current_mab: numberOrHex
|
|
483
|
+
});
|
|
448
484
|
var cfFlipSuppy = range(numberOrHex).transform(([totalIssuance, offchainFunds]) => ({
|
|
449
485
|
totalIssuance,
|
|
450
486
|
offchainFunds
|
|
@@ -625,6 +661,77 @@ var cfSafeModeStatuses = z.union([
|
|
|
625
661
|
ingress_egress_assethub: ingressEgressPalletSafeModeStatuses
|
|
626
662
|
})
|
|
627
663
|
]);
|
|
664
|
+
var cfLendingPools = z.array(
|
|
665
|
+
z.object({
|
|
666
|
+
asset: rpcAssetSchema,
|
|
667
|
+
total_amount: numberOrHex,
|
|
668
|
+
available_amount: numberOrHex,
|
|
669
|
+
utilisation_rate: z.number(),
|
|
670
|
+
current_interest_rate: z.number(),
|
|
671
|
+
origination_fee: z.number(),
|
|
672
|
+
liquidation_fee: z.number(),
|
|
673
|
+
interest_rate_curve: z.object({
|
|
674
|
+
interest_at_zero_utilisation: z.number(),
|
|
675
|
+
junction_utilisation: z.number(),
|
|
676
|
+
interest_at_junction_utilisation: z.number(),
|
|
677
|
+
interest_at_max_utilisation: z.number()
|
|
678
|
+
})
|
|
679
|
+
})
|
|
680
|
+
);
|
|
681
|
+
var cfLendingConfig = z.object({
|
|
682
|
+
ltv_thresholds: z.object({
|
|
683
|
+
minimum: numberOrHex,
|
|
684
|
+
target: numberOrHex,
|
|
685
|
+
topup: numberOrHex,
|
|
686
|
+
soft_liquidation: numberOrHex,
|
|
687
|
+
soft_liquidation_abort: numberOrHex,
|
|
688
|
+
hard_liquidation: numberOrHex,
|
|
689
|
+
hard_liquidation_abort: numberOrHex
|
|
690
|
+
}),
|
|
691
|
+
network_fee_contributions: z.object({
|
|
692
|
+
from_interest: z.number(),
|
|
693
|
+
from_origination_fee: z.number(),
|
|
694
|
+
from_liquidation_fee: z.number()
|
|
695
|
+
}),
|
|
696
|
+
fee_swap_interval_blocks: z.number(),
|
|
697
|
+
interest_payment_interval_blocks: z.number(),
|
|
698
|
+
fee_swap_threshold_usd: numberOrHex,
|
|
699
|
+
liquidation_swap_chunk_size_usd: numberOrHex,
|
|
700
|
+
soft_liquidation_max_oracle_slippage: z.number(),
|
|
701
|
+
hard_liquidation_max_oracle_slippage: z.number(),
|
|
702
|
+
fee_swap_max_oracle_slippage: z.number()
|
|
703
|
+
});
|
|
704
|
+
var cfLoanAccount = z.object({
|
|
705
|
+
account: accountId,
|
|
706
|
+
primary_collateral_asset: rpcAssetSchema,
|
|
707
|
+
ltv_ratio: numberOrHex,
|
|
708
|
+
collateral: z.array(
|
|
709
|
+
z.intersection(
|
|
710
|
+
rpcAssetSchema,
|
|
711
|
+
z.object({
|
|
712
|
+
amount: numberOrHex
|
|
713
|
+
})
|
|
714
|
+
)
|
|
715
|
+
),
|
|
716
|
+
loans: z.array(
|
|
717
|
+
z.object({
|
|
718
|
+
loan_id: z.number(),
|
|
719
|
+
asset: rpcAssetSchema,
|
|
720
|
+
created_at: z.number(),
|
|
721
|
+
principal_amount: numberOrHex
|
|
722
|
+
})
|
|
723
|
+
),
|
|
724
|
+
liquidation_status: z.object({
|
|
725
|
+
liquidation_swaps: z.array(
|
|
726
|
+
z.object({
|
|
727
|
+
swap_request_id: z.number(),
|
|
728
|
+
loan_id: z.number()
|
|
729
|
+
})
|
|
730
|
+
),
|
|
731
|
+
is_hard: z.boolean()
|
|
732
|
+
}).nullable()
|
|
733
|
+
});
|
|
734
|
+
var cfLoanAccounts = z.array(cfLoanAccount);
|
|
628
735
|
export {
|
|
629
736
|
accountInfoCommon,
|
|
630
737
|
broker,
|
|
@@ -643,6 +750,11 @@ export {
|
|
|
643
750
|
cfGetTradingStrategies,
|
|
644
751
|
cfGetTradingStrategyLimits,
|
|
645
752
|
cfIngressEgressEnvironment,
|
|
753
|
+
cfLendingConfig,
|
|
754
|
+
cfLendingPools,
|
|
755
|
+
cfLoanAccount,
|
|
756
|
+
cfLoanAccounts,
|
|
757
|
+
cfMonitoringSimulateAuction,
|
|
646
758
|
cfOraclePrices,
|
|
647
759
|
cfPoolDepth,
|
|
648
760
|
cfPoolOrderbook,
|
|
@@ -663,6 +775,7 @@ export {
|
|
|
663
775
|
lpTotalBalances,
|
|
664
776
|
newCfAccountInfo,
|
|
665
777
|
numberOrHex,
|
|
778
|
+
numericString,
|
|
666
779
|
oldBroker,
|
|
667
780
|
oldCfAccountInfo,
|
|
668
781
|
oldLiquidityProvider,
|
package/dist/types.d.cts
CHANGED
|
@@ -9,6 +9,7 @@ import '@chainflip/utils/types';
|
|
|
9
9
|
type CfAccountInfo = RpcResult<'cf_account_info'>;
|
|
10
10
|
type CfAccounts = RpcResult<'cf_accounts'>;
|
|
11
11
|
type CfAuctionState = RpcResult<'cf_auction_state'>;
|
|
12
|
+
type CfMonitoringSimulateAuction = RpcResult<'cf_monitoring_simulate_auction'>;
|
|
12
13
|
type CfAvailablePools = RpcResult<'cf_available_pools'>;
|
|
13
14
|
type CfBoostPoolDetails = RpcResult<'cf_boost_pool_details'>;
|
|
14
15
|
type CfBoostPoolPendingFees = RpcResult<'cf_boost_pool_pending_fees'>;
|
|
@@ -35,9 +36,13 @@ type CfSwapRate = RpcResult<'cf_swap_rate'>;
|
|
|
35
36
|
type CfSwapRateV2 = RpcResult<'cf_swap_rate_v2'>;
|
|
36
37
|
type CfSwapRateV3 = RpcResult<'cf_swap_rate_v3'>;
|
|
37
38
|
type CfOraclePrices = RpcResult<'cf_oracle_prices'>;
|
|
39
|
+
type CfLendingPools = RpcResult<'cf_lending_pools'>;
|
|
40
|
+
type CfLendingConfig = RpcResult<'cf_lending_config'>;
|
|
41
|
+
type CfLoanAccounts = RpcResult<'cf_loan_accounts'>;
|
|
38
42
|
type CfAccountInfoResponse = RpcResponse<'cf_account_info'>;
|
|
39
43
|
type CfAccountsResponse = RpcResponse<'cf_accounts'>;
|
|
40
44
|
type CfAuctionStateResponse = RpcResponse<'cf_auction_state'>;
|
|
45
|
+
type CfMonitoringSimulateAuctionResponse = RpcResponse<'cf_monitoring_simulate_auction'>;
|
|
41
46
|
type CfAvailablePoolsResponse = RpcResponse<'cf_available_pools'>;
|
|
42
47
|
type CfBoostPoolDetailsResponse = RpcResponse<'cf_boost_pool_details'>;
|
|
43
48
|
type CfBoostPoolPendingFeesResponse = RpcResponse<'cf_boost_pool_pending_fees'>;
|
|
@@ -64,6 +69,9 @@ type CfSwapRateResponse = RpcResponse<'cf_swap_rate'>;
|
|
|
64
69
|
type CfSwapRateV2Response = RpcResponse<'cf_swap_rate_v2'>;
|
|
65
70
|
type CfSwapRateV3Response = RpcResponse<'cf_swap_rate_v3'>;
|
|
66
71
|
type CfOraclePricesResponse = RpcResponse<'cf_oracle_prices'>;
|
|
72
|
+
type CfLendingPoolsResponse = RpcResponse<'cf_lending_pools'>;
|
|
73
|
+
type CfLendingConfigResponse = RpcResponse<'cf_lending_config'>;
|
|
74
|
+
type CfLoanAccountsResponse = RpcResponse<'cf_loan_accounts'>;
|
|
67
75
|
type CfUnregisteredAccount = z.output<typeof unregistered>;
|
|
68
76
|
type CfBrokerAccount = z.output<typeof broker>;
|
|
69
77
|
type CfValidatorAccount = z.output<typeof validator>;
|
|
@@ -72,4 +80,4 @@ type CfOperatorAccount = z.output<typeof operator>;
|
|
|
72
80
|
type LpTotalBalances = RpcResult<'lp_total_balances'>;
|
|
73
81
|
type LpTotalBalancesResponse = RpcResponse<'lp_total_balances'>;
|
|
74
82
|
|
|
75
|
-
export { type CfAccountInfo, type CfAccountInfoResponse, type CfAccounts, type CfAccountsResponse, type CfAuctionState, type CfAuctionStateResponse, type CfAvailablePools, type CfAvailablePoolsResponse, type CfBoostPoolDetails, type CfBoostPoolDetailsResponse, type CfBoostPoolPendingFees, type CfBoostPoolPendingFeesResponse, type CfBoostPoolsDepth, type CfBoostPoolsDepthResponse, type CfBrokerAccount, type CfEncodeCfParameters, type CfEncodeCfParametersResponse, type CfEnvironment, type CfEnvironmentResponse, type CfFailedCallArbitrum, type CfFailedCallArbitrumResponse, type CfFailedCallEthereum, type CfFailedCallEthereumResponse, type CfFlipSupply, type CfFlipSupplyResponse, type CfFundingEnvironment, type CfFundingEnvironmentResponse, type CfGetTradingStrategies, type CfGetTradingStrategiesResponse, type CfGetTradingStrategyLimits, type CfGetTradingStrategyLimitsResponse, type CfIngressEgressEnvironment, type CfIngressEgressEnvironmentResponse, type CfLiquidityProviderAccount, type CfOperatorAccount, type CfOraclePrices, type CfOraclePricesResponse, type CfPoolDepth, type CfPoolDepthResponse, type CfPoolOrderbook, type CfPoolOrderbookResponse, type CfPoolOrders, type CfPoolOrdersResponse, type CfPoolPriceV2, type CfPoolPriceV2Response, type CfPoolsEnvironment, type CfPoolsEnvironmentResponse, type CfRequestSwapParameterEncoding, type CfRequestSwapParameterEncodingResponse, type CfSafeModeStatuses, type CfSafeModeStatusesResponse, type CfSupportedAssets, type CfSupportedAssetsResponse, type CfSwapRate, type CfSwapRateResponse, type CfSwapRateV2, type CfSwapRateV2Response, type CfSwapRateV3, type CfSwapRateV3Response, type CfSwappingEnvironment, type CfSwappingEnvironmentResponse, type CfUnregisteredAccount, type CfValidatorAccount, type LpTotalBalances, type LpTotalBalancesResponse, RpcResult };
|
|
83
|
+
export { type CfAccountInfo, type CfAccountInfoResponse, type CfAccounts, type CfAccountsResponse, type CfAuctionState, type CfAuctionStateResponse, type CfAvailablePools, type CfAvailablePoolsResponse, type CfBoostPoolDetails, type CfBoostPoolDetailsResponse, type CfBoostPoolPendingFees, type CfBoostPoolPendingFeesResponse, type CfBoostPoolsDepth, type CfBoostPoolsDepthResponse, type CfBrokerAccount, type CfEncodeCfParameters, type CfEncodeCfParametersResponse, type CfEnvironment, type CfEnvironmentResponse, type CfFailedCallArbitrum, type CfFailedCallArbitrumResponse, type CfFailedCallEthereum, type CfFailedCallEthereumResponse, type CfFlipSupply, type CfFlipSupplyResponse, type CfFundingEnvironment, type CfFundingEnvironmentResponse, type CfGetTradingStrategies, type CfGetTradingStrategiesResponse, type CfGetTradingStrategyLimits, type CfGetTradingStrategyLimitsResponse, type CfIngressEgressEnvironment, type CfIngressEgressEnvironmentResponse, type CfLendingConfig, type CfLendingConfigResponse, type CfLendingPools, type CfLendingPoolsResponse, type CfLiquidityProviderAccount, type CfLoanAccounts, type CfLoanAccountsResponse, type CfMonitoringSimulateAuction, type CfMonitoringSimulateAuctionResponse, type CfOperatorAccount, type CfOraclePrices, type CfOraclePricesResponse, type CfPoolDepth, type CfPoolDepthResponse, type CfPoolOrderbook, type CfPoolOrderbookResponse, type CfPoolOrders, type CfPoolOrdersResponse, type CfPoolPriceV2, type CfPoolPriceV2Response, type CfPoolsEnvironment, type CfPoolsEnvironmentResponse, type CfRequestSwapParameterEncoding, type CfRequestSwapParameterEncodingResponse, type CfSafeModeStatuses, type CfSafeModeStatusesResponse, type CfSupportedAssets, type CfSupportedAssetsResponse, type CfSwapRate, type CfSwapRateResponse, type CfSwapRateV2, type CfSwapRateV2Response, type CfSwapRateV3, type CfSwapRateV3Response, type CfSwappingEnvironment, type CfSwappingEnvironmentResponse, type CfUnregisteredAccount, type CfValidatorAccount, type LpTotalBalances, type LpTotalBalancesResponse, RpcResult };
|
package/dist/types.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import '@chainflip/utils/types';
|
|
|
9
9
|
type CfAccountInfo = RpcResult<'cf_account_info'>;
|
|
10
10
|
type CfAccounts = RpcResult<'cf_accounts'>;
|
|
11
11
|
type CfAuctionState = RpcResult<'cf_auction_state'>;
|
|
12
|
+
type CfMonitoringSimulateAuction = RpcResult<'cf_monitoring_simulate_auction'>;
|
|
12
13
|
type CfAvailablePools = RpcResult<'cf_available_pools'>;
|
|
13
14
|
type CfBoostPoolDetails = RpcResult<'cf_boost_pool_details'>;
|
|
14
15
|
type CfBoostPoolPendingFees = RpcResult<'cf_boost_pool_pending_fees'>;
|
|
@@ -35,9 +36,13 @@ type CfSwapRate = RpcResult<'cf_swap_rate'>;
|
|
|
35
36
|
type CfSwapRateV2 = RpcResult<'cf_swap_rate_v2'>;
|
|
36
37
|
type CfSwapRateV3 = RpcResult<'cf_swap_rate_v3'>;
|
|
37
38
|
type CfOraclePrices = RpcResult<'cf_oracle_prices'>;
|
|
39
|
+
type CfLendingPools = RpcResult<'cf_lending_pools'>;
|
|
40
|
+
type CfLendingConfig = RpcResult<'cf_lending_config'>;
|
|
41
|
+
type CfLoanAccounts = RpcResult<'cf_loan_accounts'>;
|
|
38
42
|
type CfAccountInfoResponse = RpcResponse<'cf_account_info'>;
|
|
39
43
|
type CfAccountsResponse = RpcResponse<'cf_accounts'>;
|
|
40
44
|
type CfAuctionStateResponse = RpcResponse<'cf_auction_state'>;
|
|
45
|
+
type CfMonitoringSimulateAuctionResponse = RpcResponse<'cf_monitoring_simulate_auction'>;
|
|
41
46
|
type CfAvailablePoolsResponse = RpcResponse<'cf_available_pools'>;
|
|
42
47
|
type CfBoostPoolDetailsResponse = RpcResponse<'cf_boost_pool_details'>;
|
|
43
48
|
type CfBoostPoolPendingFeesResponse = RpcResponse<'cf_boost_pool_pending_fees'>;
|
|
@@ -64,6 +69,9 @@ type CfSwapRateResponse = RpcResponse<'cf_swap_rate'>;
|
|
|
64
69
|
type CfSwapRateV2Response = RpcResponse<'cf_swap_rate_v2'>;
|
|
65
70
|
type CfSwapRateV3Response = RpcResponse<'cf_swap_rate_v3'>;
|
|
66
71
|
type CfOraclePricesResponse = RpcResponse<'cf_oracle_prices'>;
|
|
72
|
+
type CfLendingPoolsResponse = RpcResponse<'cf_lending_pools'>;
|
|
73
|
+
type CfLendingConfigResponse = RpcResponse<'cf_lending_config'>;
|
|
74
|
+
type CfLoanAccountsResponse = RpcResponse<'cf_loan_accounts'>;
|
|
67
75
|
type CfUnregisteredAccount = z.output<typeof unregistered>;
|
|
68
76
|
type CfBrokerAccount = z.output<typeof broker>;
|
|
69
77
|
type CfValidatorAccount = z.output<typeof validator>;
|
|
@@ -72,4 +80,4 @@ type CfOperatorAccount = z.output<typeof operator>;
|
|
|
72
80
|
type LpTotalBalances = RpcResult<'lp_total_balances'>;
|
|
73
81
|
type LpTotalBalancesResponse = RpcResponse<'lp_total_balances'>;
|
|
74
82
|
|
|
75
|
-
export { type CfAccountInfo, type CfAccountInfoResponse, type CfAccounts, type CfAccountsResponse, type CfAuctionState, type CfAuctionStateResponse, type CfAvailablePools, type CfAvailablePoolsResponse, type CfBoostPoolDetails, type CfBoostPoolDetailsResponse, type CfBoostPoolPendingFees, type CfBoostPoolPendingFeesResponse, type CfBoostPoolsDepth, type CfBoostPoolsDepthResponse, type CfBrokerAccount, type CfEncodeCfParameters, type CfEncodeCfParametersResponse, type CfEnvironment, type CfEnvironmentResponse, type CfFailedCallArbitrum, type CfFailedCallArbitrumResponse, type CfFailedCallEthereum, type CfFailedCallEthereumResponse, type CfFlipSupply, type CfFlipSupplyResponse, type CfFundingEnvironment, type CfFundingEnvironmentResponse, type CfGetTradingStrategies, type CfGetTradingStrategiesResponse, type CfGetTradingStrategyLimits, type CfGetTradingStrategyLimitsResponse, type CfIngressEgressEnvironment, type CfIngressEgressEnvironmentResponse, type CfLiquidityProviderAccount, type CfOperatorAccount, type CfOraclePrices, type CfOraclePricesResponse, type CfPoolDepth, type CfPoolDepthResponse, type CfPoolOrderbook, type CfPoolOrderbookResponse, type CfPoolOrders, type CfPoolOrdersResponse, type CfPoolPriceV2, type CfPoolPriceV2Response, type CfPoolsEnvironment, type CfPoolsEnvironmentResponse, type CfRequestSwapParameterEncoding, type CfRequestSwapParameterEncodingResponse, type CfSafeModeStatuses, type CfSafeModeStatusesResponse, type CfSupportedAssets, type CfSupportedAssetsResponse, type CfSwapRate, type CfSwapRateResponse, type CfSwapRateV2, type CfSwapRateV2Response, type CfSwapRateV3, type CfSwapRateV3Response, type CfSwappingEnvironment, type CfSwappingEnvironmentResponse, type CfUnregisteredAccount, type CfValidatorAccount, type LpTotalBalances, type LpTotalBalancesResponse, RpcResult };
|
|
83
|
+
export { type CfAccountInfo, type CfAccountInfoResponse, type CfAccounts, type CfAccountsResponse, type CfAuctionState, type CfAuctionStateResponse, type CfAvailablePools, type CfAvailablePoolsResponse, type CfBoostPoolDetails, type CfBoostPoolDetailsResponse, type CfBoostPoolPendingFees, type CfBoostPoolPendingFeesResponse, type CfBoostPoolsDepth, type CfBoostPoolsDepthResponse, type CfBrokerAccount, type CfEncodeCfParameters, type CfEncodeCfParametersResponse, type CfEnvironment, type CfEnvironmentResponse, type CfFailedCallArbitrum, type CfFailedCallArbitrumResponse, type CfFailedCallEthereum, type CfFailedCallEthereumResponse, type CfFlipSupply, type CfFlipSupplyResponse, type CfFundingEnvironment, type CfFundingEnvironmentResponse, type CfGetTradingStrategies, type CfGetTradingStrategiesResponse, type CfGetTradingStrategyLimits, type CfGetTradingStrategyLimitsResponse, type CfIngressEgressEnvironment, type CfIngressEgressEnvironmentResponse, type CfLendingConfig, type CfLendingConfigResponse, type CfLendingPools, type CfLendingPoolsResponse, type CfLiquidityProviderAccount, type CfLoanAccounts, type CfLoanAccountsResponse, type CfMonitoringSimulateAuction, type CfMonitoringSimulateAuctionResponse, type CfOperatorAccount, type CfOraclePrices, type CfOraclePricesResponse, type CfPoolDepth, type CfPoolDepthResponse, type CfPoolOrderbook, type CfPoolOrderbookResponse, type CfPoolOrders, type CfPoolOrdersResponse, type CfPoolPriceV2, type CfPoolPriceV2Response, type CfPoolsEnvironment, type CfPoolsEnvironmentResponse, type CfRequestSwapParameterEncoding, type CfRequestSwapParameterEncodingResponse, type CfSafeModeStatuses, type CfSafeModeStatusesResponse, type CfSupportedAssets, type CfSupportedAssetsResponse, type CfSwapRate, type CfSwapRateResponse, type CfSwapRateV2, type CfSwapRateV2Response, type CfSwapRateV3, type CfSwapRateV3Response, type CfSwappingEnvironment, type CfSwappingEnvironmentResponse, type CfUnregisteredAccount, type CfValidatorAccount, type LpTotalBalances, type LpTotalBalancesResponse, RpcResult };
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chainflip/rpc",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@chainflip/utils": "0.
|
|
6
|
+
"@chainflip/utils": "0.11.0",
|
|
7
7
|
"zod": "^3.25.75"
|
|
8
8
|
},
|
|
9
9
|
"devDependencies": {
|
|
10
|
-
"@types/node": "^24.
|
|
10
|
+
"@types/node": "^24.5.2",
|
|
11
11
|
"@types/ws": "^8.18.1",
|
|
12
12
|
"ws": "^8.18.3"
|
|
13
13
|
},
|