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
| Edit this page View SourceStoredContractByHashDeployItem()
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 |
|---|---|---|
| string | hash | Hash of 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 SourceEntryPoint
Entry point or method of the contract to call.
Declaration
[JsonPropertyName("entry_point")]
public string EntryPoint { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Hash
Hash of the contract.
Declaration
[JsonPropertyName("hash")]
public string Hash { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
| Edit this page View SourceJsonPropertyName()
Declaration
public override string JsonPropertyName()
Returns
| Type | Description |
|---|---|
| string |
Overrides
| Edit this page View SourceTag()
Declaration
public override byte Tag()
Returns
| Type | Description |
|---|---|
| byte |