mirror of
https://github.com/luxfi/dex.git
synced 2026-09-24 00:26:31 +00:00
Add pre-trade eligibility checks and post-trade settlement hooks to support regulated securities trading (US Reg D/A/CF, UK FCA, SG MAS). - EligibilityChecker interface for KYC/AML/accreditation verification - SettlementHandler interface for transfer agent and on-chain settlement - MarketConfig with asset classification, transfer restrictions, and jurisdiction-based controls (whitelist/blacklist) - SecuritiesMarket wraps AdvancedOrderBook with compliance enforcement - StandardEligibilityChecker for common restriction patterns - SingleMatchMode for one-fill-then-cancel markets - 23 tests covering accreditation, jurisdiction, max holders, min notional, ROFR, and end-to-end match-with-settlement flows