Skip to content
Lattice

InboundHook

Git Source

In-memory ATTESTED context for an inbound hook, read from the CCTP message (never from hookData). Passed as ONE argument so the deep 7-arg executeHook call fits the legacy-codegen stack limit (no via-IR). NOT a storage struct — never persisted.

struct InboundHook {
    uint32 sourceDomain;
    bytes32 sender;
    bytes32 mintRecipient;
    uint256 amount;
    bytes32 nonce;
    address target;
}

Properties

NameTypeDescription
sourceDomainuint32
senderbytes32
mintRecipientbytes32
amountuint256
noncebytes32
targetaddress