IForwarder
Interface for contracts that manage liquidity on Mangrove on behalf of multiple offer makers
NewOwnedOffer
Logging new offer owner By emitting this data, an indexer will be able to keep track of the real owner of an offer
Parameters
olKeyHash
bytes32
the hash of the offer list key. This is indexed to allow RPC calls to filter on it.
offerId
uint256
the Mangrove offer id. This is indexed to allow RPC calls to filter on it.
owner
address
the offer maker that can manage the offer. It is indexed to allow RPC calls to filter on it.
offerOwners
view on offer owners.
if offerIds[i]==address(0)
if and only if this offer has no owner.
Parameters
olKeyHash
bytes32
the hash of the offer list key.
offerIds
uint256[]
an array of offer identifiers on the offer list.
Return Values
offer_owners
address[]
an array of the same length where the address at position i is the owner of offerIds[i]
ownerOf
view on an offer owner.
ownerOf(in,out,id)
is equivalent to offerOwners(in, out, [id])
but more gas efficient.
Parameters
olKeyHash
bytes32
the hash of the offer list key.
offerId
uint256
the offer identifier on the offer list.
Return Values
owner
address
the offer maker that can manage the offer.