# Introduction

<figure><img src="https://1291359531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAGKZeBuLPiWbT9zWuEsJ%2Fuploads%2FOY3egDjb4kM7wxbjOrle%2Fimage.png?alt=media&amp;token=fc761ff6-4351-404d-99f2-5320304de19d" alt=""><figcaption></figcaption></figure>

## RAX Protocol <a href="#id-7869e8b5-88c6-45d2-a293-58536e4557d0" id="id-7869e8b5-88c6-45d2-a293-58536e4557d0"></a>

RAX is an AI-powered risk intelligence layer for DeFi.

The protocol analyzes on-chain opportunities, simulates possible outcomes and allocates capital through autonomous vault strategies designed to maximize **risk-adjusted yield**.

Unlike traditional yield aggregators, RAX focuses on **risk analysis before allocation**, evaluating exposure, liquidity conditions and protocol health.

***

### Core Components <a href="#id-6e49b260-b3ae-4ea0-9ff9-ad9f40edaabb" id="id-6e49b260-b3ae-4ea0-9ff9-ad9f40edaabb"></a>

#### Risk Intelligence <a href="#id-6c04d7ea-6ae3-4c46-bc0d-deee74426e59" id="id-6c04d7ea-6ae3-4c46-bc0d-deee74426e59"></a>

RAX continuously evaluates DeFi opportunities using multiple metrics including liquidity depth, volatility and protocol health to generate a dynamic **risk score**.

#### Simulation Engine <a href="#b8dc42f6-7cbe-4adb-b634-c78ad477daa3" id="b8dc42f6-7cbe-4adb-b634-c78ad477daa3"></a>

Before capital is allocated, RAX runs simulations to evaluate potential outcomes such as:

* expected yield
* downside risk
* drawdown scenarios
* exposure concentration

#### Allocation Engine <a href="#id-932f0ff7-0327-445e-9ab0-3226556afb3c" id="id-932f0ff7-0327-445e-9ab0-3226556afb3c"></a>

The allocation engine distributes capital across strategies based on **risk-adjusted return** rather than raw yield.

#### AI-Managed Vault <a href="#id-1193b7f2-ef7b-4b05-8395-d3056be49bf4" id="id-1193b7f2-ef7b-4b05-8395-d3056be49bf4"></a>

Capital is deployed through an ERC-4626 vault architecture that executes allocation decisions and manages deposits and withdrawals on-chain.

#### RaxBot <a href="#d52423fc-bec0-496a-aa7c-2373eed2f459" id="d52423fc-bec0-496a-aa7c-2373eed2f459"></a>

RaxBot provides an interpretation layer that helps users understand the system’s decisions and risk exposure.

***

### Learn More <a href="#a5dfdf43-6136-4542-a1ca-995c603c13c5" id="a5dfdf43-6136-4542-a1ca-995c603c13c5"></a>

Explore the documentation to understand how RAX works:

* Risk Score
* Exposure vs Allocation
* Simulations
* Allocation Engine
* AI-Managed Vault


# Quickstart

This quickstart introduces the core workflows of RAX Protocol and helps you get value from the system within minutes.

RAX can be used in multiple ways depending on your role and objectives. The paths below outline the most common entry points.

***

#### Option 1: Explore in Demo Mode <a href="#c383071e-a155-40cf-a139-0a690615fbcc" id="c383071e-a155-40cf-a139-0a690615fbcc"></a>

Start here if you want to understand what RAX does before connecting a wallet.

1. Visit the RAX application
2. Select Demo Mode from the landing page — no wallet required
3. Explore the Risk Overview dashboard: global risk metrics, protocol status, AI market signals
4. Navigate to Exposure Analysis to see how capital is distributed across protocols and assets
5. Run a Simulation to see how the autonomous vault would behave over time

Demo Mode provides full access to the interface with simulated data.

***

#### Option 2: Analyze Risk and Exposure <a href="#id-411ad3ef-66e6-4878-9e98-d197e180716b" id="id-411ad3ef-66e6-4878-9e98-d197e180716b"></a>

Use this path if you want to understand DeFi risk conditions.

1. Open the Risk Overview dashboard
2. Review the overall Risk Score and its component dimensions
3. Check protocol-level status for Aave, Compound, Uniswap, and Aerodrome
4. Navigate to Exposure Analysis to identify concentration across protocols and asset classes
5. Review alerts for any active risk warnings

This workflow is useful for gaining situational awareness before making capital decisions.

***

#### Option 3: Allocate Capital Through the Vault <a href="#id-9d887b83-d773-4fc2-85ae-135b91c6a6ac" id="id-9d887b83-d773-4fc2-85ae-135b91c6a6ac"></a>

Use this path to actively manage capital with AI assistance.

1. Connect your wallet (Base Sepolia testnet)
2. Configure a Mandate — define your risk tolerance, protocol exposure limits, liquidity thresholds, and rebalance rules
3. Deposit USDC into the vault
4. Review AI-generated allocation proposals in the Allocation Engine
5. Approve, reject, or enable auto-execution for proposed rebalances
6. Monitor decisions in the Decision History

***

#### Option 4: Enable Autonomous Mode <a href="#id-5659d57a-2795-4c90-9c88-3e3d282eac09" id="id-5659d57a-2795-4c90-9c88-3e3d282eac09"></a>

For users ready to let the system operate independently within constraints.

1. Complete Option 3 (mandate configured, capital deposited)
2. Enable Auto-Execute in your mandate settings
3. RaxBot will begin running decision cycles automatically
4. Monitor notifications for rebalances, emergency stops, and pending approvals
5. Adjust the mandate as conditions change — the system adapts on the next cycle

Autonomous Mode requires the Power tier ($RAX token holding).

***

#### What to Explore Next <a href="#e9c59e70-4221-444f-a37e-4936d424155e" id="e9c59e70-4221-444f-a37e-4936d424155e"></a>

After completing the quickstart, we recommend:

* **Risk Score** to understand how risk is measured and what the dimensions mean
* **Exposure vs Allocation** to learn how concentration affects portfolio risk
* **Allocation Engine** to see how strategies and constraints interact
* **AI-Managed Vault** to understand the on-chain architecture
* **Security & Risk Disclosures** to understand system limits and assumptions

***

#### Important Notes <a href="#id-727e54d3-52c2-4e60-984b-8863ccef5663" id="id-727e54d3-52c2-4e60-984b-8863ccef5663"></a>

* RAX provides risk intelligence and decision support, not financial advice
* Risk scores and simulations are based on models and assumptions that may not hold under extreme conditions
* The current deployment is on Base Sepolia testnet — testnet tokens have no monetary value
* All capital decisions remain the responsibility of the user


# Glossary

This glossary defines key terms used throughout the RAX Protocol documentation.

***

**Allocation Engine** — The decision-support system that evaluates opportunities and proposes capital allocations within mandate constraints. Can be invoked manually through the interface or autonomously through RaxBot.

**Decision Cycle** — One complete evaluation pass by RaxBot: risk calculation, mandate checking, allocation proposal, and execution or hold. Each cycle produces a logged decision record.

**ERC-4626** — A tokenized vault standard on Ethereum. The RAX vault implements this standard, issuing shares proportional to deposits and managing assets across multiple strategies.

**Exposure** — The actual distribution of capital across protocols, assets, or chains at any point in time. May differ from the target allocation due to market movements between rebalances.

**Intelligence Score** — A proprietary composite metric (0-100) where higher values indicate better risk-adjusted opportunity. Inverts risk dimensions and adds yield quality bonuses.

**Keeper** — A dedicated wallet authorized to execute rebalance transactions on the vault contract. The keeper operates within mandate rules and is the only address permitted to call the rebalance function on-chain.

**Mandate** — A user-defined set of constraints that governs all autonomous actions: risk tolerance, exposure limits, allowlists, rebalance thresholds, drawdown limits, and approval rules.

**RaxBot** — The autonomous execution process that runs decision cycles on a schedule, monitoring conditions and acting within the mandate without requiring user interaction for each cycle.

**Risk Score** — A normalized value from 0 to 100 representing relative risk. Derived from five weighted dimensions and used for comparison across assets, protocols, and portfolios.

**Strategy Adapter** — A smart contract that connects the vault to a specific DeFi protocol (Aave, Compound, Uniswap V3, Aerodrome), handling deposits, withdrawals, and yield collection through the IStrategyAdapter interface.

