ledger-core
Public Types | Public Member Functions | Protected Member Functions | List of all members
ledger::core::EthereumLikeKeychain Class Reference

Public Types

using Address = std::shared_ptr< EthereumLikeAddress >
 

Public Member Functions

 EthereumLikeKeychain (const std::shared_ptr< api::DynamicObject > &configuration, const api::Currency &params, int account, const std::shared_ptr< Preferences > &preferences)
 
 EthereumLikeKeychain (const std::shared_ptr< api::DynamicObject > &configuration, const api::Currency &params, int account, const std::shared_ptr< api::EthereumLikeExtendedPublicKey > &xpub, const std::shared_ptr< Preferences > &preferences)
 
 EthereumLikeKeychain (const std::shared_ptr< api::DynamicObject > &configuration, const api::Currency &params, int account, const std::string &accountAddress, const std::shared_ptr< Preferences > &preferences)
 
std::vector< Address > getAllObservableAddresses (uint32_t from, uint32_t to)
 
Address getAddress () const
 
Option< std::string > getAddressDerivationPath (const std::string &address) const
 
std::shared_ptr< api::EthereumLikeExtendedPublicKeygetExtendedPublicKey () const
 
int getAccountIndex () const
 
const api::EthereumLikeNetworkParametersgetNetworkParameters () const
 
const api::CurrencygetCurrency () const
 
Option< std::vector< uint8_t > > getPublicKey (const std::string &address) const
 
std::shared_ptr< api::DynamicObjectgetConfiguration () const
 
const DerivationSchemegetDerivationScheme () const
 
const DerivationSchemegetFullDerivationScheme () const
 
std::string getRestoreKey () const
 
bool contains (const std::string &address) const
 
int32_t getOutputSizeAsSignedTxInput () const
 

Protected Member Functions

std::shared_ptr< PreferencesgetPreferences () const
 
DerivationSchemegetDerivationScheme ()
 

The documentation for this class was generated from the following files: