Crate fuel_vm

source
Expand description

FuelVM implementation

Re-exports§

Modules§

  • 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.
  • Types to help constrain inputs to functions to only what is used.
  • VM parameters
  • VM runtime context definitions
  • Crypto implementations for the instructions
  • Runtime interpreter error implementation
  • Interpreter implementation
  • Pool of VM memory instances for reuse.
  • Predicate representations with required data to be executed during VM runtime
  • Required implementations for full functionality
  • Placeholder
  • Runtime state representation for the VM
  • Storage backend implementations.
  • State machine of the interpreter.
  • FuelVM utilities

Macros§

  • 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.
  • 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).