ledger-core
Public Member Functions | List of all members
ledger::core::api::TezosLikeOriginatedAccount Class Referenceabstract

#include <TezosLikeOriginatedAccount.hpp>

+ Inheritance diagram for ledger::core::api::TezosLikeOriginatedAccount:

Public Member Functions

virtual std::string getAddress ()=0
 
virtual std::experimental::optional< std::string > getPublicKey ()=0
 
virtual void getBalance (const std::shared_ptr< AmountCallback > &callback)=0
 
virtual void getBalanceHistory (const std::chrono::system_clock::time_point &start, const std::chrono::system_clock::time_point &end, TimePeriod period, const std::shared_ptr< AmountListCallback > &callback)=0
 
virtual bool isSpendable ()=0
 
virtual bool isDelegatable ()=0
 
virtual std::shared_ptr< OperationQueryqueryOperations ()=0
 
virtual std::shared_ptr< TezosLikeTransactionBuilderbuildTransaction ()=0
 

Detailed Description

Class representing originated accounts

Member Function Documentation

◆ buildTransaction()

virtual std::shared_ptr<TezosLikeTransactionBuilder> ledger::core::api::TezosLikeOriginatedAccount::buildTransaction ( )
pure virtual

Get builder to construct transaction on originated account

Implemented in ledger::core::TezosLikeOriginatedAccount.

◆ getAddress()

virtual std::string ledger::core::api::TezosLikeOriginatedAccount::getAddress ( )
pure virtual

Get address of originated account (prefixed with KT)

Implemented in ledger::core::TezosLikeOriginatedAccount.

◆ getBalance()

virtual void ledger::core::api::TezosLikeOriginatedAccount::getBalance ( const std::shared_ptr< AmountCallback > &  callback)
pure virtual

Get balance of originated account

◆ getBalanceHistory()

virtual void ledger::core::api::TezosLikeOriginatedAccount::getBalanceHistory ( const std::chrono::system_clock::time_point &  start,
const std::chrono::system_clock::time_point &  end,
TimePeriod  period,
const std::shared_ptr< AmountListCallback > &  callback 
)
pure virtual

Get balance history of originated account

◆ getPublicKey()

virtual std::experimental::optional<std::string> ledger::core::api::TezosLikeOriginatedAccount::getPublicKey ( )
pure virtual

Get publicKey of originated account Could be empty if not yet revealed

Implemented in ledger::core::TezosLikeOriginatedAccount.

◆ isDelegatable()

virtual bool ledger::core::api::TezosLikeOriginatedAccount::isDelegatable ( )
pure virtual

Know if possible to delegate from this account By default originations from libcore set it to true

Implemented in ledger::core::TezosLikeOriginatedAccount.

◆ isSpendable()

virtual bool ledger::core::api::TezosLikeOriginatedAccount::isSpendable ( )
pure virtual

Know if possible to spend from this account By default originations from libcore set it to true

Implemented in ledger::core::TezosLikeOriginatedAccount.

◆ queryOperations()

virtual std::shared_ptr<OperationQuery> ledger::core::api::TezosLikeOriginatedAccount::queryOperations ( )
pure virtual

Get related operations to account

Implemented in ledger::core::TezosLikeOriginatedAccount.


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