Class StoreExtension
Inherited Members
Namespace: Libplanet.Store
Assembly: Libplanet.dll
Syntax
public static class StoreExtension
Methods
| Improve this Doc View SourceLookupStateReference<T>(IStore, String, Address, Block<T>)
Looks up a state reference, which is a block's Hash that contains
an action mutating the address' state.
Declaration
public static HashDigest<SHA256>? LookupStateReference<T>(this IStore store, string namespace, Address address, Block<T> lookupUntil)
where T : IAction, new()
Parameters
| Type | Name | Description |
|---|---|---|
| IStore | store | The store object expected to contain the state reference. |
| String | namespace | The namespace to look up a state reference. |
| Address | address | The Address to look up. |
| Block<T> | lookupUntil | The upper bound (i.e., the latest block) of the search range.
Block<T>s after |
Returns
| Type | Description |
|---|---|
| Nullable<HashDigest<SHA256>> | A Hash which has the state of
the |
Type Parameters
| Name | Description |
|---|---|
| T | An IAction class used with
|