6 #ifndef KAGOME_API_SYSTEMAPIIMPL 7 #define KAGOME_API_SYSTEMAPIIMPL 14 class TransactionPool;
28 std::shared_ptr<application::ChainSpec> config,
29 std::shared_ptr<consensus::babe::Babe> babe,
30 std::shared_ptr<network::PeerManager> peer_manager,
31 std::shared_ptr<runtime::AccountNonceApi> account_nonce_api,
32 std::shared_ptr<transaction_pool::TransactionPool> transaction_pool,
33 std::shared_ptr<const blockchain::BlockTree> block_tree,
34 std::shared_ptr<crypto::Hasher> hasher);
36 std::shared_ptr<application::ChainSpec> getConfig()
const override;
38 std::shared_ptr<consensus::babe::Babe> getBabe()
const override;
40 std::shared_ptr<network::PeerManager> getPeerManager()
const override;
46 outcome::result<primitives::AccountNonce> getNonceFor(
47 std::string_view account_address)
const override;
55 std::shared_ptr<application::ChainSpec>
config_;
56 std::shared_ptr<consensus::babe::Babe>
babe_;
66 #endif // KAGOME_API_SYSTEMAPIIMPL
std::shared_ptr< runtime::AccountNonceApi > account_nonce_api_
std::shared_ptr< transaction_pool::TransactionPool > transaction_pool_
std::shared_ptr< crypto::Hasher > hasher_
std::shared_ptr< consensus::babe::Babe > babe_
std::shared_ptr< const blockchain::BlockTree > block_tree_
crypto::Sr25519PublicKey AccountId
std::shared_ptr< network::PeerManager > peer_manager_
std::shared_ptr< application::ChainSpec > config_