address
should be interpreted as the local chain’s address type.payable
describes a function that allows callers to pass native tokens.localDomain
is immutable to prevent unauthorized changes that could compromise cross-chain security.
Implementations:
message
to its recipient. Verifies message
via the recipient’s ISM using the provided metadata
.
Mailbox
’s dispatch
function to send a message to a recipient and assert that the recipient
received the message. See a Foundry test case
here.test_verify_revertWhen_duplicateSignatures
for
example.MESSAGE_ID_MULTISIG
module type implementation in the relayer.
The metadata must be formatted as follows:
TestISM
that you can statically set to accept or reject any
message. See a Foundry test case
here.tokenExchangeRate
accordingly.refundAddress
, overpayment may not be
refunded to the message sender if you are composing hooks together.amountOrId
token to recipient
on destination
domain.
body
of a transfer message must be a byte packed TransferMessage
struct.