Werracle is a zero-memory AI decision oracle that lives in a single EVM storage slot. Powered by the WERR™ Sovereign Core, it returns allow, veto and dynamic-fee verdicts inside the same transaction for about 20k gas, with no off-chain dependency, and its kernel is machine-checked in Lean 4.
This storage word is the entire model. Point at a byte.Verified on-chain: Matches Aurora testnet (chain 1313161555) & Devnet slot 4 (cx: -93061, cy: 14417, zoom: 2949120, mode: 1)
bytes32
~20kexecution gas per decision
1,000 / 1,000sealed tests passed
40Lean 4 theorems, 0 sorry
Auroralive on testnet
c = −0.743644 + 0.131826i background: the seed, rendered live
GBof weights
A neural network can't fit in a block.
Millions of float weights would need more than 15 million gas for one inference. So today's AI stays off-chain, and contracts trust a signed message that arrives a block too late.
KBof proofs
ZK-ML proves it, slowly.
The model still runs off-chain. A prover spends 10 to 300 seconds, then the chain pays around 350,000 gas to verify. Correct, but never inside the attack's own transaction.
32bytes
The 32-Byte Secret Formula: WERR™ Sovereign Core.
Instead of gigabytes of neural weights or slow ZK proofs, the WERR™ Sovereign Core encodes decision intelligence into a single 32-byte storage slot. Decisions are evaluated in deterministic on-chain integer math in <1 ms. One SLOAD reads the whole brain for 100 gas.
Run the contract in your browser.
This is WerracleTripodZMod9.previewDecision(), the v2.0 core, ported integer for integer. It probes 12 points around its seed, runs z → z² + c for up to 9 steps on each, and measures how long they stay inside |z| ≤ 2. That boundedness pushes back against the caller's risk score. Above the threshold the call goes through; below it, the whole transaction reverts.
Gas measured on solc 0.8.20 with the optimizer at 200 runs, execution only. Scenario risk scores are examples; in production the calling protocol computes them.
It stops the attack inside the attack.
A flash loan borrows, manipulates and repays in one transaction. An oracle that answers next block is already too late. Werracle answers in the middle, and a revert undoes everything before it.
The size and impact thresholds here are an illustrative policy; on-chain, the verdict comes from decideNoul().
Gas for one inference.
Log scale. Every extra step to the right costs ten times more.
Neural net on EVMexceeds a block
>15,000,000
ZK-ML verifierplus 10–300 s off-chain
~350,000
Werraclesame transaction
~20k
10k100k1M10M
Traditional ML on EVM
ZK-ML
Werracle
Latency
Cannot run in a block
10–300 s proof
< 1 ms, same transaction
On-chain footprint
Gigabytes of tensors
Kilobytes of keys
One 32-byte slot
Flash-loan defense
Impossible
Proof arrives too late
Atomic revert
External dependency
Required
Off-chain prover
None
Formal verification
None
Circuit only
40 Lean 4 theorems
Guarding NEAR Intents before they are signed.
Werracle sits in front of NEAR chain signatures as a pre-signing reflex. Clean intents pass through to Base or Ethereum; sandwich and flash-loan patterns are vetoed before a signature exists. Built for NEAR Hackathon 2026, tracks Unstoppable DeFi and AI Security.
werracle.noul()
intents from pcworm.nearsigned and broadcast
NOUL = 1
Clean swap intent
Volatility 25 bps. Approved in 12.6 µs and 21,438 gas; the chain signature is broadcast.
NOUL = 0
Predatory sandwich
Risk 75%. Vetoed in 13.1 µs; the signature is never produced and no funds move.
NOUL = 1
Agent-to-agent payment
A sub-cent API micropayment between autonomous agents, approved in 6.1 µs.
The Lean 4 kernel checks that every escape loop halts, that Q16.16 squares can never overflow int64, and that gas stays under a fixed ceiling. No sorry, and no axioms beyond Lean's standard three.
Instant B2B API subscription (1-Click Base USDC, Multi-Chain USDT/USDC, or iyzico 3D Credit Card) with downloadable PDF Commercial Invoice, plus verified grant receiving addresses.
EVM Treasury — Base / ETH / Arbitrum / BSC (USDC & USDT)
0x4945ef6e124eea2176ddf050b33db42b0ae8c7f7
USDT, TRC20 (TRON network)
TLMhaDJTVYBHBSGJ9nCQGLvqnYFPsBgLJu
ITouch Systems (Commercial Operating Layer) ITouch Bilişim Sistemleri Mühendislik Danışmanlık Sanayi ve Ticaret Limited Şirketi Çukurova Teknokent, Adana, Türkiye • Yüreğir V.D. 4690944558 • MERSİS 0469094455800001
Company Partners:Volkan Dağlı (Co-Founder, Major Partner & CTO, pcworm.near) & Bekirhan Dağlı (Partner & CEO — Environmental Engineer; ex-Cybersecurity Industry Specialist & ex-TİM-TEB Girişim Evi Project Manager). 8-Person Commercial & R&D Team (2 Partners + 6 Specialists): In-House Payroll: Burak Salar (Mechatronics Eng. & MBA), Fatih İlkin Sercan (Economist & M.Sc. Capital Markets/Stock Exchange, Marmara Univ.). Contracted Partner Specialists: Mustafa Kalender (Computer Eng., Tetra Ar-Ge), Mustafa Ünal (Certified Software Dev Master & Master Instructor / Usta Öğretici) (Tetra Ar-Ge), Prenses Metin (Computer Programmer, Gifted Coder Technology), Semih Salar (Business Admin, Türeken Ajans). Exclusive commercial license & trademarks (Werr®, Werracle®, Answerr®).
Academic & Patent Layer:Volkan Dağlı (Anadolu University), Dr. Zerrin Dağlı (Mersin University — Academic Advisor & Co-Author, non-commercial), Dağhan Dağlı (Toros University — Toros Science High School — Research Intern, non-commercial). Patents TR 2026/016285 & TR 2026/016633 jointly held with full licensing power of attorney vested in Volkan Dağlı.