// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; /// Oraclisium feed interface. Reads like AggregatorV3Interface; adds provenance and the pull path. struct Price { bytes32 feed; uint8 kind; int256 answer; uint64 coreBlock; uint64 readTime; uint64 seq; } interface IOraclisiumFeed { struct Provenance { string market; string dex; uint8 kind; uint64 coreBlock; uint64 readTime; uint64 landedAt; address relayer; bytes32 payloadHash; uint80 roundId; } 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); function getRoundData(uint80 roundId) external view returns (uint80, int256, uint256, uint256, uint80); function latestProvenance() external view returns (Provenance memory); function update(Price calldata p, bytes calldata signature) external returns (bool); function updateAndRead(Price calldata p, bytes calldata signature) external returns (int256 answer, uint256 updatedAt); }