Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / deployFreeForAllSignUpPolicy

Variable: deployFreeForAllSignUpPolicy()

const deployFreeForAllSignUpPolicy: (factories?, signer?, quiet?) => Promise<[FreeForAllPolicy, FreeForAllChecker, FreeForAllPolicyFactoryContract, FreeForAllCheckerFactoryContract]>

Defined in: contracts/build/ts/deploy.d.ts:108

Deploy a FreeForAllPolicy contract

Parameters​

factories?​

TDeployedProxyFactories<FreeForAllCheckerFactoryContract, FreeForAllPolicyFactoryContract>

the optional proxy factories to reuse for deployment

signer?​

Signer

the signer to use to deploy the contract

quiet?​

boolean

whether to suppress console output

Returns​

Promise<[FreeForAllPolicy, FreeForAllChecker, FreeForAllPolicyFactoryContract, FreeForAllCheckerFactoryContract]>

the deployed FreeForAllPolicy contracts