Skip to Content
Whitepaper v18.3 · Chapter 07 / 17

Inter-Ledger Bridge: Web Swap Service

← All chapters·Normative EN specification

With the cryptographic and state model foundations established (Sections 6.2–6.10), the protocol now addresses the problem of transferring value between the two ledgers without introducing the centralized custody patterns that have historically been the primary attack surface of cross-chain infrastructure.

Axiom coverage. All mechanisms in this section satisfy §1.3 axioms by construction. Inline axiom citations are omitted except where a specific tension requires explicit reconciliation.

Genesis scope (ADR-0021). The Path-2 covenant wBND bridge and PQC oracle network specified in this section are deferred to the post-launch hardening track (2028–2029), each behind a dedicated external audit + bicameral governance activation. MVSM genesis (January 2028) ships Path-1 trustless atomic swaps only (§7.2–§7.3 — zero aggregated custodial capital, the more sovereign path). This section specifies the bridge as it will exist after the hardening-track activation, not at genesis. See ADR-0021 and ROADMAP.md.

Security attribution (normative — do not overstate). When Path-2 ships, its economic security does not rest on the oracle quorum size, nor on slashing "guaranteeing" the bridge. Oracle collateral (≈$40K genesis → ≈$210K mature @LRP) bounds the attacker's cost-to-attempt, not the extractable value-at-risk (2–3 orders of magnitude larger at $100M TVL; §7.5.6). Safety rests on two other pillars: challenger-liveness — a fraudulent LockAttestation is defeated only if ≥1 honest Bond full node submits an SPV non-inclusion challenge within 72 h (§7.5.5), a fraudulent BurnAttestation only by the owner's Self-Veto or an Aevum watchtower (§7.4.1) — and the exposure cap + backstop (max_wBND ≤ 0.5·FCRC-B, absorbed by FCRC-B via the BRR debt mechanism, §7.4.1/§12.3). Security is thus a liveness assumption, not a bonded guarantee. In particular, the 4-of-5 genesis quorum provides no subset-selection security (M = N = 5 makes VRF rotation vacuous); in that phase safety reduces to the SPV challenge plus public team identity alone. The full honest framing is §7.5.6; every summary of bridge security elsewhere must reduce to these two pillars, never to "quorum + slashing."

7.1. The Bridge Problem

The custodial dependence problem identified in §1.2 is most acute in cross-chain bridges: user assets are deposited into a custody contract on Chain A, and representative tokens are minted on Chain B. That contract becomes a concentrated honeypot — empirically confirmed by three major exploits in 2022 alone: Ronin ($625M, validator key compromise), Wormhole ($320M, signature verification bypass), and Nomad ($190M, initialization vulnerability). The common failure mode is structural: bridges aggregate capital behind a single failure domain.

The Web Swap Service eliminates this pattern via a Dual-Path Architecture — atomic swaps (Path 1) and individually covenant-locked pUTXOs with delay barriers (Path 2). No single contract or entity holds a concentrated pool of bridged assets at any time.

7.2. Dual-Path Architecture

The Web Swap Service offers two independent mechanisms for transferring value between the Bond RSC and the Aevum ESC. Users select the path that matches their trade-off preference between sovereignty and convenience:

Path 1 — Direct Atomic Swap (P2P, Bilateral). A trustless, bilateral exchange of native BND on the Bond RSC for native AEV on the Aevum ESC, executed via cross-chain Hashed Time-Locked Contracts (HTLCs). No intermediary, no wrapped token, no custody contract. Both parties must be online and willing to execute the swap. This is the ideologically pure mechanism — zero trust assumptions beyond the cryptographic guarantees of the HTLC.

Path 2 — wBND Bridge (Protocolar, Unilateral). A one-sided lock/mint mechanism where BND is locked in a covenant-restricted pUTXO on the Bond RSC, and a corresponding wrapped BND (wBND) token is minted on the Aevum ESC via oracle attestation. The reverse path burns wBND on Aevum and unlocks the original BND on Bond. This mechanism does not require a counterparty — the user interacts with the protocol directly. An AMM pool on Aevum provides instant wBND↔AEV liquidity.

The two paths coexist and serve complementary functions. Path 1 is optimal for large, negotiated transfers between sophisticated parties. Path 2 is optimal for retail users seeking instant, frictionless conversion. Neither path creates a centralized honeypot — Path 1 has no custody at all, and Path 2 distributes locked BND across individual covenant pUTXOs rather than aggregating in a single contract.

7.3. Path 1 — Direct Atomic Swap via HTLC

7.3.1. Protocol Mechanics

The cross-chain atomic swap between BND and AEV executes via a four-step HTLC protocol. The atomicity guarantee is absolute: either both legs of the swap complete, or neither does. There is no state in which one party has received funds while the other has not.

Step 1 — Submarine Commitment (Both Chains). Before the HTLC activates, both parties publish a commitment transaction on their respective chains. Alice publishes a commitment on the Bond RSC (a pUTXO containing the committed BND amount with a temporary OP_DELAY_BARRIER). Bob publishes a commitment on the Aevum ESC (a smart contract deposit of the committed AEV amount). The commitments serve as proof of intent and capital availability. The HTLC only activates after both commitments have achieved sufficient confirmations — 6 blocks on Bond (~2 hours) and 720 blocks on Aevum (~1 hour). This Submarine Commitment phase eliminates the informational asymmetry created by the temporal difference between the two chains. Neither party can observe the other's commitment status and selectively abort with an advantage.

Submarine Commitment Mechanics:

Parameter Bond RSC (Alice) Aevum ESC (Bob)
Commitment Amount Full swap amount (e.g., 100 BND) Full swap amount (e.g., 100,000 AEV)
Lock Script OP_DELAY_BARRIER <6_blocks> + OP_CHECKSIG_PQC <Alice> (refundable by Alice after commitment timeout if HTLC never activates) commitDeposit(amount, counterparty, timeout) — SCW deposits AEV into escrow contract
Commitment Timeout 36 Bond blocks (~12 hours) 8,640 Aevum blocks (~12 hours)
Confirmation Threshold 6 Bond blocks (~2 hours) 720 Aevum blocks (~1 hour)
Proceed Condition Both commitments confirmed → Alice proceeds to Step 2 (HTLC Lock) Both commitments confirmed → Bob waits for Alice's HTLC
Abort Condition If Bob's commitment is not confirmed within the timeout, Alice reclaims her BND (minus the sunk transaction fee: 1-10 Nob). Symmetric for Bob If Alice's commitment is not confirmed within the timeout, Bob reclaims his AEV (minus gas fee)

Anti-Griefing. A griefing attack (commit then disappear) costs the griefer a sunk transaction fee (1-10 Nob on Bond, 1-10 Vea on Aevum) plus the opportunity cost of locked capital during the 12-hour timeout. The counterparty's capital is returned in full after the timeout — their only loss is the same sunk fee and time. The P2P Relay (Section 7.3.3) maintains reputation scores: repeated commit-then-abandon behavior results in de-prioritization in the matchmaking relay, effectively excluding habitual griefers from the swap market.

Commitment Collateral (Anti-Free-Option). Beyond griefing, the Submarine Commitment creates a residual free option problem: a party who has committed but not yet activated the HTLC can observe market price movement during the commitment confirmation window and selectively abort if the price moves unfavorably — extracting option value at the counterparty's expense (a game-theoretic characterization was planned for §7.11, which is not in this repository — see the §7.11 note in §7.9). To eliminate this free-option extraction, each commitment requires a non-refundable commitment collateral deposit δ:

δ=0.05×swap_value

The collateral (5% of the swap value) is deposited alongside the commitment transaction and is forfeit if the depositor aborts after commitment confirmation. If the swap completes successfully, both collaterals are returned. The collateral creates a cost for exercising the free option: an aborting party forfeits δ, so the abort is rational only if the option value exceeds δ; setting δ above the plausible option value therefore deters the abort. At δ=0.05, the counterparty's option value exceeds the collateral cost only under price moves >5% during the ~2-hour confirmation window — an extremely unlikely scenario for a settlement-layer asset.

The collateral parameter δ is classified as Tier 1 (governance-adjustable within the hardcoded range [0.01,0.10]). The 5% genesis value is conservative; governance may reduce it if empirical swap abort rates are negligible, or increase it during periods of high volatility.

Capital lifecycle (no double-lock). The committed pUTXO and the HTLC pUTXO are the same capital in two states, not two independent locks. On the Bond side, the commitment output (swap amount + collateral δ) is a single pUTXO whose only permitted forward spends are (a) the refund path after the 12-hour commitment timeout, if the counterparty never confirms, or (b) consumption into the HTLC pUTXO in Step 2. Because Step 2 spends the committed pUTXO rather than creating a new one, Alice's total on-chain encumbrance at any instant is exactly the swap value plus δ — never 2×. The collateral δ is carried as a distinct sub-output of the HTLC transaction: it is returned to its depositor when that party takes the successful claim/refund branch, and is redirected to the counterparty only on a post-confirmation abort (the depositor spending the refund path before activating the HTLC). The 12-hour commitment timeout governs only the pre-activation window; once the committed pUTXO is spent into the HTLC, the HTLC's adaptive timelocks (§7.3.2, target ~4 h Aevum leg) supersede it, so the commitment timeout and the HTLC timeout never run concurrently and capital is never double-encumbered. Bob's Aevum-side commitment follows the symmetric lifecycle in the escrow contract (commitDeposit → activateHtlc).

