Ethereum  PoC-8
The C++ Implementation of Ethereum
dev::eth::EnvInfo Class Reference

#include <ExtVMFace.h>

Public Member Functions

 EnvInfo (BlockHeader const &_current, LastBlockHashesFace const &_lh, u256 const &_gasUsed)
 
 EnvInfo (BlockHeader const &_current, LastBlockHashesFace const &_lh, u256 const &_gasUsed, u256 const &_gasLimit)
 
BlockHeader const & header () const
 
int64_t number () const
 
Address const & author () const
 
int64_t timestamp () const
 
u256 const & difficulty () const
 
u256 const & gasLimit () const
 
LastBlockHashesFace const & lastHashes () const
 
u256 const & gasUsed () const
 

Detailed Description

Definition at line 142 of file ExtVMFace.h.

Constructor & Destructor Documentation

◆ EnvInfo() [1/2]

dev::eth::EnvInfo::EnvInfo ( BlockHeader const &  _current,
LastBlockHashesFace const &  _lh,
u256 const &  _gasUsed 
)
inline

Definition at line 145 of file ExtVMFace.h.

◆ EnvInfo() [2/2]

dev::eth::EnvInfo::EnvInfo ( BlockHeader const &  _current,
LastBlockHashesFace const &  _lh,
u256 const &  _gasUsed,
u256 const &  _gasLimit 
)
inline

Definition at line 151 of file ExtVMFace.h.

Member Function Documentation

◆ author()

Address const& dev::eth::EnvInfo::author ( ) const
inline

Definition at line 160 of file ExtVMFace.h.

◆ difficulty()

u256 const& dev::eth::EnvInfo::difficulty ( ) const
inline

Definition at line 162 of file ExtVMFace.h.

◆ gasLimit()

u256 const& dev::eth::EnvInfo::gasLimit ( ) const
inline

Definition at line 163 of file ExtVMFace.h.

◆ gasUsed()

u256 const& dev::eth::EnvInfo::gasUsed ( ) const
inline

Definition at line 165 of file ExtVMFace.h.

◆ header()

BlockHeader const& dev::eth::EnvInfo::header ( ) const
inline

Definition at line 157 of file ExtVMFace.h.

◆ lastHashes()

LastBlockHashesFace const& dev::eth::EnvInfo::lastHashes ( ) const
inline

Definition at line 164 of file ExtVMFace.h.

◆ number()

int64_t dev::eth::EnvInfo::number ( ) const
inline

Definition at line 159 of file ExtVMFace.h.

◆ timestamp()

int64_t dev::eth::EnvInfo::timestamp ( ) const
inline

Definition at line 161 of file ExtVMFace.h.


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