ledger-core
BitcoinLikeOutput.hpp
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file generated by Djinni from bitcoin_like_wallet.djinni
3 
4 #ifndef DJINNI_GENERATED_BITCOINLIKEOUTPUT_HPP
5 #define DJINNI_GENERATED_BITCOINLIKEOUTPUT_HPP
6 
7 #include "../utils/optional.hpp"
8 #include <cstdint>
9 #include <memory>
10 #include <string>
11 #include <vector>
12 #ifndef LIBCORE_EXPORT
13  #if defined(_MSC_VER)
14  #include <libcore_export.h>
15  #else
16  #define LIBCORE_EXPORT
17  #endif
18 #endif
19 
20 namespace ledger { namespace core { namespace api {
21 
22 class Amount;
23 class BitcoinLikeScript;
24 class DerivationPath;
25 
27 class LIBCORE_EXPORT BitcoinLikeOutput {
28 public:
29  virtual ~BitcoinLikeOutput() {}
30 
35  virtual std::string getTransactionHash() = 0;
36 
41  virtual int32_t getOutputIndex() = 0;
42 
47  virtual std::shared_ptr<Amount> getValue() = 0;
48 
53  virtual std::vector<uint8_t> getScript() = 0;
54 
55  virtual std::shared_ptr<BitcoinLikeScript> parseScript() = 0;
56 
61  virtual std::experimental::optional<std::string> getAddress() = 0;
62 
63  virtual std::shared_ptr<DerivationPath> getDerivationPath() = 0;
64 
65  virtual std::experimental::optional<int64_t> getBlockHeight() = 0;
66 };
67 
68 } } } // namespace ledger::core::api
69 #endif //DJINNI_GENERATED_BITCOINLIKEOUTPUT_HPP
Definition: Account.cpp:8
Definition: BitcoinLikeOutput.hpp:27