CrosschainTimelockHandlerInit
Title: CrosschainTimelockHandlerInit
Author: David Dada <daveproxy80@gmail.com> (https://github.com/dadadave80)
One-shot initializer for a cross-chain governance diamond — seeds AccessControl, a
TimelockController whose sole proposer is the Diamond itself (so only the authenticated cross-chain
handler can schedule operations) with open execution, and the CrosschainLink messaging registry.
Delegatecalled by Diamond.initialize inside the initializing window, so address(this) is the
Diamond and it must NOT open its own pre/postInitializer (each __*_init guard passes because the
window is already open).
Functions
init
Runs the access-control + timelock + crosschain-link module initializers. MUST be invoked via the
diamond's initialize _init delegatecall.
function init(address admin, uint256 minDelay) external;Parameters
| Name | Type | Description |
|---|---|---|
| admin | address | The address granted DEFAULT_ADMIN_ROLE (timelock admin + link/handler registry admin). |
| minDelay | uint256 | The timelock's minimum operation delay. |