addTradePair()

addTradePair() is a function to add token pair to dex app.

Here is a description of the arguments:

function addTradePair(
         bytes32 _tradePairId,
         address _baseAssetAddr,
         uint8 _baseDisplayDecimals,
         address _quoteAssetAddr,
         uint8 _quoteDisplayDecimals,
         uint _minTradeAmount,
         uint _maxTradeAmount)

Last updated