import AbstractSmartContractStoredByHashDeployParameters from '@casperholders/core/src/services/deploys/abstractSmartContractStoredByHashDeployParameters.js'AbstractSmartContractStoredByHashDeployParameters
Extends:
Direct Subclass:
AbstractSmartContractStoredByHashDeployParameters class Abstract class used to defined specific DeployParameters for SmartContracts stored by hash on the network
Constructor Summary
| Public Constructor | ||
| public |
constructor(activeKey: string, network: string, hash: string, entrypoint: string, args: DeployUtil.RuntimeArgs, fee: number, ttl: number) Constructor |
|
Member Summary
| Public Members | ||
| public |
|
|
| public |
args: DeployUtil.RuntimeArgs |
|
| public get |
deployParams: DeployUtil.DeployParams: * Get the deployParams deploy argument |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public get |
payment: DeployUtil.ExecutableDeployItem: * Get the payment deploy argument |
|
| public get |
session: DeployUtil.ExecutableDeployItem: * Get the session deploy argument |
|
| 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 |
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 |
|
Public Constructors
public constructor(activeKey: string, network: string, hash: string, entrypoint: string, args: DeployUtil.RuntimeArgs, fee: number, 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 |
|
| hash | string | Current hash of the stored SmartContract |
|
| entrypoint | string | Entrypoint of the SmartContract |
|
| args | DeployUtil.RuntimeArgs | Arguments of the SmartContract |
|
| fee | number | Runtime fee for the given SmartContract operation |
|
| ttl | number | Deploy time to live in hours |
Public Members
public args: DeployUtil.RuntimeArgs source
public get deployParams: DeployUtil.DeployParams: * source
Get the deployParams deploy argument
Return:
| DeployUtil.DeployParams | Return a DeployParams |
public get payment: DeployUtil.ExecutableDeployItem: * source
Get the payment deploy argument
Return:
| DeployUtil.ExecutableDeployItem | Return a standard payment |
public get session: DeployUtil.ExecutableDeployItem: * source
Get the session deploy argument
Return:
| DeployUtil.ExecutableDeployItem | Return a session with a SmartContract stored by hash on the network |
