Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / deploySemaphoreSignupPolicy

Variable: deploySemaphoreSignupPolicy()

const deploySemaphoreSignupPolicy: (args, factories?, signer?, quiet?) => Promise<[SemaphorePolicy, SemaphoreChecker, SemaphorePolicyFactoryContract, SemaphoreCheckerFactoryContract]>

Defined in: packages/contracts/build/ts/deploy.d.ts:154

Deploy a SemaphorePolicy contract

Parameters

args

the arguments to deploy policy

groupId

BigNumberish

semaphore

string

factories?

TDeployedProxyFactories<SemaphoreCheckerFactoryContract, SemaphorePolicyFactoryContract>

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<[SemaphorePolicy, SemaphoreChecker, SemaphorePolicyFactoryContract, SemaphoreCheckerFactoryContract]>

the deployed SemaphorePolicy contracts