Step 2 — HTLC Lock (Initiator: Alice on Bond RSC). Once both commitments are confirmed, Alice spends her committed pUTXO to create the HTLC pUTXO — a state transition of the already-committed capital, not a second lock. She generates a random preimage s (32 bytes of entropy), computes h=SHA3-256(s), and the resulting pUTXO on the Bond RSC is locked with the following script:

OP_HTLC_LOCK <h> <timeout_bond>
  IF OP_HTLC_CLAIM: <Bob_pubkey> OP_CHECKSIG_PQC
  ELSE (after timeout): <Alice_pubkey> OP_CHECKSIG_PQC

This pUTXO is spendable by Bob if he presents the preimage s (proving SHA3-256(s)=h) along with a valid ML-DSA-65 signature, OR refundable by Alice after timeout_bond blocks if Bob fails to claim.

Step 3 — HTLC Lock (Responder: Bob on Aevum ESC). Bob observes Alice's HTLC on the Bond RSC (via oracle attestation or direct SPV verification on his Desktop Node). He creates a mirrored HTLC on the Aevum ESC using the same hash h but with a strictly shorter temporal timelock: the responder's Aevum leg must expire, in wall-clock time, strictly before the initiator's Bond refund becomes spendable — Δt(timeout_aev) + Δ ≤ Δt(timeout_bond) (the ordering invariant of §7.3.2). Because Alice reveals the preimage on Aevum (Step 4) and Bob must afterward consume it on Bond, the initiator's Bond refund carries the longer window and the responder's Aevum leg the shorter one:

function claim(bytes preimage) external {
    require(sha3_256(preimage) == h);
    require(block.number <= timeout_aev);
    transfer(alice, aev_amount);
}
function refund() external {
    require(block.number > timeout_aev);
    transfer(bob, aev_amount);
}

Step 4 — Claim and Settlement. Alice knows s (she generated it). She claims Bob's AEV on the Aevum ESC by presenting s to the smart contract. This transaction is public — the preimage s is now visible on the Aevum blockchain. Bob observes s on the Aevum ESC and uses it to claim Alice's BND on the Bond RSC via OP_HTLC_CLAIM. Both parties have received their funds. The swap is complete and atomic.

Failure Mode — Timeout Refund. If Alice never reveals s (she aborts), both HTLCs expire at their respective timeouts and both parties reclaim their original funds. If Bob fails to claim the BND before timeout_bond (network failure, Bob goes offline), Alice reclaims her BND. If Alice has not revealed s, Bob's AEV stays safe and refunds to him at timeout_aev. Once Alice has revealed s and claimed Bob's AEV, Bob must claim on Bond before timeout_bond; missing that window loses his AEV to Alice, who also reclaims her BND. The protocol is safe under all abort scenarios provided the responder is live within the Bond timelock window after the reveal.

7.3.2. Temporal Asymmetry Resolution

The fundamental engineering challenge of cross-chain HTLCs between Bond (20 min/block) and Aevum (5s/block) is the temporal asymmetry. A 6-block timelock on Bond represents ~2 hours, while the equivalent temporal window on Aevum is ~1,440 blocks. The party operating on the faster chain (Aevum) has an informational advantage — they can observe events and react faster than the party on the slower chain (Bond).

The Web Swap Service resolves this asymmetry through three interlocking mechanisms:

Mechanism 1 — Submarine Commitment. As described in Step 1, both parties commit capital on their respective chains before the HTLC activates. The commitment phase equalizes the starting position — neither party can selectively abort based on observing the other's HTLC without having already committed capital. The commitment cost (transaction fee + opportunity cost of locked capital during the confirmation window) acts as a Sybil-resistant signal of genuine intent.

Mechanism 2 — Adaptive Timelock via EMA of Block Time. The HTLC timelocks are not fixed block counts — they are computed dynamically based on the Exponential Moving Average of actual block production time on both chains:

T_bond = ⌈(target_duration × safety_factor) / EMA_bond_blocktime⌉ (see Appendix 02 for the canonical typeset form)

T_aev = ⌈target_duration / EMA_aev_blocktime⌉

where target_duration is the desired temporal window (e.g., 4 hours for the Aevum leg), safety_factor = 1.5 (ensuring Alice, the initiator, retains 50% more time on the Bond side than Bob, the responder, has on the Aevum side — Alice locks first and reveals the preimage on Aevum in Step 4, after which Bob must still consume that preimage on Bond, so the initiator's refund window must outlast the responder's), and the EMAs are computed over the synchronized 7-day window (504 Bond blocks / 120,960 Aevum blocks).

Ordering invariant (atomicity-critical). The refund timelocks MUST satisfy Δt(timeout_bond) ≥ Δt(timeout_aev) + Δ, where Δt(·) is the wall-clock duration of a block-count timelock (block_count × EMA_blocktime) and Δ is at least the combined worst-case reorg depth plus Systemic-Expressway confirmation latency of both chains. Equivalently: the claiming party on the second chain (Bob, consuming the preimage on Bond) must have strictly less time to act than remains on the first chain's refund — the responder's Aevum HTLC must expire, in wall-clock time, strictly before the initiator's Bond refund becomes spendable. If this ordering is inverted, a party can take the timeout refund on one leg while still claiming on the other, breaking atomicity (theft). This is the standard two-chain HTLC timelock ordering: the initiator / first-locked leg always carries the longer timeout.

The EMA of block time is fed to both chains via the PQC Oracle network (Section 7.5). This ensures that timelocks remain temporally equivalent even if actual block production rates deviate from targets (e.g., Bond blocks averaging 22 minutes during a hashrate dip, or Aevum blocks averaging 4.8 seconds during high validator participation).

Mechanism 3 — Systemic Expressway Routing. HTLC resolution transactions (OP_HTLC_CLAIM and timeout refunds) on the Bond RSC are classified as Tier 2 Systemic transactions and routed through the Systemic Expressway (Section 2.2). This guarantees that claim and refund transactions are included in the next Bond block regardless of fee market congestion in the Free Lane. An attacker cannot grief a swap participant by flooding the Bond mempool with high-fee spam to delay their HTLC claim past the timeout — the Expressway's reserved 300 KB with deadline-first prioritization ensures timely inclusion.

7.3.3. P2P Relay for Match-Making

Direct atomic swaps require bilateral counterparties — Alice wants to trade BND for AEV, and Bob wants the inverse. The Web Swap Service includes a P2P Relay network for counterparty discovery:

The relay is a gossip-based off-chain communication layer (built on libp2p, the same networking stack as the Aevum node) where participants announce swap intentions. An intention message contains the offered asset and amount, the requested asset and amount (or exchange rate range), the participant's public key hash (for HTLC construction), and a validity window (how long the intention remains active).

The relay is purely informational. It has no custody, no escrow, no funds at risk. It is functionally equivalent to a bulletin board. Once two participants match intentions, they exchange HTLC parameters directly via encrypted P2P messaging (using Kyber key encapsulation for forward secrecy) and execute the on-chain atomic swap bilaterally.

The relay network is open — any node can join and announce or browse intentions. There is no registration, no KYC, no fee. Market makers who wish to provide continuous liquidity can run persistent relay nodes that automatically match and execute swaps within configured parameters (price range, volume limits, counterparty reputation).

7.4. Path 2 — wBND Bridge (Protocolar)

7.4.1. Lock/Mint Mechanism

The wBND bridge enables unilateral conversion of BND to a wrapped representation (wBND) on the Aevum ESC, and the reverse. The mechanism operates as follows:

BND → wBND (Lock and Mint):

  1. The user creates a pUTXO on the Bond RSC locked with a covenant script:
OP_COVENANT_DEST <bridge_release_script_hash>
OP_DELAY_BARRIER <72h_blocks>
<user_pubkey> OP_CHECKSIG_PQC

