32 #ifndef LEDGER_CORE_LEDGERAPIETHEREUMLIKEBLOCKCHAINEXPLORER_H 33 #define LEDGER_CORE_LEDGERAPIETHEREUMLIKEBLOCKCHAINEXPLORER_H 35 #include <wallet/common/explorers/AbstractLedgerApiBlockchainExplorer.h> 36 #include <wallet/ethereum/explorers/EthereumLikeBlockchainExplorer.h> 37 #include <wallet/ethereum/explorers/api/EthereumLikeTransactionsParser.h> 38 #include <wallet/ethereum/explorers/api/EthereumLikeTransactionsBulkParser.h> 39 #include <wallet/ethereum/explorers/api/EthereumLikeBlockParser.hpp> 40 #include <api/EthereumLikeNetworkParameters.hpp> 44 using LedgerApiEthBlockchainExplorer = AbstractLedgerApiBlockchainExplorer<EthereumLikeBlockchainExplorerTransaction, EthereumLikeBlockchainExplorer::TransactionsBulk, EthereumLikeTransactionsParser, EthereumLikeTransactionsBulkParser, EthereumLikeBlockParser, api::EthereumLikeNetworkParameters>;
48 public std::enable_shared_from_this<LedgerApiEthereumLikeBlockchainExplorer>{
51 const std::shared_ptr<HttpClient>& http,
53 const std::shared_ptr<api::DynamicObject>& configuration);
60 getERC20Balance(
const std::string &address,
61 const std::string &erc20Address)
override;
63 getERC20Balances(
const std::string &address,
64 const std::vector<std::string> &erc20Addresses)
override;
66 Future<String> pushLedgerApiTransaction(
const std::vector<uint8_t> &transaction)
override;
70 Future<String> pushTransaction(
const std::vector<uint8_t>& transaction)
override;
81 std::shared_ptr<api::ExecutionContext> getExplorerContext()
const override;
83 std::string getExplorerVersion()
const override;
87 const std::string &field);
89 std::string _explorerVersion;
95 #endif //LEDGER_CORE_LEDGERAPIETHEREUMLIKEBLOCKCHAINEXPLORER_H Definition: LedgerApiEthereumLikeBlockchainExplorer.h:45
Definition: Deffered.hpp:49
Definition: EthereumLikeBlockchainExplorer.h:113
Definition: AbstractLedgerApiBlockchainExplorer.h:51
Definition: Account.cpp:8
Definition: DedicatedContext.hpp:39
Definition: EthereumLikeNetworkParameters.hpp:15