4 #ifndef DJINNI_GENERATED_ETHEREUMLIKETRANSACTIONBUILDER_HPP 5 #define DJINNI_GENERATED_ETHEREUMLIKETRANSACTIONBUILDER_HPP 11 #ifndef LIBCORE_EXPORT 13 #include <libcore_export.h> 15 #define LIBCORE_EXPORT 19 namespace ledger {
namespace core {
namespace api {
22 class EthereumLikeTransaction;
23 class EthereumLikeTransactionCallback;
41 virtual std::shared_ptr<EthereumLikeTransactionBuilder> sendToAddress(
const std::shared_ptr<Amount> & amount,
const std::string & address) = 0;
48 virtual std::shared_ptr<EthereumLikeTransactionBuilder> wipeToAddress(
const std::string & address) = 0;
54 virtual std::shared_ptr<EthereumLikeTransactionBuilder> setGasPrice(
const std::shared_ptr<Amount> & gasPrice) = 0;
60 virtual std::shared_ptr<EthereumLikeTransactionBuilder> setGasLimit(
const std::shared_ptr<Amount> & gasLimit) = 0;
63 virtual std::shared_ptr<EthereumLikeTransactionBuilder> setInputData(
const std::vector<uint8_t> & data) = 0;
66 virtual void build(
const std::shared_ptr<EthereumLikeTransactionCallback> & callback) = 0;
72 virtual std::shared_ptr<EthereumLikeTransactionBuilder> clone() = 0;
75 virtual void reset() = 0;
78 static std::shared_ptr<EthereumLikeTransaction> parseRawUnsignedTransaction(
const Currency & currency,
const std::vector<uint8_t> & rawTransaction);
81 static std::shared_ptr<EthereumLikeTransaction> parseRawSignedTransaction(
const Currency & currency,
const std::vector<uint8_t> & rawTransaction);
85 #endif //DJINNI_GENERATED_ETHEREUMLIKETRANSACTIONBUILDER_HPP Definition: EthereumLikeTransactionBuilder.hpp:31
Definition: Currency.hpp:23
Definition: Account.cpp:8