Skip to content

deal manager secondary trades#109

Open
Detoo wants to merge 24 commits into
feat/legionfrom
feat/deal-manager-secondary-trades
Open

deal manager secondary trades#109
Detoo wants to merge 24 commits into
feat/legionfrom
feat/deal-manager-secondary-trades

Conversation

@Detoo

@Detoo Detoo commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

TODO

  • Contract size too large. Will move stuff to storage
  • Merge new CyberCertPrinter functions
  • Add indexer tests for cert transfer history
  • Review against specs and add more tests
  • All interfaces are placeholders for unit-test purposes (i.e. method names are not final)

Added

  • Secondary Trading arm of DealManager
  • Partial fills for Secondary Trading
  • Indexer tests for Secondary Trading

Updated

  • Spec: decided not to extend LexScroWLite with secondary trade logic because the overlaps between primary and secondary trades turns out to be too small to worth sharing the same base contract

    • The underlying NFT pathways are very different. If we implement both inside LexScroWLite, they will be mostly non-overlapping if...else branches. Why risking re-audit LexScroWLite if most of its codes are re-written?
    • However, secondary trading logic will still live on DealManager through a dedicated storage SecondaryTradeStorage; this way we don't need to deploy a new manager (and its factory)
  • Refactoring: convert LexScroWLite into a pure library by merging it with LexScrowStorage. This is for reducing DealManager contract size. No behavioral changes, no ABI changes, no migration needed

    • no migration needed because LexScroWLite alone is stateless: all its app data is already stored in LexScrowStorage and will continue be so after the refactoring

… Add tests against real CyberAgreementRegistry
…ry. Misc housekeeping to library interfaces & dependencies
@Detoo Detoo force-pushed the feat/deal-manager-secondary-trades branch from a3839a2 to 25787d7 Compare June 15, 2026 06:13
@Detoo Detoo changed the base branch from develop to feat/legion June 24, 2026 16:25
…use real IssuanceManager and CyberCertPrinter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant