Show / Hide Table of Contents

Class Initialize

A system action that initializes the chain's beginning states.

Inheritance
Object
Initialize
Implements
IAction
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
System.Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
System.Object.ToString()
Namespace: Libplanet.Action.Sys
Assembly: Libplanet.Action.dll
Syntax
[ActionType(2)]
public sealed class Initialize : IAction

Constructors

| Improve this Doc View Source

Initialize()

A system action that initializes the chain's beginning states.

Declaration
public Initialize()
| Improve this Doc View Source

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 Source

PlainValue

A system action that initializes the chain's beginning states.

Declaration
public IValue PlainValue { get; }
Property Value
Type Description
Bencodex.Types.IValue
| Improve this Doc View Source

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>
| Improve this Doc View Source

TypeId

A system action that initializes the chain's beginning states.

Declaration
public IValue TypeId { get; }
Property Value
Type Description
Bencodex.Types.IValue
| Improve this Doc View Source

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 Source

Execute(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
| Improve this Doc View Source

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

Implements

IAction
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium