> For the complete documentation index, see [llms.txt](https://docs.evently.market/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.evently.market/security/audit-roadmap.md).

# Audit Roadmap

evently takes security seriously. EventlyMarkets.sol undergoes a full multi-layer audit before any public deployment.

## Current Status

| Phase                                      | Status                 |
| ------------------------------------------ | ---------------------- |
| AI audits — 7 engines                      | ✅ Complete — Q2 2026   |
| Automated tool scans — 22 tools            | ✅ Complete — Q2 2026   |
| Professional audit — two independent firms | 🔄 Scheduled — Q2 2026 |
| Evently Markets beta                       | 🔄 Q2 2026             |
| EventlyMarkets mainnet live                | 🔄 Q2 2026             |

**Total pre-audit coverage: 29 tools / engines. Zero blocking findings.**

***

## What Is Being Audited

### EventlyMarkets.sol

* **LMSR pricing** (b = 200 USDm) — automated market maker for all outcome trades
* **CLOB** — limit order book with price-time priority; caps: 200/book, 10/user/market
* **ERC-1155 shares** — on-chain position tokens per market outcome
* **Fee distribution** — 2.5% total: 1% creator · 1% treasury · 0.5% resolver (24h timelocked changes)
* **Access control** — admin, disputeResolver, marketCreatorWhitelist, traderWhitelist, ban
* **Dispute system** — participant-gated, mandatory evidence hash, monthly lottery for successful disputers
* **Emergency controls** — 72h auto-expiry pause, address ban, admin cancel orders
* **Timelocks** — treasury withdrawal (24h), resolver pool change (24h)

### EventlyProfiles.sol v1.3

* Onchain profiles, leaderboards, referrals, swap points, promo codes

### MegaETH-Specific

* REX4 compute budget compliance (gas guards in CLOB matching loops)
* Event ordering and race conditions under \~10ms block finality

***

## Pre-Audit Results Summary

### AI Engines (7 engines · 45+ findings total)

| Engine          | Blocking findings |
| --------------- | ----------------- |
| Claude Opus 4.6 | 0                 |
| GPT-4o          | 0                 |
| Gemini 1.5 Pro  | 0                 |
| Grok (xAI)      | 0                 |
| DeepSeek R1     | 0                 |
| Qwen3.5         | 0                 |
| Perplexity      | 0                 |

→ Full findings: [Consolidated AI Audit](https://docs.evently.market/security/pre-audit-consolidated.md)

### Automated Tools (22 tools)

| Tool        | Findings              | Blocking |
| ----------- | --------------------- | -------- |
| Slither     | Style + informational | 0        |
| Mythril     | No vulnerabilities    | 0        |
| Aderyn      | Low / informational   | 0        |
| Solhint     | Style warnings        | 0        |
| Halmos      | Invariants pass       | 0        |
| Echidna     | Invariants pass       | 0        |
| Medusa      | Invariants pass       | 0        |
| Foundry     | All tests pass        | 0        |
| + 14 others | Informational         | 0        |

→ Full reports: [`/audit`](https://github.com/isonips/evently-docs/tree/main/audit)

***

## Contract Addresses

MegaETH mainnet (Chain ID 4326) — verifiable on [Blockscout](https://megaeth.blockscout.com).

| Contract             | Address                                            |
| -------------------- | -------------------------------------------------- |
| USDm                 | `0xFAfDdbb3FC7688494971a79cc65DCa3EF82079E7`       |
| EventlyProfiles v1.3 | `0x9F0708145BCCD1F5B16F610cB8a75A63fA4A9a24`       |
| EventlyMarkets       | TBD — published upon professional audit completion |

***

Once the professional audit is complete, the full report will be published here and the EventlyMarkets contract address updated.
