I need a way to pass an arbitrary ERC-20 token symbol and get a price for it in return. The Solidity interface should look something like this:
function getPrice(string memory symbol) external view returns (uint256);
I browsed through the Chainlink docs but I didn't find something that answers my question. I only saw bespoke instances of asset price aggregators, like this contract that provides ETH/USD data on Kovan.
Does Chainlink provide an aggregator contract for AggregatorV3Interface
instances?