// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "../libs/Witnet.sol"; interface IWitOracleTrustless { event Rollup(Witnet.Beacon head); function determineBeaconIndexFromTimestamp(Witnet.Timestamp timestamp) external pure returns (uint64); function determineEpochFromTimestamp(Witnet.Timestamp timestamp) external pure returns (Witnet.BlockNumber); function getBeaconByIndex(uint32 index) external view returns (Witnet.Beacon memory); function getGenesisBeacon() external pure returns (Witnet.Beacon memory); function getLastKnownBeacon() external view returns (Witnet.Beacon memory); function getLastKnownBeaconIndex() external view returns (uint32); function rollupBeacons(Witnet.FastForward[] calldata ff) external returns (Witnet.Beacon memory); }