Skip to content

FixedPriceOracle

senamakel edited this page Sep 1, 2024 · 1 revision

Solidity API

FixedPriceOracle

A contract that returns a fixed price

constructor

constructor(int256 _price, uint8 _decimals) public

getPrice

function getPrice() public view returns (int256 price)

getPriceFor

function getPriceFor(uint256 amount) public view returns (int256)

Clone this wiki locally