2021-06-15 16:42:16 +08:00
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
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);
|
2021-12-02 16:15:22 +08:00
|
|
|
|
|
|
|
|
function prices(address base) external view returns (uint256);
|
|
|
|
|
|
|
|
|
|
function isFeasible(address base) external view returns (bool);
|
2021-06-15 16:42:16 +08:00
|
|
|
}
|