GatewayRegistry
Purpose
Registers gateway operators and provides an on-chain source of truth for active gateways.
Key state
gateways[address] -> { status, endpoint, metadataURI, registeredAt }
Key functions
registerGateway(metadataURI, endpoint)updateGateway(metadataURI, endpoint)setGatewayStatus(gateway, status)(owner)isActive(gateway)view
Events
GatewayRegisteredGatewayUpdatedGatewayStatusChanged
Roles and permissions
- Owner can suspend or reactivate gateways.
Security notes
Registration does not imply guarantees. Gateways are responsible for correct reporting and signing.