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

The wrapper implementing the VMFace interface with a EVMC VM as a backend. More...

#include <EVMC.h>

Inheritance diagram for dev::eth::EVMC:
dev::eth::VMFace

Public Member Functions

 EVMC (evmc_instance *_instance) noexcept
 
owning_bytes_ref exec (u256 &io_gas, ExtVMFace &_ext, OnOpFunc const &_onOp) final
 VM implementation. More...
 
- Public Member Functions inherited from dev::eth::VMFace
 VMFace ()=default
 
virtual ~VMFace ()=default
 
 VMFace (VMFace const &)=delete
 
VMFaceoperator= (VMFace const &)=delete
 

Detailed Description

The wrapper implementing the VMFace interface with a EVMC VM as a backend.

Definition at line 16 of file EVMC.h.

Constructor & Destructor Documentation

◆ EVMC()

dev::eth::EVMC::EVMC ( evmc_instance *  _instance)
explicitnoexcept

Definition at line 33 of file EVMC.cpp.

Member Function Documentation

◆ exec()

owning_bytes_ref dev::eth::EVMC::exec ( u256 io_gas,
ExtVMFace _ext,
OnOpFunc const &  _onOp 
)
finalvirtual

VM implementation.

Implements dev::eth::VMFace.

Definition at line 58 of file EVMC.cpp.


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