Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor events/logic for indexing support (#321)
* Add backwards-compatible taker ID support (draft) * Implement FillEvent support, update docs/changelog * Add common market order ID for fills/post, docs * Update changelog for PR linking * Remove unnecessary parentheses * Add draft MarketEvents struct * Add MarketEventHandles struct, draft MatchEvent * Move user handles to be under user account * Fix fill event taker order ID algo, broken tests * Add draft LimitOrderEvent support * Clarify deprecation/upgrade policy * Rename PlaceLimitOrderEvent, pack_x_event helpers * Add PlaceMarketEvent support * Add SwapEvent support * Add TradeSummary struct, refactor swap events * Rename TakerFillSummaryEvent * Rename struct creation helpers * Update fee schema to be per fill, not per trade * Eliminate redundant market-level emissions * Add ChangeOrderSizeEvent support * Add CancelPostedOrderEvent support * Clean up market module struct commentary * Add cancel reason enum support * Update cancel schema/reasons for non-post orders * Remove automatic adjustment of market order size * Update cancel order events for swappers * Add limit order cancel event support * Use `Table` instead of `Tablist` for event handles * Update get open order to return option * Update new implementations to use `order_id` * Add handle info getter view function support * Remove extraneous parameters/acquisitions * Consolidate event handles for market account * Consolidate market-level event handles * Update `NO_TAKER_ADDRESS` emission support * Optimize limit order event emission * Optimize assorted event emission calls * Consolidate order cancel event emission * Optimize loopwise fee computation/assessment * Manually inline runtime market ID calculations * Update doc/func comments for user module * Update doc/func comments for market module * Remove needles acquires diffs, tweak comments * Remove MakerEvent type enum, update module doc * Add constant getter tests * Comment out inline directives for coverage testing * Adjust runtime helper func inline status * Add user tests, test helper funcs * Address coverage gaps in market module tests * Address cross-module invocation coverage gaps * Address coverage gap for swapper event handles * Uncomment inline keyword now that coverage is 100% * Update module doc func indices, dependency charts * Fix typos, build docs * Fix doc linking, dep chart * Re-build docs for typo fixes
- Loading branch information
ddd1900
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
econia – ./
econia-econia-labs.vercel.app
econia-git-main-econia-labs.vercel.app
dev.econia.exchange
econia.vercel.app