ledger-core
InternalTransaction.hpp
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file generated by Djinni from ethereum_like_wallet.djinni
3 
4 #ifndef DJINNI_GENERATED_INTERNALTRANSACTION_HPP
5 #define DJINNI_GENERATED_INTERNALTRANSACTION_HPP
6 
7 #include <cstdint>
8 #include <memory>
9 #include <string>
10 #include <vector>
11 #ifndef LIBCORE_EXPORT
12  #if defined(_MSC_VER)
13  #include <libcore_export.h>
14  #else
15  #define LIBCORE_EXPORT
16  #endif
17 #endif
18 
19 namespace ledger { namespace core { namespace api {
20 
21 class BigInt;
22 enum class OperationType;
23 
25 class LIBCORE_EXPORT InternalTransaction {
26 public:
27  virtual ~InternalTransaction() {}
28 
30  virtual std::shared_ptr<BigInt> getGasLimit() = 0;
31 
33  virtual std::shared_ptr<BigInt> getUsedGas() = 0;
34 
36  virtual std::string getSender() = 0;
37 
39  virtual std::string getReceiver() = 0;
40 
42  virtual std::shared_ptr<BigInt> getValue() = 0;
43 
45  virtual std::vector<uint8_t> getData() = 0;
46 
48  virtual OperationType getOperationType() = 0;
49 };
50 
51 } } } // namespace ledger::core::api
52 #endif //DJINNI_GENERATED_INTERNALTRANSACTION_HPP
Definition: InternalTransaction.hpp:25
Definition: Account.cpp:8