mktPrice

mktPrice

function mktPrice(
        address base,
        address quote
    ) public view returns (uint256);
Returns market price in base/quote ratio.

Parameters

NameTypeDescription

base

address

Address of the base asset for the trading pair.

quote

address

Address of the quote asset for the trading pair.

Returns

  • uint256 mktPrice : market price in base/quote ratio.

Last updated