Modules§
Structs§
- Contract
- EVM contract information.
- Interpreter
- EVM bytecode interpreter.
- Interpreter
Result - The result of an interpreter operation.
- Shared
Memory - A sequential memory shared between calls, which uses
a
Vec
for internal representation. A SharedMemory instance should always be obtained using thenew
static method to ensure memory safety. - Stack
- EVM stack with STACK_LIMIT capacity of words.
Constants§
- EMPTY_
SHARED_ MEMORY - Empty shared memory.
- STACK_
LIMIT - EVM interpreter stack limit.
Functions§
- next_
multiple_ of_ 32 - Rounds up
x
to the closest multiple of 32. Ifx % 32 == 0
thenx
is returned. Note, ifx
is greater thanusize::MAX - 31
this will returnusize::MAX
which isn’t a multiple of 32.