MessagingBase

Git Source

Inherits: MultiCallable, Versioned, Ownable2StepUpgradeable

Base contract for all messaging contracts.

  • Provides context on the local chain's domain.
  • Provides ownership functionality.
  • Will be providing pausing functionality when it is implemented.

State Variables

localDomain

Domain of the local chain, set once upon contract creation

uint32 public immutable localDomain;

synapseDomain

uint32 public immutable synapseDomain;

__GAP

gap for upgrade safety

uint256[50] private __GAP;

Functions

constructor

constructor(string memory version_, uint32 synapseDomain_) Versioned(version_);

renounceOwnership

Should be impossible to renounce ownership; we override OpenZeppelin OwnableUpgradeable's implementation of renounceOwnership to make it a no-op

function renounceOwnership() public override onlyOwner;