**Tier** — Access level determined by $RAX token holdings. Four tiers: Free (0 RAX), Holder (1+ RAX), Pro (1,000+ RAX), Power (10,000+ RAX).


# Risk Score

<figure><img src="https://1291359531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAGKZeBuLPiWbT9zWuEsJ%2Fuploads%2FEuecW1La4F7pXRiGsmqf%2Fimage.png?alt=media&amp;token=e8ad4c51-d1a0-4923-87c1-cb69d979e6e9" alt=""><figcaption></figcaption></figure>

The Risk Score is a core concept in RAX Protocol.

It provides a normalized view of relative risk across assets, protocols, strategies, and portfolios, allowing users to reason about exposure and capital allocation using a consistent reference point.

***

#### What the Risk Score Represents <a href="#adcc45a4-62d0-4d31-b124-7c103218f7f1" id="adcc45a4-62d0-4d31-b124-7c103218f7f1"></a>

The RAX Risk Score is a normalized value ranging from 0 to 100.

* Lower values indicate lower relative risk
* Higher values indicate higher relative risk

The score is designed to be comparative, not absolute. It reflects how risky an asset, protocol, or portfolio is relative to others under current market conditions.

A low score does not imply the absence of risk. A high score does not imply inevitable failure.

***

#### How the Score Is Calculated <a href="#id-3d3aefdc-e65f-4fcf-8af9-3c1392748e4f" id="id-3d3aefdc-e65f-4fcf-8af9-3c1392748e4f"></a>

RAX uses a five-dimensional scoring model with the following weights:

**Smart Contract Risk (30%)** — Evaluates protocol maturity, TVL as a proxy for battle-testing, and protocol category. Established protocols like Aave and Compound receive lower scores. Newer or structured products receive higher scores.

**Impermanent Loss Risk (25%)** — Relevant for liquidity pool positions. Evaluated based on pool type, observed IL over 7-day windows, and asset correlation. Stablecoin pools score very low; volatile LP pairs score high.

**Liquidity Risk (20%)** — Assesses available liquidity relative to the vault or pool size, trading volume ratios, and capacity utilization. Low-liquidity positions increase exit risk and receive higher scores.

**Volatility Risk (15%)** — Measures yield stability over 30-day windows using APY percentage change. Stablecoin positions receive minimal scores. The system also incorporates predicted stability classification where available.

**Protocol Risk (10%)** — A tiered assessment based on protocol reputation. Tier 1 protocols (Aave, Uniswap, Curve, Lido, Compound, Maker) receive the lowest scores. Tier 2 (Balancer, Convex, Yearn) and Tier 3 (Velodrome, Aerodrome, Pendle) receive progressively higher scores.

#### Risk Categories <a href="#c5117d11-b5d1-4d64-ad0e-be984ceebfb7" id="c5117d11-b5d1-4d64-ad0e-be984ceebfb7"></a>

Composite scores map to categories:

* 0–20: Very Low
* 21–40: Low
* 41–60: Moderate
* 61–80: High
* 81–100: Very High

***

#### How the Risk Score Is Used <a href="#c1d8ff5e-1889-4a74-ba40-cb5501686b6b" id="c1d8ff5e-1889-4a74-ba40-cb5501686b6b"></a>

The Risk Score appears throughout the RAX system:

* Global Risk Score to describe overall conditions
* Portfolio Risk Score to summarize aggregate portfolio risk
* Protocol and vault risk scores to compare relative safety
* Allocation Engine inputs to constrain and guide capital allocation
* Alert thresholds to detect rising or abnormal risk
* Emergency triggers — if the score exceeds 150% of the mandate maximum, an automatic emergency stop activates

In all cases, the score is intended to be interpreted alongside supporting metrics, not in isolation.

***

#### Interpreting Risk Score Changes <a href="#id-36d750d3-aef3-4c5e-bda8-6f8c7ca2b531" id="id-36d750d3-aef3-4c5e-bda8-6f8c7ca2b531"></a>

Risk Scores are dynamic and may change over time. Common reasons include increases in volatility, liquidity inflows or outflows, shifts in market correlation, detection of anomalous behavior, and changes in exposure composition.

A rising Risk Score indicates increasing relative risk. A falling Risk Score indicates improving relative conditions. Trends across multiple readings are more informative than single-point values.

***

#### What the Risk Score Does Not Do <a href="#id-39b0c069-5506-4cc8-b005-a107acaabbd0" id="id-39b0c069-5506-4cc8-b005-a107acaabbd0"></a>

The Risk Score does not predict future prices, guarantee safety or returns, replace detailed analysis, or eliminate the need for human judgment.

It is a decision-support signal, not an autonomous decision-maker.

***

#### Using the Risk Score Effectively <a href="#a76be562-a0bb-48ca-ba1e-c18d5f1ff762" id="a76be562-a0bb-48ca-ba1e-c18d5f1ff762"></a>

To use the Risk Score effectively:

* Compare scores across similar assets or strategies
* Monitor changes over time rather than focusing on single values
* Combine the score with exposure analysis and simulations
* Apply explicit constraints when allocating capital
* Treat scores with caution during unprecedented market events — models have assumptions that may not hold under extreme conditions


# Exposure vs Allocation

<figure><img src="https://1291359531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAGKZeBuLPiWbT9zWuEsJ%2Fuploads%2F2lJZzOenLmcjweOv8C7E%2Fimage.png?alt=media&amp;token=e8e162d4-985d-4dc6-a581-bffdf47e87ad" alt=""><figcaption></figcaption></figure>

Exposure and allocation are related but distinct concepts in RAX.

***

#### Defining the Difference <a href="#id-994cdaa8-8845-4b56-829b-ee1e20ee08e1" id="id-994cdaa8-8845-4b56-829b-ee1e20ee08e1"></a>

**Allocation** is the intended distribution of capital — the target percentages assigned to each protocol or strategy by the allocation engine or user.

**Exposure** is the actual distribution of capital at any given moment. It may differ from the allocation due to market movements, yield changes, deposits or withdrawals in underlying protocols, or timing between rebalances.

The gap between allocation and exposure is what triggers rebalancing. When the deviation exceeds the mandate's rebalance threshold, the system proposes bringing exposure back in line with the target allocation.

***

#### Why the Distinction Matters <a href="#id-3cf28197-e396-4707-ad03-5d3aea1cd4db" id="id-3cf28197-e396-4707-ad03-5d3aea1cd4db"></a>

In traditional finance, allocation and exposure are often treated as the same thing. In DeFi, they can diverge significantly between rebalances because underlying positions shift in value continuously.

A portfolio allocated 30% to Aave may drift to 35% exposure if Aave positions appreciate faster than others. This drift changes the risk profile even though no deliberate action was taken.

RAX monitors this drift continuously and uses the deviation as a key input to the rebalancing decision.

***

#### Exposure Dimensions <a href="#id-3d29b08a-b399-4b89-a15e-5be59db9a403" id="id-3d29b08a-b399-4b89-a15e-5be59db9a403"></a>

RAX tracks exposure across three dimensions:

* **Protocol exposure** — percentage of capital in each protocol (Aave, Compound, Uniswap, Aerodrome, etc.)
* **Asset class exposure** — distribution across stablecoins, volatile assets, and liquidity pool positions
* **Chain exposure** — distribution across networks (currently Base; multi-chain is planned)

Concentration risk is measured using the Herfindahl-Hirschman Index (HHI). A higher HHI indicates a more concentrated portfolio, which increases the concentration risk component of the overall Risk Score.

***

#### How Exposure Informs Decisions <a href="#id-4439646a-f6be-41d5-8377-a8abe6a84bab" id="id-4439646a-f6be-41d5-8377-a8abe6a84bab"></a>

High concentration in a single protocol or asset class creates dependency risk. If that protocol experiences a vulnerability or liquidity event, a concentrated portfolio suffers disproportionately.

The allocation engine uses exposure data to avoid proposing allocations that would increase concentration beyond mandate limits. The mandate's `maxProtocolExposure` parameter directly caps how much any single protocol can represent in the portfolio.


# Risk-Adjusted Yield

