Module abi

Module abi 

Source
Expand description

Common ABI implementation.

Modules§

error
ABI related error types.

Structs§

AbiVersion
ABI version.
Contract
Contract ABI definition.
Event
Contract event ABI definition.
EventBuilder
Event ABI declaration builder.
ExternalInput
External input builder.
Function
Contract method ABI definition.
FunctionBuilder
Method ABI declaration builder.
NamedAbiType
ABI value type with name.
NamedAbiValue
ABI value with name.
UnsignedBody
Unsigned external message payload.
UnsignedExternalMessage
Unsigned external message.
WithoutName
A wrapper around AbiType, NamedAbiType, AbiValue and NamedAbiValue that implements hash/comparison traits without name.

Enums§

AbiHeader
Contract header value.
AbiHeaderType
Contract header value type.
AbiType
ABI value type.
AbiTypeFlatten
An iterator that flattens the first-level tuple.
AbiValue
ABI encoded value.
NamedAbiTypeFlatten
An iterator that flattens the first-level tuple.
PlainAbiType
ABI type which has a fixed bits representation and therefore can be used as a map key.
PlainAbiValue
ABI value which has a fixed bits representation and therefore can be used as a map key.

Traits§

FromAbi
A type which can be converted from an ABI value.
FromAbiIter
A wrapper around ABI values iterator that converts each item using the FromAbi trait.
FromPlainAbi
A type which can be converted from a plain ABI value.
IgnoreName
ABI entity wrapper.
IntoAbi
A type which can be converted into an ABI value.
IntoPlainAbi
A type which can be converted into a plain ABI value.
WithAbiType
A type with a known ABI type.
WithPlainAbiType
A type with a known plain ABI type.

Functions§

extend_signature_with_id
Prepares arbitrary data for signing.
sign_with_signature_id
Signs arbitrary data using the key and optional signature id.