Skip to main content

Function: prepareDeployPart()

function prepareDeployPart(data): object

Refines the provided salt and generates the full bytecode for deployment. Returns the bytecode and the deployment address.

Parameters

ParameterTypeDescription

data

IDeployData

The deployment data.

Returns

object

The object containing the final bytecode and the deployment address.

address

address: Uint8Array;

data

data: Uint8Array;

Defined

@nilfoundation/niljs/src/encoding/deployPart.ts:14