<figure><img src="https://1291359531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAGKZeBuLPiWbT9zWuEsJ%2Fuploads%2FTpHCd71TV5FB1KOuBh5R%2Fimage.png?alt=media&amp;token=0e2029e4-b87c-4bc2-9a4a-29c7a01fb67b" alt=""><figcaption></figcaption></figure>

Raw yield (APY) is insufficient for evaluating DeFi opportunities without risk context.

A 50% APY pool with extreme volatility and low liquidity may deliver worse risk-adjusted outcomes than a 5% APY position in a stable, liquid protocol. Headline yield attracts capital, but risk-adjusted yield determines whether that capital is preserved.

***

#### How RAX Calculates Risk-Adjusted Yield <a href="#id-09a8da46-cbf4-4bdf-8eb3-5033ef55c2df" id="id-09a8da46-cbf4-4bdf-8eb3-5033ef55c2df"></a>

RAX computes risk-adjusted yield as:

Risk-Adjusted Yield = APY / (1 + Risk Score / 100)

A pool with 12% APY and a risk score of 30 has a risk-adjusted yield of approximately 9.2. The same 12% APY with a risk score of 70 drops to approximately 7.1.

This metric feeds into the Intelligence Score and directly influences the allocation engine. Under defensive and balanced strategy profiles, the engine favors positions with higher risk-adjusted yield over raw APY.

***

#### Role in Allocation <a href="#id-53b18b72-4867-4652-b079-19f37b72893e" id="id-53b18b72-4867-4652-b079-19f37b72893e"></a>

Strategies that deliver more return per unit of risk are favored, especially under defensive or balanced profiles. Higher-yield strategies with weaker risk-adjusted performance may be deprioritized even if headline returns appear attractive.

This ensures the system does not chase yield at the expense of portfolio stability — a core design principle of RAX.

***

#### Limitations <a href="#id-527c93b5-53a2-4112-bdbe-95a2a763fcdd" id="id-527c93b5-53a2-4112-bdbe-95a2a763fcdd"></a>

Risk-adjusted yield is backward-looking — it uses current APY and current risk scores. It does not account for future changes in either metric. It should be used alongside simulations and stress testing, not as a standalone decision signal.


# Risk Overview

The Risk Overview is the primary dashboard for monitoring market and portfolio conditions.

It provides a consolidated view of system health, risk metrics, and recent activity.

***

#### What It Displays <a href="#dd71ea55-318a-4161-a2d5-4f4a30df9082" id="dd71ea55-318a-4161-a2d5-4f4a30df9082"></a>

* **Portfolio metrics** — total value, current allocation summary, number of active strategies
* **Platform metrics** — protocols monitored, strategies deployed, average APY across positions
* **Risk metrics** — overall risk score with breakdown by protocol risk, concentration risk, liquidity risk, and volatility exposure
* **AI Market Signals** — real-time observations about current market conditions and detected patterns
* **Protocol Status** — live operational status of integrated protocols (Aave, Compound, Uniswap, Aerodrome)
* **Activity Feed** — recent system events including rebalances, deposits, withdrawals, and decision outcomes

***

#### Navigating from Risk Overview <a href="#id-4c39adf9-57ad-4429-8a1a-e4d103590837" id="id-4c39adf9-57ad-4429-8a1a-e4d103590837"></a>

The Risk Overview serves as a hub. Users can navigate directly to Exposure Analysis for deeper breakdowns, to the Allocation Engine to act on insights, or to Simulations to test hypothetical scenarios.

Risk Overview is available at the Free tier. No wallet connection is required in Demo Mode


# Exposure Analysis

The Exposure Analysis section provides a detailed breakdown of where capital is deployed and where concentration risks exist.

***

#### What It Displays <a href="#id-57dc6af6-9381-4c93-b28b-bad08d86a8e8" id="id-57dc6af6-9381-4c93-b28b-bad08d86a8e8"></a>

* **Protocol Exposure** — percentage allocated to each protocol, with warnings when any single protocol exceeds safe thresholds
* **Asset Class Exposure** — distribution across stablecoins, volatile assets, and liquidity pool positions
* **Chain Exposure** — distribution across networks
* **Concentration Risk Score** — derived from the HHI calculation, flagging insufficient diversification
* **Liquidity Risk Assessment** — ratio of liquid assets to total portfolio value

Each metric includes a visual indicator: green (within safe bounds), yellow (approaching limits), red (exceeding limits).

***

#### Using Exposure Analysis <a href="#id-1a3119a0-d027-499e-8cea-ef6bf60ade15" id="id-1a3119a0-d027-499e-8cea-ef6bf60ade15"></a>

Exposure Analysis is most useful when combined with the Risk Score. A low overall risk score with high concentration in a single protocol may mask dependency risk. Exposure Analysis surfaces these hidden risks.

Before enabling autonomous mode, review exposure analysis to ensure the mandate's protocol exposure limits are appropriate for your current positions.

Exposure Analysis is available from the Holder tier.


# Alerts & Monitoring

The alert system generates warnings when risk metrics cross defined thresholds.

***

#### Alert Severity Levels <a href="#id-022c493d-9c51-4275-9180-95c7d0370efe" id="id-022c493d-9c51-4275-9180-95c7d0370efe"></a>

**HIGH** — Protocol risk exceeds acceptable levels, severe portfolio concentration detected, or liquidity constraints identified. These require immediate attention.

**MEDIUM** — Moderate concentration risk detected, or volatility exposure approaching the mandate's risk tolerance limit.

**LOW** — Informational alerts about metrics approaching thresholds. No immediate action required.

***

#### How Alerts Are Generated <a href="#id-2f74a9c8-40d9-40de-a69f-1f3b0a8940aa" id="id-2f74a9c8-40d9-40de-a69f-1f3b0a8940aa"></a>

Alerts are produced by the Risk Calculator during each evaluation cycle. Alert thresholds adapt based on the active mandate's risk tolerance setting — a defensive mandate triggers alerts at lower thresholds than an aggressive one.

***

#### Monitoring Best Practices <a href="#fa95b965-0741-46fb-80ee-a2736abab91a" id="fa95b965-0741-46fb-80ee-a2736abab91a"></a>

* Review alerts regularly rather than waiting for critical severity
* Treat persistent MEDIUM alerts as signals to adjust the mandate before conditions escalate
* Use alert patterns over time to inform strategy changes
* Combine alerts with Exposure Analysis for full context

Alerts & Monitoring is available from the Holder tier.


# Simulations

Simulations allow users to test how the autonomous vault would behave over a specified time period before committing to autonomous operation.

***

#### How Simulations Work <a href="#id-5305f3ae-287f-4c24-8b60-8569a42eedfe" id="id-5305f3ae-287f-4c24-8b60-8569a42eedfe"></a>

The simulation engine runs the full allocation engine decision loop — risk calculation, mandate checking, opportunity evaluation, allocation proposal — repeatedly over a simulated time window. Each iteration may produce a different outcome depending on simulated market conditions, including random volatility events.

***

#### Running a Simulation <a href="#id-974737d7-3d8c-4975-860c-57379786cfb9" id="id-974737d7-3d8c-4975-860c-57379786cfb9"></a>

Users configure the duration (how many hours to simulate) and the vault to test against. The simulation produces a timeline of events showing every decision the system would have made.

***

#### Interpreting Results <a href="#id-929efaae-45be-4fab-8b04-be6655fc2d23" id="id-929efaae-45be-4fab-8b04-be6655fc2d23"></a>

The simulation summary shows: total evaluations performed, number of rebalances triggered, number of emergency stops, number of holds, and number of pending approvals.

A healthy simulation typically shows mostly holds with occasional rebalances. Frequent emergency stops suggest the mandate's risk limits may be too close to current market conditions. Frequent rejections suggest overly restrictive constraints.

This helps users calibrate their mandate before enabling autonomous mode.

***

#### Limitations <a href="#f8b56743-e35d-4c63-8410-09edca6c5ca5" id="f8b56743-e35d-4c63-8410-09edca6c5ca5"></a>

Simulations use simplified market models with random volatility events. They do not replicate actual market conditions and should not be interpreted as predictions. They are tools for understanding system behavior under mandate constraints.

Simulations are available from the Pro tier.<br>

They support more deliberate and resilient decision-making in complex DeFi environments.


# Allocation Engine

The Allocation Engine is the decision-support core of RAX Protocol.

It is designed to help users allocate capital in a disciplined manner by applying explicit risk constraints, strategy profiles, and real-time risk intelligence.

