TickerUSDFeedRegistry
The TickerUSDFeedRegistry is the single source of truth for tracking the current feed addresses as well as keeping the relayers in sync on what tickers should be kept track of.
The Smart Contract API
ITickerUSDFeedRegistry
TickerFeedUpdated
Emitter when a new ticker and its corresponding feed are added
getTickerFeed
Function for fetching the Chainlink USD Price feed address for a given ticker
Parameters
Name | Type | Description |
---|---|---|
ticker | string | - The ticker symbol |
Return Values
Name | Type | Description |
---|---|---|
feedAddress | address | - Address of the Ticker<>USD Chainlink price feed |
setTickerFeed
Function for adding new ticker and its corresponding feed address to the registry
Parameters
Name | Type | Description |
---|---|---|
ticker | string | - The ticker symbol |
feedAddress | address | - Address of the Ticker<>USD Chainlink price feed |
📅 Events
Emits a
TickerFeedUpdated
event
Last updated