Home Reference Source
public class | source

SmartContractDeployParameters

Extends:

AbstractSmartContractDeployParameters → SmartContractDeployParameters

SmartContractDeployParameters class Class used to define the parameters of a deployment to send a smart contract on the network

Constructor Summary

Public Constructor
public

constructor(activeKey: string, network: string, smartContractBuffer: Buffer, fee: string, ttl: number)

Constructor

Member Summary

Public Members
public
public get

deployParams: DeployUtil.DeployParams: *

Get the deployParams deploy argument

public get

deployResult: DeployResult.constructor: *

Get a DeployResult constructor

public
public
public get

payment: DeployUtil.ExecutableDeployItem: *

Get the payment deploy argument

public get

session: DeployUtil.ExecutableDeployItem: *

Get the session deploy argument

public
public

Inherited Summary

From class AbstractSmartContractDeployParameters
public get

deployParams: DeployUtil.DeployParams

Get the deployParams deploy argument

public get

deployResult: DeployResult.constructor

Get a DeployResult constructor

public get

Create a unsigned Deploy object

public get

payment: DeployUtil.ExecutableDeployItem

Get the payment deploy argument

public get

session: DeployUtil.ExecutableDeployItem

Get the session deploy argument

Public Constructors

public constructor(activeKey: string, network: string, smartContractBuffer: Buffer, fee: string, ttl: number) source

Constructor

Params:

NameTypeAttributeDescription
activeKey string

Current active key in the public hex format

network string

Current network to execute the deployment

smartContractBuffer Buffer

Buffer of the SmartContract previously read

fee string

Runtime fee for the given SmartContract operation

ttl number

Deploy time to live in hours

Public Members

public activeKey: string source

public get deployParams: DeployUtil.DeployParams: * source

Get the deployParams deploy argument

Override:

AbstractSmartContractDeployParameters#deployParams

Return:

DeployUtil.DeployParams

Return a DeployParams

public get deployResult: DeployResult.constructor: * source

Get a DeployResult constructor

Override:

AbstractSmartContractDeployParameters#deployResult

Return:

DeployResult.constructor

Return the constructor of a given DeployResult

public fee: string source

public network: string source

public get payment: DeployUtil.ExecutableDeployItem: * source

Get the payment deploy argument

Override:

AbstractSmartContractDeployParameters#payment

Return:

DeployUtil.ExecutableDeployItem

Return a standard payment

public get session: DeployUtil.ExecutableDeployItem: * source

Get the session deploy argument

Override:

AbstractSmartContractDeployParameters#session

Return:

DeployUtil.ExecutableDeployItem

Return a session with a SmartContract stored by hash on the network

public smartContractBuffer: Buffer source

public ttl: number source