StablecoinRateTarget
Documentation for eth_defi.feed.stablecoin_rate.StablecoinRateTarget Python class.
- class StablecoinRateTarget
Bases:
objectOne stablecoin YAML entry that may be refreshed from CoinGecko.
Attributes summary
yaml_pathentry_indexslugsymbolcategorynamecoingecko_idcoingecko_linkcoingecko_id_sourcecoingecko_id_verified_atpeg_currencyusd_rateusd_rate_fetched_atusd_rate_updated_atpeg_ratepeg_rate_currencyrate_fetch_failed_atrate_fetch_failed_reasondepegged_atcontract_addressesMethods summary
__init__(yaml_path, entry_index, slug, ...)- __init__(yaml_path, entry_index, slug, symbol, category, name, coingecko_id, coingecko_link, coingecko_id_source, coingecko_id_verified_at, peg_currency, usd_rate, usd_rate_fetched_at, usd_rate_updated_at, peg_rate, peg_rate_currency, rate_fetch_failed_at, rate_fetch_failed_reason, depegged_at, contract_addresses)
- Parameters
yaml_path (pathlib.Path) –
slug (str) –
symbol (str) –
category (str) –
name (str) –
coingecko_id_verified_at (Optional[datetime.datetime]) –
usd_rate_fetched_at (Optional[datetime.datetime]) –
usd_rate_updated_at (Optional[datetime.datetime]) –
rate_fetch_failed_at (Optional[datetime.datetime]) –
depegged_at (Optional[datetime.datetime]) –
- Return type
None