Views on offers
Mangrove getters for offers and offer lists.
Last updated
Mangrove getters for offers and offer lists.
Last updated
best(address outbound, address inbound)
offers(address, address) / offerDetails(address, address, uint)
isLive(address, address, uint)
MgvLib.MgvStructs.OfferUnpacked
uint32
prev
Predecessor offer id (better price)
uint32
next
Successor offer id (worst price)
uint96
gives
What the offer gives (in wei units of base token of the offer's market)
uint96
wants
What the offer wants (in wei units of quote token of the offer's market)
MgvLib.OfferDetailUnpacked
address
maker
uint24
gasreq
Gas required by the offer (in gas units)
uint16
gasprice
The gas price covered by the offer bounty (in gwei per gas units)
uint24
offer_gasbase
An offer is live in a given if it can be matched during a . One can verify whether offerId
identifies a live offer in a (outboundToken
,inboundToken
) Offer List of Mangrove using this view function.
address of the offer's
Mangrove's at the time the offer was posted (in gas units)