referrerpolicy=no-referrer-when-downgrade
Expand description

Converts messages from Ethereum to XCM messages

Structs§

MessageToXcm
MessageV1
For V1, the ethereum side sends messages which are transcoded into XCM. These messages are self-contained, in that they can be transcoded using only information in the message.

Enums§

Command
ConvertMessageError
Reason why a message conversion failed.
Destination
Destination for bridged tokens
VersionedMessage
Messages from Ethereum are versioned. This is because in future, we may want to evolve the protocol so that the ethereum side sends XCM messages directly. Instead having BridgeHub transcode the messages into XCM.

Traits§

ConvertMessage
convert the inbound message to xcm which will be forwarded to the destination chain