Derive instant, deterministic, intra-block decision boundaries (noul, choice, score) natively inside EVM bytecode. Zero tensor matrices. 0 Bytes VRAM. ~20k gas.
Direct client-side execution of WerrMath.sol integer fixed-point arithmetic and 16-point Pareto microgrid dynamics.
All decision coordinates, security nonces, and threshold parameters pack into a single bytes32 EVM storage word. A warm SLOAD costs only 100 gas.
| Field | Bytes | Type | Example Packed Value | Description |
|---|---|---|---|---|
c_x |
00 – 07 (8B) | int64 (Q16.16) |
-48735 (-0.7436) |
Real component coordinate along Mandelbrot edge |
c_y |
08 – 15 (8B) | int64 (Q16.16) |
+8639 (+0.1318) |
Imaginary component coordinate along Mandelbrot edge |
zoom |
16 – 23 (8B) | uint64 (Q16.16) |
3276800 (50.0x) |
Resolution scaling and boundary sensitivity |
nonce |
24 – 27 (4B) | uint32 |
1048576 |
Anti-replay parameter update nonce |
threshold |
28 – 29 (2B) | uint16 (Q0.16) |
32768 (0.500) |
Normalized action trigger threshold |
mode |
30 (1B) | uint8 |
1 (DeFi Strict) |
Governance operational policy flag |
active |
31 (1B) | uint8 |
1 (Active) |
Emergency circuit-breaker state |
Halts hostile liquidity drainage within the exact same transaction before block finalization.
Werracle calculates real-time volatility without external oracles, adjusting pool LP fees dynamically between 0.05% and 0.50%.
Integrate Werracle into any EVM protocol with 3 lines of Solidity.
// SPDX-License-Identifier: BSL-1.1
pragma solidity ^0.8.20;
import "./IWerracle.sol";
contract ProtectedDeFiProtocol {
IWerracle public immutable werracle;
constructor(address _werracleAddress) {
werracle = IWerracle(_werracleAddress);
}
function executeSensitiveAction(bytes32 inputState) external payable {
// Instant intra-block AI triage (< 20,000 gas)
(bool isAllowed, uint256 score) = werracle.decideChoice{value: msg.value}(inputState);
require(isAllowed, "WERRACLE_DEFENSE_REVERT: Hostile pattern detected");
// Proceed with protected DeFi operation
}
}
0x5FbDB2315678afecb367f032d93F642f64180aa3
0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512
https://api.answerr.me:4431/werracle/rpc
⚡ REST Status: /werracle/status ↗
Official receiving addresses for Ethereum Foundation ESP, Base Ecosystem, Arbitrum, and Web3 VC grants: