MEV & Market-Abuse Compliance Screen
dcl_evaluate_mevScreens LLM or agent response text for market-abuse indicators like front-running, wash trading, and rug-pull language. Issues NO_COMMIT verdicts with confidence scores and regulatory references to prevent risky actions.
Instructions
POST-ACTION MEV & Market-Abuse Compliance Screen ($0.03). Text-level screen (not a mempool/transaction analyzer) for front-running/sandwich-attack language, wash trading/layering/spoofing, KYC/AML red flags (mixers, structuring, obscuring fund origin), and pump-and-dump/rug-pull language. Any critical-severity finding, or two or more major-severity findings, returns NO_COMMIT; a single major-severity finding is also returned as NO_COMMIT but with a distinctly higher confidence (~0.55 vs ~0.05-0.2 for harder violations) so downstream callers can tell a soft single flag apart from a hard multi-finding block. Each finding includes an illustrative regulatory_reference tag (MiFID II, FCA, or an EU AI Act article).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Identifier of the agent that produced the response. | |
| response | Yes | The agent or LLM response text describing or proposing an on-chain/trading action, to screen for MEV and market-abuse language. | |
| payment_id | No | Optional payment identifier returned by a previous call when payment is required |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx_hash | Yes | Hash of this record in the tamper-evident audit chain. | |
| verdict | Yes | COMMIT if the response passed the MEV/compliance screen, otherwise NO_COMMIT. | |
| findings | Yes | All matched patterns. Empty list if verdict is COMMIT. | |
| timestamp | Yes | Unix timestamp when this record was sealed. | |
| confidence | Yes | Confidence score of the verdict, from 0.0 to 1.0. | |
| input_hash | Yes | Hash of the screened text (raw content is never stored). | |
| chain_index | Yes | Sequential index of this record in the audit chain. |