MgvReader
Configuration view functions
function configInfo(olKey)
configInfo(olKey)function configInfo(OLKey memory olKey)
external view
returns (GlobalUnpacked memory _global, LocalUnpacked memory _local);function globalUnpacked()
globalUnpacked()function globalUnpacked()
external view
returns (GlobalUnpacked memory);function localUnpacked(olKey)
localUnpacked(olKey)Offer view functions
function offerInfo(olKey, offerId)
offerInfo(olKey, offerId)Offer list view functions
Function isEmptyOB(olKey)
isEmptyOB(olKey)Function offerListEndPoints(olKey, fromId, maxOffers)
offerListEndPoints(olKey, fromId, maxOffers)Function packedOfferList(olKey, fromId, maxOffers)
packedOfferList(olKey, fromId, maxOffers)Function offerList(olKey, fromId, maxOffers)
offerList(olKey, fromId, maxOffers)function nextOfferIdById(olKey, offerId)
nextOfferIdById(olKey, offerId)function nextOfferId(olKey, offer)
nextOfferId(olKey, offer)function prevOfferIdById(olKey, offerId)
prevOfferIdById(olKey, offerId)function prevOfferId(olKey, offer)
prevOfferId(olKey, offer)Offer list utility functions
Function minVolume(olKey, gasreq)
minVolume(olKey, gasreq)Function getProvision(olKey, gasreq, gasprice)
getProvision(olKey, gasreq, gasprice)Function getProvision(olKey, gasreq)
getProvision(olKey, gasreq)Function getFee(olKey, outVolume)
getFee(olKey, outVolume)Function minusFee(olKey, outVolume)
minusFee(olKey, outVolume)Simulation functions
Function simulateMarketOrderByTick(olKey, maxTick, fillVolume, fillWants)
simulateMarketOrderByTick(olKey, maxTick, fillVolume, fillWants)Function simulateMarketOrderByTick(olKey, maxTick, fillVolume, fillWants, accumulate)
simulateMarketOrderByTick(olKey, maxTick, fillVolume, fillWants, accumulate)Function simulateMarketOrderByVolume(olKey, takerWants, takerGives, fillWants)
simulateMarketOrderByVolume(olKey, takerWants, takerGives, fillWants)Function simulateMarketOrderByVolume(olKey, takerWants, takerGives, fillWants, accumulate)
simulateMarketOrderByVolume(olKey, takerWants, takerGives, fillWants, accumulate)Open markets tracking
function numOpenMarkets()
numOpenMarkets()function openMarkets()
openMarkets()function openMarkets(withConfig)
openMarkets(withConfig)function openMarkets(from, maxLen)
openMarkets(from, maxLen)function openMarkets(from, maxLen, withConfig)
openMarkets(from, maxLen, withConfig)function isMarketOpen(market)
isMarketOpen(market)function marketConfig(market)
marketConfig(market)function updateMarket(market)
updateMarket(market)Source Code
Last updated
Was this helpful?