Class Initialize
A system action that initializes the chain's beginning states.
Implements
Inherited Members
System.Object.GetType()
System.Object.ToString()
Namespace: Libplanet.Action.Sys
Assembly: Libplanet.Action.dll
Syntax
[ActionType(2)]
public sealed class Initialize : 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, Bencodex.Types.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 |
---|---|
Bencodex.Types.IValue |
States
A system action that initializes the chain's beginning states.
Declaration
public IImmutableDictionary<Address, IValue> States { get; }
Property Value
Type | Description |
---|---|
IImmutableDictionary<Address, Bencodex.Types.IValue> |
TypeId
A system action that initializes the chain's beginning states.
Declaration
public IValue TypeId { get; }
Property Value
Type | Description |
---|---|
Bencodex.Types.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 |
---|---|---|
Bencodex.Types.IValue | plainValue |