Crate fuels_core
source · [−]Re-exports
pub use errors::InstantiationError;
Modules
This module implements everything related to code generation/expansion from a fuel/sway ABI.
This module implements basic rustfmt
code formatting.
Structs
Enums
Traits
This trait is used inside the abigen generated code in order to get the
parameter types (ParamType
). This is used in the generated code in
custom_types_gen.rs
, with the exception of the Sway-native types
Address
, ContractId
, and AssetId
, that are implemented right here,
without code generation.
Functions
Converts a u8 to a right aligned array of 8 bytes.
Converts a u16 to a right aligned array of 8 bytes.
Converts a u32 to a right aligned array of 8 bytes.