Casper.Network.SDK
Show / Hide Table of Contents

Class Contract

Information, entry points and named keys belonging to a Contract

Inheritance
object
Contract
Inherited Members
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 Contract

Properties

| Edit this page View Source

ContractPackageHash

Key to the storage of the ContractPackage object

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

ContractWasmHash

Key to the storage of the ContractWasm object

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

EntryPoints

List of entry points or methods in the contract.

Declaration
[JsonPropertyName("entry_points")]
public List<EntryPoint> EntryPoints { get; init; }
Property Value
Type Description
List<EntryPoint>
| Edit this page View Source

NamedKeys

List of NamedKeys in te contract.

Declaration
[JsonPropertyName("named_keys")]
public List<NamedKey> NamedKeys { get; init; }
Property Value
Type Description
List<NamedKey>
| Edit this page View Source

ProtocolVersion

The protocol version when the contract was deployed

Declaration
[JsonPropertyName("protocol_version")]
public string ProtocolVersion { get; init; }
Property Value
Type Description
string
  • Edit this page
  • View Source
In this article
Back to top Maintained by MAKE Technology LLC