heads

heads

function heads(
        address base,
        address quote
    ) public view returns (uint256 bidHead, uint256 askHead);
Returns highest bid and lowest ask in base/quote pair orderbook.

Parameters

Name
Type
Description

base

address

Address of the base asset for the trading pair.

quote

address

Address of the quote asset for the trading pair.

Returns

  • uint256 bidHead : Highest bid price, head of the bid price linked list.

  • uint256 askHead : lowest ask price, head of the ask price linked list.

Last updated