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

#include <TezosLikeTransaction.hpp>

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

Public Member Functions

virtual TezosOperationTag getType ()=0
 
virtual std::string getHash ()=0
 
virtual std::shared_ptr< AmountgetFees ()=0
 
virtual std::shared_ptr< TezosLikeAddressgetReceiver ()=0
 
virtual std::shared_ptr< TezosLikeAddressgetSender ()=0
 
virtual std::shared_ptr< AmountgetValue ()=0
 
virtual std::vector< uint8_t > serialize ()=0
 
virtual void setSignature (const std::vector< uint8_t > &signature)=0
 
virtual std::chrono::system_clock::time_point getDate ()=0
 
virtual std::vector< uint8_t > getSigningPubKey ()=0
 
virtual std::shared_ptr< BigIntgetCounter ()=0
 
virtual std::shared_ptr< AmountgetGasLimit ()=0
 
virtual std::shared_ptr< BigIntgetStorageLimit ()=0
 
virtual std::experimental::optional< std::string > getBlockHash ()=0
 
virtual int32_t getStatus ()=0
 

Detailed Description

Class representing a Tezos transaction

Member Function Documentation

◆ getBlockHash()

virtual std::experimental::optional<std::string> ledger::core::api::TezosLikeTransaction::getBlockHash ( )
pure virtual

Get hash of block in which tx is included

Implemented in ledger::core::TezosLikeTransactionApi.

◆ getDate()

virtual std::chrono::system_clock::time_point ledger::core::api::TezosLikeTransaction::getDate ( )
pure virtual

Get the time when the transaction was issued or the time of the block including this transaction

Implemented in ledger::core::TezosLikeTransactionApi.

◆ getFees()

virtual std::shared_ptr<Amount> ledger::core::api::TezosLikeTransaction::getFees ( )
pure virtual

Get Fees (in drop)

Implemented in ledger::core::TezosLikeTransactionApi.

◆ getHash()

virtual std::string ledger::core::api::TezosLikeTransaction::getHash ( )
pure virtual

Get the hash of the transaction.

Implemented in ledger::core::TezosLikeTransactionApi.

◆ getReceiver()

virtual std::shared_ptr<TezosLikeAddress> ledger::core::api::TezosLikeTransaction::getReceiver ( )
pure virtual

Get destination XTZ. address

Implemented in ledger::core::TezosLikeTransactionApi.

◆ getSender()

virtual std::shared_ptr<TezosLikeAddress> ledger::core::api::TezosLikeTransaction::getSender ( )
pure virtual

Get XTZ. sender address

Implemented in ledger::core::TezosLikeTransactionApi.

◆ getSigningPubKey()

virtual std::vector<uint8_t> ledger::core::api::TezosLikeTransaction::getSigningPubKey ( )
pure virtual

Get Signing public Key

Implemented in ledger::core::TezosLikeTransactionApi.

◆ getStatus()

virtual int32_t ledger::core::api::TezosLikeTransaction::getStatus ( )
pure virtual

Get status of transaction: equals to 1 if succeeded, 0 otherwise

Implemented in ledger::core::TezosLikeTransactionApi.

◆ getType()

virtual TezosOperationTag ledger::core::api::TezosLikeTransaction::getType ( )
pure virtual

Get type of operation (transaction, reveal ... cf TezosOperationTag)

Implemented in ledger::core::TezosLikeTransactionApi.

◆ getValue()

virtual std::shared_ptr<Amount> ledger::core::api::TezosLikeTransaction::getValue ( )
pure virtual

Get amount of XTZ to send

Implemented in ledger::core::TezosLikeTransactionApi.

◆ serialize()

virtual std::vector<uint8_t> ledger::core::api::TezosLikeTransaction::serialize ( )
pure virtual

Serialize the transaction to its raw format.

Implemented in ledger::core::TezosLikeTransactionApi.

◆ setSignature()

virtual void ledger::core::api::TezosLikeTransaction::setSignature ( const std::vector< uint8_t > &  signature)
pure virtual

Set signature of transaction, when a signature is set serialize method gives back serialized Tx

Implemented in ledger::core::TezosLikeTransactionApi.


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