Skip to content

Latest commit

 

History

History
76 lines (45 loc) · 1.13 KB

MonoUsdPriceFeed.md

File metadata and controls

76 lines (45 loc) · 1.13 KB

MonoUsdPriceFeed

/** Is a fake price feed base on ChainLink price feed contracts. see AggregatorV3Interface

Functions

constructor

  function constructor(
    int256 _value
  ) public
  • @dev Constructor

Parameters:

Name Type Description
_value int256 6 digits precision*/

decimals

  function decimals(
  ) external returns (uint8)

description

  function description(
  ) external returns (string)

version

  function version(
  ) external returns (uint256)

setRoundData

  function setRoundData(
  ) public

getRoundData

  function getRoundData(
  ) external returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)

latestRoundData

  function latestRoundData(
  ) external returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)