4 #ifndef DJINNI_GENERATED_ETHEREUMLIKEACCOUNT_HPP 5 #define DJINNI_GENERATED_ETHEREUMLIKEACCOUNT_HPP 11 #ifndef LIBCORE_EXPORT 13 #include <libcore_export.h> 15 #define LIBCORE_EXPORT 19 namespace ledger {
namespace core {
namespace api {
22 class BigIntListCallback;
23 class ERC20LikeAccount;
24 class EthereumLikeTransaction;
25 class EthereumLikeTransactionBuilder;
34 virtual void broadcastRawTransaction(
const std::vector<uint8_t> & transaction,
const std::shared_ptr<StringCallback> & callback) = 0;
37 virtual void broadcastTransaction(
const std::shared_ptr<EthereumLikeTransaction> & transaction,
const std::shared_ptr<StringCallback> & callback) = 0;
40 virtual std::shared_ptr<EthereumLikeTransactionBuilder> buildTransaction() = 0;
43 virtual std::vector<std::shared_ptr<ERC20LikeAccount>> getERC20Accounts() = 0;
52 virtual void getGasPrice(
const std::shared_ptr<BigIntCallback> & callback) = 0;
60 virtual void getEstimatedGasLimit(
const std::string & address,
const std::shared_ptr<BigIntCallback> & callback) = 0;
67 virtual void getERC20Balance(
const std::string & erc20Address,
const std::shared_ptr<BigIntCallback> & callback) = 0;
74 virtual void getERC20Balances(
const std::vector<std::string> & erc20Addresses,
const std::shared_ptr<BigIntListCallback> & callback) = 0;
78 #endif //DJINNI_GENERATED_ETHEREUMLIKEACCOUNT_HPP Definition: EthereumLikeAccount.hpp:29
Definition: Account.cpp:8