Minimal Anti Collusion Infrastructure (MACI) / deployContract
Variable: deployContract()
constdeployContract: <T>(contractName,signer?,quiet?, ...args) =>Promise<T>
Defined in: packages/contracts/build/ts/deploy.d.ts:21
Deploy a Smart Contract given a name and some arguments
Type Parameters
T
T extends BaseContract
Parameters
contractName
string
the name of the contract
signer?
Signer
the signer to use to deploy the contract
quiet?
boolean
whether to suppress console output
args?
...unknown[]
the constructor arguments of the contract
Returns
Promise<T>