Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor events/logic for indexing support #321

Merged
merged 58 commits into from
Jul 19, 2023
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
73dab3b
Add backwards-compatible taker ID support (draft)
alnoki Jun 29, 2023
f01cf2f
Implement FillEvent support, update docs/changelog
alnoki Jun 30, 2023
dd839d2
Add common market order ID for fills/post, docs
alnoki Jun 30, 2023
bac3bf2
Update changelog for PR linking
alnoki Jun 30, 2023
a8634fd
Remove unnecessary parentheses
alnoki Jun 30, 2023
4aec09e
Add draft MarketEvents struct
alnoki Jul 3, 2023
c5aa317
Add MarketEventHandles struct, draft MatchEvent
alnoki Jul 5, 2023
1befb8a
Move user handles to be under user account
alnoki Jul 5, 2023
9c135b1
Fix fill event taker order ID algo, broken tests
alnoki Jul 5, 2023
308c76f
Add draft LimitOrderEvent support
alnoki Jul 6, 2023
69f05ea
Clarify deprecation/upgrade policy
alnoki Jul 6, 2023
58a7aa9
Rename PlaceLimitOrderEvent, pack_x_event helpers
alnoki Jul 6, 2023
1cbc312
Add PlaceMarketEvent support
alnoki Jul 7, 2023
9985609
Add SwapEvent support
alnoki Jul 7, 2023
c23189a
Add TradeSummary struct, refactor swap events
alnoki Jul 7, 2023
308f917
Rename TakerFillSummaryEvent
alnoki Jul 7, 2023
88cd686
Merge branch 'main' into market-events
alnoki Jul 7, 2023
7fbc736
Rename struct creation helpers
alnoki Jul 10, 2023
fd2f570
Update fee schema to be per fill, not per trade
alnoki Jul 10, 2023
88b06cd
Merge branch 'main' into market-events
alnoki Jul 11, 2023
d7fe4ac
Eliminate redundant market-level emissions
alnoki Jul 11, 2023
bb1a575
Add ChangeOrderSizeEvent support
alnoki Jul 11, 2023
2e227e5
Add CancelPostedOrderEvent support
alnoki Jul 11, 2023
d341906
Clean up market module struct commentary
alnoki Jul 11, 2023
b227eb3
Add cancel reason enum support
alnoki Jul 12, 2023
1610c4e
Update cancel schema/reasons for non-post orders
alnoki Jul 13, 2023
1e4140d
Remove automatic adjustment of market order size
alnoki Jul 13, 2023
662454b
Update cancel order events for swappers
alnoki Jul 13, 2023
331ef85
Add limit order cancel event support
alnoki Jul 13, 2023
ddbdeb4
Use `Table` instead of `Tablist` for event handles
alnoki Jul 13, 2023
aca841a
Update get open order to return option
alnoki Jul 14, 2023
4b3276a
Update new implementations to use `order_id`
alnoki Jul 14, 2023
485549c
Add handle info getter view function support
alnoki Jul 14, 2023
212fa64
Remove extraneous parameters/acquisitions
alnoki Jul 14, 2023
4948d60
Consolidate event handles for market account
alnoki Jul 14, 2023
1f68516
Consolidate market-level event handles
alnoki Jul 14, 2023
8567b81
Update `NO_TAKER_ADDRESS` emission support
alnoki Jul 15, 2023
b286ae4
Optimize limit order event emission
alnoki Jul 15, 2023
2f8998b
Optimize assorted event emission calls
alnoki Jul 16, 2023
af2df86
Consolidate order cancel event emission
alnoki Jul 16, 2023
d495754
Optimize loopwise fee computation/assessment
alnoki Jul 16, 2023
fa31706
Manually inline runtime market ID calculations
alnoki Jul 17, 2023
3933509
Update doc/func comments for user module
alnoki Jul 17, 2023
1ef9566
Update doc/func comments for market module
alnoki Jul 17, 2023
35f8596
Remove needles acquires diffs, tweak comments
alnoki Jul 18, 2023
9ed03ef
Remove MakerEvent type enum, update module doc
alnoki Jul 18, 2023
2bb4663
Add constant getter tests
alnoki Jul 18, 2023
de22d02
Comment out inline directives for coverage testing
alnoki Jul 18, 2023
3afff45
Adjust runtime helper func inline status
alnoki Jul 18, 2023
a32e6f4
Add user tests, test helper funcs
alnoki Jul 18, 2023
309a87d
Address coverage gaps in market module tests
alnoki Jul 18, 2023
f856b75
Address cross-module invocation coverage gaps
alnoki Jul 18, 2023
30e2fe1
Address coverage gap for swapper event handles
alnoki Jul 18, 2023
464a7c9
Uncomment inline keyword now that coverage is 100%
alnoki Jul 18, 2023
83a3f06
Update module doc func indices, dependency charts
alnoki Jul 18, 2023
af94b67
Fix typos, build docs
alnoki Jul 18, 2023
4237cb7
Fix doc linking, dep chart
alnoki Jul 18, 2023
d241602
Re-build docs for typo fixes
alnoki Jul 18, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion doc/doc-site/docs/move/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,21 @@ Econia Move source code adheres to [Semantic Versioning] and [Keep a Changelog]

### Added

- Assorted view functions ([#287], [#301]).
- Assorted view functions ([#287], [#301], [#315]).
- Fill events with common market order ID ([#315]).

### Deprecated

- [`market::OrderBook.taker_events`](https://github.com/econia-labs/econia/blob/v4.0.2-audited/src/move/econia/sources/market.move#L587) ([#315])
- [`market::Orders`](https://github.com/econia-labs/econia/blob/v4.0.2-audited/src/move/econia/sources/market.move#L3337) ([#301])
- [`market::TakerEvent`](https://github.com/econia-labs/econia/blob/v4.0.2-audited/src/move/econia/sources/market.move#L600) ([#315])
- [`market::index_orders_sdk()`](https://github.com/econia-labs/econia/blob/v4.0.2-audited/src/move/econia/sources/market.move#L3362) ([#287])
- [`move-to-ts`](https://github.com/hippospace/move-to-ts) attributes ([#292])

[#287]: https://github.com/econia-labs/econia/pull/287
[#292]: https://github.com/econia-labs/econia/pull/292
[#301]: https://github.com/econia-labs/econia/pull/301
[#315]: https://github.com/econia-labs/econia/pull/315
[keep a changelog]: https://keepachangelog.com/en/1.0.0/
[semantic versioning]: https://semver.org/spec/v2.0.0.html
[unreleased]: https://github.com/econia-labs/econia/compare/v4.0.2-audited...HEAD
Loading