Skip to main content
Version: v1.2

ITallySubsidyFactory

TallySubsidyFactory interface

deploy

function deploy(address _verifier, address _vkRegistry, address _poll, address _messageProcessor, address _owner) external returns (address)

Deploy a new Tally or Subsidy contract and return the address.

Parameters

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

Return Values

NameTypeDescription
[0]addressThe deployed contract