32 #ifndef LEDGER_CORE_ETHEREUMLIKEWALLET_H 33 #define LEDGER_CORE_ETHEREUMLIKEWALLET_H 35 #include <wallet/common/AbstractWallet.hpp> 36 #include <wallet/ethereum/explorers/EthereumLikeBlockchainExplorer.h> 37 #include <wallet/ethereum/observers/EthereumLikeBlockchainObserver.h> 38 #include <wallet/ethereum/synchronizers/EthereumLikeAccountSynchronizer.h> 39 #include <wallet/ethereum/factories/EthereumLikeWalletFactory.h> 40 #include <wallet/ethereum/factories/EthereumLikeKeychainFactory.h> 48 const std::string& name,
49 const std::shared_ptr<EthereumLikeBlockchainExplorer>& explorer,
50 const std::shared_ptr<EthereumLikeBlockchainObserver>& observer,
51 const std::shared_ptr<EthereumLikeKeychainFactory>& keychainFactory,
52 const EthereumLikeAccountSynchronizerFactory& synchronizerFactory,
53 const std::shared_ptr<WalletPool>& pool,
55 const std::shared_ptr<DynamicObject>& configuration,
61 std::shared_ptr<api::EventBus>
synchronize()
override;
69 getExtendedKeyAccountCreationInfo(int32_t accountIndex)
override;
73 std::shared_ptr<EthereumLikeBlockchainExplorer> getBlockchainExplorer();
76 std::shared_ptr<AbstractAccount>
77 createAccountInstance(soci::session &sql,
const std::string &accountUid)
override;
80 std::shared_ptr<EthereumLikeWallet> getSelf();
82 std::shared_ptr<EthereumLikeBlockchainExplorer> _explorer;
83 std::shared_ptr<EthereumLikeBlockchainObserver> _observer;
84 std::shared_ptr<EthereumLikeKeychainFactory> _keychainFactory;
85 EthereumLikeAccountSynchronizerFactory _synchronizerFactory;
94 #endif //LEDGER_CORE_ETHEREUMLIKEWALLET_H Definition: AbstractWallet.hpp:61
Definition: Deffered.hpp:49
Definition: ExtendedKeyAccountCreationInfo.hpp:16
std::shared_ptr< api::EventBus > synchronize() override
Definition: EthereumLikeWallet.cpp:74
Definition: DerivationScheme.hpp:55
Definition: EthereumLikeWallet.h:43
Definition: Currency.hpp:23
Definition: Account.cpp:8
WalletType
Definition: WalletType.hpp:20
Definition: EthereumLikeNetworkParameters.hpp:15
Definition: AccountCreationInfo.hpp:16
bool isSynchronizing() override
Definition: EthereumLikeWallet.cpp:70