ledger-core
|
#include <ERC20LikeOperation.hpp>
Public Member Functions | |
virtual std::string | getHash ()=0 |
virtual std::shared_ptr< BigInt > | getNonce ()=0 |
virtual std::shared_ptr< BigInt > | getGasPrice ()=0 |
virtual std::shared_ptr< BigInt > | getGasLimit ()=0 |
virtual std::shared_ptr< BigInt > | getUsedGas ()=0 |
virtual std::string | getSender ()=0 |
virtual std::string | getReceiver ()=0 |
virtual std::shared_ptr< BigInt > | getValue ()=0 |
virtual std::vector< uint8_t > | getData ()=0 |
virtual std::chrono::system_clock::time_point | getTime ()=0 |
virtual OperationType | getOperationType ()=0 |
virtual int32_t | getStatus ()=0 |
virtual std::experimental::optional< int64_t > | getBlockHeight ()=0 |
Class representing a Ethereum transaction.
|
pure virtual |
Get block height on which operation was included.
Implemented in ledger::core::ERC20LikeOperation.
|
pure virtual |
Get binary data payload.
Implemented in ledger::core::ERC20LikeOperation.
|
pure virtual |
Get start gas (in wei) : maximum amount of gas the originator is willing to pay.
Implemented in ledger::core::ERC20LikeOperation.
|
pure virtual |
Get Gas price (in wei).
Implemented in ledger::core::ERC20LikeOperation.
|
pure virtual |
Get the hash of the transaction.
Implemented in ledger::core::ERC20LikeOperation.
|
pure virtual |
Get the nonce of the transaction : sequence number issued by originating EOA.
Implemented in ledger::core::ERC20LikeOperation.
|
pure virtual |
Get operation type : whether it is a SEND or RECEIVE.
Implemented in ledger::core::ERC20LikeOperation.
|
pure virtual |
Get destination ETH address.
Implemented in ledger::core::ERC20LikeOperation.
|
pure virtual |
Get source ETH address.
Implemented in ledger::core::ERC20LikeOperation.
|
pure virtual |
Get opration status : pending or confirmed.
Implemented in ledger::core::ERC20LikeOperation.
|
pure virtual |
Get the time when the transaction was issued or the time of the block including this this transaction.
Implemented in ledger::core::ERC20LikeOperation.
|
pure virtual |
Used gas (in wei) : used gas during this transaction:
Implemented in ledger::core::ERC20LikeOperation.
|
pure virtual |
Get amount of ether to send.
Implemented in ledger::core::ERC20LikeOperation.