CrosschainLinkStorage
ERC-7201 namespaced storage for CrosschainLink.
Note:
- storage-location: erc7201:lattice.storage.CrosschainLink
struct CrosschainLinkStorage {
/// @notice Per source-chain link, keyed by a "chain-only" interoperable address. APPEND-ONLY.
mapping(bytes chain => Link) _links;
/// @notice Inbound message handler per 4-byte payload tag. APPEND-ONLY.
mapping(bytes4 tag => address handler) _handlers;
/// @notice De-duplication set, keyed by `keccak256(abi.encode(gateway, receiveId))` — ERC-7786 only
/// guarantees receiveId uniqueness per-gateway, so the key is gateway-scoped. APPEND-ONLY.
mapping(bytes32 usedKey => bool used) _used;
}Properties
| Name | Type | Description |
|---|---|---|
| _links | mapping(bytes chain => Link) | |
| _handlers | mapping(bytes4 tag => address handler) | |
| _used | mapping(bytes32 usedKey => bool used) |