Files
2022-04-24 11:21:14 +08:00

17 lines
395 B
Solidity

/*
Copyright 2021 DODO ZOO.
SPDX-License-Identifier: Apache-2.0
*/
pragma solidity 0.6.9;
interface IOracle {
function getPrice(address base) external view returns (uint256 latestPrice,bool isValid,bool isStale,uint256 timestamp);
function prices(address base) external view returns (uint256);
function isFeasible(address base) external view returns (bool);
}