Class Initialize
A system action that initializes the chain's beginning states.
Inheritance
System.Object
Initialize
Implements
Namespace: Libplanet.Action.Sys
Assembly: Libplanet.Action.dll
Syntax
public sealed class Initialize : object, IAction
Constructors
| Improve this Doc View SourceInitialize()
A system action that initializes the chain's beginning states.
Declaration
public Initialize()
Initialize(ValidatorSet, IImmutableDictionary<Address, IValue>)
A system action that initializes the chain's beginning states.
Declaration
public Initialize(ValidatorSet validatorSet, IImmutableDictionary<Address, IValue> states)
Parameters
Type | Name | Description |
---|---|---|
ValidatorSet | validatorSet | |
IImmutableDictionary<Address, IValue> | states |
Properties
| Improve this Doc View SourcePlainValue
A system action that initializes the chain's beginning states.
Declaration
public IValue PlainValue { get; }
Property Value
Type | Description |
---|---|
IValue |
States
A system action that initializes the chain's beginning states.
Declaration
public IImmutableDictionary<Address, IValue>? States { get; }
Property Value
Type | Description |
---|---|
System.Nullable<IImmutableDictionary<Address, IValue>> |
TypeId
A system action that initializes the chain's beginning states.
Declaration
public IValue TypeId { get; }
Property Value
Type | Description |
---|---|
IValue |
ValidatorSet
A system action that initializes the chain's beginning states.
Declaration
public ValidatorSet ValidatorSet { get; }
Property Value
Type | Description |
---|---|
ValidatorSet |
Methods
| Improve this Doc View SourceExecute(IActionContext)
A system action that initializes the chain's beginning states.
Declaration
public IWorld Execute(IActionContext context)
Parameters
Type | Name | Description |
---|---|---|
IActionContext | context |
Returns
Type | Description |
---|---|
IWorld |
LoadPlainValue(IValue)
A system action that initializes the chain's beginning states.
Declaration
public void LoadPlainValue(IValue plainValue)
Parameters
Type | Name | Description |
---|---|---|
IValue | plainValue |