Class WorldBaseState
A default implementation of IWorldState interface. It acts as root state of World recursion.
Implements
Inherited Members
System.Object.GetType()
System.Object.ToString()
Namespace: Libplanet.Action.State
Assembly: Libplanet.Action.dll
Syntax
public class WorldBaseState : IWorldState
Constructors
| Improve this Doc View SourceWorldBaseState(ITrie, IStateStore)
A default implementation of IWorldState interface. It acts as root state of World recursion.
Declaration
public WorldBaseState(ITrie trie, IStateStore stateStore)
Parameters
Type | Name | Description |
---|---|---|
ITrie | trie | |
IStateStore | stateStore |
Properties
| Improve this Doc View SourceLegacy
Whether IWorldState is in legacy state or not.
Declaration
public bool Legacy { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Trie
The ITrie of the IWorldState.
Declaration
public ITrie Trie { get; }
Property Value
Type | Description |
---|---|
ITrie |
Methods
| Improve this Doc View SourceGetAccountState(Address)
A default implementation of IWorldState interface. It acts as root state of World recursion.
Declaration
public IAccountState GetAccountState(Address address)
Parameters
Type | Name | Description |
---|---|---|
Address | address |
Returns
Type | Description |
---|---|
IAccountState |