@chainflip/rpc 1.11.4 → 1.11.6
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 +3 -1
- package/dist/common.d.cts +2089 -1100
- package/dist/common.d.ts +2089 -1100
- package/dist/common.mjs +4 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/parsers.cjs +68 -60
- package/dist/parsers.d.cts +2213 -1225
- package/dist/parsers.d.ts +2213 -1225
- package/dist/parsers.mjs +67 -59
- package/dist/types.d.cts +3 -1
- package/dist/types.d.ts +3 -1
- package/package.json +2 -2
package/dist/common.mjs
CHANGED
|
@@ -39,7 +39,8 @@ import {
|
|
|
39
39
|
cfLendingPools,
|
|
40
40
|
cfLendingConfig,
|
|
41
41
|
cfLoanAccounts,
|
|
42
|
-
cfMonitoringSimulateAuction
|
|
42
|
+
cfMonitoringSimulateAuction,
|
|
43
|
+
cfVaultAddresses
|
|
43
44
|
} from "./parsers.mjs";
|
|
44
45
|
import { rpcResponse } from "./parsers.mjs";
|
|
45
46
|
var rpcResult = {
|
|
@@ -86,7 +87,8 @@ var rpcResult = {
|
|
|
86
87
|
cf_oracle_prices: cfOraclePrices,
|
|
87
88
|
cf_lending_pools: cfLendingPools,
|
|
88
89
|
cf_lending_config: cfLendingConfig,
|
|
89
|
-
cf_loan_accounts: cfLoanAccounts
|
|
90
|
+
cf_loan_accounts: cfLoanAccounts,
|
|
91
|
+
cf_get_vault_addresses: cfVaultAddresses
|
|
90
92
|
};
|
|
91
93
|
export {
|
|
92
94
|
rpcResponse,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { default as HttpClient } from './HttpClient.cjs';
|
|
2
2
|
export { default as WsClient } from './WsClient.cjs';
|
|
3
|
-
export { CfAccountInfo, CfAccountInfoResponse, CfAccounts, CfAccountsResponse, CfAuctionState, CfAuctionStateResponse, CfAvailablePools, CfAvailablePoolsResponse, CfBoostPoolDetails, CfBoostPoolDetailsResponse, CfBoostPoolPendingFees, CfBoostPoolPendingFeesResponse, CfBoostPoolsDepth, CfBoostPoolsDepthResponse, CfBrokerAccount, CfEncodeCfParameters, CfEncodeCfParametersResponse, CfEnvironment, CfEnvironmentResponse, CfFailedCallArbitrum, CfFailedCallArbitrumResponse, CfFailedCallEthereum, CfFailedCallEthereumResponse, CfFlipSupply, CfFlipSupplyResponse, CfFundingEnvironment, CfFundingEnvironmentResponse, CfGetTradingStrategies, CfGetTradingStrategiesResponse, CfGetTradingStrategyLimits, CfGetTradingStrategyLimitsResponse, CfIngressEgressEnvironment, CfIngressEgressEnvironmentResponse, CfLendingConfig, CfLendingConfigResponse, CfLendingPools, CfLendingPoolsResponse, CfLiquidityProviderAccount, CfLoanAccounts, CfLoanAccountsResponse, CfMonitoringSimulateAuction, CfMonitoringSimulateAuctionResponse, CfOperatorAccount, CfOraclePrices, CfOraclePricesResponse, CfPoolDepth, CfPoolDepthResponse, CfPoolOrderbook, CfPoolOrderbookResponse, CfPoolOrders, CfPoolOrdersResponse, CfPoolPriceV2, CfPoolPriceV2Response, CfPoolsEnvironment, CfPoolsEnvironmentResponse, CfRequestSwapParameterEncoding, CfRequestSwapParameterEncodingResponse, CfSafeModeStatuses, CfSafeModeStatusesResponse, CfSupportedAssets, CfSupportedAssetsResponse, CfSwapRate, CfSwapRateResponse, CfSwapRateV2, CfSwapRateV2Response, CfSwapRateV3, CfSwapRateV3Response, CfSwappingEnvironment, CfSwappingEnvironmentResponse, CfUnregisteredAccount, CfValidatorAccount, LpTotalBalances, LpTotalBalancesResponse } from './types.cjs';
|
|
3
|
+
export { CfAccountInfo, CfAccountInfoResponse, CfAccounts, CfAccountsResponse, CfAuctionState, CfAuctionStateResponse, CfAvailablePools, CfAvailablePoolsResponse, CfBoostPoolDetails, CfBoostPoolDetailsResponse, CfBoostPoolPendingFees, CfBoostPoolPendingFeesResponse, CfBoostPoolsDepth, CfBoostPoolsDepthResponse, CfBrokerAccount, CfEncodeCfParameters, CfEncodeCfParametersResponse, CfEnvironment, CfEnvironmentResponse, CfFailedCallArbitrum, CfFailedCallArbitrumResponse, CfFailedCallEthereum, CfFailedCallEthereumResponse, CfFlipSupply, CfFlipSupplyResponse, CfFundingEnvironment, CfFundingEnvironmentResponse, CfGetTradingStrategies, CfGetTradingStrategiesResponse, CfGetTradingStrategyLimits, CfGetTradingStrategyLimitsResponse, CfIngressEgressEnvironment, CfIngressEgressEnvironmentResponse, CfLendingConfig, CfLendingConfigResponse, CfLendingPools, CfLendingPoolsResponse, CfLiquidityProviderAccount, CfLoanAccounts, CfLoanAccountsResponse, CfMonitoringSimulateAuction, CfMonitoringSimulateAuctionResponse, CfOperatorAccount, CfOraclePrices, CfOraclePricesResponse, CfPoolDepth, CfPoolDepthResponse, CfPoolOrderbook, CfPoolOrderbookResponse, CfPoolOrders, CfPoolOrdersResponse, CfPoolPriceV2, CfPoolPriceV2Response, CfPoolsEnvironment, CfPoolsEnvironmentResponse, CfRequestSwapParameterEncoding, CfRequestSwapParameterEncodingResponse, CfSafeModeStatuses, CfSafeModeStatusesResponse, CfSupportedAssets, CfSupportedAssetsResponse, CfSwapRate, CfSwapRateResponse, CfSwapRateV2, CfSwapRateV2Response, CfSwapRateV3, CfSwapRateV3Response, CfSwappingEnvironment, CfSwappingEnvironmentResponse, CfUnregisteredAccount, CfValidatorAccount, CfVaultAddresses, CfVaultAddressesResponse, LpTotalBalances, LpTotalBalancesResponse } from './types.cjs';
|
|
4
4
|
export { c as constants } from './constants-jLrn-AnI.cjs';
|
|
5
5
|
export { RpcLimitOrder, RpcRangeOrder } from './parsers.cjs';
|
|
6
6
|
export { RpcMethod, RpcRequest as RpcParams, RpcResult } from './common.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { default as HttpClient } from './HttpClient.js';
|
|
2
2
|
export { default as WsClient } from './WsClient.js';
|
|
3
|
-
export { CfAccountInfo, CfAccountInfoResponse, CfAccounts, CfAccountsResponse, CfAuctionState, CfAuctionStateResponse, CfAvailablePools, CfAvailablePoolsResponse, CfBoostPoolDetails, CfBoostPoolDetailsResponse, CfBoostPoolPendingFees, CfBoostPoolPendingFeesResponse, CfBoostPoolsDepth, CfBoostPoolsDepthResponse, CfBrokerAccount, CfEncodeCfParameters, CfEncodeCfParametersResponse, CfEnvironment, CfEnvironmentResponse, CfFailedCallArbitrum, CfFailedCallArbitrumResponse, CfFailedCallEthereum, CfFailedCallEthereumResponse, CfFlipSupply, CfFlipSupplyResponse, CfFundingEnvironment, CfFundingEnvironmentResponse, CfGetTradingStrategies, CfGetTradingStrategiesResponse, CfGetTradingStrategyLimits, CfGetTradingStrategyLimitsResponse, CfIngressEgressEnvironment, CfIngressEgressEnvironmentResponse, CfLendingConfig, CfLendingConfigResponse, CfLendingPools, CfLendingPoolsResponse, CfLiquidityProviderAccount, CfLoanAccounts, CfLoanAccountsResponse, CfMonitoringSimulateAuction, CfMonitoringSimulateAuctionResponse, CfOperatorAccount, CfOraclePrices, CfOraclePricesResponse, CfPoolDepth, CfPoolDepthResponse, CfPoolOrderbook, CfPoolOrderbookResponse, CfPoolOrders, CfPoolOrdersResponse, CfPoolPriceV2, CfPoolPriceV2Response, CfPoolsEnvironment, CfPoolsEnvironmentResponse, CfRequestSwapParameterEncoding, CfRequestSwapParameterEncodingResponse, CfSafeModeStatuses, CfSafeModeStatusesResponse, CfSupportedAssets, CfSupportedAssetsResponse, CfSwapRate, CfSwapRateResponse, CfSwapRateV2, CfSwapRateV2Response, CfSwapRateV3, CfSwapRateV3Response, CfSwappingEnvironment, CfSwappingEnvironmentResponse, CfUnregisteredAccount, CfValidatorAccount, LpTotalBalances, LpTotalBalancesResponse } from './types.js';
|
|
3
|
+
export { CfAccountInfo, CfAccountInfoResponse, CfAccounts, CfAccountsResponse, CfAuctionState, CfAuctionStateResponse, CfAvailablePools, CfAvailablePoolsResponse, CfBoostPoolDetails, CfBoostPoolDetailsResponse, CfBoostPoolPendingFees, CfBoostPoolPendingFeesResponse, CfBoostPoolsDepth, CfBoostPoolsDepthResponse, CfBrokerAccount, CfEncodeCfParameters, CfEncodeCfParametersResponse, CfEnvironment, CfEnvironmentResponse, CfFailedCallArbitrum, CfFailedCallArbitrumResponse, CfFailedCallEthereum, CfFailedCallEthereumResponse, CfFlipSupply, CfFlipSupplyResponse, CfFundingEnvironment, CfFundingEnvironmentResponse, CfGetTradingStrategies, CfGetTradingStrategiesResponse, CfGetTradingStrategyLimits, CfGetTradingStrategyLimitsResponse, CfIngressEgressEnvironment, CfIngressEgressEnvironmentResponse, CfLendingConfig, CfLendingConfigResponse, CfLendingPools, CfLendingPoolsResponse, CfLiquidityProviderAccount, CfLoanAccounts, CfLoanAccountsResponse, CfMonitoringSimulateAuction, CfMonitoringSimulateAuctionResponse, CfOperatorAccount, CfOraclePrices, CfOraclePricesResponse, CfPoolDepth, CfPoolDepthResponse, CfPoolOrderbook, CfPoolOrderbookResponse, CfPoolOrders, CfPoolOrdersResponse, CfPoolPriceV2, CfPoolPriceV2Response, CfPoolsEnvironment, CfPoolsEnvironmentResponse, CfRequestSwapParameterEncoding, CfRequestSwapParameterEncodingResponse, CfSafeModeStatuses, CfSafeModeStatusesResponse, CfSupportedAssets, CfSupportedAssetsResponse, CfSwapRate, CfSwapRateResponse, CfSwapRateV2, CfSwapRateV2Response, CfSwapRateV3, CfSwapRateV3Response, CfSwappingEnvironment, CfSwappingEnvironmentResponse, CfUnregisteredAccount, CfValidatorAccount, CfVaultAddresses, CfVaultAddressesResponse, LpTotalBalances, LpTotalBalancesResponse } from './types.js';
|
|
4
4
|
export { c as constants } from './constants-jLrn-AnI.js';
|
|
5
5
|
export { RpcLimitOrder, RpcRangeOrder } from './parsers.js';
|
|
6
6
|
export { RpcMethod, RpcRequest as RpcParams, RpcResult } from './common.js';
|
package/dist/parsers.cjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }// src/parsers.ts
|
|
2
|
+
var _bytes = require('@chainflip/utils/bytes');
|
|
2
3
|
var _chainflip = require('@chainflip/utils/chainflip');
|
|
3
4
|
var _guard = require('@chainflip/utils/guard');
|
|
4
5
|
var _string = require('@chainflip/utils/string');
|
|
@@ -319,7 +320,7 @@ var cfAccountInfo = _zod.z.discriminatedUnion("role", [unregistered, broker, ope
|
|
|
319
320
|
}
|
|
320
321
|
}
|
|
321
322
|
});
|
|
322
|
-
var cfAccounts = _zod.z.array(_zod.z.tuple([
|
|
323
|
+
var cfAccounts = _zod.z.array(_zod.z.tuple([accountId, _zod.z.string()]));
|
|
323
324
|
var cfPoolPriceV2 = _zod.z.object({
|
|
324
325
|
sell: numberOrHex.nullable(),
|
|
325
326
|
buy: numberOrHex.nullable(),
|
|
@@ -492,8 +493,7 @@ var cfOraclePrices = _zod.z.array(
|
|
|
492
493
|
);
|
|
493
494
|
var broadcastPalletSafeModeStatuses = _zod.z.object({
|
|
494
495
|
retry_enabled: _zod.z.boolean(),
|
|
495
|
-
|
|
496
|
-
egress_witnessing_enabled: _zod.z.boolean().optional()
|
|
496
|
+
egress_witnessing_enabled: _zod.z.boolean()
|
|
497
497
|
});
|
|
498
498
|
var ingressEgressPalletSafeModeStatuses = _zod.z.object({
|
|
499
499
|
boost_deposits_enabled: _zod.z.boolean(),
|
|
@@ -501,7 +501,7 @@ var ingressEgressPalletSafeModeStatuses = _zod.z.object({
|
|
|
501
501
|
deposit_channel_witnessing_enabled: _zod.z.boolean(),
|
|
502
502
|
vault_deposit_witnessing_enabled: _zod.z.boolean()
|
|
503
503
|
});
|
|
504
|
-
var
|
|
504
|
+
var cfSafeModeStatuses = _zod.z.object({
|
|
505
505
|
emissions: _zod.z.object({
|
|
506
506
|
emissions_sync_enabled: _zod.z.boolean()
|
|
507
507
|
}),
|
|
@@ -516,7 +516,7 @@ var cfSafeModeStatusesBase = _zod.z.object({
|
|
|
516
516
|
liquidity_provider: _zod.z.object({
|
|
517
517
|
deposit_enabled: _zod.z.boolean(),
|
|
518
518
|
withdrawal_enabled: _zod.z.boolean(),
|
|
519
|
-
internal_swaps_enabled: _zod.z.boolean()
|
|
519
|
+
internal_swaps_enabled: _zod.z.boolean()
|
|
520
520
|
}),
|
|
521
521
|
validator: _zod.z.object({
|
|
522
522
|
authority_rotation_enabled: _zod.z.boolean(),
|
|
@@ -550,66 +550,33 @@ var cfSafeModeStatusesBase = _zod.z.object({
|
|
|
550
550
|
threshold_signature_solana: _zod.z.object({
|
|
551
551
|
slashing_enabled: _zod.z.boolean()
|
|
552
552
|
}),
|
|
553
|
+
lending_pools: _zod.z.object({
|
|
554
|
+
add_boost_funds_enabled: _zod.z.boolean(),
|
|
555
|
+
stop_boosting_enabled: _zod.z.boolean(),
|
|
556
|
+
// TODO(1.12): remove `optional` after all networks upgraded
|
|
557
|
+
borrowing_enabled: _zod.z.array(rpcAssetSchema).optional(),
|
|
558
|
+
add_lender_funds_enabled: _zod.z.array(rpcAssetSchema).optional(),
|
|
559
|
+
withdraw_lender_funds_enabled: _zod.z.array(rpcAssetSchema).optional(),
|
|
560
|
+
add_collateral_enabled: _zod.z.array(rpcAssetSchema).optional(),
|
|
561
|
+
remove_collateral_enabled: _zod.z.array(rpcAssetSchema).optional()
|
|
562
|
+
}),
|
|
553
563
|
broadcast_ethereum: broadcastPalletSafeModeStatuses,
|
|
554
564
|
broadcast_bitcoin: broadcastPalletSafeModeStatuses,
|
|
555
565
|
broadcast_polkadot: broadcastPalletSafeModeStatuses,
|
|
556
566
|
broadcast_arbitrum: broadcastPalletSafeModeStatuses,
|
|
557
567
|
broadcast_solana: broadcastPalletSafeModeStatuses,
|
|
558
|
-
broadcast_assethub: broadcastPalletSafeModeStatuses
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
}),
|
|
569
|
-
ingress_egress_bitcoin: _zod.z.object({
|
|
570
|
-
boost_deposits_enabled: _zod.z.boolean(),
|
|
571
|
-
add_boost_funds_enabled: _zod.z.boolean(),
|
|
572
|
-
stop_boosting_enabled: _zod.z.boolean(),
|
|
573
|
-
deposits_enabled: _zod.z.boolean()
|
|
574
|
-
}),
|
|
575
|
-
ingress_egress_polkadot: _zod.z.object({
|
|
576
|
-
boost_deposits_enabled: _zod.z.boolean(),
|
|
577
|
-
add_boost_funds_enabled: _zod.z.boolean(),
|
|
578
|
-
stop_boosting_enabled: _zod.z.boolean(),
|
|
579
|
-
deposits_enabled: _zod.z.boolean()
|
|
580
|
-
}),
|
|
581
|
-
ingress_egress_arbitrum: _zod.z.object({
|
|
582
|
-
boost_deposits_enabled: _zod.z.boolean(),
|
|
583
|
-
add_boost_funds_enabled: _zod.z.boolean(),
|
|
584
|
-
stop_boosting_enabled: _zod.z.boolean(),
|
|
585
|
-
deposits_enabled: _zod.z.boolean()
|
|
586
|
-
}),
|
|
587
|
-
ingress_egress_solana: _zod.z.object({
|
|
588
|
-
boost_deposits_enabled: _zod.z.boolean(),
|
|
589
|
-
add_boost_funds_enabled: _zod.z.boolean(),
|
|
590
|
-
stop_boosting_enabled: _zod.z.boolean(),
|
|
591
|
-
deposits_enabled: _zod.z.boolean()
|
|
592
|
-
}),
|
|
593
|
-
ingress_egress_assethub: _zod.z.object({
|
|
594
|
-
boost_deposits_enabled: _zod.z.boolean(),
|
|
595
|
-
add_boost_funds_enabled: _zod.z.boolean(),
|
|
596
|
-
stop_boosting_enabled: _zod.z.boolean(),
|
|
597
|
-
deposits_enabled: _zod.z.boolean()
|
|
598
|
-
})
|
|
599
|
-
}),
|
|
600
|
-
cfSafeModeStatusesBase.extend({
|
|
601
|
-
lending_pools: _zod.z.object({
|
|
602
|
-
add_boost_funds_enabled: _zod.z.boolean(),
|
|
603
|
-
stop_boosting_enabled: _zod.z.boolean()
|
|
604
|
-
}),
|
|
605
|
-
ingress_egress_ethereum: ingressEgressPalletSafeModeStatuses,
|
|
606
|
-
ingress_egress_bitcoin: ingressEgressPalletSafeModeStatuses,
|
|
607
|
-
ingress_egress_polkadot: ingressEgressPalletSafeModeStatuses,
|
|
608
|
-
ingress_egress_arbitrum: ingressEgressPalletSafeModeStatuses,
|
|
609
|
-
ingress_egress_solana: ingressEgressPalletSafeModeStatuses,
|
|
610
|
-
ingress_egress_assethub: ingressEgressPalletSafeModeStatuses
|
|
568
|
+
broadcast_assethub: broadcastPalletSafeModeStatuses,
|
|
569
|
+
ingress_egress_ethereum: ingressEgressPalletSafeModeStatuses,
|
|
570
|
+
ingress_egress_bitcoin: ingressEgressPalletSafeModeStatuses,
|
|
571
|
+
ingress_egress_polkadot: ingressEgressPalletSafeModeStatuses,
|
|
572
|
+
ingress_egress_arbitrum: ingressEgressPalletSafeModeStatuses,
|
|
573
|
+
ingress_egress_solana: ingressEgressPalletSafeModeStatuses,
|
|
574
|
+
ingress_egress_assethub: ingressEgressPalletSafeModeStatuses,
|
|
575
|
+
witnesser: _zod.z.enum(["CodeRed", "CodeGreen", "CodeAmber"]),
|
|
576
|
+
elections_generic: _zod.z.object({
|
|
577
|
+
oracle_price_elections: _zod.z.boolean()
|
|
611
578
|
})
|
|
612
|
-
|
|
579
|
+
});
|
|
613
580
|
var cfLendingPools = _zod.z.array(
|
|
614
581
|
_zod.z.object({
|
|
615
582
|
asset: rpcAssetSchema,
|
|
@@ -683,6 +650,47 @@ var cfLoanAccount = _zod.z.object({
|
|
|
683
650
|
}).nullable()
|
|
684
651
|
});
|
|
685
652
|
var cfLoanAccounts = _zod.z.array(cfLoanAccount);
|
|
653
|
+
var cfVaultAddresses = _zod.z.object({
|
|
654
|
+
ethereum: _zod.z.object({ Eth: _zod.z.array(_zod.z.number()).length(20).transform(_bytes.bytesToHex) }),
|
|
655
|
+
arbitrum: _zod.z.object({ Arb: _zod.z.array(_zod.z.number()).length(20).transform(_bytes.bytesToHex) }),
|
|
656
|
+
bitcoin: _zod.z.array(
|
|
657
|
+
_zod.z.tuple([
|
|
658
|
+
accountId,
|
|
659
|
+
_zod.z.object({
|
|
660
|
+
Btc: _zod.z.array(_zod.z.number()).transform((bytes) => new TextDecoder().decode(new Uint8Array(bytes)))
|
|
661
|
+
})
|
|
662
|
+
])
|
|
663
|
+
)
|
|
664
|
+
}).transform(({ ethereum, arbitrum, bitcoin }) => {
|
|
665
|
+
const bitcoinAddresses = bitcoin.reduce((acc, [brokerId, { Btc }]) => {
|
|
666
|
+
let obj = acc.get(brokerId);
|
|
667
|
+
if (!obj) {
|
|
668
|
+
obj = { current: "", previous: "" };
|
|
669
|
+
acc.set(brokerId, obj);
|
|
670
|
+
}
|
|
671
|
+
if (!obj.previous) {
|
|
672
|
+
obj.previous = Btc;
|
|
673
|
+
} else {
|
|
674
|
+
obj.current = Btc;
|
|
675
|
+
}
|
|
676
|
+
return acc;
|
|
677
|
+
}, /* @__PURE__ */ new Map());
|
|
678
|
+
return {
|
|
679
|
+
Ethereum: ethereum.Eth,
|
|
680
|
+
Arbitrum: arbitrum.Arb,
|
|
681
|
+
Bitcoin: bitcoinAddresses
|
|
682
|
+
};
|
|
683
|
+
}).superRefine(({ Bitcoin }, ctx) => {
|
|
684
|
+
Bitcoin.forEach((value, key) => {
|
|
685
|
+
if (!value.current) {
|
|
686
|
+
ctx.addIssue({
|
|
687
|
+
message: `No current BTC address for broker ${key}`,
|
|
688
|
+
code: _zod.z.ZodIssueCode.custom
|
|
689
|
+
});
|
|
690
|
+
}
|
|
691
|
+
});
|
|
692
|
+
});
|
|
693
|
+
|
|
686
694
|
|
|
687
695
|
|
|
688
696
|
|
|
@@ -734,4 +742,4 @@ var cfLoanAccounts = _zod.z.array(cfLoanAccount);
|
|
|
734
742
|
|
|
735
743
|
|
|
736
744
|
|
|
737
|
-
exports.accountInfoCommon = accountInfoCommon; exports.broker = broker; exports.brokerRequestSwapDepositAddress = brokerRequestSwapDepositAddress; exports.cfAccountInfo = cfAccountInfo; exports.cfAccounts = cfAccounts; exports.cfAuctionState = cfAuctionState; exports.cfAvailablePools = cfAvailablePools; exports.cfBoostPoolDetails = cfBoostPoolDetails; exports.cfBoostPoolPendingFees = cfBoostPoolPendingFees; exports.cfBoostPoolsDepth = cfBoostPoolsDepth; exports.cfEnvironment = cfEnvironment; exports.cfFailedCallEvm = cfFailedCallEvm; exports.cfFlipSuppy = cfFlipSuppy; exports.cfFundingEnvironment = cfFundingEnvironment; exports.cfGetTradingStrategies = cfGetTradingStrategies; exports.cfGetTradingStrategyLimits = cfGetTradingStrategyLimits; exports.cfIngressEgressEnvironment = cfIngressEgressEnvironment; exports.cfLendingConfig = cfLendingConfig; exports.cfLendingPools = cfLendingPools; exports.cfLoanAccount = cfLoanAccount; exports.cfLoanAccounts = cfLoanAccounts; exports.cfMonitoringSimulateAuction = cfMonitoringSimulateAuction; exports.cfOraclePrices = cfOraclePrices; exports.cfPoolDepth = cfPoolDepth; exports.cfPoolOrderbook = cfPoolOrderbook; exports.cfPoolOrders = cfPoolOrders; exports.cfPoolPriceV2 = cfPoolPriceV2; exports.cfPoolsEnvironment = cfPoolsEnvironment; exports.cfSafeModeStatuses = cfSafeModeStatuses; exports.cfSupportedAssets = cfSupportedAssets; exports.cfSwapRate = cfSwapRate; exports.cfSwapRateV2 = cfSwapRateV2; exports.cfSwapRateV3 = cfSwapRateV3; exports.cfSwappingEnvironment = cfSwappingEnvironment; exports.cfTradingStrategy = cfTradingStrategy; exports.chainGetBlockHash = chainGetBlockHash; exports.ethereumAddress = ethereumAddress; exports.hexString = hexString; exports.liquidityProvider = liquidityProvider; exports.lpTotalBalances = lpTotalBalances; exports.numberOrHex = numberOrHex; exports.numericString = numericString; exports.operator = operator; exports.requestSwapParameterEncoding = requestSwapParameterEncoding; exports.rpcResponse = rpcResponse; exports.stateGetMetadata = stateGetMetadata; exports.stateGetRuntimeVersion = stateGetRuntimeVersion; exports.u256 = u256; exports.unregistered = unregistered; exports.validator = validator;
|
|
745
|
+
exports.accountInfoCommon = accountInfoCommon; exports.broker = broker; exports.brokerRequestSwapDepositAddress = brokerRequestSwapDepositAddress; exports.cfAccountInfo = cfAccountInfo; exports.cfAccounts = cfAccounts; exports.cfAuctionState = cfAuctionState; exports.cfAvailablePools = cfAvailablePools; exports.cfBoostPoolDetails = cfBoostPoolDetails; exports.cfBoostPoolPendingFees = cfBoostPoolPendingFees; exports.cfBoostPoolsDepth = cfBoostPoolsDepth; exports.cfEnvironment = cfEnvironment; exports.cfFailedCallEvm = cfFailedCallEvm; exports.cfFlipSuppy = cfFlipSuppy; exports.cfFundingEnvironment = cfFundingEnvironment; exports.cfGetTradingStrategies = cfGetTradingStrategies; exports.cfGetTradingStrategyLimits = cfGetTradingStrategyLimits; exports.cfIngressEgressEnvironment = cfIngressEgressEnvironment; exports.cfLendingConfig = cfLendingConfig; exports.cfLendingPools = cfLendingPools; exports.cfLoanAccount = cfLoanAccount; exports.cfLoanAccounts = cfLoanAccounts; exports.cfMonitoringSimulateAuction = cfMonitoringSimulateAuction; exports.cfOraclePrices = cfOraclePrices; exports.cfPoolDepth = cfPoolDepth; exports.cfPoolOrderbook = cfPoolOrderbook; exports.cfPoolOrders = cfPoolOrders; exports.cfPoolPriceV2 = cfPoolPriceV2; exports.cfPoolsEnvironment = cfPoolsEnvironment; exports.cfSafeModeStatuses = cfSafeModeStatuses; exports.cfSupportedAssets = cfSupportedAssets; exports.cfSwapRate = cfSwapRate; exports.cfSwapRateV2 = cfSwapRateV2; exports.cfSwapRateV3 = cfSwapRateV3; exports.cfSwappingEnvironment = cfSwappingEnvironment; exports.cfTradingStrategy = cfTradingStrategy; exports.cfVaultAddresses = cfVaultAddresses; exports.chainGetBlockHash = chainGetBlockHash; exports.ethereumAddress = ethereumAddress; exports.hexString = hexString; exports.liquidityProvider = liquidityProvider; exports.lpTotalBalances = lpTotalBalances; exports.numberOrHex = numberOrHex; exports.numericString = numericString; exports.operator = operator; exports.requestSwapParameterEncoding = requestSwapParameterEncoding; exports.rpcResponse = rpcResponse; exports.stateGetMetadata = stateGetMetadata; exports.stateGetRuntimeVersion = stateGetRuntimeVersion; exports.u256 = u256; exports.unregistered = unregistered; exports.validator = validator;
|