Last updated 9 months ago
Return a constant oracle price
function constructor( address _core, uint256 _priceBasisPoints ) public
Constant oracle constructor
function update() external
updates the oracle price
no-op, oracle is fixed
function isOutdated() external returns (bool)
determine if read value is stale
always false, oracle is fixed
function read() external returns (struct Decimal.D256, bool)
read the oracle price
_core
address
Chi Core for reference
_priceBasisPoints
uint256
the price to report in basis points
[0]
struct Decimal.D256
constant oracle price
[1]
bool
true if not paused