Class Contract
Information, entry points and named keys belonging to a Contract
Inherited Members
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
public class Contract
Properties
| Edit this page View SourceContractPackageHash
Key to the storage of the ContractPackage object
Declaration
[JsonPropertyName("contract_package_hash")]
public string ContractPackageHash { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
ContractWasmHash
Key to the storage of the ContractWasm object
Declaration
[JsonPropertyName("contract_wasm_hash")]
public string ContractWasmHash { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
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> |
NamedKeys
List of NamedKeys in te contract.
Declaration
[JsonPropertyName("named_keys")]
public List<NamedKey> NamedKeys { get; init; }
Property Value
| Type | Description |
|---|---|
| List<NamedKey> |
ProtocolVersion
The protocol version when the contract was deployed
Declaration
[JsonPropertyName("protocol_version")]
public string ProtocolVersion { get; init; }
Property Value
| Type | Description |
|---|---|
| string |