Module evm

Module evm 

Source

Structs§

ArbEvm
Arbitrum EVM wrapper with depth-tracking precompiles and custom opcodes.
ArbEvmFactory
Factory for creating Arbitrum EVM instances with custom precompiles.
ArbPrecompilesMap
Wraps [PrecompilesMap] to set the thread-local EVM call depth before each precompile invocation. The depth is read from revm’s journal, which mirrors the evm.Depth() counter used by ArbSys.isTopLevelCall.

Functions§

add_stylus_pages
Add pages for a new Stylus call. Returns previous (open, ever).
get_stylus_pages
Get current (open, ever) page counts.
pop_stylus_program
Pop a Stylus program address from the reentrancy tracker.
push_stylus_program
Push a Stylus program address onto the reentrancy tracker. Returns true if this is a reentrant call (address was already active).
reset_stylus_pages
Reset Stylus page counters at transaction start.
set_stylus_pages_open
Restore page count after Stylus call returns.