Class ContractPackage
Contract definition, metadata, and security container.
Inheritance
System.Object
ContractPackage
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
public class ContractPackage : object
Properties
AccessKey
Declaration
public URef AccessKey { get; set; }
Property Value
Type | Description |
---|---|
URef |
DisabledVersions
List of disabled versions of a contract.
Declaration
public List<DisabledVersion> DisabledVersions { get; set; }
Property Value
Type | Description |
---|---|
List<DisabledVersion> |
Groups
Groups associate a set of URefs with a label. Entry points on a contract can be given a list of labels they accept and the runtime will check that a URef from at least one of the allowed groups is present in the caller’s context before execution.
Declaration
public List<Group> Groups { get; set; }
Property Value
Type | Description |
---|---|
List<Group> |
LockStatus
The current state of node reactor.
Declaration
public LockStatus LockStatus { get; set; }
Property Value
Type | Description |
---|---|
LockStatus |
Versions
List of active versions of a contract.
Declaration
public List<ContractVersion> Versions { get; set; }
Property Value
Type | Description |
---|---|
List<ContractVersion> |