For the complete documentation index, see llms.txt. This page is also available as Markdown.

Oracle Network — Layer 6

Section 6: Oracle Network — Layer 6

RWA Tokens Platform Whitepaper · Version 10.0 Groovy Company, Inc. · May 2026 Document Reference: RWA-ORACLE-SPEC-001 v2.0

The Oracle Network supplies seven categories of off-chain data to the on-chain compliance program. All oracles use Ed25519 attestation; all signatures are verified by Solana's native Ed25519 precompile. Module-aware oracles (NAV for Module 2, Classification for Module 3) extend the V8 five-oracle baseline.


6.1 Architecture Principles

6.1.1 Ed25519 Attestation Universally

Every oracle attestation is signed by an authorized off-chain relay using Ed25519. The relay's public key is bound to the oracle PDA at initialization and cannot be changed without governance action. Signature verification uses Solana's native Ed25519 precompile (instruction Ed25519SigVerify1), which costs ~3,000 CU per signature and is the most efficient signature-verification path on Solana.

6.1.2 Per-Slot Freshness for Critical Oracles

Custody Oracle (Empire) attestations are required per Solana slot (~400 ms cadence). Stale attestations cause Control CV-02 to reject transfers. This is the highest-frequency oracle in the system and provides the architectural basis for "compliance enforcement at every transfer."

6.1.3 Module-Conditional Reading

V10's Transfer Hook reads module-specific oracles only when applicable:

Oracle
Read When

Custody Oracle

Always (M1, M2, M3)

OFAC Oracle

Always (M1, M2, M3)

AML Oracle

Always (M1, M2, M3)

TWAP Oracle

Always (M1, M2, M3)

EDGAR Oracle

Module 1 only

NAV Oracle

Module 2 only

Classification Oracle

Module 3 only

This conditional reading is what allows V8 mints (module = 1) to execute exactly as in V8 — they do not load NAV or Classification oracle accounts.

6.1.4 Three-Provider Redundancy

Each oracle category is fed by three independent off-chain relay providers across separate cloud infrastructure (AWS, GCP, Azure). Control CV-40 (Oracle Consensus Failure) halts the affected category if fewer than 2 of 3 providers are reachable for more than 5 minutes.


6.2 Oracle Category 1 — Custody Oracle (Empire Stock Transfer)

6.2.1 Purpose

The Custody Oracle stores Empire Stock Transfer's Ed25519-signed attestation of the underlying equity backing the mint 1:1. It is the architectural anchor for Pillar 4 (True Equity Backing 1:1) of Category 1 Model B.

6.2.2 PDA Schema

6.2.3 Attestation Flow

6.2.4 Slot Freshness Enforcement

Control CV-02 (CustodyOracleUnavailable) rejects transfers where:

In practice, Empire's signing service operates a continuous loop that signs every Solana slot, with monitoring on signing-service health and automatic failover to backup signing infrastructure. Control CV-40 halts the affected mint if the oracle stops updating beyond a tolerance window (default 10 slots / ~4 seconds for warning; 75 slots / ~30 seconds for halt).


6.3 Oracle Category 2 — OFAC Oracle

6.3.1 Purpose

Per-wallet OFAC / SDN sanctions screening. Used by Controls SX-08, SX-09, SX-10, SX-34, SX-37.

6.3.2 PDA Schema

6.3.3 Bloom Filter Design

The OFAC SDN list contains millions of addresses across all blockchain types. To make per-transfer OFAC screening computationally feasible, the platform encodes Solana-relevant sanctioned addresses into a Bloom filter:

  • Filter size: 16,384 bytes = 131,072 bits

  • Hash functions: 7 (SipHash-2-4 with 7 distinct seeds)

  • False-positive rate: ~1% at ~50,000 sanctioned addresses

  • Membership query: O(7) hash operations + 7 bit-tests; ~500 CU per query

A Bloom positive triggers a more expensive secondary check (full address-list lookup against an extended OFAC PDA). True positives are rare; the filter's false-positive rate adds modest latency to a small fraction of transfers.

6.3.4 Update Cadence

