Module types

Source
Expand description

Solidity type definitions (aliases from solidity name to rust type) To be used in solidity_interface definitions, to make sure there is no type conflict between Rust code and generated definitions

Structs§

Bytes
BytesFixed
Msg
Ethereum typed call message, similar to solidity msg object.
Vec
A contiguous growable array type, written as Vec<T>, short for ‘vector’.
Zero
Enforce value to be zero. This type will always encode as evm zero, and will fail on decoding if not zero.

Enums§

MaybeZero

Type Aliases§

Address
Bytes4
Caller
Makes function caller-sensitive
String
Topic
Value
Makes function payable