Crate fuel_vm

source ·
Expand description

FuelVM implementation

Re-exports

pub use fuel_asm;
pub use fuel_crypto;
pub use fuel_merkle;
pub use fuel_storage;
pub use fuel_tx;
pub use fuel_types;

Modules

Arithmetic functions for the Fuel VM
Backtrace implementation to track script errors.
Inter-contract call supporting structures
A checked transaction is type-wrapper for transactions which have been checked. It is impossible to construct a checked transaction without performing necessary checks.
VM parameters
VM runtime context definitions
Crypto implementations for the instructions
Runtime interpreter error implementation
Tools for gas instrumentalization
Interpreter implementation
In-memory client implementation
Predicate representations with required data to be executed during VM runtime
Required implementations for full functionality
Runtime state representation for the VM
Storage backend implementations.
State machine of the interpreter.
FuelVM utilities

Macros

A utility macro for writing scripts with the data offset included. Since the script data offset depends on the length of the script, this macro will evaluate the length and then rewrite the resultant script output with the correct offset (using the offset parameter).