Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 655 Bytes

PriceFeedInterface.md

File metadata and controls

24 lines (18 loc) · 655 Bytes

PriceFeedInterface

Source file ../contracts/PriceFeedInterface.sol.



// BK Ok
pragma solidity ^0.4.25;

// ----------------------------------------------------------------------------
// PriceFeed Interface - _live is true if the rate is valid, false if invalid
// ----------------------------------------------------------------------------
// BK Ok
contract PriceFeedInterface {
    // BK Ok - View function interface
    function name() public view returns (string);
    // BK Ok - View function interface
    function getRate() public view returns (uint _rate, bool _live);
}