Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
Clarify IMedianizer isn't necessarily USD based
Browse files Browse the repository at this point in the history
In preparation for an ETHBTC feed.
  • Loading branch information
Shadowfiend committed Apr 15, 2020
1 parent 8b26cf9 commit 35393f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions solidity/contracts/external/IMedianizer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ pragma solidity 0.5.17;
interface IMedianizer {
/// @notice Get the current price.
/// @dev May revert if caller not whitelisted.
/// @return Price (USD) with 18 decimal places.
/// @return Designated price with 18 decimal places.
function read() external view returns (uint256);

/// @notice Get the current price and check if the price feed is active
/// @dev May revert if caller not whitelisted.
/// @return Price (USD) with 18 decimal places.
/// @return Designated price with 18 decimal places.
/// @return true if price is > 0, else returns false
function peek() external view returns (uint256, bool);
}

0 comments on commit 35393f9

Please sign in to comment.