Crate fuels_types

source ·
Expand description

Defines a set of serializable types required for the Fuel VM ABI.

We declare these in a dedicated, minimal crate in order to allow for downstream projects to consume or generate these ABI-compatible types without needing to pull in the rest of the SDK.

Modules

Macros

  • This macro can only be used for Error variants that have a String field. Those are: InvalidData, InvalidType, InfrastructureError, InstantiationError, WalletError, ProviderError

Structs

Enums

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.

Type Definitions