Skip to content

DeployHandler

DeployHandler: <TThrowOnFail, TAbi, THasConstructor, TAllArgs>(action) => Promise<DeployResult>

Type parameters

TThrowOnFail extends boolean = boolean

TAbi extends Abi | readonly unknown[] = Abi

THasConstructor = TAbi extends Abi ? Abi extends TAbi ? true : [Extract<TAbi[number], object>] extends [never] ? false : true : true

TAllArgs = ContractConstructorArgs<TAbi>

Parameters

action: DeployParams<TThrowOnFail, TAbi, THasConstructor, TAllArgs>

Returns

Promise<DeployResult>

Source

packages/actions/src/Deploy/DeployHandlerType.ts:5