import GenericContractDeployParameters from '@casperholders/core/src/services/deploys/smartContract/genericContractDeployParameters.js'
GenericContractDeployParameters
Extends:
GenericContractDeployParameters class Class used to define the parameters of a generic deployment to send on the network
Constructor Summary
Public Constructor | ||
public |
constructor(activeKey: string, network: string, contractHash: string, entrypoint: string, fee: string, args: object, ttl: number) Constructor |
Member Summary
Public Members | ||
public get |
deployResult: DeployResult.constructor: * Get a DeployResult constructor |
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 |
makeDeploy: Deploy: * 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 |
From class AbstractSmartContractStoredByHashDeployParameters | ||
public get |
deployParams: DeployUtil.DeployParams: * Get the deployParams deploy argument |
|
public get |
payment: DeployUtil.ExecutableDeployItem: * Get the payment deploy argument |
|
public get |
session: DeployUtil.ExecutableDeployItem: * Get the session deploy argument |
|
public |
|
|
public |
args: DeployUtil.RuntimeArgs |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
Public Constructors
public constructor(activeKey: string, network: string, contractHash: string, entrypoint: string, fee: string, args: object, ttl: number) source
Constructor
Params:
Name | Type | Attribute | Description |
activeKey | string | Current active key in the public hex format |
|
network | string | Current network to execute the deployment |
|
contractHash | string | SmartContract hash |
|
entrypoint | string | SmartContract entrypoint |
|
fee | string | Runtime fee for the given SmartContract operation |
|
args | object | ||
ttl | number | Deploy time to live in hours |
Public Members
public get deployResult: DeployResult.constructor: * source
Get a DeployResult constructor
Return:
DeployResult.constructor | Return the constructor of a given DeployResult |