Message Bridging: Admin Functions
An account with the DEFAULT_ADMIN_ROLE can call the following functions:
setLocalAdapter
adapters
address[]
An array of adapter addresses to enable/disable
enabled
bool[]
An array of boolean values to enable or disable the corresponding adapters in adapters
. Both arrays must have the same length
setLocalRegistry
localRegistry
address
The address of the new local registry to set
setMessageOriginators
Sets a list of message originator addresses that can send messages to other chains.
originators
address[]
An array of message originator addresses to enable/disable
enabled
bool[]
An array of boolean values to enable or disable the corresponding originators
. Both arrays must have the same length
setControllerForChain
Sets the controller addresses for the given chain IDs. To disable a controller in a chain, set the controller address to the zero address.
chainId
uint256[]
An array of chain id to set controllers for
controller
address[]
An array of controller addresses to set for the corresponding chainIds
. Both arrays must have the same length.
setVetoer
Sets the vetoer address that can cancel the execution of messages. Set to address(0) to disable vetoer.
_vetoer
address
The address of the vetoer
setTimelockDelay
Sets the timelock delay in seconds for message execution. Set to 0 to disable timelock
_timelockDelay
uint256
The timelock delay in seconds
pause
Pauses the contract. Applicable to the following functions: execute()
, sendMessage()
and resendMessage()
,
unpause
Unpauses and already paused contract.
Last updated