Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
dev::eth::EnvInfo Class Reference

#include <ExtVMFace.h>

Collaboration diagram for dev::eth::EnvInfo:
[legend]

Public Member Functions

 EnvInfo ()
 
 EnvInfo (BlockHeader const &_current, LastHashes const &_lh=LastHashes(), u256 const &_gasUsed=u256())
 
 EnvInfo (BlockHeader const &_current, LastHashes &&_lh, u256 const &_gasUsed=u256())
 
u256 const & number () const
 
Address const & author () const
 
u256 const & timestamp () const
 
u256 const & difficulty () const
 
int64_t gasLimit () const
 
LastHashes const & lastHashes () const
 
u256 const & gasUsed () const
 
void setNumber (u256 const &_v)
 
void setAuthor (Address const &_v)
 
void setTimestamp (u256 const &_v)
 
void setDifficulty (u256 const &_v)
 
void setGasLimit (int64_t _v)
 
void setLastHashes (LastHashes &&_lh)
 

Private Attributes

u256 m_number
 
Address m_author
 
u256 m_timestamp
 
u256 m_difficulty
 
int64_t m_gasLimit
 
LastHashes m_lastHashes
 
u256 m_gasUsed
 

Detailed Description

Definition at line 207 of file ExtVMFace.h.

Constructor & Destructor Documentation

dev::eth::EnvInfo::EnvInfo ( )
inline

Definition at line 210 of file ExtVMFace.h.

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

Definition at line 211 of file ExtVMFace.h.

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

Definition at line 224 of file ExtVMFace.h.

Member Function Documentation

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

Definition at line 238 of file ExtVMFace.h.

Here is the caller graph for this function:

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

Definition at line 240 of file ExtVMFace.h.

Here is the caller graph for this function:

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

Definition at line 241 of file ExtVMFace.h.

Here is the caller graph for this function:

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

Definition at line 243 of file ExtVMFace.h.

Here is the caller graph for this function:

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

Definition at line 242 of file ExtVMFace.h.

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

Definition at line 237 of file ExtVMFace.h.

Here is the caller graph for this function:

void dev::eth::EnvInfo::setAuthor ( Address const &  _v)
inline

Definition at line 246 of file ExtVMFace.h.

Here is the caller graph for this function:

void dev::eth::EnvInfo::setDifficulty ( u256 const &  _v)
inline

Definition at line 248 of file ExtVMFace.h.

Here is the caller graph for this function:

void dev::eth::EnvInfo::setGasLimit ( int64_t  _v)
inline

Definition at line 249 of file ExtVMFace.h.

Here is the caller graph for this function:

void dev::eth::EnvInfo::setLastHashes ( LastHashes &&  _lh)
inline

Definition at line 250 of file ExtVMFace.h.

Here is the caller graph for this function:

void dev::eth::EnvInfo::setNumber ( u256 const &  _v)
inline

Definition at line 245 of file ExtVMFace.h.

Here is the caller graph for this function:

void dev::eth::EnvInfo::setTimestamp ( u256 const &  _v)
inline

Definition at line 247 of file ExtVMFace.h.

Here is the caller graph for this function:

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

Definition at line 239 of file ExtVMFace.h.

Here is the caller graph for this function:

Member Data Documentation

Address dev::eth::EnvInfo::m_author
private

Definition at line 254 of file ExtVMFace.h.

u256 dev::eth::EnvInfo::m_difficulty
private

Definition at line 256 of file ExtVMFace.h.

int64_t dev::eth::EnvInfo::m_gasLimit
private

Definition at line 257 of file ExtVMFace.h.

u256 dev::eth::EnvInfo::m_gasUsed
private

Definition at line 259 of file ExtVMFace.h.

LastHashes dev::eth::EnvInfo::m_lastHashes
private

Definition at line 258 of file ExtVMFace.h.

u256 dev::eth::EnvInfo::m_number
private

Definition at line 253 of file ExtVMFace.h.

u256 dev::eth::EnvInfo::m_timestamp
private

Definition at line 255 of file ExtVMFace.h.


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