Security & Audits

Security Overview

What has been hardened, what has been tested, and what is still trust.

v1.0Last updated: 2026-10-22Ā·2Ā min readSource

The deployed contract is a hardened revision. Three P0 findings from the internal audit were fixed before deployment, and the live bytecode was re-verified byte-for-byte against the audited source.

Runtime code11,028 bytes on Base
Compilersolc 0.8.20, optimizer 200 runs, evmVersion paris
Source == deployment10 immutable slots differ, 0 unexplained bytes
Unit + invariant tests27 passing
Red-team scenarios11/11 blocked, 1 recovery path verified, 1 documented residual
On-chain attack suite43 checks, 0 failures (fork against real bytecode)

What is enforced on-chain

  • Every value-moving entry point is nonReentrant and follows checks-effects-interactions
  • The bet token can never be rescued by anyone, including the owner — a compromised key cannot drain the pool through rescueERC20
  • Fees are escrowed per market and only released by settle(); a cancelled market releases nothing
  • A cancelled market refunds 100% of gross stake, so the platform cannot keep rake on a void
  • Anyone may force a cancelled market 30 days after the close time if the operator disappears

Documented residual risk

The owner is the oracle and may bet through a fresh wallet (address-based guard only blocks the owner address). This is a trust assumption, not a code hole — decentralising settlement is the only complete fix and is scheduled for Phase 3.

Where to read more

  • Hardened Contract Spec — the exact invariants and storage layout
  • P0 Vulnerabilities Mitigation — F-01 / F-02 / F-03 in detail
  • Emergency Escape Hatch — the 30-day permissionless refund path

Prediction Arena

Powered by Vigilo Network

The Decentralized AI-Driven Prediction Market Ā· Base Mainnet Ā· USDC settled

Ā© 2026 Prediction Arena Protocol

Risk Warning

Decentralized predictions involve market risk. Positions can lose their entire value; past performance is not indicative of future results. Nothing on this site is financial advice. Only commit funds you can afford to lose.

MIT-licensed contracts Ā· no custodian

Community

Built by Vigilo Network

Ā© 2026 Prediction Arena Protocol Ā· All rights reserved.0x108D5CDC…9A5D93 Ā· Base Mainnet 8453