Module sol

Source
Expand description

Abstractions for implementing Solidity ABI encoding/decoding for arbitrary Rust types.

Structs§

Error
Solidity ABI encoding/decoding error.
SolBytes
Newtype wrapper for encoding/decoding u8 sequences/collections as their equivalent Solidity bytes representations.

Enums§

SolResultDecodeError
Error representing reason for failing to decode Solidity ABI encoded result data.

Traits§

SolDecode
Maps an arbitrary Rust/ink! type to a Solidity ABI type equivalent for Solidity ABI decoding.
SolEncode
Maps an arbitrary Rust/ink! type to a Solidity ABI type equivalent for Solidity ABI encoding.
SolErrorDecode
Solidity ABI decode error data (if possible).
SolErrorEncode
Solidity ABI encode as error data.
SolParamsDecode
Solidity ABI decode function parameters.
SolParamsEncode
Solidity ABI encode function parameters.
SolResultDecode
Solidity ABI decode result data.
SolTypeDecode
A Rust/ink! equivalent of a Solidity ABI type that implements logic for Solidity ABI decoding.
SolTypeEncode
A Rust/ink! equivalent of a Solidity ABI type that implements logic for Solidity ABI encoding.