ConstantOracle
Return a constant oracle price
Functions
constructor
Constant oracle constructor
Parameters
Name | Type | Description |
---|---|---|
| address | Chi Core for reference |
| uint256 | the price to report in basis points |
update
updates the oracle price
no-op, oracle is fixed
isOutdated
determine if read value is stale
always false, oracle is fixed
read
read the oracle price
Return Values
Name | Type | Description |
---|---|---|
| struct Decimal.D256 | constant oracle price |
| bool | true if not paused |
Last updated