Crate sputnikvm [] [src]

SputnikVM EVM implementation.

Modules

vm

VM implementation, traits and structs

Structs

Address

Represents an Ethereum address. This address is 20 bytes long.

Gas

Represent an Ethereum gas.

M256

Represent an unsigned modulo 256-bit integer

MI256

Represents a signed module 256-bit integer.

U256

Represents an unsigned 256-bit integer.

Enums

Opcode

Opcode enum. One-to-one corresponding to an u8 value.

Functions

read_hex

Parses a given hex string and return a list of bytes if succeeded. The string can optionally start by 0x, which indicates that it is a hex representation.