32 #ifndef LEDGER_CORE_TEZOSLIKEKEYCHAIN_H 33 #define LEDGER_CORE_TEZOSLIKEKEYCHAIN_H 37 #include <utils/DerivationScheme.hpp> 38 #include <utils/Option.hpp> 39 #include <preferences/Preferences.hpp> 40 #include <api/Configuration.hpp> 41 #include <api/DynamicObject.hpp> 42 #include <api/Currency.hpp> 43 #include <api/AccountCreationInfo.hpp> 44 #include <api/ExtendedKeyAccountCreationInfo.hpp> 45 #include <api/TezosLikeExtendedPublicKey.hpp> 46 #include <tezos/TezosLikeAddress.h> 53 using Address = std::shared_ptr<TezosLikeAddress>;
57 const Option<std::vector<uint8_t>> &pubKey,
58 const std::shared_ptr<Preferences> &preferences);
60 std::vector <Address> getAllObservableAddresses(uint32_t from, uint32_t to);
62 Address getAddress()
const;
70 std::shared_ptr <api::DynamicObject> getConfiguration()
const;
72 std::string getRestoreKey()
const;
74 bool contains(
const std::string &address)
const;
77 std::shared_ptr <Preferences> getPreferences()
const;
80 TezosLikeKeychain::Address getAddressFromPublicKey();
83 std::shared_ptr<Preferences> _preferences;
84 std::shared_ptr<api::DynamicObject> _configuration;
85 std::shared_ptr<TezosLikeAddress> _address;
90 #endif //LEDGER_CORE_TEZOSLIKEKEYCHAIN_H Definition: Option.hpp:49
Definition: Currency.hpp:23
Definition: Account.cpp:8
Definition: TezosLikeKeychain.h:50
Definition: TezosLikeNetworkParameters.hpp:15