Skip to main content
Version: Next

Class: Deployer

Implements

Constructors

constructor

new Deployer(address?, entryPoint?): Deployer

Parameters

NameType
address?BigNumberish
entryPoint?string

Returns

Deployer

Defined in

src/deployer/default.ts:23

Properties

address

Readonly address: BigNumberish

address of the deployer contract

Implementation of

DeployerInterface.address

Defined in

src/deployer/default.ts:19


entryPoint

Readonly entryPoint: string

ascii name of the function that deploy a contract

Implementation of

DeployerInterface.entryPoint

Defined in

src/deployer/default.ts:21

Methods

buildDeployerCall

buildDeployerCall(payload, address): DeployerCall

Build a Deployer Call with payload and address

Parameters

NameTypeDescription
payloadUniversalDeployerContractPayload | UniversalDeployerContractPayload[]the payload data for the deployer Call. Can be a single payload object or an array of payload objects.
addressstringthe address to be used in the deployer Call

Returns

DeployerCall

an object with Calls & addresses

Implementation of

DeployerInterface.buildDeployerCall

Defined in

src/deployer/default.ts:28


parseDeployerEvent

parseDeployerEvent(txReceipt): DeployContractUDCResponse

Parse Transaction Receipt Event from a Deployer contract transaction and create DeployContractResponse compatible response with addition of the Deployer Event data

Parameters

NameTypeDescription
txReceiptInvokeTransactionReceiptResponseTransaction receipt

Returns

DeployContractUDCResponse

parsed Deployer event data

Implementation of

DeployerInterface.parseDeployerEvent

Defined in

src/deployer/default.ts:83