4 #ifndef DJINNI_GENERATED_ERC20LIKEOPERATION_HPP 5 #define DJINNI_GENERATED_ERC20LIKEOPERATION_HPP 7 #include "../utils/optional.hpp" 13 #ifndef LIBCORE_EXPORT 15 #include <libcore_export.h> 17 #define LIBCORE_EXPORT 21 namespace ledger {
namespace core {
namespace api {
24 enum class OperationType;
32 virtual std::string getHash() = 0;
35 virtual std::shared_ptr<BigInt> getNonce() = 0;
38 virtual std::shared_ptr<BigInt> getGasPrice() = 0;
41 virtual std::shared_ptr<BigInt> getGasLimit() = 0;
44 virtual std::shared_ptr<BigInt> getUsedGas() = 0;
47 virtual std::string getSender() = 0;
50 virtual std::string getReceiver() = 0;
53 virtual std::shared_ptr<BigInt> getValue() = 0;
56 virtual std::vector<uint8_t> getData() = 0;
62 virtual std::chrono::system_clock::time_point getTime() = 0;
65 virtual OperationType getOperationType() = 0;
68 virtual int32_t getStatus() = 0;
78 #endif //DJINNI_GENERATED_ERC20LIKEOPERATION_HPP Definition: ERC20LikeOperation.hpp:27
Definition: Account.cpp:8