32 #ifndef LEDGER_CORE_NODETEZOSLIKEBLOCKCHAINEXPLORER_H 33 #define LEDGER_CORE_NODETEZOSLIKEBLOCKCHAINEXPLORER_H 35 #include <wallet/common/explorers/AbstractLedgerApiBlockchainExplorer.h> 36 #include <wallet/tezos/explorers/TezosLikeBlockchainExplorer.h> 37 #include <wallet/tezos/explorers/api/TezosLikeTransactionsParser.h> 38 #include <wallet/tezos/explorers/api/TezosLikeTransactionsBulkParser.h> 39 #include <wallet/tezos/explorers/api/TezosLikeBlockParser.h> 40 #include <api/TezosLikeNetworkParameters.hpp> 44 using LedgerApiBlockchainExplorer = AbstractLedgerApiBlockchainExplorer<TezosLikeBlockchainExplorerTransaction, TezosLikeBlockchainExplorer::TransactionsBulk, TezosLikeTransactionsParser, TezosLikeTransactionsBulkParser, TezosLikeBlockParser, api::TezosLikeNetworkParameters>;
49 public std::enable_shared_from_this<NodeTezosLikeBlockchainExplorer> {
52 const std::shared_ptr<HttpClient> &http,
54 const std::shared_ptr<api::DynamicObject> &configuration);
57 getBalance(
const std::vector<TezosLikeKeychain::Address> &addresses)
override;
62 Future<String> pushLedgerApiTransaction(
const std::vector<uint8_t> &transaction)
override;
70 Future<String> pushTransaction(
const std::vector<uint8_t> &transaction)
override;
73 getTransactions(
const std::vector<std::string> &addresses,
80 getTransactionByHash(
const String &transactionHash)
const override;
84 std::shared_ptr<api::ExecutionContext> getExplorerContext()
const override;
88 std::string getExplorerVersion()
const override;
91 getEstimatedGasLimit(
const std::string &address)
override;
94 getStorage(
const std::string &address)
override;
102 Future<bool> isAllocated(
const std::string &address)
override;
114 getHelper(
const std::string &url,
115 const std::string &field,
116 const std::unordered_map<std::string, std::string> ¶ms = std::unordered_map<std::string, std::string>(),
117 const std::string &fallbackValue =
"");
120 std::string _explorerVersion;
124 #endif //LEDGER_CORE_NODETEZOSLIKEBLOCKCHAINEXPLORER_H
Definition: Deffered.hpp:49
Definition: NodeTezosLikeBlockchainExplorer.h:46
Definition: TezosLikeBlockchainExplorer.h:108
Definition: AbstractLedgerApiBlockchainExplorer.h:51
Definition: Account.cpp:8
Definition: DedicatedContext.hpp:39
Definition: TezosLikeNetworkParameters.hpp:15