pragma solidity ~0.8.17;
import "./IERC20PriceOracle.sol";
import "./StringUtils.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/introspection/IERC165.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
interface PriceAggregatorInterface {
function assetPrices(address asset) external view returns (uint);
}
interface IERC20Extended {
function decimals() external view returns (uint8);
}
error UnSupportedERC20Token();
contract FixedERC20PriceOracle is IERC20PriceOracle, Ownable {
using StringUtils for *;
uint256 public immutable price1Letter;
uint256 public immutable price2Letter;
uint256 public immutable price3Letter;
uint256 public immutable price4Letter;
uint256 public immutable price5Letter;
PriceAggregatorInterface public priceAggregator;