Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / deployContractWithLinkedLibraries

Variable: deployContractWithLinkedLibraries()

const deployContractWithLinkedLibraries: <T>(contractFactory, ...args) => Promise<T>

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

Deploy a contract with linked libraries

Type Parameters

T

T extends BaseContract

Parameters

contractFactory

ContractFactory

the contract factory to use

args

...unknown[]

the constructor arguments of the contract

Returns

Promise<T>

the deployed contract instance