OFAC SDN feed is updated daily (and ad-hoc on emergency designations). Empire's relay polls the OFAC API hourly and re-signs the oracle when the feed version changes. Control SX-10 (StaleSanctionsOracle) rejects transfers where:


6.4 Oracle Category 3 — AML Oracle

6.4.1 Purpose

Per-wallet AML risk scoring via Chainalysis Know Your Transaction (KYT) and TRM Labs. Used by Control SX-11.

6.4.2 PDA Schema (Per-Wallet)

6.4.3 On-Demand Lookup

AML attestations are not pre-computed for every wallet. They are computed:

  • At Empire onboarding (initial assessment)

  • On every transfer involving the wallet (re-fetched if AML PDA stale)

  • On compliance review escalation

The AmlOracle PDA per wallet is created on first transfer and updated every 24 hours by the AML relay polling Chainalysis and TRM APIs.

6.4.4 Three-Tier System (Control SX-11)

risk_score Range

AML Decision

Action

0–30

Approve

Transfer proceeds

31–70

Enhanced Review

Transfer proceeds; flagged for compliance officer review

71–100

Reject

Transfer reverts with HighRiskWallet (Error 6006)


6.5 Oracle Category 4 — TWAP Oracle (Pyth Network)

6.5.1 Purpose

Time-weighted average price reference for circuit breakers (CB-21 core, CB-26 price impact). Used to detect anomalous price movements.

6.5.2 PDA Schema

6.5.3 Per-Slot TWAP Update

The TWAP relay reads Pyth Network's price feed for the mint every Solana slot and updates the rolling window. Pyth provides per-slot price publishing through its dedicated price-feed program; the platform's TWAP relay aggregates the per-slot prices into 24-hour and 5-minute TWAPs.

For ST22 mints with active CEDEX trading, the TWAP is computed across CEDEX trading activity. For mints in pre-trading state, the TWAP defaults to the most recent NAV (Module 2) or initial offering price (Modules 1, 3).


6.6 Oracle Category 5 — EDGAR Oracle (Module 1 Only)

6.6.1 Purpose

SEC EDGAR filing surface for issuer-distress signal generation in Layer 9 IDOS. Module 1 only, since EDGAR filings are made by SEC-reporting companies.

6.6.2 PDA Schema

6.6.3 EDGAR NLP Pipeline

The EDGAR relay performs:

  1. EDGAR API polling (per filing publication)

  2. Filing download and parsing

  3. NLP-based distress-signal extraction (IDOS scoring)

  4. Material-event detection (8-K classification)

  5. Beneficial-ownership change detection (13D/G)

  6. Material weakness in internal controls flag (10-K Item 9A)

  7. Going-concern flag (10-K / 10-Q auditor commentary)

The IDOS signal is consumed by Layer 9; it does not directly halt transfers but informs compliance officer review and Control 42 manual freeze consideration.


6.7 Oracle Category 6 — NAV Oracle (Module 2 Only)

6.7.1 Purpose

Per-mint NAV with authorized-appraiser Ed25519 signature. Used by Control CB-21 NAV-deviation variant. Documented in full in Section 9.

6.7.2 PDA Schema

6.7.3 Appraiser Authorization

The authorized appraiser's Ed25519 public key is bound at NAV Oracle initialization. The appraiser cannot be changed without tripartite-concurrence governance (SAE issuer + appraiser + Empire). The appraiser must be:

  • State-licensed real-estate appraiser in the property's jurisdiction

  • USPAP-compliant

  • E&O insurance at platform-required levels

  • KYC and KYB by Empire Stock Transfer

6.7.4 Reappraisal Cadence

The NAV attestation is valid only within SecurityConfig.reappraisal_cadence_secs (default 7,776,000 = 90 days). Beyond cadence, Control CB-21 NAV variant rejects transfers with NavReappraisalOverdue (6021-NAV-STALE).

6.7.5 Anti-Fat-Finger Guard

NAV updates are limited to ±50% of the prior NAV in a single update. Larger revisions require two-step submission with platform compliance review.


6.8 Oracle Category 7 — Classification Oracle (Module 3 Only)