Rather than optimizing for maximum yield, the Allocation Engine prioritizes control, resilience, and capital efficiency.

***

#### How It Works <a href="#id-8401a31f-2eb1-47a4-a529-f89f70234a22" id="id-8401a31f-2eb1-47a4-a529-f89f70234a22"></a>

Each evaluation follows a structured sequence:

1. Load the vault's current state and active mandate
2. Check whether the vault is paused
3. Calculate risk metrics across all current positions
4. Check for emergency triggers (critical risk, drawdown breach, liquidity crisis)
5. Detect current market and portfolio conditions
6. Verify the minimum rebalance interval has elapsed
7. Evaluate available opportunities against the mandate's constraints
8. Propose an allocation based on strategy profile and risk-adjusted yield
9. Run a full compliance check against all mandate constraints
10. Generate an explanation of the reasoning
11. Determine whether the deviation warrants rebalancing
12. Execute, request approval, or hold based on compliance results

***

#### Strategy Profiles <a href="#id-78d1f747-f595-44ec-986d-2b3ae2888118" id="id-78d1f747-f595-44ec-986d-2b3ae2888118"></a>

The engine operates using strategy profiles that define the user's risk posture:

* **Defensive** — focused on capital preservation and stability, favoring low-risk positions
* **Balanced** — targeting risk-adjusted efficiency across the portfolio
* **Aggressive** — tolerating higher volatility for potential upside

Profiles define boundaries and priorities. They do not execute trades automatically unless autonomous mode is enabled.

***

#### Risk Constraints <a href="#id-60f90167-06ef-41ad-a4ab-4af4f4cc155b" id="id-60f90167-06ef-41ad-a4ab-4af4f4cc155b"></a>

Risk constraints are explicit limits applied to every allocation decision:

* Maximum acceptable Risk Score
* Maximum protocol exposure per position
* Maximum chain exposure
* Minimum liquidity threshold
* Maximum capital moved per rebalance
* Drawdown tolerance
* Protocol and asset allowlists

Constraints act as guardrails that prevent allocations outside acceptable risk boundaries. If any constraint would be violated, the proposal is rejected.

***

#### Allocation Suggestions <a href="#id-34bf729c-18ed-4e57-946c-6fbca72b59b4" id="id-34bf729c-18ed-4e57-946c-6fbca72b59b4"></a>

Based on the active profile and constraints, the engine generates allocation suggestions that may include increasing or decreasing exposure to specific strategies, rebalancing across protocols, reducing concentration in high-risk areas, or maintaining defensive positioning.

All suggestions are advisory by default and require user approval unless autonomous mode is enabled.

***

#### Human Oversight and Control <a href="#id-2ff895bf-ca3d-4257-b203-17f31b19b43e" id="id-2ff895bf-ca3d-4257-b203-17f31b19b43e"></a>

The Allocation Engine is designed with human oversight in mind. It does not execute trades autonomously unless the user explicitly enables auto-execution in the mandate. Users remain in control of strategy selection, constraint configuration, approval decisions, and the ability to pause at any time.

This design ensures accountability and transparency at every step.

The Allocation Engine is available from the Pro tier. Autonomous execution requires the Power tier.


# Settings & Access Control

Settings and Access Control define how RAX is configured, secured, and governed at the user level.

***

#### Mandate Configuration <a href="#id-47a886d7-24c1-4e3f-81a5-16df43418416" id="id-47a886d7-24c1-4e3f-81a5-16df43418416"></a>

The mandate defines all rules governing vault operation. Configurable parameters include:

* Risk tolerance profile (defensive, balanced, aggressive)
* Maximum risk score (default: 50)
* Maximum protocol exposure per position (default: 40%)
* Maximum chain exposure (default: 100%)
* Minimum liquidity threshold (default: 10%)
* Maximum capital per rebalance (default: 25%)
* Rebalance threshold — deviation percentage (default: 5%)
* Minimum rebalance interval (default: 1 hour)
* Maximum drawdown before emergency stop
* Protocol allowlist
* Asset allowlist
* Auto-execute toggle (off by default)
* Approval threshold for large capital movements

Changes take effect on the next decision cycle. All changes are versioned — each decision record references the mandate version that was active, providing a clear audit trail.

***

#### Access Tiers <a href="#cb72fbb1-a9ec-4db3-844f-3fe8d3a40f99" id="cb72fbb1-a9ec-4db3-844f-3fe8d3a40f99"></a>

RAX uses two complementary access systems:

**Wallet-based progression:**

* Free — no wallet required, basic analytics
* Wallet Connected — personalized exposure and alerts
* Capital Deposited — allocation engine and mandate configuration
* Autonomous Mode — keeper-driven auto-execution

**Token-based tiers (determined by $RAX balance on Base):**

| Tier   | Minimum $RAX | Key Features                                            |
| ------ | ------------ | ------------------------------------------------------- |
| Free   | 0            | Risk Overview, basic exposure                           |
| Holder | 1            | Full vault rankings, advanced filters, alerts           |
| Pro    | 1,000        | Simulations, allocation presets, full exposure analysis |
| Power  | 10,000       | Decision export, full settings, RaxBot access           |

Founder wallets receive full Power tier access regardless of token balance.

***

#### Security Practices <a href="#id-4a45a992-4428-4c81-8158-06b073cbb725" id="id-4a45a992-4428-4c81-8158-06b073cbb725"></a>

The vault contract uses Ownable2Step (two-step ownership transfer preventing accidental transfers), ReentrancyGuard, and Pausable patterns from OpenZeppelin. Only the authorized keeper address can execute rebalances. Emergency pause can be triggered by the owner at any time.

Settings should be reviewed periodically, especially after changes in market conditions or strategy.


# AI-Managed Vault

The AI-Managed Vault is a fully functional, on-chain capital management system deployed on Base.

It combines the ERC-4626 tokenized vault standard with multi-strategy allocation, autonomous keeper-based rebalancing, and a comprehensive fee and safety system.

***

#### Architecture <a href="#id-52414bd1-ba91-4310-af62-ff83548432b1" id="id-52414bd1-ba91-4310-af62-ff83548432b1"></a>

The vault implements ERC-4626. Users deposit USDC and receive vault shares proportional to their deposit. The vault manages assets across multiple DeFi strategies through dedicated adapter contracts.

**Vault Contract:** `0x3E6bf646b379C75d47Cf91d5569621FD0df53d78` (Base Sepolia)

**Underlying Asset:** USDC (`0x25b56942824E65B5d83BD57f54e3518CccFcd088` — MockUSDC on testnet)

The total assets under management equals idle USDC in the vault plus the sum of assets deployed across all registered strategy adapters.

***

#### Strategy Adapters <a href="#cfaf48a2-398d-46f4-8864-b11862590737" id="cfaf48a2-398d-46f4-8864-b11862590737"></a>

The vault allocates capital through four dedicated adapter contracts:

* **Aave Adapter** — deposits into Aave lending pools
* **Compound Adapter** — deposits into Compound lending markets
* **Uniswap V3 Adapter** — concentrated liquidity positions
* **Aerodrome Adapter** — liquidity provision and gauge staking

Each adapter implements the `IStrategyAdapter` interface, providing standardized `deposit()`, `withdraw()`, and `totalAssets()` functions. New strategies can be added through the `addStrategy()` function with a configurable maximum exposure limit.

***

#### Keeper System <a href="#id-4a1ddb4d-9424-4468-aca0-8bf51ba6dac5" id="id-4a1ddb4d-9424-4468-aca0-8bf51ba6dac5"></a>

The keeper is a dedicated wallet authorized to execute rebalances on the vault contract. The `onlyKeeper` modifier restricts the `rebalance()` function to this address or the contract owner.

Rebalancing accepts an array of strategy addresses and target weights in basis points (summing to 10,000). The vault redistributes capital across strategies accordingly. The keeper can also trigger `harvestAll()` to collect rewards from all active strategies.

***

#### Fee Structure <a href="#id-4ea2788e-1bf9-433c-904a-e584d2a8c5b0" id="id-4ea2788e-1bf9-433c-904a-e584d2a8c5b0"></a>

The vault collects fees through four mechanisms:

