32 #ifndef LEDGER_CORE_ETHEREUMLIKEWALLETFACTORY_H 33 #define LEDGER_CORE_ETHEREUMLIKEWALLETFACTORY_H 37 #include <wallet/common/AbstractWalletFactory.hpp> 38 #include <wallet/ethereum/synchronizers/EthereumLikeAccountSynchronizer.h> 39 #include <wallet/ethereum/explorers/EthereumLikeBlockchainExplorer.h> 40 #include <wallet/ethereum/observers/EthereumLikeBlockchainObserver.h> 41 #include <wallet/ethereum/factories/EthereumLikeKeychainFactory.h> 43 #include <api/Currency.hpp> 48 using EthereumLikeAccountSynchronizerFactory = std::function<std::shared_ptr<EthereumLikeAccountSynchronizer> ()>;
57 std::shared_ptr<EthereumLikeBlockchainExplorer> getExplorer(
const std::string& currencyName,
const std::shared_ptr<api::DynamicObject>& configuration);
58 std::shared_ptr<EthereumLikeBlockchainObserver> getObserver(
const std::string& currencyName,
const std::shared_ptr<api::DynamicObject>& configuration);
61 std::list<std::weak_ptr<EthereumLikeBlockchainExplorer>> _runningExplorers;
64 std::list<std::weak_ptr<EthereumLikeBlockchainObserver>> _runningObservers;
67 std::unordered_map<std::string, std::shared_ptr<EthereumLikeKeychainFactory>> _keychainFactories;
75 #endif //LEDGER_CORE_ETHEREUMLIKEWALLETFACTORY_H Definition: AbstractWalletFactory.hpp:40
Definition: EthereumLikeWalletFactory.h:51
Definition: WalletDatabaseEntry.hpp:39
Definition: Currency.hpp:23
Definition: Account.cpp:8