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.

Traits§

DecodeMessageResult
A trait for decoding the output of a message based on different ABIs. This is necessary as contracts with different ABIs have different return types. For example, Solidity contracts return the output directly without MessageResult.
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.