Module utils

Source
Expand description

Utility types for the cross-contract calling API.

Structs§

Argument
A single argument and its reference to a known value.
ArgumentList
An argument list.
ArgumentListEnd
The end of an argument list.
ReturnType
Represents a return type.
Set
A parameter that has been set to some value.
Unset
A parameter that has not been set, yet.

Enums§

ConstructorError
A decoded constructor error.

Traits§

DecodeConstructorError
A trait for decoding constructor error data based on ABI.
DecodeMessageResult
A trait for decoding the output of a message based on the ABI.
EncodeArgsWith
Trait for encoding an arguments list as per the specified ABI.
Unwrap
Implemented by Set and Unset in order to unwrap their value.

Type Aliases§

ArgsList
Minor simplification of an argument list with a head and rest.
EmptyArgumentList
An empty argument list.