Class StoredContractByHashDeployItem
Deploy item to call an entry point in a contract. The contract is referenced by its hash.
Inherited Members
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
public class StoredContractByHashDeployItem : ExecutableDeployItem
Constructors
StoredContractByHashDeployItem()
Declaration
public StoredContractByHashDeployItem()
StoredContractByHashDeployItem(String, String, List<NamedArg>)
Creates a deploy item to call an entry point in a contract. The contract is referenced by the contract hash.
Declaration
public StoredContractByHashDeployItem(string hash, string entryPoint, List<NamedArg> args = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | hash | Hash of the contract. |
System.String | entryPoint | Method in the contract to call. |
List<NamedArg> | args | List of named arguments to pass as input data to the call. |
Properties
EntryPoint
Entry point or method of the contract to call.
Declaration
public string EntryPoint { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Hash
Hash of the contract.
Declaration
public string Hash { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
JsonPropertyName()
Declaration
public override string JsonPropertyName()
Returns
Type | Description |
---|---|
System.String |
Overrides
Tag()
Declaration
public override byte Tag()
Returns
Type | Description |
---|---|
System.Byte |