Skip to content
LogoLogo

IWeirollVM

Git Source

Functions

execute

Executes a list of commands on the VM.

function execute(bytes32[] calldata commands, bytes[] memory state) external returns (bytes[] memory);

Parameters

NameTypeDescription
commandsbytes32[]The list of commands to execute.
statebytes[]The initial state to pass to the VM.

Returns

NameTypeDescription
<none>bytes[]outState The new state after executing the commands.