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
Vecfor internal representation. A SharedMemory instance should always be obtained using thenewstatic 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
xto the closest multiple of 32. Ifx % 32 == 0thenxis returned. Note, ifxis greater thanusize::MAX - 31this will returnusize::MAXwhich isn’t a multiple of 32.