Class Contract
Information, entry points and named keys belonging to a Contract
Inheritance
System.Object
Contract
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
public class Contract : object
Properties
ContractPackageHash
Key to the storage of the ContractPackage object
Declaration
public string ContractPackageHash { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ContractWasmHash
Key to the storage of the ContractWasm object
Declaration
public string ContractWasmHash { get; set; }
Property Value
Type | Description |
---|---|
System.String |
EntryPoints
List of entry points or methods in the contract.
Declaration
public List<EntryPoint> EntryPoints { get; set; }
Property Value
Type | Description |
---|---|
List<EntryPoint> |
NamedKeys
List of NamedKeys in te contract.
Declaration
public List<NamedKey> NamedKeys { get; set; }
Property Value
Type | Description |
---|---|
List<NamedKey> |
ProtocolVersion
The protocol version when the contract was deployed
Declaration
public string ProtocolVersion { get; set; }
Property Value
Type | Description |
---|---|
System.String |