Module sol

Source
Expand description

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

Structs§

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

Enums§

Error
ABI Encoding and Decoding errors.

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.
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.