Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message interface { SetID(TypeID) error Name() string ID() TypeID Encode(any) ([]byte, error) Decode([]byte) (any, error) // DecodeEVMBytes decodes ABI encoded bytes into the message's input type. DecodeEVMBytes([]byte) (any, error) // ABIEncode encodes the given type in ABI encoding, given that the input is the message type's input or output // type. ABIEncode(any) ([]byte, error) // IsEVMCompatible reports if this message can be sent from the EVM. IsEVMCompatible() bool }
Click to show internal directories.
Click to hide internal directories.