* **Management Fee** — annual fee in basis points, accrued over time (maximum 5%)
* **Performance Fee** — charged on profits above the high watermark (maximum 30%)
* **Deposit Fee** — entry fee deducted from deposits
* **Withdrawal Fee** — exit fee deducted from withdrawals

Fees are collected to a designated treasury address. The high watermark ensures performance fees only apply to new profits — during recovery periods after a drawdown, no performance fees are charged.

***

#### Safety Mechanisms <a href="#id-3056f5b3-8a07-4323-90b6-45d9555d9b92" id="id-3056f5b3-8a07-4323-90b6-45d9555d9b92"></a>

The vault includes multiple layers of protection:

* **Pausable** — emergency pause halts all deposits, withdrawals, and rebalances instantly
* **ReentrancyGuard** — prevents reentrancy attacks on deposit and withdrawal functions
* **Ownable2Step** — two-step ownership transfer prevents accidental or malicious ownership changes
* **Max Drawdown Halt** — if vault value drops below the drawdown threshold (configurable, default 15%) relative to the initial share price, operations halt automatically
* **High Watermark** — tracks peak share price, preventing performance fee extraction during recovery

***

#### Mandate Enforcement <a href="#id-391ed2d2-ae8c-4f6f-91f7-5a3a93d58f01" id="id-391ed2d2-ae8c-4f6f-91f7-5a3a93d58f01"></a>

The off-chain allocation engine enforces all mandate constraints before submitting any rebalance transaction to the keeper. The keeper will not submit a transaction that violates the mandate.

The on-chain contract provides an additional safety layer through the pause mechanism and drawdown check, creating defense in depth.

***

#### Current Deployment <a href="#f313377c-8af7-4158-9912-d8acf00bb188" id="f313377c-8af7-4158-9912-d8acf00bb188"></a>

The vault is live on Base Sepolia testnet. All strategy adapters are deployed and registered. The keeper wallet is funded and operational. Mainnet deployment is planned following further testing and audit.


# Overview

RaxBot is the autonomous execution component of RAX Protocol.

It operates as a background process that continuously monitors vault conditions, evaluates risk, and executes allocation decisions within the boundaries defined by the user's mandate.

***

#### What RaxBot Does <a href="#id-84bc60f6-8d74-4abc-bdd8-b68613976fae" id="id-84bc60f6-8d74-4abc-bdd8-b68613976fae"></a>

RaxBot performs a repeating decision cycle:

* Calculates current risk metrics across the vault's positions
* Checks for emergency conditions that require immediate action
* Evaluates whether the current allocation still satisfies the mandate
* Proposes rebalancing if conditions have changed beyond the configured threshold
* Executes approved changes on-chain via the dedicated keeper wallet
* Logs every decision with full rationale for transparency

Each cycle produces a decision record that is stored and auditable.

***

#### How It Relates to the Allocation Engine <a href="#a963d148-ad1c-4df8-9530-aa34b0d48835" id="a963d148-ad1c-4df8-9530-aa34b0d48835"></a>

The Allocation Engine described in the Product Guides section is the logic core that RaxBot executes. When a user interacts with the Allocation Engine through the interface, they are running the same evaluation that RaxBot runs autonomously.

The difference is timing and trigger: through the interface, the evaluation runs on demand. Through RaxBot, it runs automatically at regular intervals. The mandate, risk constraints, and compliance checks are identical in both paths.

***

#### What RaxBot Is Not <a href="#id-5914119c-2a4f-4ffd-b861-d6e3d855b578" id="id-5914119c-2a4f-4ffd-b861-d6e3d855b578"></a>

RaxBot is not a general-purpose AI assistant or chatbot. Users do not have conversations with it.

RaxBot is not a prediction engine. It does not forecast prices or guarantee returns.

RaxBot is not unconstrained. Every action it takes must satisfy the active mandate. It cannot exceed the maximum risk score, allocate to protocols outside the allowlist, or move more capital than the per-rebalance limit allows.

RaxBot is a constrained autonomous process that operates within explicit rules defined by the user.

***

#### Transparency <a href="#a3ba956d-508c-418d-b8af-a97e1a50a732" id="a3ba956d-508c-418d-b8af-a97e1a50a732"></a>

Every decision cycle produces a log entry containing the type of decision, current and proposed allocations, risk scores before and after, compliance check results, the rationale behind the decision, and execution details including transaction hash when applicable.

Users can review the complete decision history at any time through the interface.


# Decision Cycles

A decision cycle is one complete evaluation-and-action pass performed by RaxBot. Each cycle follows a fixed sequence of steps and produces one of several possible outcomes.

***

#### Possible Outcomes <a href="#id-926451fe-2cec-4d3d-bee5-39418cf5ec93" id="id-926451fe-2cec-4d3d-bee5-39418cf5ec93"></a>

**Hold** — The current allocation is within acceptable parameters. No action needed. This is the most common outcome in stable conditions.

**Rebalance** — Conditions have changed enough to warrant adjusting allocations. If the mandate allows auto-execution and compliance checks pass, the rebalance is executed on-chain immediately.

**Pending Approval** — The proposed change is compliant but exceeds the approval threshold defined in the mandate, or auto-execution is disabled. The user is notified and must approve or reject.

**Rejected** — The proposed allocation violates one or more mandate constraints. No action is taken. The violation details are logged.

**Emergency Stop** — A critical condition has been detected. The vault is paused automatically. No human approval is required — this is a safety mechanism.

**Paused** — The vault was already paused. The cycle logs this state and takes no further action.

***

#### What Triggers a Rebalance <a href="#id-310674c6-8bb8-47f5-8f7d-5097e36647e8" id="id-310674c6-8bb8-47f5-8f7d-5097e36647e8"></a>

A rebalance is triggered when any of the following conditions are met:

* The vault has no current allocations (initial allocation required)
* The current risk score exceeds the mandate's maximum allowed risk score
* The deviation between current and proposed allocations exceeds the rebalance threshold

***

#### Emergency Triggers <a href="#id-06eeba52-9ab0-4821-ab66-d215905e44a9" id="id-06eeba52-9ab0-4821-ab66-d215905e44a9"></a>

Emergency stops are automatic and non-discretionary. They activate when:

* Maximum drawdown is breached (current value has fallen too far from peak)
* Risk score exceeds 150% of the mandate's maximum
* Liquidity risk exceeds 85/100

When an emergency stop fires, the vault is paused on-chain. No deposits, withdrawals, or rebalances can occur until the pause is lifted.

***

#### Cycle Frequency <a href="#id-4d0ed33b-19db-4db1-9847-d7aa9bbc6233" id="id-4d0ed33b-19db-4db1-9847-d7aa9bbc6233"></a>

The minimum interval between cycles is configured in the mandate. Even if a cycle determines that rebalancing is needed, it will not execute if the minimum interval has not elapsed since the last rebalance.


# Interpreting Results

Every decision cycle produces a structured record. Understanding these records is essential for monitoring RaxBot's behavior and verifying that it operates within your mandate.

***

#### Decision Record Fields <a href="#id-552a4e94-49da-4e60-85c2-c51eb83b712a" id="id-552a4e94-49da-4e60-85c2-c51eb83b712a"></a>

**Type** — The category of decision: hold, rebalance, emergency\_stop, or pending\_approval.

**Status** — Whether the decision was executed, is awaiting approval, was rejected, or completed as a hold.

**Current Allocation** — The vault's allocation at the time of the decision.

**Proposed Allocation** — The allocation RaxBot recommends, if a change is warranted.

**Current Risk Score** — The overall risk score at evaluation time, on a 0-100 scale.

**Expected Risk Change** — How much the risk score would change if the proposal were executed. Negative values mean risk would decrease.

**Compliance Check** — The result of validating the proposal against all mandate constraints. Lists any violations or warnings.

**Rationale** — A human-readable explanation of why the decision was made.

**Execution Details** — For on-chain executions: transaction hash, block number, gas used, and explorer link. For simulated executions: marked as simulated.

***

#### Reading Compliance Results <a href="#id-6b835737-6a52-45ba-8ecc-716af6712d34" id="id-6b835737-6a52-45ba-8ecc-716af6712d34"></a>

**Violations** are hard failures that block execution. Common violations: risk score exceeds mandate maximum, single protocol exceeds exposure limit, liquid assets below threshold, protocol not on allowlist, capital movement exceeds per-rebalance limit.

**Warnings** indicate approaching limits without blocking execution.

