Part A - transfer & identity compliance
ERC-3643 tokens enforce rules through an identity registry and a compliance contract, and they can freeze holdings or force recovery. Stream those events to keep a real-time compliance picture.Stream identity and freeze events
erc3643-compliance.yaml
Attest eligibility decisions with Compose
When a new holder must be onboarded or a transfer needs an eligibility check, route it to a Compose task that verifies against your identity provider and records the outcome in a TEE. The pattern is identical to the AML screening task: fetch the verification, write an attestation on-chain, and keep the full trace. That attestation is what makes an eligibility decision defensible.Part B - market surveillance
Tokenized equities trade 24/7 on open venues, which means the market-integrity checks a broker-dealer runs - wash trading, spoofing, best execution - now run against public onchain data in real time.Detect wash trades
A wash trade is a sale with no change in beneficial ownership - the same owner on both sides, usually across two different addresses. The operative word is same: it is not enough for both parties to be known investors. You have to resolve each address to its beneficial owner and check that the two owners match. Resolve both counterparties to a beneficial-owner ID with an HTTP handler that calls your identity/KYC system, then flag trades where the two owners are equal.wash-trade-surveillance.yaml
Best execution
Compare each fill to the prevailing market price at the moment of the trade. Join your trade stream to the VWAP price feed from the tokenized-equities data layer and flag fills that executed materially outside the spread - the raw material for a best-execution report.Attest and report with Compose
A surveillance alert becomes a case, and a case becomes a filing. A Compose task enriches each alert, opens a case in your surveillance system, and - where required - files a regulatory report, with every step traced and TEE-attested. Durable execution means a required report is never dropped because a downstream API blipped.Business outcomes
- Real-time, not T+1, surveillance - abuse is flagged as it settles.
- Provable eligibility and freezes - a live compliance ledger plus TEE-attested decisions answer “who was allowed to hold this, and why?”
- One widening net - the identity graph updates a running pipeline in seconds.
- Data stays in your boundary - compliance events and identity data live in your own database.