Skip to content

Latest commit

 

History

History
232 lines (207 loc) · 6.94 KB

IPriceOracle.md

File metadata and controls

232 lines (207 loc) · 6.94 KB

IPriceOracle.sol

View Source: contracts/interfaces/IPriceOracle.sol

↘ Derived Contracts: FakePriceOracle

IPriceOracle

Functions

update

function update() external nonpayable

Arguments

Name Type Description
Source Code
function update() external;

consult

function consult(address token, uint256 amountIn) external view
returns(amountOut uint256)

Arguments

Name Type Description
token address
amountIn uint256
Source Code
function consult(address token, uint256 amountIn) external view returns (uint256 amountOut);

consultPair

function consultPair(uint256 amountIn) external view
returns(uint256)

Arguments

Name Type Description
amountIn uint256
Source Code
function consultPair(uint256 amountIn) external view returns (uint256);

Contracts