Skip to main content
Version: Next

Class: Deployer

Defined in: src/deployer/default.ts:18

Implements

Constructors

Constructor

new Deployer(address?, entryPoint?): Deployer

Defined in: src/deployer/default.ts:23

Parameters

address?

BigNumberish

entryPoint?

string

Returns

Deployer

Properties

address

readonly address: BigNumberish

Defined in: src/deployer/default.ts:19

address of the deployer contract

Implementation of

DeployerInterface.address


entryPoint

readonly entryPoint: string

Defined in: src/deployer/default.ts:21

ascii name of the function that deploy a contract

Implementation of

DeployerInterface.entryPoint

Methods

buildDeployerCall()

buildDeployerCall(payload, address): DeployerCall

Defined in: src/deployer/default.ts:28

Build a Deployer Call with payload and address

Parameters

payload

UniversalDeployerContractPayload | UniversalDeployerContractPayload[]

the payload data for the deployer Call. Can be a single payload object or an array of payload objects.

address

string

the address to be used in the deployer Call

Returns

DeployerCall

an object with Calls & addresses

Implementation of

DeployerInterface.buildDeployerCall


parseDeployerEvent()

parseDeployerEvent(txReceipt): DeployContractUDCResponse

Defined in: src/deployer/default.ts:83

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

Parameters

txReceipt

InvokeTransactionReceiptResponse

Transaction receipt

Returns

DeployContractUDCResponse

parsed Deployer event data

Implementation of

DeployerInterface.parseDeployerEvent