Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DenomTrace

DenomTrace is a monotonically increasing data type that can be compared against another DenomTrace for the purposes of updating and freezing clients

Normally the RevisionDenomTrace is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionDenomTrace gets reset

Hierarchy

Index

Constructors

  • new DenomTrace(path: string, base_denom: string): DenomTrace

Properties

base_denom: string
path: string

Methods

  • toAminoJSON(isClassic?: boolean): string
  • Parameters

    • Optional isClassic: boolean

    Returns string

  • toJSON(isClassic?: boolean): string
  • Parameters

    • Optional isClassic: boolean

    Returns string

  • toProto(): DenomTrace