THE ARCHITECTURENEXUS-120

A deterministic financial protocol engine powering sovereign credit infrastructure. Every decision produces a cryptographic receipt. Every receipt is immutable.

474 COMMITS · 335 TAGS · AUDIT-GRADE

Five laws that cannot be overridden

SOV_001
BASELINE CONSTITUTION

Foundational governance rules and constitutional parameters governing all protocol behavior. The baseline defines system-wide invariants that no module can bypass.

Constitutional parameter enforcementLegacy compatibility layerBaseline audit trailSystem invariant protection
● ACTIVE
SOV_002
ADVERSARIAL SUITE

6 attack scenarios hardened against all known vectors: tamper, replay, double-finalization, parameter injection, oracle manipulation, governance capture. Every vector produces a signed rejection receipt.

Tamper detectionReplay protectionDouble-finalization guardOracle manipulation defenseGovernance capture resistanceParameter injection block
● ACTIVE
SOV_003
CAPITAL ADEQUACY LAW

Hard enforcement of CCR ≥ 1.05, LCR ≥ 1.0, leverage ≤ 95%. No exceptions. No overrides. Automatic mint_throttle on capital fail. Protocol enters RECOVERY mode until ratios are restored.

CCR ≥ 1.05 enforcementLCR ≥ 1.0 monitoringLeverage ≤ 95% capMint throttle on failRECOVERY mode triggerCapital ratio audit log
● ACTIVE
SOV_004
TREASURY CONSTITUTION

4-tranche waterfall: OPERATING, LIQUID, CORE, BACKSTOP. Outflow freeze triggers automatically on treasury fail. No redemption permitted during active freeze.

4-tranche architectureWaterfall disbursement modelOutflow freeze on failRedemption controlTreasury audit receipts
● ACTIVE
SOV_005
RISK LATTICE

5-year stress simulation across 5 axes: liquidity shock, peg deviation, NAV haircut, leverage spike, correlation breakdown. Capital and treasury modules are fully coupled in the simulation.

5Y stress horizon5-axis simultaneous simulationCapital-treasury couplingAdversarial stress variantsRisk receipt generation
● ACTIVE

The engine

Deterministic Python engine. Every economic request passes through 6 gates. Every verdict is signed. Every receipt is hash-chained.

NEXUS-120 EXECUTION FLOW
REQUEST
Input
PILLAR 2
Risk Verdict
PILLAR 3
Capital Check
PILLAR 4
Caps Validation
ENGINE
Fee Validation
RECEIPT
Audit Chain
OUTPUT
ALLOW / DENY
SHA-256
Receipt Algorithm
JSONL
Append-only audit log
HASH-CHAINED
Immutable receipt chain

On-chain layer

ARBITRUM SEPOLIA
VAULTMANAGER

Manages collateralized vault creation, debt state, and lifecycle transitions. Min collateral ratio 150%. Auto-liquidation triggered at 130%. No manual override.

ERC-20
NXUSDTOKEN

Overcollateralized on-chain credit asset (ERC-20). Mint and burn operations restricted exclusively to VaultManager via MINTER_ROLE and BURNER_ROLE access control.

KEEPER_ROLE
LIQUIDATIONENGINE

Executes controlled liquidation when vault positions breach the safety threshold. 5% keeper bonus incentive. KEEPER_ROLE enforced — no unauthorized liquidations.

CHAINLINK
ORACLEMODULE

Chainlink price feed wrapper with staleness check (max 1 hour). Rejects stale data automatically. Protects the entire protocol against oracle manipulation attacks.

The code is public.
The receipts are real.

474 commits. 335 version tags. Every line auditable.
No promises. No roadmaps. Proof.

View Contracts on GitHub →