Show / Hide Table of Contents

Class KeyConverters

Inheritance
System.Object
KeyConverters
Namespace: Libplanet.Action.State
Assembly: Libplanet.Action.dll
Syntax
public static class KeyConverters : object

Fields

| Improve this Doc View Source

ValidatorSetKey

Declaration
public static readonly KeyBytes ValidatorSetKey
Field Value
Type Description
KeyBytes

Methods

| Improve this Doc View Source

ToFungibleAssetKey(Address, Currency)

Declaration
public static KeyBytes ToFungibleAssetKey(Address address, Currency currency)
Parameters
Type Name Description
Address address
Currency currency
Returns
Type Description
KeyBytes
| Improve this Doc View Source

ToFungibleAssetKey((Address Address, Currency Currency))

Declaration
public static KeyBytes ToFungibleAssetKey((Address Address, Currency Currency) pair)
Parameters
Type Name Description
System.ValueTuple<Address, Currency> pair
Returns
Type Description
KeyBytes
| Improve this Doc View Source

ToStateKey(Address)

Declaration
public static KeyBytes ToStateKey(Address address)
Parameters
Type Name Description
Address address
Returns
Type Description
KeyBytes
| Improve this Doc View Source

ToTotalSupplyKey(Currency)

Declaration
public static KeyBytes ToTotalSupplyKey(Currency currency)
Parameters
Type Name Description
Currency currency
Returns
Type Description
KeyBytes
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium