Skip to main content

JBOptimismSuckerDeployer

Git Source

Inherits: JBSuckerDeployer, IJBOpSuckerDeployer

An IJBSuckerDeployerFeeless implementation to deploy JBOptimismSucker contracts.

State Variables​

opMessenger​

The messenger used to send messages between the local and remote sucker.

IOPMessenger public override opMessenger;

opBridge​

The bridge used to bridge tokens between the local and remote chain.

IOPStandardBridge public override opBridge;

Functions​

constructor​

constructor(
IJBDirectory directory,
IJBPermissions permissions,
IJBTokens tokens,
address configurator,
address trusted_forwarder
)
JBSuckerDeployer(directory, permissions, tokens, configurator, trusted_forwarder);

Parameters

NameTypeDescription
directoryIJBDirectoryThe directory of terminals and controllers for projects.
permissionsIJBPermissionsThe permissions contract for the deployer.
tokensIJBTokensThe contract that manages token minting and burning.
configuratoraddressThe address of the configurator.
trusted_forwarderaddress

_layerSpecificConfigurationIsSet​

Check if the layer specific configuration is set or not. Used as a sanity check.

function _layerSpecificConfigurationIsSet() internal view override returns (bool);

setChainSpecificConstants​

handles some layer specific configuration that can't be done in the constructor otherwise deployment addresses would change.

messenger the OPMesssenger on this layer.

bridge the OPStandardBridge on this layer.

function setChainSpecificConstants(IOPMessenger messenger, IOPStandardBridge bridge) external;