ledger-core
Public Types | Public Member Functions | List of all members
ledger::core::EthereumLikeBlockchainExplorer Class Referenceabstract
+ Inheritance diagram for ledger::core::EthereumLikeBlockchainExplorer:
+ Collaboration diagram for ledger::core::EthereumLikeBlockchainExplorer:

Public Types

typedef ledger::core::Block Block
 

Public Member Functions

 EthereumLikeBlockchainExplorer (const std::shared_ptr< ledger::core::api::DynamicObject > &configuration, const std::vector< std::string > &matchableKeys)
 
virtual Future< std::shared_ptr< BigInt > > getNonce (const std::string &address)=0
 
virtual Future< std::shared_ptr< BigInt > > getBalance (const std::vector< EthereumLikeKeychain::Address > &addresses)=0
 
virtual Future< std::shared_ptr< BigInt > > getGasPrice ()=0
 
virtual Future< std::shared_ptr< BigInt > > getEstimatedGasLimit (const std::string &address)=0
 
virtual Future< std::shared_ptr< BigInt > > getERC20Balance (const std::string &address, const std::string &erc20Address)=0
 
virtual Future< std::vector< BigInt > > getERC20Balances (const std::string &address, const std::vector< std::string > &erc20Addresses)=0
 
- Public Member Functions inherited from ledger::core::ConfigurationMatchable
 ConfigurationMatchable (const std::vector< std::string > &matchableKeys)
 
bool match (const std::shared_ptr< api::DynamicObject > &configuration)
 
void setConfiguration (const std::shared_ptr< api::DynamicObject > &configuration)
 
- Public Member Functions inherited from ledger::core::AbstractBlockchainExplorer< EthereumLikeBlockchainExplorerTransaction >
virtual Future< void *> startSession ()=0
 
virtual Future< UnitkillSession (void *session)=0
 
virtual FuturePtr< TransactionsBulk > getTransactions (const std::vector< std::string > &addresses, Option< std::string > fromBlockHash=Option< std::string >(), Option< void * > session=Option< void * >())=0
 
virtual FuturePtr< BlockgetCurrentBlock () const=0
 
virtual Future< BytesgetRawTransaction (const String &transactionHash)=0
 
virtual FuturePtr< EthereumLikeBlockchainExplorerTransactiongetTransactionByHash (const String &transactionHash) const=0
 
virtual Future< StringpushTransaction (const std::vector< uint8_t > &transaction)=0
 
virtual Future< int64_t > getTimestamp () const=0
 

The documentation for this class was generated from the following files: