class EVM(T)

Defined in:

core/vm.cr

Constant Summary

U256Overflow = (BigInt.new(2)) ** 256
UInt256Mask = ((BigInt.new("1")) << 256) - 1

Constructors

Instance Method Summary

Instance methods inherited from class VM

memory : Bytes memory, run run

Instance methods inherited from class Object

from_rlp(rlp : Bytes) : Tuple(self, UInt32) from_rlp, to_rlp : Bytes to_rlp

Class methods inherited from class Object

from_rlp(rlp : Bytes) : Tuple(self, UInt32) from_rlp

Constructor Detail

def self.new(code : Bytes, mem : Bytes, context : ExecutionContext, state : Fremkit::Core::State(BigInt, T)) #

[View source]

Instance Method Detail

def memory : Bytes #

[View source]
def registers : Registers #

[View source]
def retdata : Bytes #

[View source]
def run #

[View source]
def step #

[View source]