Skip to main content
Version: v1.3_alpha

IMessageProcessorFactory

MessageProcessorFactory interface

deploy

function deploy(address _verifier, address _vkRegistry, address _poll, address _owner, enum DomainObjs.Mode _mode) external returns (address)

Deploy a new MessageProcessor contract and return the address.

Parameters

NameTypeDescription
_verifieraddressVerifier contract
_vkRegistryaddressVkRegistry contract
_polladdressPoll contract
_owneraddressOwner of the MessageProcessor contract
_modeenum DomainObjs.ModeVoting mode

Return Values

NameTypeDescription
[0]addressThe deployed MessageProcessor contract