We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
A contract that returns a fixed price
constructor(int256 _price, uint8 _decimals) public
function getPrice() public view returns (int256 _price)
function initialize(int256 _price, uint8 _decimals) external
function getPriceFor(uint256 amount) public view returns (int256)
function price() external view returns (uint256 _price)
Returns the price of 1 asset of collateral token quoted in 1 asset of loan token, scaled by 1e36.