Skip to content
Lattice

SuperchainETHBridgeAdapterInit

Git Source

Title: SuperchainETHBridgeAdapterInit

Author: David Dada <daveproxy80@gmail.com> (https://github.com/dadadave80)

One-shot initializer for a SuperchainETHBridge interop adapter diamond — registers the ISuperchainETHBridgeAdapter ERC-165 id. There is nothing else to seed: the adapter is stateless (the predeploy is a compile-time constant), has no admin surface, and holds no funds. Delegatecalled by Diamond.initialize inside the initializing window (so it must NOT open its own pre/postInitializer).

Functions

init

Registers the adapter ERC-165 id. MUST be invoked via the diamond's initialize _init delegatecall.

function init() external;