29 #define ETH_SIMPLE_EXCEPTION_VM(X) struct X: virtual VMException { const char* what() const noexcept override { return #X; } } 43 virtual ~
VMFace() =
default;
Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Origi...
Ran out of stack executing code of the transaction.
ETH_SIMPLE_EXCEPTION_VM(BadInstruction)
Ran out of gas executing code of the transaction.
Base class for all exceptions.
std::function< void(uint64_t, uint64_t, Instruction, bigint, bigint, bigint, VM *, ExtVMFace const *)> OnOpFunc
boost::multiprecision::number< boost::multiprecision::cpp_int_backend< 256, 256, boost::multiprecision::unsigned_magnitude, boost::multiprecision::unchecked, void >> u256
EVM Virtual Machine interface.
Interface and null implementation of the class for specifying VM externalities.
Reference to a slice of buffer that also owns the buffer.