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§

bech32
block
chain_info
coin
coin_type
constants
enum_variants
errors
input
message
message_proof
node_info
offsets
output
param_types
traits
transaction
transaction_builders
transaction_response
unresolved_bytes

Macros§

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

Structs§

Address
FuelVM atomic array type.
AssetId
FuelVM atomic array type.
B512
Bits256
Bytes
ContractId
FuelVM atomic array type.
EvmAddress
RawSlice
SizedAsciiString
StringToken

Enums§

Identity
Token

Functions§

pad_string
pad_u8
Converts a u8 to a right aligned array of 8 bytes.
pad_u16
Converts a u16 to a right aligned array of 8 bytes.
pad_u32
Converts a u32 to a right aligned array of 8 bytes.

Type Aliases§

ByteArray
EnumSelector
Selector