Interface IWorldState
An interface to fetch world states.
It is like a readonly map which is virtually initialized such that every possible Address exists and is mapped to null. That means that:
Namespace: Libplanet.Action.State
Assembly: Libplanet.Action.dll
Syntax
public interface IWorldState
Properties
| Improve this Doc View SourceLegacy
Whether IWorld
Declaration
bool Legacy { get; }
Property Value
Type | Description |
---|---|
System. |
Trie
The ITrie of the IWorld
Declaration
ITrie Trie { get; }
Property Value
Type | Description |
---|---|
ITrie |
Version
The version of the backend ITrie data model. This should be in sync with
Protocol
Declaration
int Version { get; }
Property Value
Type | Description |
---|---|
System. |
See Also
Methods
| Improve this Doc View SourceGetAccountState(Address)
Gets the IAccountaddress
.
Declaration
IAccountState GetAccountState(Address address)
Parameters
Returns
Type | Description |
---|---|
IAccount |
The IAccount |