The covenant restricts the pUTXO's future spending: it can be released only through the bridge release script (bridge_release_script_hash) and only after the 72-hour delay barrier. The release script does not hard-bind the destination to the original owner's key — it authorizes a spend to the Bond address carried in a quorum-signed BurnAttestation (Step 3, reverse path). This is a deliberate choice: it lets a user who has burned wBND that changed hands on Aevum still unlock the underlying BND. The honest consequence is that Path-2 outbound safety is not unconditional sovereign custody: a colluding oracle quorum that fabricates a BurnAttestation naming an attacker address could, absent intervention, direct the release there. Safety therefore reduces to two layered defenses inside the 72-hour window — (i) the User Self-Veto (§7.4.2), by which the original locker cancels any release they did not authorize, and (ii) oracle honesty backed by 100% slashing and the asymmetric burn-inclusion challenge below. What the design does guarantee unconditionally is the absence of a pooled honeypot: there is no custody contract, no multisig pool, no aggregated collateral — each lock is an individually sovereign pUTXO (Critical Invariant, below), so a single compromise never exposes more than one user's balance.

  1. The PQC Oracle network (Section 7.5) observes the lock transaction on the Bond RSC. Once the transaction achieves 6 confirmations (~2 hours), a quorum of oracles (⌊2N/3⌋ + 1) signs an attestation containing the lock TXID, the locked amount, and the user's Aevum address.
  2. The user (or any relayer) submits the oracle attestation to the wBND Bridge Contract on the Aevum ESC. The contract verifies the oracle signatures (ML-DSA-65 — the value-anchoring LockAttestation is pinned to Level 3, matching the value-at-risk of a Bond RSC settlement spend; recommended, pending ADR-0005 ratification, per R3), confirms the lock TXID has not been previously processed (anti-replay), and mints the equivalent amount of wBND to the user's Aevum address. wBND → BND (Burn and Release):

  3. The user calls burn(amount, bond_address) on the wBND Bridge Contract. The contract destroys the specified wBND and emits a BurnEvent with the amount and destination Bond address.

  4. The PQC Oracle network observes the burn event on the Aevum ESC. A quorum signs an attestation confirming the burn.
  5. The user presents the burn attestation to the Bond RSC as witness data in a transaction spending the original locked pUTXO. The pUTXO's locking script verifies the oracle attestation signatures and the 72-hour delay barrier, then releases the BND to the Bond address named in the attestation.

Fraudulent BurnAttestation — asymmetric challenge. The Lock→Mint direction is protected by an SPV non-inclusion proof (§7.5.5): any Bond full node can prove a claimed lock TXID is absent from a Bond block. The Burn→Release direction is not symmetric — the burn event lives on the Aevum ESC, and a Bond full node cannot construct an Aevum-state proof on the Bond RSC (there is no Aevum→Bond header relay). Outbound fraud is therefore contested by a different mechanism operating inside the 72-hour barrier:

  • User Self-Veto (primary). The original locker's ML-DSA-65 OP_VETO cancels any release they did not initiate — sufficient whenever the legitimate owner (or their watchtower) is watching their own pUTXO.
  • Aevum-side burn-inclusion challenge (secondary). A watchtower running an Aevum full node proves on Aevum that no BurnEvent matching the attestation's (amount, bond_address, nonce) was emitted; the Oracle Registry Contract then slashes the signing quorum 100% and marks the attestation void. Because the covenant release consumes the attestation only after the 72-hour barrier, a void mark reached first blocks the Bond-side spend.
  • Residual. If neither the owner nor any Aevum-side watchtower acts within 72 hours and the quorum is fully colluding, a fraudulent release can complete. This residual is bounded by the exposure cap (max_wBND ≤ 0.5·FCRC-B, §7.4.1) and backstopped by FCRC-B (§12.3) — not by sovereign custody.

Formal-review pending (ADR-0005 counter-sign).

Critical Invariant: The locked BND pUTXO is individually owned. Each user's locked BND exists as a separate, sovereign pUTXO on the Bond RSC. There is no aggregated pool, no shared custody contract, no single point of failure. If one user's lock is somehow compromised (e.g., their individual private key is stolen), only their pUTXO is at risk — not the entire bridge's collateral.

Bond Reorg Handling & Bridge Reconciliation Protocol (BRR). The confirmation threshold for bridge attestation is not a fixed constant but a dynamic function of current hashrate and target reorg probability:

required_confirmations = f(current_hashrate, target_reorg_probability, max_attacker_budget)
floor = 6, cap = 24

At the genesis hashrate target of 50 TH/s, 6 confirmations (~2 hours) are sufficient. As hashrate fluctuates, the oracle network adjusts the required confirmation count per-epoch using the Nakamoto reorg probability formula — higher hashrate allows fewer confirmations (minimum 6), lower hashrate demands more (maximum 24, ~8 hours). This ensures attack_cost > max_payoff for all system states rather than relying on a static assumption.

If a deep reorg does occur after attestation, the Bridge Reconciliation Protocol activates with escalating response levels:

BRR Level 1 — wBND still at original address (not yet transferred). Auto-freeze the affected wBND. Await re-confirmation on the reorganized canonical chain. If the lock TXID reappears in the new canonical chain, unfreeze. If it does not, burn the wBND — the loss is borne by the user who initiated the lock (they retain the original BND on the reorganized Bond RSC). FCRC-B (the Bridge sub-reserve of the Financial Crisis Reserve Contract; defined in §12.3) covers any accounting discrepancy.

BRR Level 2 — wBND already transferred (traded in AMM or sent to third party). The wBND is unbacked. FCRC-B covers the deficit, registered as bridge debt. The debt is recovered via a temporary bridge fee surcharge (0.01% additional per lock/mint, applied until the debt is fully amortized). The surcharge is bounded at 0.05% maximum regardless of outstanding debt — preventing excessive user-facing costs.

BRR Level 3 — Unbacked value exceeds FCRC-B coverage threshold (>5% of FCRC-B reserves). Bridge enters automatic pause — no new locks or mints are processed. Governance emergency vote is triggered (72-hour expedited voting window). FCRC-B mobilization requires 7-of-10 Arca quorum authorization (Section 12.4).

Bridge Exposure Limit. Total outstanding wBND is bounded by the FCRC-B reserve:

max_wBND_outstanding = FCRC_B_available × coverage_ratio
// coverage_ratio = 0.50 at genesis (Tier 1, governance-adjustable within [0.30, 0.80])
if wBND_circulating >= max_wBND_outstanding: bridge.pause_new_locks()

This ensures that even a total bridge failure (all wBND becomes unbacked) never exceeds the FCRC-B's capacity to absorb the loss.

7.4.2. Delay Barrier and Dispute Resolution

Every BND unlock (burn/release) is subject to a mandatory 72-hour delay barrier (216 Bond blocks). During this window:

The oracle attestation (confirming wBND burn) is published on-chain and publicly visible. Any party can verify the attestation's validity by checking the oracle signatures against the current oracle set.

If the attestation is fraudulent (oracles compromised or colluding), the following defense mechanisms activate:

User Self-Veto. The legitimate owner of the locked BND can submit an OP_VETO transaction via the Systemic Expressway, canceling the unauthorized release. The veto requires only the owner's ML-DSA-65 signature — no governance vote, no committee approval.

Oracle Set Dispute. If the oracle attestation contains valid signatures from the current oracle set but the underlying burn event is fabricated (a sophisticated attack requiring both oracle compromise and Aevum chain manipulation), the DAO can trigger a manual review. The 72-hour window provides sufficient time for forensic analysis.

Circuit Breaker (volumetric — anomaly, not corrective redemption). If the oracle network detects an anomalous pattern exceeding 5σ of the bridge volume EMA, the bridge enters automatic freeze mode for 1 epoch (504 Bond blocks ≈ 7 days). Crucially, the freeze must target anomalies that could indicate compromise — not the legitimate mass-redemption that corrects a negative de-peg (§7.7). Absent this distinction the breaker would strangle exactly the arbitrage §7.7 relies on, deepening a crisis. The trigger is therefore scoped:

  • When no DePegAlert (§7.7) is active, a 5σ unlock spike freezes new unlocks as before — a clustered redemption with no market-price justification is the signature of an exfiltration attempt.
  • When a DePegAlert for a negative de-peg (wBND < BND) is active, burn/release flows that reduce outstanding wBND are exempt from the volumetric freeze, because that clustered spike is precisely the corrective arbitrage. Only mint-side anomalies (new locks/mints inflating wBND) remain freezable during the alert.

During any freeze, existing unlocks already past their 72-hour barrier complete normally. The freeze is lifted automatically after the epoch unless extended by DAO governance vote. This exemption reconciles the volumetric breaker with §7.7 so the two mechanisms never issue opposite instructions for the same parity-restoring redemption.

7.4.3. Volumetric Delay Barriers (Adaptive)

Beyond the mandatory 72-hour base delay, the bridge implements adaptive volumetric barriers that scale with withdrawal magnitude relative to historical norms:

The reference metric is the EMA of daily bridge volume computed over 504 Bond blocks (~7 days). Individual unlock requests are classified by their deviation from this EMA:

Deviation from EMA Delay Additional Requirement Rationale
< 2σ (normal withdrawal) 72h base only Oracle attestation Routine operations — no additional friction
2σ - 5σ (elevated withdrawal) 72h + 36 blocks (~12h) = ~84h total Oracle attestation + push notification to owner Unusual magnitude — owner is notified to confirm legitimacy. Additional delay provides window for self-veto if unauthorized
> 5σ (anomalous withdrawal) 72h + 216 blocks (~72h) = ~144h total Oracle attestation + mandatory Arca confirmation (ML-DSA-65 signature via QR) Extreme magnitude — requires physical presence of the owner with the Arca hardware wallet. An attacker who has compromised oracle keys but not the physical Arca cannot complete the withdrawal

Users can configure personal thresholds that are more restrictive than the protocol defaults. A user who wishes all withdrawals above 10 BND to require Arca confirmation can set this via a parameter in their lock pUTXO's covenant script. The protocol defaults serve as a floor — users can tighten but never relax below the protocol minimum.

