Function interbtc_rpc::create_full
source · pub fn create_full<C, P, BE, A, CT>(
deps: FullDeps<C, P, A, CT>,
subscription_task_executor: SubscriptionTaskExecutor,
pubsub_notification_sinks: Arc<EthereumBlockNotificationSinks<EthereumBlockNotification<Block>>>
) -> Result<RpcExtension, Box<dyn Error + Send + Sync>>where
C: CallApiAt<Block> + ProvideRuntimeApi<Block> + BlockchainEvents<Block> + HeaderBackend<Block> + HeaderMetadata<Block, Error = BlockChainError> + StorageProvider<Block, BE> + Send + Sync + 'static,
C::Api: BlockBuilder<Block> + ConvertTransactionRuntimeApi<Block> + EthereumRuntimeRPCApi<Block> + AccountNonceApi<Block, AccountId, Nonce> + TransactionPaymentRuntimeApi<Block, Balance> + BtcRelayRuntimeApi<Block, H256Le> + OracleRuntimeApi<Block, Balance, CurrencyId> + VaultRegistryRuntimeApi<Block, VaultId<AccountId, CurrencyId>, Balance, FixedU128, CurrencyId, AccountId> + IssueRuntimeApi<Block, AccountId, H256, IssueRequest<AccountId, BlockNumber, Balance, CurrencyId>> + RedeemRuntimeApi<Block, VaultId<AccountId, CurrencyId>, Balance, AccountId, H256, RedeemRequest<AccountId, BlockNumber, Balance, CurrencyId>> + ReplaceRuntimeApi<Block, AccountId, H256, ReplaceRequest<AccountId, BlockNumber, Balance, CurrencyId>> + EscrowRuntimeApi<Block, AccountId, BlockNumber, Balance> + RewardRuntimeApi<Block, AccountId, VaultId<AccountId, CurrencyId>, CurrencyId, Balance, BlockNumber, FixedU128> + LoansRuntimeApi<Block, AccountId, Balance> + DexGeneralRuntimeApi<Block, AccountId, CurrencyId> + DexStableRuntimeApi<Block, CurrencyId, Balance, AccountId, StablePoolId>,
P: TransactionPool<Block = Block> + 'static,
BE: Backend<Block> + 'static,
A: ChainApi<Block = Block> + 'static,
CT: ConvertTransaction<<Block as BlockT>::Extrinsic> + Send + Sync + 'static,
Expand description
Instantiate all full RPC extensions.