AxelarGatewayAdapterStorage
ERC-7201 namespaced storage for the Axelar gateway adapter.
Note:
- storage-location: erc7201:lattice.storage.AxelarGatewayAdapter
struct AxelarGatewayAdapterStorage {
/// @notice The Axelar gateway (OZ uses an immutable; a Diamond must use storage). APPEND-ONLY.
address _gateway;
/// @notice Trusted remote gateway adapter per chain: chainType => chainReference => address-bytes. APPEND-ONLY.
mapping(bytes2 chainType => mapping(bytes chainReference => bytes addr)) _remoteGateways;
/// @notice CAIP-2 (chain-only ERC-7930) => Axelar chain name. APPEND-ONLY.
mapping(bytes chain => string axelar) _erc7930ToAxelar;
/// @notice Axelar chain name => CAIP-2 (chain-only ERC-7930). APPEND-ONLY.
mapping(string axelar => bytes chain) _axelarToErc7930;
}Properties
| Name | Type | Description |
|---|---|---|
| _gateway | address | |
| _remoteGateways | mapping(bytes2 chainType => mapping(bytes chainReference => bytes addr)) | |
| _erc7930ToAxelar | mapping(bytes chain => string axelar) | |
| _axelarToErc7930 | mapping(string axelar => bytes chain) |