Skip to content

No indexed fields on Cancel and Match events#

Informational

Done

Indexes were added to Cancel and Match events.

There are no indexed fields in the Cancel and Match events.

It may be useful for user interfaces or other software systems to use indexes on some of the event fields to quickly find certain events, like all the orders from a particular address, or getting information about a specific order, etc:

event Cancel(bytes32 hash, address maker, LibAsset.AssetType makeAssetType, LibAsset.AssetType takeAssetType);
event Match(bytes32 leftHash, bytes32 rightHash, address leftMaker, address rightMaker, uint newLeftFill, uint newRightFill, LibAsset.AssetType leftAsset, LibAsset.AssetType rightAsset);