7.5. PQC Oracle Network

Cross-reference note. The oracle specification is distributed across multiple sections. This section (§7.5) is the primary specification. Related content: Appendix 08 §4 (oracle bootstrap parameters and registration procedure), Appendix 08 §12 (consolidated quorum reference — canonical authority), §7.10 (bridge implementation reference table), §4.6.2 (gas price oracle — distinct from the PQC oracle, no cross-chain attestation role), and Appendix 08 §9 (PQ-VRF residual risk in the formal threat model).

7.5.1. Architecture and Role Isolation

The PQC Oracle network is a dedicated infrastructure role, architecturally separated from both Bond miners (PoW) and Aevum validators (PoD). This separation prevents conflicts of interest — an entity that validates Aevum transactions should not simultaneously attest to Bond RSC state for bridge operations, as they could manipulate attestations to front-run their own swap transactions.

Registration. Any entity can register as an oracle candidate by depositing a dedicated AEV stake into the Oracle Registry Contract on the Aevum ESC. This stake is isolated from PoD staking — it exists solely as collateral for oracle duties. The minimum stake is 100,000 AEV (equivalent to $10,000 at the Launch Reference Price LRP = $0.10/AEV, §1.6 — a modelling constant, not a market price guarantee), calibrated to make Sybil registration economically prohibitive. The network distinguishes two parameters: the active-set size N (fixed per phase — N=5 genesis, N=21 Phase 2, N=30 steady-state) and the registered-pool size M (the total number of registered oracle candidates, targeted at M ≥ 50 and enforced as a precondition for advancing to the mature phase). Each epoch the active set of N oracles is VRF-selected from the larger registered pool of M candidates (§7.5.2); quorum = ⌊2N/3⌋+1 at every phase. At steady-state (N=30, M ≥ 50), an attacker would need to register and maintain at least 21 oracle identities (2,100,000 AEV total) to reach quorum — and even then must win the VRF draw to have all 21 simultaneously in the active set (§7.5.6) — a meaningful capital commitment exposed to 100% slashing upon detection. At genesis the pool degenerates to M = N = 5 (3 team + 2 external); in that phase VRF rotation provides no subset-selection security (all 5 are always active), and safety instead rests on the SPV challenge and public team identity (§7.5.6). The pool grows organically toward the M ≥ 50 target (Appendix 08 §4, Appendix 08 §10). (Fixed active-set N with VRF selection from registered pool M is recommended; pending ADR-0005 ratification, per R2.)

Role. Oracles perform a single function: they observe state transitions on one chain and produce cryptographically signed attestations consumable on the other chain. Specifically:

  • Observe BND lock transactions on Bond RSC → produce LockAttestation for Aevum wBND mint.
  • Observe wBND burn events on Aevum ESC → produce BurnAttestation for Bond BND release.
  • Observe block production metrics on both chains → produce BlockTimeAttestation for Adaptive Timelock computation. Attestations are signed with an ML-DSA scheme pinned to their value-at-risk (recommended; pending ADR-0005 ratification, per R3): value-anchoring attestations (LockAttestation, BurnAttestation — each authorizes a cross-chain capital movement equal to a Bond RSC settlement spend) are signed with ML-DSA-65 (NIST Level 3, sig_version 0x0001); non-value feeds (BlockTimeAttestation, price/gas metrics) are signed with ML-DSA-44 (NIST Level 2, sig_version 0x0002), which carries no direct value and benefits from the smaller signature on the high-frequency Aevum surface. The low-frequency lock/burn attestations are gated behind Bond's 20-minute cadence and 6-confirmation (~2 h) window, which absorbs the larger Level-3 signature without throughput impact. The attestation format is CBOR-serialized with the following fields: chain_id, event_type, event_txid, event_block_height, payload (amount, addresses), oracle_pubkey_hash, sig_version, ml_dsa_signature.

7.5.2. Epoch Rotation via Deterministic Signature Randomness

To prevent long-term collusion, the active oracle set is rotated every epoch (504 Bond blocks ≈ 7 days) using a randomness extraction mechanism derived from ML-DSA signatures.

Construction Note — PQ-VRF Substitute. No formally standardized post-quantum VRF exists as of this document. This protocol uses a deterministic signature randomness extraction scheme as a substitute, leveraging ML-DSA-65's deterministic signing and public verifiability: the pseudorandomness assumption is that SHA3-256(σML-DSA) is computationally indistinguishable from random when the signing key is unknown — reasonable under the random oracle model for SHA3-256, but not formally proven for ML-DSA signatures. This is a pragmatic engineering choice, not a cryptographic proof. When a formally standardized PQ-VRF becomes available, migration via sig_version (§6.6) is straightforward. The residual risk (unproven pseudorandomness) is enumerated in Appendix 08 §9.4 (Class C attack-vector map) and stated precisely in Appendix 08 §9.5.

Formal reduction sketch (ROM + EUF-CMA). Under the Random Oracle Model (ROM) for SHA3-256 and the EUF-CMA (Existential Unforgeability under Chosen Message Attack) property of ML-DSA-65, the oracle rotation seed seede=SHA3-256(σML-DSA) satisfies computational pseudorandomness: (1) Unpredictability — predicting seede before the epoch boundary block requires forging a valid ML-DSA-65 signature for the yet-unmined block header, which is hard under EUF-CMA; (2) Unbiasability — Aevum blocks carry no PoW, so a PoD proposer's only lever over seede is to withhold or skip its own block, forfeiting that slot; the RANDAO-style accumulator below bounds the residual bias (C-15 bias-mitigation note); (3) Public verifiability — any observer can verify that seede was correctly derived from the published block header signature. This construction achieves the three VRF properties (uniqueness, pseudorandomness, verifiability) under the ROM+EUF-CMA reduction, with the caveat that ML-DSA's structured algebraic properties (lattice-based, not random-looking signatures) create a theoretical gap between this reduction and a formal VRF proof. The gap is acknowledged as an open assumption (Appendix 08 §9.5) pending standardization of a dedicated PQ-VRF.

Seed Derivation. The rotation seed for epoch e is derived deterministically from the per-block VRF accumulator at the epoch boundary:

seede=SHA3-256(vrf_accumulatorepoch_boundary∥e)

where vrf_accumulator is a 32-byte field maintained in every Aevum block header (wire format: AevumBlockHeader field 0x13, per the wire-format note below; bias-mitigation rationale in the C-15 bias-mitigation note below) and updated per block via:

vrf_accumulatorn=SHA3-256(vrf_accumulatorn−1∥block_signaturen)

Because ML-DSA signatures are deterministic, each block's signature contribution to the accumulator is fixed by the block content; the proposer of any single block cannot choose its contribution — it can only withhold the block and forfeit the slot, a bias bounded by the C-15 bias-mitigation note below.