***

#### When to Intervene <a href="#d90ed42f-5bdb-485f-822f-6f9358811bc2" id="d90ed42f-5bdb-485f-822f-6f9358811bc2"></a>

Manual intervention is appropriate when: repeated rejected proposals suggest the mandate is too restrictive, emergency stops require review before unpausing, pending approvals accumulate, or the rationale describes conditions you want to respond to differently.

The correct response is always adjusting the mandate — not overriding individual decisions.


# Access & Limits

#### Access Requirements <a href="#id-4a2e3ec7-385a-4cb8-8103-c362df04eac3" id="id-4a2e3ec7-385a-4cb8-8103-c362df04eac3"></a>

Full RaxBot access requires the Power tier (10,000+ $RAX) and explicit activation of auto-execute in the mandate settings. Autonomous mode is never enabled by default.

At the Capital Deposited tier, users can run the Allocation Engine on demand and review decision history, but all proposals require manual approval.

***

#### Mandate-Defined Limits <a href="#id-0700e800-47df-42be-a3dc-5a3851851635" id="id-0700e800-47df-42be-a3dc-5a3851851635"></a>

All limits are per-vault and configured through the mandate:

* **Maximum Risk Score** — default 50
* **Maximum Protocol Exposure** — default 40%
* **Maximum Chain Exposure** — default 100%
* **Minimum Liquidity Threshold** — default 10%
* **Maximum Capital Per Rebalance** — default 25%
* **Rebalance Threshold** — default 5%
* **Minimum Rebalance Interval** — default 1 hour
* **Maximum Drawdown** — triggers emergency stop
* **Protocol Allowlist** — empty = all supported protocols allowed
* **Asset Allowlist** — empty = all supported assets allowed
* **Approval Threshold** — capital above which manual approval is required even in autonomous mode

***

#### System Limits <a href="#f14fe8d4-a853-415b-a472-fab2db42aa42" id="f14fe8d4-a853-415b-a472-fab2db42aa42"></a>

* The keeper wallet must maintain a minimum ETH balance for gas. Insufficient balance results in simulated (non-on-chain) execution.
* The vault contract enforces the keeper role. Only the authorized address can call the rebalance function.
* The Pausable mechanism halts all operations when triggered.
* The drawdown check runs after every on-chain action.

***

#### Adjusting Limits <a href="#e8d4ac42-7135-4bb9-9a64-ed909b2724eb" id="e8d4ac42-7135-4bb9-9a64-ed909b2724eb"></a>

All mandate parameters can be modified through the Settings interface. Changes take effect on the next decision cycle. Mandate changes are versioned — each decision record references the active version, ensuring a clear audit trail.


# API Overview

RAX exposes internal API endpoints through Next.js API routes that power the dashboard and can be used for integration.

***

#### Current State <a href="#id-053c1f90-a522-4780-8447-97c793c2066e" id="id-053c1f90-a522-4780-8447-97c793c2066e"></a>

The API supports vault operations (create, deposit, withdraw, query state), allocation engine operations (evaluate, approve, reject, simulate), mandate management (create, update, read), and decision log retrieval.

The API is currently internal and authenticated through wallet connection. Endpoints follow the pattern:

/api/vault/\[action] /api/engine/\[action] /api/mandate/\[action]

All endpoints accept and return JSON.

***

#### Planned <a href="#d9a7cf02-f818-4e81-a676-89e9dd7b3189" id="d9a7cf02-f818-4e81-a676-89e9dd7b3189"></a>

A public API with formal authentication (API keys), rate limiting, versioning, and comprehensive endpoint documentation is planned. This will enable external integrations, third-party dashboards, and programmatic access to risk intelligence.


# Data Schemas

#### Risk Metrics <a href="#id-3f6b077e-dd44-4c8e-9c01-7ee3e4e7a86a" id="id-3f6b077e-dd44-4c8e-9c01-7ee3e4e7a86a"></a>

```json
{
  "overallScore": 35.2,
  "protocolRisk": 25.0,
  "concentrationRisk": 40.0,
  "liquidityRisk": 20.0,
  "volatilityExposure": 32.0,
  "alerts": ["MEDIUM: Moderate concentration risk"],
  "timestamp": "2026-03-14T12:00:00Z"
}
```

#### Detailed Risk Breakdown (per vault/pool) <a href="#a28574db-e5bd-45eb-9eda-96865ee2c2c7" id="a28574db-e5bd-45eb-9eda-96865ee2c2c7"></a>

```json
{
  "impermanent_loss_risk": 15.0,
  "smart_contract_risk": 25.0,
  "liquidity_risk": 30.0,
  "volatility_risk": 20.0,
  "protocol_risk": 10.0,
  "total_score": 21.5,
  "category": "LOW"
}
```

#### Decision Record <a href="#id-8ee6e747-b0b7-4ee9-bbc8-9103ed2b11b7" id="id-8ee6e747-b0b7-4ee9-bbc8-9103ed2b11b7"></a>

```json
{
  "type": "rebalance",
  "status": "executed",
  "vaultId": "...",
  "currentAllocation": [
    { "protocol": "Aave", "percentage": 40, "amount": 4000 }
  ],
  "proposedAllocation": [
    { "protocol": "Aave", "percentage": 30, "amount": 3000 },
    { "protocol": "Compound", "percentage": 35, "amount": 3500 }
  ],
  "currentRiskScore": 42.5,
  "expectedRiskChange": -7.3,
  "expectedYieldChange": 1.2,
  "complianceCheck": {
    "isCompliant": true,
    "violations": [],
    "warnings": ["Risk score approaching maximum"]
  },
  "aiRationale": "Portfolio rebalancing recommended to reduce concentration risk...",
  "mandateId": "...",
  "mandateVersion": 3,
  "execution": {
    "success": true,
    "txHash": "0x...",
    "blockNumber": 12345,
    "gasUsed": "142000",
    "simulated": false,
    "keeperAddress": "0x...",
    "explorerUrl": "https://sepolia.basescan.org/tx/0x..."
  }
}
```

#### Mandate <a href="#ef9aee0a-5f3c-4219-bf4d-9c440833ed1c" id="ef9aee0a-5f3c-4219-bf4d-9c440833ed1c"></a>

```json
{
  "riskTolerance": "balanced",
  "maxRiskScore": 50,
  "maxProtocolExposure": 40,
  "maxChainExposure": 100,
  "minLiquidityThreshold": 10,
  "maxCapitalPerRebalance": 25,
  "rebalanceThreshold": 5,
  "minRebalanceInterval": 3600,
  "maxDrawdown": 15,
  "protocolAllowlist": ["Aave", "Compound", "Uniswap", "Aerodrome"],
  "assetAllowlist": ["USDC"],
  "autoExecute": false,
  "requireApprovalAbove": 10000,
  "emergencyPaused": false,
  "version": 3
}
```


# Risk Disclosures

RAX Protocol involves multiple categories of risk that users should understand before interacting with the system or depositing capital.

***

#### Smart Contract Risk <a href="#id-06e71dc7-c02e-4554-a53d-f281df3ef0f3" id="id-06e71dc7-c02e-4554-a53d-f281df3ef0f3"></a>

The vault and strategy adapter contracts may contain bugs or vulnerabilities. While the contracts use audited OpenZeppelin libraries (Ownable2Step, ReentrancyGuard, Pausable, ERC4626, SafeERC20), the RAX-specific logic has not undergone a formal third-party audit at this stage. A formal audit is planned before mainnet deployment.

#### Strategy Risk <a href="#id-6bc3bdd3-c70b-4849-90d5-c827fcd3d89d" id="id-6bc3bdd3-c70b-4849-90d5-c827fcd3d89d"></a>

Capital deployed to external protocols (Aave, Compound, Uniswap V3, Aerodrome) inherits the risks of those protocols, including smart contract vulnerabilities, governance attacks, oracle failures, and liquidity events. RAX monitors these protocols but cannot prevent their failure.

#### Keeper Risk <a href="#b41e2df0-9802-4d9a-929a-7df09ccc9942" id="b41e2df0-9802-4d9a-929a-7df09ccc9942"></a>

The keeper wallet is a single point of execution. If the keeper private key is compromised, unauthorized rebalances could occur within the onlyKeeper constraint. If the keeper process stops, the vault cannot rebalance until it is restored, though deposits and withdrawals remain functional.

