getBaseQuote

getBaseQuote

function getBaseQuote(
    address orderbook
) external view returns (address base, address quote);
Returns the base and quote asset addresses for the given orderbook.

Parameters

NameTypeDescription

base

address

Address of the base asset for the trading pair.

quote

address

Address of the quote asset for the trading pair.

listingPrice

uint256

The price to start trading at the market rate

listingTime

uint256

The timestamp to start trading

Returns

  • (address base, address quote) if the order was successfully executed, otherwise it throws error.

Last updated