add dppOracle
This commit is contained in:
12
contracts/DODOPrivatePool/intf/IOracle.sol
Normal file
12
contracts/DODOPrivatePool/intf/IOracle.sol
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user