econia-labs / econia

Hyper-parallelized on-chain order book for the Aptos blockchain

Home Page:https://econia.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provide alternate event emission schema

alnoki opened this issue · comments

commented

Per @qdrs:

  • New order placements have a NewOrderEvent
  • Order updates (size or price changes) generate an OrderUpdateEvent
  • Order cancellations generate an OrderCancelEvent
  • When an order is matched:
    • An OrderUpdateEvent to show size changes
    • A FillEvent including a field for how much remaining size is on order
commented

Per @bogberry consider integrating with #146

Per @bogberry consider integrating with #146

I’m not sure what you mean by "integrate." These are two entirely different proposals and you can do either without the other (or, of course, both).