add dppOracle

This commit is contained in:
owen05
2021-06-15 16:42:16 +08:00
parent c7202eeae7
commit d02b9b0eb8
9 changed files with 787 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
/*
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);
}