Casper.Network.SDK
Show / Hide Table of Contents

Class StoredVersionedContractByHashDeployItem

Deploy item to call an entry point in a contract. The contract is referenced by a contract package hash and a version number.

Inheritance
object
ExecutableDeployItem
StoredVersionedContractByHashDeployItem
Inherited Members
ExecutableDeployItem.RuntimeArgs
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
public class StoredVersionedContractByHashDeployItem : ExecutableDeployItem

Constructors

| Edit this page View Source

StoredVersionedContractByHashDeployItem()

Declaration
public StoredVersionedContractByHashDeployItem()
| Edit this page View Source

StoredVersionedContractByHashDeployItem(string, uint?, string, List<NamedArg>)

Creates a deploy item to call an entry point in a contract package. The contract is referenced by the contract package hash and a version number in the contract package.

Declaration
public StoredVersionedContractByHashDeployItem(string hash, uint? version, string entryPoint, List<NamedArg> args = null)
Parameters
Type Name Description
string hash

Hash of the contract package.

uint? version

Version of the contract to call. Null for latest version.

string entryPoint

Method in the contract to call.

List<NamedArg> args

List of named arguments to pass as input data to the call.

Properties

| Edit this page View Source

EntryPoint

Entry point or method of the contract to call.

Declaration
[JsonPropertyName("entry_point")]
public string EntryPoint { get; init; }
Property Value
Type Description
string
| Edit this page View Source

Hash

Hash of the contract package.

Declaration
[JsonPropertyName("hash")]
public string Hash { get; init; }
Property Value
Type Description
string
| Edit this page View Source

Version

Version of the contract to call (null indicates latest version).

Declaration
[JsonPropertyName("version")]
public uint? Version { get; init; }
Property Value
Type Description
uint?

Methods

| Edit this page View Source

JsonPropertyName()

Declaration
public override string JsonPropertyName()
Returns
Type Description
string
Overrides
ExecutableDeployItem.JsonPropertyName()
| Edit this page View Source

Tag()

Declaration
public override byte Tag()
Returns
Type Description
byte
Overrides
ExecutableDeployItem.Tag()
  • Edit this page
  • View Source
In this article
Back to top Maintained by MAKE Technology LLC