ledger-core
Public Member Functions | List of all members
ledger::core::InternalTransaction Class Reference
+ Inheritance diagram for ledger::core::InternalTransaction:
+ Collaboration diagram for ledger::core::InternalTransaction:

Public Member Functions

 InternalTransaction (const InternalTx &internalTx)
 
std::shared_ptr< api::BigIntgetGasLimit () override
 
std::shared_ptr< api::BigIntgetUsedGas () override
 
std::string getSender () override
 
std::string getReceiver () override
 
std::shared_ptr< api::BigIntgetValue () override
 
std::vector< uint8_t > getData () override
 
api::OperationType getOperationType () override
 

Member Function Documentation

◆ getData()

std::vector< uint8_t > ledger::core::InternalTransaction::getData ( )
overridevirtual

Get binary data payload.

Implements ledger::core::api::InternalTransaction.

◆ getGasLimit()

std::shared_ptr< api::BigInt > ledger::core::InternalTransaction::getGasLimit ( )
overridevirtual

Get start gas (in wei) : maximum amount of gas the originator is willing to pay.

Implements ledger::core::api::InternalTransaction.

◆ getOperationType()

api::OperationType ledger::core::InternalTransaction::getOperationType ( )
overridevirtual

Get operation type : whether it is a SEND or RECEIVE.

Implements ledger::core::api::InternalTransaction.

◆ getReceiver()

std::string ledger::core::InternalTransaction::getReceiver ( )
overridevirtual

Get destination ETH address.

Implements ledger::core::api::InternalTransaction.

◆ getSender()

std::string ledger::core::InternalTransaction::getSender ( )
overridevirtual

Get source ETH address.

Implements ledger::core::api::InternalTransaction.

◆ getUsedGas()

std::shared_ptr< api::BigInt > ledger::core::InternalTransaction::getUsedGas ( )
overridevirtual

Used gas (in wei) : used gas during this transaction:

Implements ledger::core::api::InternalTransaction.

◆ getValue()

std::shared_ptr< api::BigInt > ledger::core::InternalTransaction::getValue ( )
overridevirtual

Get amount of ether to send.

Implements ledger::core::api::InternalTransaction.


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