Module governance_api

Source

Structs§

GovernanceReadApi

Statics§

EXCHANGE_RATES
Cached static for the exchange_rates function.

Functions§

exchange_rates
Cached exchange rates for validators for the given epoch, the cache size is 1, it will be cleared when the epoch changes. rates are in descending order by epoch.
exchange_rates_prime_cache
Primes the cached function exchange_rates.