Skip to main content
Version: 11.x

Class: Deployer

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

Implements​

Constructors​

Constructor​

new Deployer(address?, entryPoint?): Deployer

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

Parameters​

address?​

BigNumberish

entryPoint?​

string

Returns​

Deployer

Properties​

address​

readonly address: BigNumberish

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

address of the deployer contract

Implementation of​

DeployerInterface.address


entryPoint​

readonly entryPoint: string

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

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:26

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:70

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