Skip to main content
Version: v1.2

MessageProcessorFactory

A factory contract which deploys MessageProcessor contracts.

deploy

function deploy(address _verifier, address _vkRegistry, address _poll, address _owner) public returns (address messageProcessorAddr)

Deploy a new MessageProcessor contract and return the address.

Parameters

NameTypeDescription
_verifieraddressVerifier contract
_vkRegistryaddressVkRegistry contract
_polladdressPoll contract
_owneraddressOwner of the MessageProcessor contract

Return Values

NameTypeDescription
messageProcessorAddraddressThe deployed MessageProcessor contract