6.8.1 Purpose

Per-mint federal-classification status for Module 3 BAE basin assets. Used by Control REG-42 federal-action variant. Documented in full in Section 10.

6.8.2 PDA Schema

6.8.3 Authorized Classification Relay

The relay polls authoritative sources continuously:

Source
Cadence
Polled For

Federal Register API

Every 15 minutes

§232 actions, EO actions, DPA actions

USGS publications

Hourly

Critical Minerals List changes

DOE notices

Hourly

Critical Materials Strategy events

BLM notices

Hourly

Land-use actions affecting concessions

Office of the President

Per publication

EO publications

Three-provider redundancy across separate cloud infrastructure ensures no single relay failure halts Module 3 operations.

6.8.4 60-Minute SLA

Detection-to-enforcement latency budget (full breakdown in Section 10.6.3):

Phase
Target
Maximum

Federal event publication → relay polling cycle

0–15 min

15 min

Pattern detection → compliance officer notification

< 1 min

5 min

Compliance officer review (high-impact)

< 15 min

30 min

Ed25519 signing + Solana submission

< 1 min

5 min

Solana confirmation

< 1 min

5 min

Total ceiling

< 30 min target

60 min

6.8.5 Staleness Enforcement

SecurityConfig.classification_max_age_secs defines the maximum oracle staleness (default 86,400 = 24 hours). Beyond this, REG-42 federal-action variant rejects transfers with ClassificationOracleStale (6042-FED-STALE).


6.9 Cross-Oracle Coordination

6.9.1 Oracle Consensus (Control CV-40)

Control CV-40 (Oracle Consensus Failure) requires that for each oracle category, at least 2 of 3 redundant relay providers be reachable within 5 minutes. If consensus drops, the affected category halts trades on affected mints. The consensus check is per-category, not global — a Custody Oracle consensus failure halts all mints, while a NAV Oracle consensus failure halts only Module 2 mints.

6.9.2 Oracle Failure Cascading

Oracle failures cascade as follows:

Failure
Effect

Custody Oracle stale

All transfers on affected mint halt (CV-02, then CV-40)

OFAC Oracle stale

All transfers across all mints halt (SX-10)

AML Oracle missing for wallet

Transfer involving that wallet halts pending AML re-fetch

TWAP Oracle stale

Circuit breaker controls cannot evaluate; CB-21 core defaults to halt

EDGAR Oracle stale (M1)

IDOS scoring degraded; no transfer halt

NAV Oracle stale (M2)

All Module 2 transfers on affected mint halt (CB-21 NAV variant)

Classification Oracle stale (M3)

All Module 3 transfers on affected mint halt (REG-42 federal variant)

6.9.3 Recovery Semantics

Oracle
Recovery

Custody

Auto-resume on next valid Empire attestation

OFAC

Auto-resume on next valid relay attestation

AML

Auto-resume per wallet on next AML re-fetch

TWAP

Auto-resume on next valid Pyth update

EDGAR

N/A (no halt to recover from)

NAV (M2)

Auto-resume on next valid appraiser attestation within reappraisal cadence

Classification (M3)

Auto-resume on next valid relay attestation with federal_action_active = false

All recoveries are automatic. No manual unfreeze actions are required for oracle-driven halts.


6.10 Oracle Network and SEC Category 1 Model B

The Oracle Network is foundational to satisfying Pillar 4 (True Equity Backing 1:1) and Pillar 6 (Investor Protection — compliance enforcement at every transfer):

Pillar
Oracle Contribution

Pillar 4 — True Equity Backing

Custody Oracle Ed25519 attestation per slot; verified by Control CV-01 on every transfer

Pillar 6 — Investor Protection

OFAC, AML, TWAP, NAV (M2), Classification (M3) feed Transfer Hook controls executing on every transfer

Without continuous, signed oracle attestations, neither pillar could be satisfied as architectural property. The Oracle Network is what allows the platform's compliance posture to be cryptographic and continuous rather than periodic and audit-mediated.


RWA Tokens Whitepaper V10 — Section 6 — Confidential — Groovy Company, Inc.

Last updated

Was this helpful?