Module token_config

Source
Expand description

Definitions related to token config.

Structs§

FeedConfig
Price Feed Config.
TokenConfig
TokenConfigFlagContainer
Flags container generated by the macro.
TokenFlagIter
An iterator over the variants of TokenFlag
TokenRecord
A record of token config.
TokensCollector
Tokens Collector.
TokensWithFeed
Tokens with feed.
UpdateTokenConfigParams

Enums§

TokenConfigError
Token config error.
TokenConfigFlag
Token Flags.
TokenFlag
Token Flags.

Constants§

DEFAULT_HEARTBEAT_DURATION
Default heartbeat duration for price updates.
DEFAULT_PRECISION
Default precision for price.
DEFAULT_TIMESTAMP_ADJUSTMENT
Default timestamp adjustment.
MAX_TREASURY_TOKEN_FLAGS
Max number of treasury token flags.

Traits§

TokenMapAccess
Read Token Map.

Functions§

token_records
Collect token records for the give tokens.