4 #ifndef DJINNI_GENERATED_ERC20LIKEACCOUNT_HPP 5 #define DJINNI_GENERATED_ERC20LIKEACCOUNT_HPP 11 #ifndef LIBCORE_EXPORT 13 #include <libcore_export.h> 15 #define LIBCORE_EXPORT 19 namespace ledger {
namespace core {
namespace api {
24 class ERC20LikeOperation;
26 enum class TimePeriod;
38 virtual std::string getAddress() = 0;
41 virtual void getBalance(
const std::shared_ptr<BigIntCallback> & callback) = 0;
47 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;
50 virtual std::vector<std::shared_ptr<ERC20LikeOperation>> getOperations() = 0;
53 virtual void getTransferToAddressData(
const std::shared_ptr<BigInt> & amount,
const std::string & address,
const std::shared_ptr<BinaryCallback> & data) = 0;
55 virtual std::shared_ptr<OperationQuery> queryOperations() = 0;
59 #endif //DJINNI_GENERATED_ERC20LIKEACCOUNT_HPP Definition: ERC20LikeAccount.hpp:30
Definition: Account.cpp:8
Definition: ERC20Token.hpp:15