Skip to main content

JBBaseSucker

Git Source

Inherits: JBOptimismSucker

Functions

constructor

constructor(
JBOptimismSuckerDeployer deployer,
IJBDirectory directory,
IJBPermissions permissions,
IJBTokens tokens,
JBAddToBalanceMode addToBalanceMode,
address trusted_forwarder
)
JBOptimismSucker(deployer, directory, permissions, tokens, addToBalanceMode, trusted_forwarder);

Parameters

NameTypeDescription
deployerJBOptimismSuckerDeployerA contract that deploys the clones for this contracts.
directoryIJBDirectoryA contract storing directories of terminals and controllers for each project.
permissionsIJBPermissionsA contract storing permissions.
tokensIJBTokensA contract that manages token minting and burning.
addToBalanceModeJBAddToBalanceModeThe mode of adding tokens to balance.
trusted_forwarderaddress

peerChainId

Returns the chain on which the peer is located.

function peerChainId() external view virtual override returns (uint256);

Returns

NameTypeDescription
<none>uint256chainId of the peer.