#### Model Risk <a href="#id-73937424-202a-4747-8532-a2fd0ec24ce3" id="id-73937424-202a-4747-8532-a2fd0ec24ce3"></a>

Risk scores are derived from models with assumptions that may not hold under extreme or unprecedented market conditions. Scores may underestimate risk during black swan events or novel attack vectors. Models are comparative, not predictive.

#### Liquidity Risk <a href="#id-6df937dd-2c60-42e4-9aad-4e99cebe0e18" id="id-6df937dd-2c60-42e4-9aad-4e99cebe0e18"></a>

Exiting positions in low-liquidity protocols may result in slippage or delayed withdrawal. The mandate's minimum liquidity threshold mitigates but does not eliminate this risk.

#### Testnet Status <a href="#id-54140e87-e0de-4d1b-ab18-bb4b874cc114" id="id-54140e87-e0de-4d1b-ab18-bb4b874cc114"></a>

The current deployment is on Base Sepolia testnet. Testnet tokens have no monetary value. System behavior on testnet may differ from mainnet conditions.

#### General Warning <a href="#b278f735-eadc-474f-b2d8-0ef13144080e" id="b278f735-eadc-474f-b2d8-0ef13144080e"></a>

Users should not deposit more capital than they can afford to lose entirely. RAX provides risk intelligence and decision support, not guarantees.


# Known Failure Modes

RAX is designed to degrade safely under adverse conditions. Understanding known failure modes helps users configure mandates appropriately and respond to incidents.

***

#### Keeper Process Interruption <a href="#id-8b2b241e-50f6-4760-bd74-be46fbccfedb" id="id-8b2b241e-50f6-4760-bd74-be46fbccfedb"></a>

If the keeper process stops, the vault continues holding its current allocations but cannot rebalance or respond to changing conditions. The vault contract remains functional for deposits and withdrawals. The system does not auto-pause on keeper failure.

#### Gas Exhaustion <a href="#id-6001bef4-b3a2-4093-934b-8ff2aa28a32c" id="id-6001bef4-b3a2-4093-934b-8ff2aa28a32c"></a>

If the keeper wallet runs out of ETH for gas, rebalances are logged as simulated but not executed on-chain. The system falls back gracefully and will resume on-chain execution when the wallet is refunded.

#### Mandate Too Restrictive <a href="#f338bb53-8f19-4714-bb55-54b313450335" id="f338bb53-8f19-4714-bb55-54b313450335"></a>

Overly tight constraints can cause every proposal to be rejected, resulting in continuous hold decisions. The system will not take action that violates the mandate, even if conditions deteriorate. Users should monitor for this pattern and widen constraints when appropriate.

#### Strategy Adapter Failure <a href="#id-191c79a4-08c9-4bce-959b-8892b452613e" id="id-191c79a4-08c9-4bce-959b-8892b452613e"></a>

If an external protocol's adapter encounters an error — contract upgrade, paused protocol, or state change — the vault's totalAssets calculation may be affected. The vault will continue functioning with its idle balance.

#### Emergency Stop Loop <a href="#id-70afef8b-af6b-4cc9-a301-766b78e6c433" id="id-70afef8b-af6b-4cc9-a301-766b78e6c433"></a>

Under extreme volatility, emergency stops may trigger repeatedly. The vault will remain paused until conditions stabilize and an authorized address performs a manual unpause.

#### Data Degradation <a href="#id-35719617-dc50-40d0-bab5-b0cc9785516a" id="id-35719617-dc50-40d0-bab5-b0cc9785516a"></a>

In the presence of stale, incomplete, or unreliable data, risk scores may become less accurate. The system does not automatically increase conservatism when data quality declines — this is a known limitation.


# Incident Response

RAX Protocol includes monitoring and alerting mechanisms designed to surface abnormal conditions and potential incidents.

***

#### What Constitutes an Incident <a href="#id-8482ed68-ddae-488d-8d11-06cf159433ca" id="id-8482ed68-ddae-488d-8d11-06cf159433ca"></a>

An incident may include severe liquidity stress, rapid increases in Risk Scores, persistent high-severity alerts, widespread anomalies, or infrastructure disruptions.

#### Detection <a href="#id-1454eb85-d3ac-4a08-bb3c-4f919c85f8b5" id="id-1454eb85-d3ac-4a08-bb3c-4f919c85f8b5"></a>

RAX detects incidents through real-time monitoring, risk threshold breaches, anomaly detection in the decision cycle, and emergency trigger activation. When an incident is detected, alerts are generated according to configured severity levels.

#### System Response <a href="#id-9a56ca66-d088-491f-a789-8818c8186c4a" id="id-9a56ca66-d088-491f-a789-8818c8186c4a"></a>

Upon detecting an incident, RAX may increase alert frequency, highlight affected positions, apply more conservative behavior through mandate enforcement, restrict allocation suggestions to lower-risk positions, and — in critical cases — trigger an automatic emergency stop that pauses the vault on-chain.

#### User Responsibilities During an Incident <a href="#e1346198-95ce-48f9-bbf6-af0dad6a644a" id="e1346198-95ce-48f9-bbf6-af0dad6a644a"></a>

During elevated risk conditions, users should review alerts and supporting metrics, avoid increasing exposure without thorough analysis, reassess risk constraints and strategy profiles, use simulations to evaluate downside scenarios, and apply independent judgment.

#### Communication <a href="#id-7b7cee24-2036-43a3-8cbe-4a98720eec1d" id="id-7b7cee24-2036-43a3-8cbe-4a98720eec1d"></a>

Significant incidents affecting system-wide behavior may be communicated through in-app notifications, documentation updates, and public communication channels. Transparency is prioritized.

#### Limitations <a href="#id-1d218d91-b97a-4f72-a9d1-7fae80a08155" id="id-1d218d91-b97a-4f72-a9d1-7fae80a08155"></a>

Incident detection does not guarantee prevention of losses. RAX may not detect all incidents in advance, particularly those involving novel or unprecedented conditions.


# Responsible Disclosure

RAX Protocol is committed to the responsible disclosure and remediation of security vulnerabilities.

***

#### Scope <a href="#id-577ef64e-b0af-4e08-b381-de865d8a4a38" id="id-577ef64e-b0af-4e08-b381-de865d8a4a38"></a>

Responsible disclosure applies to vulnerabilities in RAX Protocol smart contracts, the vault and strategy adapter system, API and data handling, allocation and risk engine logic, and user-facing applications.

Issues affecting external protocols (Aave, Compound, etc.) should be reported to their respective maintainers.

#### How to Report <a href="#e02cade9-f82e-48ae-b7d0-81822f215a16" id="e02cade9-f82e-48ae-b7d0-81822f215a16"></a>

If you believe you have identified a security vulnerability, please report it privately. Reports should include a clear description, steps to reproduce, potential impact assessment, and any relevant proof of concept.

Do not publicly disclose vulnerabilities before remediation or coordination.

#### Process <a href="#id-45613b87-3795-4f6a-bf31-3e632db0ae0d" id="id-45613b87-3795-4f6a-bf31-3e632db0ae0d"></a>

Upon receiving a report, RAX will acknowledge receipt, assess severity and impact, work to validate and remediate, and coordinate disclosure timing. All reports are handled promptly.

#### Bug Bounty <a href="#id-6b2e42bc-d17e-4b53-a529-89d1edf7a434" id="id-6b2e42bc-d17e-4b53-a529-89d1edf7a434"></a>

A formal bug bounty program may be introduced in the future. Until then, responsible disclosure is encouraged and recognition may be provided on a case-by-case basis.


# Overview

The $RAX token is deployed on Base at address `0x3051a5e7AB247eBF2baa7Af9e3B574b344B175E3`.

It serves as the access and coordination mechanism for the RAX Protocol ecosystem. Its primary purpose is to align usage and participation with long-term protocol health, rather than to serve as a speculative asset.

***

#### Primary Functions <a href="#id-86734055-0824-45d1-9a03-cf69539587ad" id="id-86734055-0824-45d1-9a03-cf69539587ad"></a>

**Feature Access** — $RAX holdings determine the user's access tier. Holding tokens unlocks progressively advanced platform features, from basic analytics to autonomous vault management.

**Protocol Alignment** — Token-gated access ensures that users with meaningful participation in the ecosystem have access to the most powerful tools.

