ledger-core
TezosLikeExtendedPublicKey.hpp
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file generated by Djinni from addresses.djinni
3 
4 #ifndef DJINNI_GENERATED_TEZOSLIKEEXTENDEDPUBLICKEY_HPP
5 #define DJINNI_GENERATED_TEZOSLIKEEXTENDEDPUBLICKEY_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 TezosLikeAddress;
22 
24 class LIBCORE_EXPORT TezosLikeExtendedPublicKey {
25 public:
26  virtual ~TezosLikeExtendedPublicKey() {}
27 
29  virtual std::shared_ptr<TezosLikeAddress> derive(const std::string & path) = 0;
30 
32  virtual std::vector<uint8_t> derivePublicKey(const std::string & path) = 0;
33 
35  virtual std::vector<uint8_t> deriveHash160(const std::string & path) = 0;
36 
38  virtual std::string toBase58() = 0;
39 
41  virtual std::string getRootPath() = 0;
42 };
43 
44 } } } // namespace ledger::core::api
45 #endif //DJINNI_GENERATED_TEZOSLIKEEXTENDEDPUBLICKEY_HPP
Definition: TezosLikeExtendedPublicKey.hpp:24
Definition: Account.cpp:8