Lucid
  • USING LUCID
    • Welcome to Lucid
    • Homepage
    • Explore Page
    • Organisation Summary Page
    • Sidebar Navigation
  • Organisation Creation Page
  • Creating an Organisation
    • 1. Setup Organisation Details
    • 2. Module Selection
    • 3. Module Configuration
    • 4. Safe and Protocol Upgrades Configuration
    • 5. Governor Configuration
    • 6. Veto and Multi-Bridge Configuration
    • 7. Token Configuration
    • 8. Asset Transfer Portals Configuration
    • 9. Review and Deploy Organisation
    • 10. Lucid Post-Deployment Integration
  • Editing an Organisation
  • Modules and integrations
    • Multi-Bridge
      • Multi-Bridge Asset Transfers
      • Multi-Bridge Message and Asset Transfers
      • Resend Transaction
    • Bridge Portals
    • Vested Emission Offerings (VEOs)
      • VEO Purchase Flow
        • Purchase Strategic Asset VEOs
        • Purchase Liquidity VEOs
        • Purchase TVL VEOs
      • VEO Creation Flow
      • VEO Removal Flow
      • Claiming Vested Tokens
    • Wizard | Protocol Upgrades
  • Lucid Bridged Stablecoins
    • L-USDC & L-USDT Overview
      • L-USDC Deep Dive
      • L-USDT Deep Dive
  • Points Program
    • Season 1
  • Developer Reference
    • Message Bridging
      • Sending a Message
      • Message Execution
      • Admin Functions
    • Asset Bridging
      • Bridging Assets
      • Admin Functions
    • Adapters
      • Axelar Adapter
      • CCIP Adapter
      • Connext Adapter
      • Hyperlane Adapter
      • LayerZero Adapter
      • Polymer Adapter
      • Wormhole Adapter
    • Deployed Contracts
      • Multibridge Contracts
      • VEO Contracts
  • API Reference
  • RESOURCES
    • About
    • Fees
      • Lucid Pricing and Fee Structure
      • Fee Estimates for Bridges
    • Frequently Asked Questions
    • Key Terms and Explanations
    • Contact
Powered by GitBook
On this page
  1. Modules and integrations
  2. Multi-Bridge
  3. Multi-Bridge Message and Asset Transfers

Message Bridging: Admin Functions

An account with the DEFAULT_ADMIN_ROLE can call the following functions:

setLocalAdapter

function setLocalAdapter(address[] memory adapters, bool[] memory enabled) public;
Name
Type
Description

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

function setLocalRegistry(address _localRegistry) public;
Name
Type
Description

localRegistry

address

The address of the new local registry to set

setMessageOriginators

function setMessageOriginators(address[] memory originators, bool[] memory enabled) public

Sets a list of message originator addresses that can send messages to other chains.

Name
Type
Description

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

function setMessageOriginators(address[] memory originators, bool[] memory enabled) public

Sets the controller addresses for the given chain IDs. To disable a controller in a chain, set the controller address to the zero address.

Name
Type
Description

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

function setVetoer(address _vetoer) public;

Sets the vetoer address that can cancel the execution of messages. Set to address(0) to disable vetoer.

Name
Type
Description

_vetoer

address

The address of the vetoer

setTimelockDelay

function setTimelockDelay(uint256 _timelockDelay) public;

Sets the timelock delay in seconds for message execution. Set to 0 to disable timelock

Name
Type
Description

_timelockDelay

uint256

The timelock delay in seconds

pause

 function pause() public;

Pauses the contract. Applicable to the following functions: execute(), sendMessage() and resendMessage(),

unpause

 function unpause() public;

Unpauses and already paused contract.

Last updated 4 months ago