32 #ifndef LEDGER_CORE_TEZOSLIKEWALLETFACTORY_H 33 #define LEDGER_CORE_TEZOSLIKEWALLETFACTORY_H 37 #include <wallet/common/AbstractWalletFactory.hpp> 38 #include <wallet/tezos/synchronizers/TezosLikeAccountSynchronizer.h> 39 #include <wallet/tezos/explorers/TezosLikeBlockchainExplorer.h> 40 #include <wallet/tezos/observers/TezosLikeBlockchainObserver.h> 41 #include <wallet/tezos/factories/TezosLikeKeychainFactory.h> 43 #include <api/Currency.hpp> 47 using TezosLikeAccountSynchronizerFactory = std::function<std::shared_ptr<TezosLikeAccountSynchronizer>()>;
58 std::shared_ptr<TezosLikeBlockchainExplorer>
59 getExplorer(
const std::string ¤cyName,
const std::shared_ptr<api::DynamicObject> &configuration);
61 std::shared_ptr<TezosLikeBlockchainObserver>
62 getObserver(
const std::string ¤cyName,
const std::shared_ptr<api::DynamicObject> &configuration);
65 std::list<std::weak_ptr<TezosLikeBlockchainExplorer>> _runningExplorers;
66 std::list<std::weak_ptr<TezosLikeBlockchainObserver>> _runningObservers;
67 std::unordered_map<std::string, std::shared_ptr<TezosLikeKeychainFactory>> _keychainFactories;
71 #endif //LEDGER_CORE_TEZOSLIKEWALLETFACTORY_H Definition: TezosLikeWalletFactory.h:51
Definition: AbstractWalletFactory.hpp:40
Definition: WalletDatabaseEntry.hpp:39
Definition: Currency.hpp:23
Definition: Account.cpp:8