Bias mitigation (C-15 / issue #43, 2026-05-10). Without the accumulator the single-boundary-block construction gave a worst-case bias of ϕ⋅k bits for a proposer controlling fraction ϕ of D_score (Appendix 08 §9.5 derivation; with ϕ≤0.15 ICL cap and k=256, ~38 bits). The RANDAO-style accumulator mixes the signatures of all proposers across the prior epoch (120,960 blocks on the Aevum cadence), diluting any individual proposer's bias to ϕ/120960≈10−6 per bit. The residual bias is negligible for the Fisher-Yates shuffle that produces the active oracle set. The accumulator wire-format field was added to BP AevumBlockHeader for this purpose; the on-chain construction is consensus-enforced (mismatched accumulator → block invalid).

Wire-format note. The vrf_accumulator field MUST appear at CBOR key 0x13 (32-byte bstr) in the canonical Aevum block-header encoding and MUST be validated by every full node on receive. The full canonical CBOR schema was planned for the Expanded Sections / Engineering Blueprint companions (§1.3.1), which are not part of this repository and carry no normative authority; the consensus-relevant rule stated here (key 0x13, 32-byte bstr, mandatory validation) is authoritative in-repo.

Canonical epoch boundary (cross-chain determinism). Because the rotation seed samples the Aevum-native vrf_accumulator, the epoch boundary is defined canonically by Aevum block height, not by Bond height: epoch e begins at Aevum height e · 120,960 and the seed for epoch e+1 snapshots vrf_accumulator at that exact Aevum block. The "504 Bond blocks ≈ 7 days" figure is a nominal wall-clock equivalence for exposition only; under the block-time drift that motivates the Adaptive Timelock (§7.3.2), the two chains are NOT required to agree on a shared boundary — only Aevum height is authoritative. The Bond RSC learns the active oracle set for epoch e+1 through the Bond-side verification contract: the oracle quorum's BlockTimeAttestation (which already carries cross-chain header/height data, §7.5.5) commits the epoch-boundary accumulator value observed at Aevum height e·120,960, and any Bond full node recomputes the Fisher-Yates active set deterministically from that single input. Both chains therefore derive the identical active set from a single authoritative input — the Aevum-height-e·120,960 accumulator — eliminating the ambiguity in which honest nodes could otherwise disagree on the active set for an epoch. If the boundary Aevum block is itself reorged before finality, the boundary snapshot is taken at the first Aevum block at height ≥ e·120,960 on the canonical chain after the standard Aevum finality depth.

Formal-review pending (ADR-0005 counter-sign).

Selection. Each registered oracle computes:

scorei=SHA3-256(seede∥oracle_pubkeyi)

The top N oracles by lowest scorei are selected for the active set in epoch e+1, where N is the fixed active-set size for the current phase (genesis: N=5, quorum = 4; Phase 2: N=21, quorum = 15; steady-state: N=30, quorum = 21), and selection draws from the full registered pool of M candidates (active set N ⊂ registered pool M, M ≥ N). Choosing a fixed N < M is precisely what makes rotation non-vacuous: when M = N (as at genesis), the "selection" returns the entire pool and VRF rotation confers no subset unpredictability (§7.5.6). As the network matures, N steps through its phase schedule while M grows past the M ≥ 50 target; the quorum ⌊2N/3⌋+1 tracks N at every phase. (Fixed active-set N per phase, VRF-selected from registered pool M — recommended; pending ADR-0005 ratification, per R2.)

Slashing. Oracle infractions fall into three severity classes with escalating penalties:

Class Infraction Detection Penalty Consequence
Liveness Failure Oracle in active set fails to produce attestation for an observed event within 3 Bond blocks (~1 hour) Automatic — the Oracle Registry Contract monitors attestation gaps per epoch 2% of oracle stake per missed attestation. Cumulative: 10 missed attestations in a single epoch triggers forced rotation out of active set for 4 epochs (~28 days) Oracle retains registration but is temporarily excluded. Stake is partially depleted. Re-entry requires stake replenishment to minimum
Conflicting Attestation Oracle signs two different attestations for the same event Observer submits reportConflict(a, b) — verification is deterministic (same pubkey, same event_txid, different payloads) 100% stake confiscation + permanent ban. Slashed stake: 50% to reporter, 50% to DAO Treasury
Fraudulent Attestation Oracle attests to a non-existent event on the source chain SPV non-inclusion proof submitted by any Bond full node (Section 7.5.5) 100% stake + permanent ban (identical to above). If wBND mint is within delay barrier, it is reverted

7.5.3. Quorum and Verification

An attestation is valid on-chain when it carries signatures from ⌊2N/3⌋ + 1 members of the current active oracle set. The verification contract on both chains maintains a registry of the current active set (updated at each epoch boundary) and verifies:

  1. Each signature is a valid signature from a registered active oracle under the attestation's pinned scheme — ML-DSA-65 for value-anchoring LockAttestation/BurnAttestation, ML-DSA-44 for non-value feeds (recommended; pending ADR-0005 ratification, per R3).
  2. The number of unique valid signatures meets the quorum threshold.
  3. All signatures attest to the same event payload (no split attestations).
  4. The attested event_block_height is within the expected confirmation window (anti-stale-attestation).

7.5.4. Remuneration

Active oracles earn a fee proportional to bridge activity:

  • Lock/Mint operations: 0.05% of the locked BND value (denominated in Nob), split equally among the quorum signers.
  • Burn/Release operations: 0.05% of the released BND value, split equally.
  • Block Time Attestations: Flat fee per attestation (paid from the Aevum DAO Treasury allocation). The total oracle fee for a round-trip (lock + release) is 0.10% — substantially below the 0.2-1.0% fees charged by traditional bridge protocols, and the fee is paid to a decentralized, rotating set of independent operators rather than a fixed federation.

7.5.5. SPV Challenge Mechanism (Fraud Proof for Attestations)

The oracle trust assumption — that ⌊2N/3⌋ + 1 oracles honestly report chain state — is the single most critical security dependency of the wBND Bridge (Path 2). The SPV Challenge mechanism transforms this trust assumption from "trust the oracle quorum" to "trust that at least one Bond full node operator will challenge a fraudulent attestation within 72 hours" — a substantially weaker and more defensible assumption.

Mechanism.

When the wBND Bridge Contract on Aevum receives a LockAttestation (oracle quorum attesting that BND has been locked on Bond RSC), the attestation enters a 72-hour challenge window (coinciding with the base delay barrier, Section 7.4.2) before the corresponding wBND is released for spending. During this window:

  1. Any entity running a Bond full node can verify whether the attested lock transaction actually exists at the attested block height. This verification is local — it requires only the Bond blockchain data that every full node already possesses.
  2. If the lock transaction does not exist (the attestation is fraudulent), the challenger constructs an SPV non-inclusion proof: a Merkle proof against the Bond block header at the attested height demonstrating that the attested TXID is not included in the block's transaction Merkle tree.
  3. The challenger submits challengeAttestation(attestation_id, spv_proof) to the wBND Bridge Contract on Aevum. The contract verifies: - The SPV proof is structurally valid (correct Merkle path format). - The Bond block header referenced in the proof matches the block height in the attestation. - The Bond block header itself is valid (verified against the Bond block header relay — a lightweight on-chain structure that stores Bond block headers on Aevum, updated by the oracle network as part of their BlockTimeAttestation duties). - The Merkle non-inclusion proof is correct: the attested TXID is provably absent from the block.
  4. If the challenge succeeds: - The pending wBND mint is cancelled — no wBND is created. - All oracles who signed the fraudulent attestation are slashed 100% and permanently banned (Section 7.5.2). - The challenger receives 50% of the total slashed oracle stake as a bounty, incentivizing active surveillance. Bond Block Header Relay.

For SPV verification to work on Aevum, the Aevum chain must have access to Bond block headers. The oracle network already produces BlockTimeAttestation messages (Section 7.5.1) which include Bond block header data. The protocol extends this attestation to include the full 80-byte Bond block header (including merkle_root). The wBND Bridge Contract maintains a rolling window of the most recent 504 Bond block headers (~7 days), updated every Bond block by the oracle quorum.

This creates a bootstrapping question: if the oracles are compromised, can they also submit fake block headers? The defense is layered:

  • Block headers are independently verifiable by any Bond full node. A fake header would need to contain a valid PoW solution (meeting the current difficulty target), which requires actual mining expenditure. Fabricating a block header is equivalent to mining a Bond block — thermodynamically expensive.
  • Multiple independent observers (block explorers, wallets, monitoring services) can compare the Aevum-side header relay against the actual Bond chain and raise alerts for discrepancies.
  • The challenger's SPV proof references the block header stored on Aevum. If the header itself is fraudulent, the discrepancy between the on-Aevum header and the actual Bond chain is detectable by any Bond full node operator, triggering a separate challengeBlockHeader() mechanism that slashes the oracles who submitted the fake header.

Header-relay verification (normative). The claim that a fake header is rejected is load-bearing, so the wBND Bridge Contract independently validates every relayed Bond header rather than trusting the oracle quorum:

  • PoW validation on Aevum. The contract recomputes SHA3-256 over the 80-byte header and checks the hash meets the difficulty target encoded in the header's bits field, and that bits is consistent with the retarget schedule derivable from the timestamps of the relay's rolling 504-header window (Bond's retarget rule, §3.1.3). A header without a valid PoW solution is rejected on submission — it never enters the relay.
  • Cumulative-work fork-choice. The relay stores, per height, the header on the chain of greatest cumulative work. If two valid-PoW headers are submitted for one height, the contract retains the one extending the higher-cumulative-work tip and marks the other stale; an SPV (non-)inclusion proof is evaluated only against the canonical (max-work) header at the attested height, so a valid-PoW but minority-work fork cannot spoof inclusion or non-inclusion.
  • challengeBlockHeader(height, competing_header) proof format. Any observer submits a competing Bond header for the same height whose cumulative work exceeds the relayed one (or whose parent linkage the relayed header contradicts). The contract verifies the competing header's PoW and parent linkage; on success it replaces the relayed header, slashes 100% the oracle quorum that signed the displaced header (50% to the challenger, 50% to Treasury, §7.5.2), and re-opens any attestation whose window resolved against the displaced header.
  • Dispute timing. Header challenges are admissible throughout the 72-hour attestation window; a LockAttestation cannot finalize (release wBND for spending) until its referenced header has been unchallenged for the full window, so relay poisoning by a minority-work fork cannot resolve before it can be contested.

Because the attacker must produce a majority-work Bond fork to make a poisoned header canonical — thermodynamically equivalent to out-mining the honest Bond network for the challenge window — header-relay poisoning reduces to the same 51%-PoW assumption that secures Bond itself, not to oracle honesty.

Formal-review pending (ADR-0005 counter-sign).

Game-Theoretic Properties.

The SPV Challenge mechanism shifts the security model from "N-of-M honest oracles" to "at least one honest observer in 72 hours." This is a fundamentally stronger assumption because:

  • The number of Bond full node operators is unbounded and grows with the network. At launch, every Arca Desktop user runs a Bond full node. Any of these nodes can serve as a challenger.
  • The challenger earns 50% of slashed oracle stake — a significant financial incentive. At steady-state with N=30 oracles at 100K AEV each, a successful challenge on 21 colluding oracles yields 1,050K AEV ($105,000) for the challenger. Even at genesis (N=5, quorum=4), challenging 4 colluding oracles yields 200K AEV ($20,000). This creates a market for bridge surveillance: professional watchtower operators will monitor attestations for profit.
  • The attacker must ensure that zero Bond full node operators notice the fraudulent attestation for 72 hours. In an open network with thousands of nodes, this is operationally infeasible.

7.5.6. Oracle Collusion Cost Analysis

The following analysis quantifies the cost and risk of an oracle collusion attack at different network maturity stages:

Genesis Stage (N=5 active oracles: 3 team + 2 external, quorum=4):

Component Cost Risk
Compromise 4 oracle stakes 400,000 AEV ($40,000) at risk 100% confiscation if SPV-challenged
Operational coordination 4 operators must collude. At genesis, this means either all 3 team + 1 external, or 2 team + 2 external (all externals) Team oracles are publicly identified — collusion is reputational suicide
Fabricate attestation Technically trivial once keys controlled Single fraudulent attestation mints arbitrary wBND
Survive 72h challenge window Must ensure zero Bond full nodes detect the fraud Infeasible — any single Bond full node can submit SPV challenge
Maximum extractable value Limited by circuit breaker (5σ of bridge volume EMA) Large extractions trigger automatic bridge freeze

Expected outcome of oracle collusion at genesis: The attacker risks $40K in oracle stake. The genesis set is small (5 oracles) but the SPV Challenge mechanism is active from block zero — any Bond full node can cancel a fraudulent mint within 72 hours. The team's 3 oracles are publicly identified, making covert collusion implausible. The primary risk at genesis is compromise of the 2 external oracles combined with 2 team oracles — mitigated by the team's reputational and economic accountability ($250K in validator stake + $30K in oracle stake at risk).

Growth Stage (N=21 active oracles, quorum=15, post-Phase 2 trigger):

Component Cost Risk
Compromise 15 oracle stakes 1,500,000 AEV ($150,000) at risk 100% confiscation if SPV-challenged
Operational coordination 15 independent external operators must collude (team oracles sunset) Coordination cost, communication security, trust among co-conspirators
Survive 72h challenge window Must ensure zero Bond full nodes detect the fraud Infeasible — growing network increases observer count

Mature Network (N=30 active oracles, quorum=21):

Component Cost Risk
Compromise 21 oracle stakes 2,100,000 AEV ($210,000) at risk Same 100% confiscation risk
VRF rotation barrier Attacker must control 21 of the 30 selected oracles. With M total registered oracles, the probability of controlling 21/30 is C(21,21)·C(M−21,9)/C(M,30) (see Appendix 02 for the canonical typeset form) — vanishingly small for M>50 Attacker cannot choose which oracles are active; VRF selection is unpredictable
Effective attack probability For M=50 registered oracles with attacker controlling 21: P(21/30 selected) ≈ 0.00002% per epoch Must sustain attack capital across all 21 identities indefinitely, waiting for a favorable VRF draw

The VRF rotation is the strongest quantitative defense: even if an attacker controls 21 oracle identities, the probability that all 21 are simultaneously selected for the active set in any given epoch is astronomically low once the total registered oracle pool exceeds ~50. The attacker must maintain stake across all identities indefinitely, bleeding opportunity cost, while waiting for a favorable rotation — and even then, the 72-hour SPV challenge window makes extraction infeasible.

Collateral bounds cost-to-attempt, not value-at-risk (honest framing). The oracle-stake figures above ($40K genesis, $210K mature) are the attacker's slashable cost to attempt fraud — they do not bound the maximum extractable value, which at $100M TVL is 2–3 orders of magnitude larger. wBND-bridge safety does not rest on collateral coverage; it rests on two other pillars:

  • Challenger-liveness. A fraudulent LockAttestation is defeated only if ≥1 honest Bond full node submits an SPV non-inclusion challenge within 72 hours (§7.5.5); a fraudulent BurnAttestation only if the owner vetoes or an Aevum-side watchtower challenges (§7.4.1). Security is thus a liveness assumption, not a bonded guarantee.
  • Exposure cap + backstop. Maximum loss is bounded not by stake but by the bridge exposure cap max_wBND ≤ 0.5·FCRC-B (§7.4.1), and absorbed, if realized, by FCRC-B (§12.3) via the BRR debt mechanism — not by the oracles' collateral.

Challenge-liveness failure mode. The residual risk is the case where zero valid challenges land within 72 hours despite fraud: (a) censorship of challenge/veto transactions on Aevum — mitigated by Systemic Expressway routing of OP_VETO and the unbounded, growing set of independent bundlers; (b) a coordinated watchtower outage — mitigated by the open, unbounded challenger population and the 50%-stake bounty that makes surveillance profitable; (c) header-relay poisoning — reduced to the 51%-PoW assumption by the normative header verification (§7.5.5). If all mitigations fail simultaneously, the loss is capped at 0.5·FCRC-B and socialized through FCRC-B rather than borne as an unbounded bridge deficit. The exposure cap — not the collateral — is what makes the residual survivable, and it is disclosed here rather than obscured by the stake figure.

Comparative Bridge Security:

Bridge Model Trust Assumption Attack Cost ($100M TVL) Detection Window
Ronin (5-of-9 multisig) 5 specific entities honest Compromise 5 keys (social engineering) None — immediate exfiltration
Wormhole (guardian set) 13-of-19 guardians honest Bypass signature verification (code bug) None — immediate exfiltration
wBND Bridge (quorum + SPV + delay) ≥1 Bond full node challenges in 72h Oracle stake ($40K genesis–$210K mature) bounds cost-to-attempt, not value-at-risk (§7.5.6 note); safety = challenger-liveness + exposure cap max_wBND ≤ 0.5·FCRC-B 72 hours minimum (up to 144h for anomalous amounts)

7.5.7. Liveness Circuit Breaker (Active-Set Floor)

Distinct from the §7.4.2 volumetric freeze (which reacts to anomalous unlock magnitude), the liveness circuit breaker reacts to erosion of the active oracle set itself — oracles rotated out for liveness failure (§7.5.2), slashed, or offline. It prevents the bridge from operating below a safe Byzantine margin.

Trigger (per-phase floor, not a fixed 15). The floor scales with the current phase rather than being a hardcoded constant, so it is well-defined from genesis onward:

suspend new bridge flows when  N_active < quorum_phase = ⌊2N/3⌋+1  (for the current phase's N)
  genesis (N=5):   floor 4       Phase 2 (N=21):  floor 15      steady-state (N=30): floor 21

The value 15 that earlier drafts stated as a universal N_min is not a genesis active-set floor: at genesis N=5 < 15 would suspend the bridge from block zero, contradicting the SPV challenge being active from block zero (§7.5.5) and the genesis operational analysis (§7.5.6). Under the recommended reading, 15 is instead the Phase-2+ registered-pool floor (the minimum size of the registered pool M required to sustain that phase). This reading is itself unresolved: Phase 2 runs an active set N=21 with M ≥ N, and its trigger is ≥21 external registered, so a 15-member registered pool cannot sustain Phase 2; the role of 15 is pending maintainer decision under R2. (Per-phase active-set floor recommended; pending ADR-0005 ratification, per R2.)

Scope of suspension. On trigger, the bridge pauses new LockAttestation mints and new BurnAttestation-authorized releases — the flows that depend on a healthy quorum attesting fresh cross-chain state. It does NOT pause: (i) Path 1 atomic swaps (no oracle dependency, §7.2); (ii) in-flight unlocks already past their 72-hour barrier whose quorum attestation was collected before the trigger; (iii) the User Self-Veto (§7.4.2). This scope is orthogonal to the §7.4.2 volumetric freeze: the two breakers can be active simultaneously and neither supersedes the other.

Recovery / re-entry. The breaker auto-lifts once N_active returns to ≥ quorum_phase for a full epoch (504 Bond blocks), giving newly-rotated-in oracles time to synchronize. If the active set cannot be repopulated to the phase floor within 4 epochs (~28 days) — indicating the registered pool M has itself fallen below the phase minimum — the bridge escalates to the BRR Level 3 governance path (§7.4.1), which may down-shift the bridge to the previous phase's smaller N (and correspondingly lower floor) rather than remain suspended.

Formal-review pending (ADR-0005 counter-sign).

7.6. AMM for wBND/AEV Liquidity

Once wBND exists on the Aevum ESC, users need a mechanism to convert it to native AEV (and vice versa) without finding a bilateral counterparty. The Web Swap Service includes an Automated Market Maker pool on the Aevum ESC:

Pool Structure. A constant-product AMM (x×y=k) for the wBND/AEV pair. Liquidity providers deposit both wBND and AEV into the pool and receive LP tokens representing their share.

Swap Execution. A user holding wBND can instantly swap for AEV (or vice versa) by interacting with the AMM contract. The price is determined algorithmically by the pool ratio. Slippage depends on pool depth relative to trade size.

LP Incentives. Liquidity providers earn a swap fee on every trade (calibrated at 0.3% of trade volume, consistent with standard AMM conventions). Additionally, the Aevum DAO Treasury may allocate a portion of its 20% block emission to LP incentive programs during the bootstrapping phase to attract initial liquidity depth.

Axiom 3 Reconciliation. LP fee income constitutes a recognized exception to the anti-rent-seeking principle (Axiom 3). The exception is justified on three grounds: (1) liquidity provision is an active infrastructure service — the AMM pool is essential for bridge de-peg correction (Section 7.7) and Web Swap price discovery, making LPs functional participants rather than passive extractors; (2) LPs assume material risk (impermanent loss) that passive holders do not — their return is compensation for bearing directional exposure, not a rent on ownership; (3) LP positions are instantly removable, creating zero lock-in and continuous market discipline. Unlike validator rewards (which require sustained multi-dimensional commitment via D_score), LP rewards are proportional to capital-at-risk without temporal gating — a deliberate trade-off that prioritizes bridge liquidity depth over axiomatic purity during bootstrap.

Impermanent Loss Disclosure. Liquidity provision in the wBND/AEV pool carries impermanent loss risk if the wBND/AEV exchange rate diverges significantly. This risk is inherent to constant-product AMMs and is disclosed transparently — the protocol does not insure against impermanent loss. Sophisticated LPs are expected to hedge or manage this risk independently.

MEV characterization. The wBND/AEV AMM pool is the primary cross-chain MEV surface. The planned §7.11 (not in this repository — see the §7.11 note in §7.9) was scoped to hold the comprehensive game-theoretic analysis of AMM sandwich attacks (M-1), bridge observation front-running (M-2), and bundler ordering exploitation (M-8), including quantified extractable values and proposed mitigation mechanisms.

7.7. De-Peg Protection

The wBND token is designed to maintain a 1:1 parity with BND — each wBND is backed by exactly 1 BND locked in a covenant pUTXO on the Bond RSC. However, market dynamics in the AMM pool can cause the trading price of wBND to deviate from parity:

Positive De-Peg (wBND > BND). Rational arbitrageurs lock more BND, mint wBND, and sell into the AMM for a profit, pushing the price back toward parity. This mechanism is self-correcting and requires no protocol intervention.

Negative De-Peg (wBND < BND). Rational arbitrageurs buy cheap wBND in the AMM, burn it, and unlock the full-value BND on the Bond RSC, profiting from the discount. This mechanism is also self-correcting — provided the 72-hour delay barrier does not impede arbitrage speed significantly. In practice, the delay means that de-peg corrections on the downside are slower than on the upside (instant mint vs. 72h unlock), creating a natural asymmetry.

Severe De-Peg Threshold. If the wBND/BND trading price in the AMM deviates by more than 10% from parity for more than 1 epoch (7 days), the event constitutes a potential indicator of systemic compromise (oracle failure, mass unauthorized minting, or collateral exfiltration). At this threshold:

  1. The oracle network publishes a DePegAlert attestation on both chains.
  2. The wBND Bridge Contract enters a precautionary freeze — new mints are paused until the de-peg resolves.
  3. Burns and unlocks continue normally (allowing arbitrageurs to restore parity by draining the discount). Per §7.4.2, wBND-reducing burn/release flows are exempt from the 5σ volumetric freeze while this negative-de-peg DePegAlert is active — only mint-side anomalies remain freezable — so the anomaly breaker never strangles the corrective arbitrage.
  4. If the de-peg persists beyond 2 epochs (14 days) despite continued burn/unlock activity, the FCRC Trigger 1 (Inter-Ledger Rupture, Section 12.2) conditions are considered met, and the DAO can initiate FCRC mobilization procedures.

7.8. Flow Diagrams

7.8.1. Path 1 — Direct Atomic Swap (BND ↔ AEV)

Timeline:  T0          T1 (~2h)        T2 (~2.5h)       T3 (~3h)        T4 (~4h)
           │           │               │                 │               │
Alice:     ├─Commit────┤──HTLC Lock────┤                 ├─Claim AEV─────┤
           │ (Bond RSC) │  (Bond RSC)    │                 │ (Aevum ESC)    │
           │           │  hash=h       │                 │ reveal s      │
           │           │  to≈T1+6h     │                 │               │
           │           │               │                 │               │
Bob:       ├─Commit────┤               ├──HTLC Lock──────┤               ├─Claim BND──
           │ (Aevum)   │               │  (Aevum ESC)     │               │ (Bond RSC)
           │           │               │  hash=h         │               │ using s
           │           │               │  to≈T2+4h       │               │
           │           │               │                 │               │
Oracles:   ├─Attest commitments────────┤──Attest locks───┤──Feed EMA─────┤
           │           │               │                 │               │
Expressway:│           │               │                 │   ├─Claim/Refund priority──

Timelock ordering (atomicity-critical). Bob's Aevum HTLC uses the 4 h target_duration (timeout≈T2+4h); Alice's Bond HTLC carries the safety_factor = 1.5 margin (timeout≈T1+6h, §7.3.2), so it expires strictly later, by more than Δ. Bob must consume the preimage revealed at T3 and claim BND before T1+6h − Δ (Alice's Bond refund); his Claim BND at ~T4 therefore sits strictly inside that window, never after it.

7.8.2. Path 2 — wBND Bridge (BND → wBND → AEV)

Timeline:  T0          T1 (~2h)      T2 (~2.1h)    T3 (instant)
           │           │             │              │
User:      ├─Lock BND──┤             ├─Submit att.──┤──Swap wBND→AEV──
           │ (Bond RSC) │             │ (Aevum ESC)   │  (AMM pool)
           │ covenant  │             │ mint wBND    │
           │           │             │              │
Oracles:   │           ├─Observe─────┤──Attest lock─┤
           │           │ 6 confirms  │ quorum sign  │
           │           │             │              │

Reverse (AEV → wBND → BND):

Timeline:  T0          T1 (~instant)  T2 (~72h+)       T3
           │           │              │                 │
User:      ├─Swap AEV──┤──Burn wBND───┤──Wait delay─────┤──Unlock BND──
           │→wBND (AMM)│ (Aevum ESC)   │  barrier        │ (Bond RSC)
           │           │              │  72h minimum     │ present att.
           │           │              │                  │
Oracles:   │           │              ├──Attest burn─────┤
           │           │              │  quorum sign     │
           │           │              │                  │
Delay:     │           │              ├──<2σ: 72h only───┤
           │           │              ├──2-5σ: +12h──────┤──notify owner──
           │           │              ├──>5σ: +72h───────┤──require Arca──

7.9. Bridge Threat Model

Threat Vector Attack Description Mitigation Residual Risk
Oracle Quorum Compromise Attacker compromises ⌊2N/3⌋+1 oracle keys to forge attestations, minting unbacked wBND VRF epoch rotation (attacker must re-compromise a new set every 7 days). Isolated stake slashing (100% for conflicting attestations). 72-hour delay barrier allows detection before BND release. Liveness circuit breaker suspends new bridge mints/releases when N_active falls below the current phase quorum floor ⌊2N/3⌋+1 (genesis 4, Phase 2 15, steady-state 21; §7.5.7) Simultaneous compromise of a full quorum within a single epoch — mitigated by geographic distribution and VRF unpredictability (active set N VRF-selected from registered pool M)
De-Peg via Mass Unauthorized Mint Attacker mints wBND without locking BND, diluting the wBND/BND ratio Oracle quorum required for every mint. Each mint references a specific, verifiable lock TXID on Bond RSC. Duplicate TXID rejection prevents double-mint Requires oracle compromise (see above)
Front-Running Atomic Swap Attacker observes Alice's preimage reveal on Aevum and races to claim BND on Bond before Bob Bob monitors the Aevum chain (or uses his Desktop Node) for preimage revelation. The preimage is public the moment Alice claims. Bob's claim transaction is routed via Systemic Expressway (Tier 2 priority) Bob must be online within the Bond timelock window. If Alice never reveals s, both parties reclaim — no fund loss, only failed swap. If Alice has revealed s and claimed the AEV, a Bob offline until timeout_bond loses his AEV (Alice also reclaims her BND)
Griefing Attack (HTLC Timeout Abuse) Attacker initiates a swap (locks funds) with no intention of completing, wasting counterparty's capital lockup time Submarine Commitment phase requires both parties to lock capital before HTLC activates. Griefing costs the attacker an equivalent capital lockup. Commitment fees are non-refundable (transaction fees consumed) Attacker willing to burn capital to grief — mitigated by reputation scoring in the P2P Relay (repeated griefers are de-prioritized)
Timelock Expiry Race Attacker attempts to claim on one chain while simultaneously waiting for timeout refund on the other Asymmetric timelocks: the safety\_factor = 1.5× margin is carried by the initiator's Bond refund (not the Aevum leg), so Bob's Aevum timelock expires — in wall-clock time — strictly before Alice's Bond refund becomes spendable (Δt(timeout_aev) + Δ ≤ Δt(timeout_bond), §7.3.2 ordering invariant). Bob must claim (or lose) before Alice can refund. Eliminates the race condition Extreme block time variance exceeding the safety factor — mitigated by Adaptive Timelock EMA and Expressway routing
Oracle Stale Attestation Replay Attacker replays an old valid attestation to re-mint wBND for an already-released lock Each attestation references a unique lock TXID. The wBND Bridge Contract maintains a consumed-TXID registry. Duplicate TXIDs are rejected None — structurally impossible given the TXID uniqueness of pUTXOs
AMM Pool Manipulation (Sandwich Attack) Attacker front-runs a large wBND/AEV swap to extract MEV Proposer-level MEV is eliminated by the Commit-Reveal Fair Ordering mechanism (§3.2.7) — the block proposer cannot reorder encrypted UserOperations (UserOps) targeting registered AMM contracts (including the wBND/AEV pool). User-level MEV (external actors submitting sandwich UserOps through Bundlers) is mitigated by slippage tolerance settings in wallets. The protocol does not implement application-layer MEV protection beyond proposer ordering (e.g., no private mempools or batch auctions) Residual user-level sandwich risk from Bundler-submitted adversarial UserOps — mitigated by slippage controls and Bundler reputation scoring (§8.4.2)
Bridge Circuit Breaker Griefing Attacker triggers the >5σ anomaly detection to freeze the bridge, disrupting legitimate users Circuit breaker only pauses new unlocks — existing unlocks past their delay barrier complete normally, and wBND-reducing redemptions are exempt during an active negative-de-peg DePegAlert (§7.4.2/§7.7), so it cannot be weaponized to block parity-restoring arbitrage. The 5σ threshold is calibrated to be extremely unlikely under organic conditions. Attacker must execute bridge volume exceeding 5 standard deviations of the 7-day EMA to trigger — economically expensive Determined attacker with deep capital willing to burn funds for disruption — freeze duration is limited to 1 epoch (7 days) and auto-lifts
Covenant Bypass on Bond RSC Attacker attempts to spend a locked BND pUTXO without satisfying the covenant conditions OP_COVENANT_DEST is enforced at the consensus level — every full node validates the covenant. A transaction violating the covenant is rejected by all honest nodes. This is not a smart contract vulnerability (application layer) but a consensus rule (protocol layer) None — covenant enforcement is equivalent in strength to signature verification. Bypassing requires a consensus bug, which is mitigated by formal verification of the script interpreter

Cross-chain MEV vectors. The threat model above addresses protocol-level attack vectors. A distinct and more nuanced class of threats — cross-chain MEV — exploits informational asymmetries, temporal gaps, and price impact dynamics between Bond RSC, Aevum ESC, the wBND bridge, and the AMM pool. These game-theoretic MEV vectors (including bridge observation front-running, oracle attestation front-running, and delayed mint prediction) are not covered in the protocol-level threat table above. The planned §7.11 (not in this repository — see the §7.11 note in §7.9) was scoped to hold the comprehensive cross-chain MEV taxonomy, quantified extractable values, and proposed mitigation mechanisms.

§7.11 — Cross-Chain MEV Analysis (planned, not in this repository). A cross-chain MEV analysis was planned for the Expanded Sections (§7.11) and its mitigation specifications for the Engineering Blueprint (Gap 12), scoped to cover: 9 taxonomized MEV vectors (M-1 to M-9) with formal game theory (Nash equilibrium for Bundler competition), per-vector extractable-value quantification (~$58.5K/year aggregate = 0.06% TVL), and 8 proposed mitigation mechanisms (BFA, PSR, DMR, OTAD, Oracle Commit-Reveal, Trimmed-Mean EMA, Bundle Ordering Commitment, Commitment Deposit). Those companions are not part of this repository and carry no normative authority; the figures here are indicative, not settled protocol.

7.10. Bridge Implementation Reference Table

The wBND bridge specification is distributed across multiple sections. This table provides a consolidated cross-reference for auditors and implementers — the analog of Appendix 08 §12 (Consolidated Quorum Reference) for the inter-ledger layer.

Component Specification Location Key Parameter Implementer Notes
Path 1 — Atomic Swap (HTLC) §7.2–§7.3 Hash: SHA3-256; timelock: adaptive EMA; Tier 2 Expressway routing Bilateral, P2P, zero custody. No oracle dependency. Available when bridge is frozen.
Path 2 — wBND Lock/Mint §7.4.1 6 confirmations (dynamic: floor 6, cap 24); 72h delay barrier; covenant script: OP_COVENANT_DEST + OP_DELAY_BARRIER Each user pUTXO is independently sovereign — no aggregated pool
Path 2 — wBND Burn/Release §7.4.1 72h base delay + anomaly extension (2–5σ: +12h; >5σ: +72h) User presents burn attestation as witness data to Bond covenant script
Oracle Cryptographic Scheme §7.5.1 · §6.2 Value-anchoring LockAttestation/BurnAttestation: ML-DSA-65 (NIST Level 3, sig_version 0x0001). Non-value feeds (BlockTimeAttestation, price/gas): ML-DSA-44 (NIST Level 2, sig_version 0x0002). Deterministic signing (rnd = 0). (Recommended; pending ADR-0005 ratification, R3.) Value attestations verified via OP_CHECKMULTISIG_THRESHOLD on Bond RSC under ML-DSA-65
Oracle Quorum Thresholds Appendix 08 §12 · §7.5.3 · §7.5.7 Genesis: 4-of-5; Phase 2: 15-of-21; Steady-state: 21-of-30; Liveness circuit breaker: per-phase floor N_active ≥ ⌊2N/3⌋+1 (15 is proposed as a registered-pool floor, its phase role unresolved against M ≥ N = 21 — pending R2; not a genesis active-set floor) Quorum operates on separate stake pool from validators — independent failure domain
Oracle VRF Rotation §7.5.2 Active set N ⊂ registered pool M, VRF-selected per epoch; canonical epoch boundary = Aevum height (e·120,960); seed = SHA3-256(vrf_accumulator@epoch_boundary ∥ e) Accumulator (RANDAO-style, C-15 bias-mitigation) supersedes the retired single-block prev_block_signature seed; attacker cannot predict which oracle identities will be selected; grind-resistance from deterministic signing
Oracle Bootstrap Appendix 08 §4 Genesis set: 3 team + 2 external; Phase 2 trigger: ≥21 external registered See Appendix 08 §4 for stake minimums, registration procedure, and decentralization timeline
Oracle Slashing §7.5.2 Liveness: 2%/miss (forced rotation at 10 misses/epoch); Conflicting attestation: 100% + permanent ban; Fraudulent attestation: 100% + permanent ban 50% of slashed stake to challenger, 50% to DAO Treasury
SPV Challenge Mechanism §7.5.5 72h challenge window; Merkle non-inclusion proof against Bond block header relay Any Bond full node can challenge. Bond block headers stored on Aevum via oracle BlockTimeAttestation
Oracle Fee Structure §7.5.4 Lock/Mint: 0.05% of BND value; Burn/Release: 0.05%; BlockTime attestation: flat fee from Treasury Round-trip fee: 0.10% total
AMM Pool (wBND↔AEV) §7.6 Constant-product (x×y=k); LP fee: 0.30%; Axiom 3 exception documented LP impermanent loss risk disclosed; no protocol insurance
De-Peg Protection §7.7 Alert threshold: 10% deviation for >1 epoch (7 days); Freeze: new mints suspended; Burns continue Persistent de-peg (>2 epochs) triggers FCRC Trigger 1 evaluation (§12.2)
Bond Reorg Handling & Bridge Reconciliation Protocol (BRR) §7.4.1 Level 1: auto-freeze + re-confirm; Level 2: FCRC-B covers deficit, 0.01% surcharge (cap 0.05%) Dynamic confirmation floor function: f(hashrate, target_reorg_probability)
Bundler Bootstrap Appendix 08 §5 All 10 genesis validators are implicit bundlers; minimum bundle reward: non-zero See Appendix 08 §5 for genesis bundler guarantees and bootstrap economics; §8.4 (Account Abstraction) for permissionless bundler entry and reputation mechanics
Bond Block Header Relay §7.5.5 Rolling 504-block window (~7 days) maintained by oracle quorum on Aevum Fake headers require valid PoW — thermodynamically equivalent to mining a Bond block

Cross-cutting invariants:

  1. Zero aggregated custody. Neither path aggregates user capital into a shared contract. Path 1 is bilateral P2P; Path 2 uses individually sovereign covenant pUTXOs.
  2. Independent failure domains. The oracle set (bridge integrity) and validator set (consensus finality) hold separate stake pools, separate key pairs, and separate infrastructure. Oracle compromise does not affect consensus; validator compromise does not affect bridge attestations.
  3. Path 1 always available. Atomic swaps (Path 1) require zero oracle quorum and operate even when the wBND bridge (Path 2) is frozen by circuit breaker.
  4. All signatures post-quantum. Oracle attestations (ML-DSA-65 for value-anchoring lock/burn attestations, ML-DSA-44 for non-value feeds — recommended; pending ADR-0005 ratification), user transactions (ML-DSA-65/44), and HTLC scripts use no elliptic curve primitives at any layer. Inter-ledger bridge specified — user-facing stack next. Section 7 completed the infrastructure layer: two purpose-built chains, post-quantum cryptography, and a zero-custody bridge between them. Sections 8–10 specify the user-facing stack built on top of that infrastructure — Account Abstraction (§8), the Arca hardware wallet (§9), and the Nexus Mobile Wallet (§10).