Casper.Network.SDK
Show / Hide Table of Contents

Class StoredContractByNameDeployItem

Deploy item to call an entry point in a contract. The contract is referenced by a named key in the caller account pointing to the contract hash.

Inheritance
object
ExecutableDeployItem
StoredContractByNameDeployItem
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 StoredContractByNameDeployItem : ExecutableDeployItem

Constructors

| Edit this page View Source

StoredContractByNameDeployItem()

Declaration
public StoredContractByNameDeployItem()
| Edit this page View Source

StoredContractByNameDeployItem(string, string, List<NamedArg>)

Creates a deploy item to call an entry point in a contract. The contract is referenced by a named key in the caller's account.

Declaration
public StoredContractByNameDeployItem(string name, string entryPoint, List<NamedArg> args = null)
Parameters
Type Name Description
string name

Name of a named key in the caller account Named Keys that points to the contract.

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

Name

Name of a named key in the caller account that stores the contract hash.

Declaration
[JsonPropertyName("name")]
public string Name { get; init; }
Property Value
Type Description
string

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