// SPDX-License-Identifier: MIT pragma solidity ^0.8.24; /// @notice Minimal read interface of a Plugin (PLI) price feed proxy on XDC. /// Plugin feeds expose the widely used AggregatorV3-style read API. /// NOTE: Plugin feeds use 16, 18 or 25 decimals; always read decimals(). interface IPluginFeed { function decimals() external view returns (uint8); function description() external view returns (string memory); function latestRoundData() external view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound); } /// @notice AggregatorV3-like read surface exposed by the adapter. interface IAggregatorV3Like { function decimals() external view returns (uint8); function description() external view returns (string memory); function version() external view returns (uint256); function latestRoundData() external view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound); }