Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Methods

activeDenoms

  • activeDenoms(): Promise<Denom[]>

exchangeRate

  • exchangeRate(denom: Denom): Promise<Coin | undefined>
  • Gets the Oracle module's currently registered exchange rate for the specific denomination.

    Parameters

    • denom: Denom

      denomination in which to get the exchange rate of LUNA

    Returns Promise<Coin | undefined>

exchangeRates

  • exchangeRates(): Promise<Coins>

feederAddress

  • Gets the registered feeder address associated with the validator. The feeder address is the Terra account that is permitted to sign Oracle vote messages in the validator's name.

    Parameters

    • validator: ValAddress

      validator's operator address

    Returns Promise<AccAddress>

misses

parameters

prevotes

  • Query the currently casted vprevotes, filterable by validator or denom.

    At least one of the parameters must be provided.

    Parameters

    • Optional denom: Denom

      denomination to query prevotes for

    • Optional validator: ValAddress

      validator operator address to query prevotes for

    Returns Promise<ExchangeRatePrevote[]>

votes

  • Query the currently casted votes for the exchange rate of LUNA, filterable by validator or denom.

    At least one of the parameters must be provided.

    Parameters

    • Optional denom: Denom

      denomination to query votes for

    • Optional validator: ValAddress

      validator operator address to query votes for

    Returns Promise<ExchangeRateVote[]>

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Static property
  • Static method
  • Property

Generated using TypeDoc