Offer Owners
Offer owners is the last field that is really easy to index. There is an immutable mapping between an offer ID and its owner. An offer is unique by ID and by market.
| name | type | description | mutable |
|---|---|---|---|
| offer ID | uint40 | The offer ID, defined below. | ❌ |
| market ID | bytes32 | The market ID on which the offer is consumed. | ❌ |
| maker | address | The owner of the offer. | ❌ |
The following events are emitted for offer ownership:
/// @notice Emitted when a new offer is created.
event NewOffer(
bytes32 indexed market,
uint40 indexed offerId,
address indexed maker,
uint256 gives,
int24 tick,
uint32 expiry,
uint24 provision
);