Minimal Anti Collusion Infrastructure (MACI) / deployContractWithLinkedLibraries
Variable: deployContractWithLinkedLibraries()
const
deployContractWithLinkedLibraries: <T
>(contractFactory
,signer?
, ...args
) =>Promise
<T
>
Defined in: packages/contracts/build/ts/deploy.d.ts:232
Deploy a contract with linked libraries
Type Parameters
T
T
extends BaseContract
Parameters
contractFactory
ContractFactory
the contract factory to use
signer?
Signer
the signer to use for deployment (optional)
args?
...unknown
[]
the constructor arguments of the contract
Returns
Promise
<T
>
the deployed contract instance