***

#### Access Tiers <a href="#b9005455-6ea4-4c07-9b1b-b639352118fb" id="b9005455-6ea4-4c07-9b1b-b639352118fb"></a>

| Tier   | Minimum $RAX | Features Unlocked                                                       |
| ------ | ------------ | ----------------------------------------------------------------------- |
| Free   | 0            | Risk Overview, basic exposure data                                      |
| Holder | 1            | Full vault rankings, advanced filters, alerts & monitoring              |
| Pro    | 1,000        | Advanced simulations, allocation engine presets, full exposure analysis |
| Power  | 10,000       | Decision log export, full settings, governance preview, RaxBot access   |

***

#### What the Token Is Not <a href="#db6e1966-c2a6-4c3c-9b1b-47ea77d6fbb3" id="db6e1966-c2a6-4c3c-9b1b-47ea77d6fbb3"></a>

$RAX does not represent equity, dividends, or guaranteed returns. Its value is derived from functional utility and participation within the protocol, not from financial guarantees.


# Token Utility

#### Tier-Gated Access <a href="#id-00363f0f-1586-4d36-a6e4-fbb9db8eaa89" id="id-00363f0f-1586-4d36-a6e4-fbb9db8eaa89"></a>

The primary utility of $RAX is gating access to protocol features. The tier system reads the user's on-chain token balance to determine access level. Features unlock progressively as described in the Token Overview.

#### Vault Fee Alignment (Planned) <a href="#id-0b9c8f7d-6cf8-43fa-b6af-3a80aed5bb96" id="id-0b9c8f7d-6cf8-43fa-b6af-3a80aed5bb96"></a>

The vault charges management and performance fees denominated in USDC. Future governance may direct a portion of vault revenue to token holders through buyback, burn, or redistribution mechanisms. The specific mechanism will be determined through governance.

#### Governance Participation (Planned) <a href="#id-5303abbc-9704-43f6-a9a9-8729068ac7c2" id="id-5303abbc-9704-43f6-a9a9-8729068ac7c2"></a>

$RAX tokens will grant participation rights in governance decisions. Token holders may propose changes, vote on protocol parameters, and participate in strategic decisions. Governance rights may require staking or lock commitments.

#### Non-Speculative Positioning <a href="#id-3a6272d6-ea45-43cc-b8ca-a4339677341e" id="id-3a6272d6-ea45-43cc-b8ca-a4339677341e"></a>

The $RAX token is designed as a utility and coordination mechanism embedded in the protocol. It aligns access, usage, and incentives without positioning the token as a financial instrument.


# Staking

A staking mechanism for $RAX is planned to reward long-term participation and further align holder incentives with protocol health.

***

#### Design Principles <a href="#b72cde01-9753-419e-b3cc-33ee4250a567" id="b72cde01-9753-419e-b3cc-33ee4250a567"></a>

Staking is being designed around the following principles:

* Rewards should be sustainable and tied to protocol usage, not inflationary emissions alone
* Longer lock durations should receive proportionally higher rewards
* Staking should create meaningful participation without creating exit barriers during emergencies

#### Planned Features <a href="#cb37018e-3f7c-44f4-a734-d7224865f5ad" id="cb37018e-3f7c-44f4-a734-d7224865f5ad"></a>

* Multiple lock duration options with corresponding reward tiers
* Potential integration with governance weight — staked tokens may carry more voting power
* Auto-compound option for staking rewards

#### Current Status <a href="#id-92d88074-bb09-4d6b-adef-f9c1d76fc752" id="id-92d88074-bb09-4d6b-adef-f9c1d76fc752"></a>

Staking is not yet live. Parameters including reward rates, lock durations, and mechanics will be defined through governance before launch. The staking UI exists in the application as a preview of the planned interface.


# Governance

Governance will enable $RAX token holders to participate in decisions that shape the protocol's parameters, strategies, and evolution.

***

#### Scope of Governance <a href="#id-8eb337c2-76c8-4a93-9b5b-fa2f428c6321" id="id-8eb337c2-76c8-4a93-9b5b-fa2f428c6321"></a>

Governance decisions may include: protocol parameter changes (fee structures, default mandate limits), approval of new strategy adapters, modifications to the tier system and access requirements, allocation of protocol revenue, and strategic direction.

#### Design Principles <a href="#id-25e3ba99-40c8-4ab4-bd57-97747929d9e6" id="id-25e3ba99-40c8-4ab4-bd57-97747929d9e6"></a>

* Proposals require sufficient support before reaching a vote
* Voting power may be weighted by staking duration and amount
* Critical changes require higher thresholds than routine adjustments
* A timelock or delay period may apply before approved changes take effect

#### Current Status <a href="#id-0b85b726-6b7d-46ef-81cc-d262c420f255" id="id-0b85b726-6b7d-46ef-81cc-d262c420f255"></a>

Governance is under development. The governance UI in the application shows preview proposals to illustrate the planned experience. No binding governance votes are active at this time.


# Guardrails

Guardrails define the boundaries within which governance and autonomous systems operate, preventing unilateral changes that could harm users or destabilize the protocol.

***

#### Mandate Guardrails <a href="#f269849a-3c21-4c18-8b1f-ce4b3a6d8a55" id="f269849a-3c21-4c18-8b1f-ce4b3a6d8a55"></a>

The mandate system includes hard limits that governance cannot override:

* Fee caps are enforced at the smart contract level (management fee max 5%, performance fee max 30%)
* The keeper role is restricted to a single authorized address per vault
* Emergency pause is always available to the owner, regardless of governance state
* Drawdown protection activates automatically and cannot be disabled through governance

#### Governance Guardrails <a href="#c283d4e0-feb3-4298-b09b-20af379273c5" id="c283d4e0-feb3-4298-b09b-20af379273c5"></a>

When governance is active, it will include protections against governance capture:

* Minimum quorum requirements for votes to be valid
* Timelock periods between vote approval and execution
* Emergency veto capability for critical security issues
* Gradual rollout of parameter changes rather than instant application

#### System Guardrails <a href="#id-11adae6d-f49d-4b0a-8492-480a9d62f400" id="id-11adae6d-f49d-4b0a-8492-480a9d62f400"></a>

The protocol maintains several invariants:

* The vault cannot allocate to strategies not registered through `addStrategy()`
* Rebalance weights must sum to 10,000 basis points (100%)
* The keeper cannot bypass the Pausable state
* All decision records are immutable once logged

These guardrails exist to ensure that no single actor — human or automated — can compromise the system's integrity.


# App Roadmap

#### Delivered <a href="#id-2186de5b-9e88-48fe-83dd-a16ef91d064b" id="id-2186de5b-9e88-48fe-83dd-a16ef91d064b"></a>

* Five-dimensional risk scoring engine with Intelligence Score
* ERC-4626 vault deployed on Base Sepolia with full deposit/withdraw lifecycle
* Four strategy adapters: Aave, Compound, Uniswap V3, Aerodrome
* Keeper-based autonomous rebalancing with on-chain execution
* Mandate enforcement system with compliance checking and versioning
* Decision logging with full rationale and execution details
* Progressive access tiers — wallet-based and token-based ($RAX on Base)
* Simulation engine for testing vault behavior under various conditions
* Dashboard with risk analytics, exposure analysis, protocol status, and activity feed
* Emergency stop mechanism with automatic pause on critical conditions

#### In Progress <a href="#id-4f56bfab-5695-4d7d-afd1-edf00f663627" id="id-4f56bfab-5695-4d7d-afd1-edf00f663627"></a>

* RaxBot as standalone autonomous process with scheduled decision cycles
* LLM-powered explanation provider replacing template-based rationale
* Notification layer for decision alerts (Telegram, webhooks)
* Formal smart contract audit
* Mainnet deployment preparation

#### Planned <a href="#id-5fab6e69-09df-4547-b032-6aad4ac75513" id="id-5fab6e69-09df-4547-b032-6aad4ac75513"></a>

* Public API with authentication, rate limiting, and versioning
* Multi-chain support beginning with Ethereum mainnet and Arbitrum
* Staking mechanism for $RAX with multiple lock durations
* Governance framework and DAO structure
* Additional strategy adapters for new protocols
* Risk oracle for external protocol and DAO integration
* Cross-chain allocation and monitoring
* Bug bounty program


