ConstantInitialVoiceCreditProxyFactory
Factory contract for deploying minimal proxy instances of ConstantInitialVoiceCreditProxy.
Simplifies deployment of ConstantInitialVoiceCreditProxy clones with appended configuration data.
constructor
constructor() public
Initializes the factory with the ConstantInitialVoiceCreditProxy implementation.
deploy
function deploy(uint256 balance) public returns (address clone)
Deploys a new ConstantInitialVoiceCreditProxy clone.
Parameters
Name | Type | Description |
---|---|---|
balance | uint256 | the balance to be returned by getVoiceCredits |
Return Values
Name | Type | Description |
---|---|---|
clone | address | the address of the new clone |