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§

backtrace
Backtrace implementation to track script errors.
call
Inter-contract call supporting structures
checked_transaction
A checked transaction is type-wrapper for transactions which have been checked. It is impossible to construct a checked transaction without performing necessary checks.
constraints
Types to help constrain inputs to functions to only what is used.
consts
VM parameters
context
VM runtime context definitions
crypto
Crypto implementations for the instructions
error
Runtime interpreter error implementation
interpreter
Interpreter implementation
pool
Pool of VM memory instances for reuse.
predicate
Predicate representations with required data to be executed during VM runtime
prelude
Required implementations for full functionality
profiler
Placeholder
state
Runtime state representation for the VM
storage
Storage backend implementations.
transactor
State machine of the interpreter.
util
FuelVM utilities

Macros§

double_key
The macro defines a new type of double storage key. It is a merge of the two types into one general type that represents the storage key of some entity.
script_with_data_offset
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).