Module fuel_vm::prelude

source ·
Expand description

Required implementations for full functionality

Re-exports

pub use fuel_asm::GMArgs;
pub use fuel_asm::GTFArgs;
pub use fuel_asm::Instruction;
pub use fuel_asm::InstructionResult;
pub use fuel_asm::Opcode;
pub use fuel_asm::OpcodeRepr;
pub use fuel_asm::PanicReason;
pub use fuel_crypto::Hasher;
pub use fuel_crypto::Message;
pub use fuel_crypto::PublicKey;
pub use fuel_crypto::SecretKey;
pub use fuel_crypto::Signature;
pub use fuel_storage::MerkleRoot;
pub use fuel_storage::MerkleRootStorage;
pub use fuel_storage::StorageAsMut;
pub use fuel_storage::StorageAsRef;
pub use fuel_storage::StorageInspect;
pub use fuel_storage::StorageMutate;
pub use fuel_types::bytes::Deserializable;
pub use fuel_types::bytes::SerializableVec;
pub use fuel_types::bytes::SizedBytes;
pub use fuel_types::Address;
pub use fuel_types::AssetId;
pub use fuel_types::Bytes32;
pub use fuel_types::Bytes4;
pub use fuel_types::Bytes64;
pub use fuel_types::Bytes8;
pub use fuel_types::ContractId;
pub use fuel_types::Immediate06;
pub use fuel_types::Immediate12;
pub use fuel_types::Immediate18;
pub use fuel_types::Immediate24;
pub use fuel_types::RegisterId;
pub use fuel_types::Salt;
pub use fuel_types::Word;
pub use crate::backtrace::Backtrace;
pub use crate::call::Call;
pub use crate::call::CallFrame;
pub use crate::context::Context;
pub use crate::error::Bug;
pub use crate::error::BugId;
pub use crate::error::BugVariant;
pub use crate::error::Infallible;
pub use crate::error::InterpreterError;
pub use crate::error::RuntimeError;
pub use crate::interpreter::ExecutableTransaction;
pub use crate::interpreter::Interpreter;
pub use crate::memory_client::MemoryClient;
pub use crate::predicate::RuntimePredicate;
pub use crate::state::Debugger;
pub use crate::state::ProgramState;
pub use crate::state::StateTransition;
pub use crate::state::StateTransitionRef;
pub use crate::transactor::Transactor;
pub use fuel_tx::*;

Structs

Memory range representation for the VM.
In-memory storage implementation for the interpreter.
No-op storage used for predicate operations.

Traits

When this trait is implemented, the underlying interpreter is guaranteed to have full functionality