SubsidyFactory
A factory contract which deploys Subsidy contracts.
deploy
function deploy(address _verifier, address _vkRegistry, address _poll, address _messageProcessor, address _owner) public returns (address subsidyAddr)
Deploy a new Tally or Subsidy contract and return the address.
Parameters
Name | Type | Description |
---|---|---|
_verifier | address | Verifier contract |
_vkRegistry | address | VkRegistry contract |
_poll | address | Poll contract |
_messageProcessor | address | MessageProcessor contract |
_owner | address | Owner of the contract |
Return Values
Name | Type | Description |
---|---|---|
subsidyAddr | address | The deployed contract |