ledger-core
|
#include <ERC20LikeAccount.hpp>
Public Member Functions | |
virtual ERC20Token | getToken ()=0 |
virtual std::string | getAddress ()=0 |
virtual void | getBalance (const std::shared_ptr< BigIntCallback > &callback)=0 |
virtual std::vector< std::shared_ptr< BigInt > > | getBalanceHistoryFor (const std::chrono::system_clock::time_point &start, const std::chrono::system_clock::time_point &end, TimePeriod period)=0 |
virtual std::vector< std::shared_ptr< ERC20LikeOperation > > | getOperations ()=0 |
virtual void | getTransferToAddressData (const std::shared_ptr< BigInt > &amount, const std::string &address, const std::shared_ptr< BinaryCallback > &data)=0 |
virtual std::shared_ptr< OperationQuery > | queryOperations ()=0 |
ERC20-like accounts class.
|
pure virtual |
Get the address of this ERC20 account.
Implemented in ledger::core::ERC20LikeAccount.
|
pure virtual |
Get the current balance of this ERC20 account.
|
pure virtual |
Get the balance history of this ERC20 account from a starting date (included) to an ending date (included).
Implemented in ledger::core::ERC20LikeAccount.
|
pure virtual |
Get the list of operations performed on this ERC20 account.
Implemented in ledger::core::ERC20LikeAccount.
|
pure virtual |
Get an ERC20 token.
Implemented in ledger::core::ERC20LikeAccount.
|
pure virtual |
Retrieve raw data concerning a transaction of a given amount to a given address.