Ethereum  PoC-8
The C++ Implementation of Ethereum
VMFace.h File Reference
#include "ExtVMFace.h"
#include <libdevcore/Exceptions.h>
#include <memory>

Go to the source code of this file.

Classes

struct  dev::eth::VMException
 
struct  dev::eth::InternalVMError
 
struct  dev::eth::RevertInstruction
 
class  dev::eth::VMFace
 EVM Virtual Machine interface. More...
 

Namespaces

 dev
 
 dev::eth
 

Macros

#define ETH_SIMPLE_EXCEPTION_VM(X)   struct X: VMException { const char* what() const noexcept override { return #X; } }
 

Typedefs

using dev::eth::errinfo_evmcStatusCode = boost::error_info< struct tag_evmcStatusCode, evmc_status_code >
 Error info for EVMC status code. More...
 

Functions

 dev::eth::ETH_SIMPLE_EXCEPTION_VM (BadInstruction)
 
 dev::eth::ETH_SIMPLE_EXCEPTION_VM (BadJumpDestination)
 
 dev::eth::ETH_SIMPLE_EXCEPTION_VM (OutOfGas)
 
 dev::eth::ETH_SIMPLE_EXCEPTION_VM (OutOfStack)
 
 dev::eth::ETH_SIMPLE_EXCEPTION_VM (StackUnderflow)
 
 dev::eth::ETH_SIMPLE_EXCEPTION_VM (DisallowedStateChange)
 
 dev::eth::ETH_SIMPLE_EXCEPTION_VM (BufferOverrun)
 
Address dev::eth::asAddress (u256 _item)
 Helpers: More...
 
u256 dev::eth::fromAddress (Address _a)
 

Macro Definition Documentation

◆ ETH_SIMPLE_EXCEPTION_VM

#define ETH_SIMPLE_EXCEPTION_VM (   X)    struct X: VMException { const char* what() const noexcept override { return #X; } }

Definition at line 30 of file VMFace.h.