10. Rebalancing
10.1 What Rebalancing Is
Over time, constituent prices move and actual portfolio weights drift away from target weights. Rebalancing returns the basket to its target composition. RealKey distinguishes between weight changes (a new target composition) and drift correction (market movement away from an unchanged target).
10.2 Scheduled Rebalancing
- Each index publishes a cadence (e.g., weekly for the flagship sample). At the scheduled time, the index computes the current vs target composition and executes the required trades.
- Scheduled rebalances are visible onchain and announced ahead of execution.
10.3 Threshold-Based Rebalancing
- Rebalance also triggers when any constituent drift exceeds a threshold (illustrative: ±3% from target).
- This bounds how far the portfolio can drift between scheduled rebalances — important for RWA where markets are thin.
10.4 Emergency Rebalancing
- Triggered by: oracle failure/circuit breaker, issuer event (depeg, NAV halt), custody event, sanction, or methodology change.
- The Emergency Controller can trigger an emergency rebalance; governance ratifies afterward.
- During an emergency rebalance, the affected asset is swapped out (or to a designated fallback) at the best-verified price, with mint/redeem gated as usual.
10.5 Weight Changes, Adds & Removes
| Operation | Who can propose | Execution |
|---|---|---|
| Target-weight change | Committee / governance | Next scheduled rebalance (or an authorized off-cycle rebalance). |
| Add an asset | Committee / governance | Asset must clear eligibility; NAV source must be configured; added at next rebalance. |
| Remove an asset | Committee / governance | Next scheduled rebalance (exit via redemption or disposal). |
| Emergency remove | Emergency Controller | Immediate, at best-verified price; ratified by governance. |
10.6 Execution & Cost Mitigation
| Cost driver | Mitigation |
|---|---|
| Gas (many small trades) | Batch swaps; trade at one block for all legs; use an efficient router. |
| Slippage / market impact on thin RWA assets | Auction-based execution (intent/RFQ or batch/dutch-auction style) instead of instant DEX liquidity grabs; cap trade size relative to observed liquidity. |
| MEV / front-running | Execute via time-delayed batch auctions (orders submitted, settle at a predetermined point), which are materially harder to front-run than an instant swap; use intent-based solvers with an auction deadline. |
| LVR (loss vs rebalancing) | Same auction gate; avoid rebalancing "against" a stale NAV by requiring fresh prices before the trade is accepted. |
Why auction-based over instantaneous swaps for RWA: RWA markets are thin and not 24/7. An instant swap at a DEX could trade far from fair value. An auction aggregates competing solvers/LPs who must fill within a sanity band of the oracle NAV, giving holders a better, more manipulation-proof execution.
Verified design precedents RealKey draws from (Sept 2026):
-
TWAMM (Paradigm): splits a large order into many small virtual trades over many blocks against an embedded constant-product AMM — smooths price impact and resists sandwiching, at the cost of slow execution.
-
Balancer weighted pools: the constant-weighted-geometric invariant is itself a rebalancing mechanism — divergence triggers arbitrage trades that push the pool back to target. This is elegant for liquid assets, but ineffective for illiquid/RWA holdings, because nobody arbitrages those back to target.
-
UniswapX (intent-based, 2025–26): a swapper signs a Permit2 order, and independent fillers/RFQ compete, with a Dutch-auction fallback — competitive filling and MEV resistance for the user.
RealKey proposes to combine these: an intent/RFQ batched auction with a Dutch-auction fallback for swap legs, respecting a time delay (anti-front-running), and requiring fresh oracle NAVs before a trade can settle (so fills are bounded near fair value rather than free). This is consistent with the auction design described in §10.6. (Sources: Paradigm TWAMM, Balancer docs, UniswapX docs; Mellow's LazyIndex — a previously relevant batched-auction index protocol — no longer has public docs as of this writing.)
10.7 Step-by-Step Example
Scenario (illustrative): RealKey RWA Core Index rebalances weekly on Friday.
- Read composition. Oracle Manager refreshes all constituent NAVs; actual weights are computed.
- Detect drift. Asset C (credit) drifted to 22% target 20% (drift +2%, within the ±3% trigger — skip). Asset B (gold) drifted to 18% target 15% (+3%, hit — trigger).
- Announce. The rebalance is posted onchain with a batch window (e.g., 15 minutes for bidding).
- Bid/Settle. Solvers/LPs submit fills for the trades (sell ~2% gold, buy ~2% of a lagging constituent) within a ±1% band of the oracle NAV. Highest-quality fills win.
- Execute the auction at the deadline. Vault updates its holdings; index token NAV/supply is unchanged by the swap itself.
- Post-trade. Actual weights are now ≈ target; new composition is published.
11. Liquidity
11.1 Primary Liquidity
Minting and redemption against underlying assets. The vault is the primary liquidity source: anyone with the right basket (or permitted input asset) can mint index tokens at NAV (subject to the freshness gate §8.3) and burn them to redeem the basket.
- Primary liquidity is NAV-anchored — it keeps the index token near fair value.
- It is also the arbitrage corridor that keeps secondary prices close to NAV.
11.2 Secondary Liquidity
Trading index tokens on decentralized exchanges. Index tokens can be listed on DEXs/AMMs like any token:
- LPs provide index token + base asset (e.g., a stablecoin) pairs.
- The AMM provides continuous pricing between the protocol's NAV-based prints.
- Traders get immediate execution; the protocol is not involved in each trade.
11.3 Liquidity Provider Participation
LP opportunities include:
| Opportunity | How it works |
|---|---|
| AMM pair LP | Provide index token + stablecoin/base to a trading pair; earn swap fees + any incentive. |
| Yield-on-index | The basket's internal yield (cash/money-market interest, accrued credit) accrues to index holders, so AMM LPs may also earn the underlying drift. |
| Second-layer LP | Provide liquidity to availability/quote pools (design option) that the rebalancer can draw from, earning a premium. |
11.4 Liquidity Venues on Robinhood Chain
Verified vs assumed: Robinhood Chain's official docs name Uniswap (DEX), Morpho (lending), and Paxos USDG (stablecoin) as ecosystem partners — see §14.1. Whether any of these is an active RealKey integration is not claimed. The distribution of index-token liquidity depends on the actual live ecosystem (
[§14.3](#143-confirmed-vs-assumed)).
RealKey could distribute index-token liquidity across Robinhood Chain as the network's venues mature:
- AMM DEXs (e.g., a Uniswap-style venue per official docs) for index-pair liquidity,
-
Lending markets (e.g., a Morpho-style venue per official docs) accepting index tokens as collateral (secondary use — see §19 Composability),
-
RWA-specific venues (tokenized asset markets, custodial integrations) that may emerge on the chain.
RealKey does not claim that any named venue currently has a RealKey listing, nor does it assume a specific DEX/lending/bridge is live today. Liquidity strategy will be confirmed by the team against the actual deployed ecosystem (see §14 and Design Decisions).
12. Fees
12.1 Fee Categories
| Fee | Base design | Applied to |
|---|---|---|
| Management fee | Streamed continuously, e.g. 0.15%–0.35%/yr (illustrative) |
NAV of the index |
| Performance fee | Not proposed by default (see note) | — |
| Mint fee | e.g. 0.05% (illustrative) |
Depositor on mint |
| Redemption fee | e.g. 0.10% (illustrative) |
Redeemer on burn |
| Rebalancing costs | Borne by the basket (spread/gas from trades) | NAV (not a fee; an expense) |
| Protocol fee | A share of management/mint/redemption flowing to treasury (e.g., 20%–50% of management) | Treasury |
| Index creator fee | A share of the management fee distributed to the index creator/committee | Creator/committee |
Note on performance fees: RealKey does not ** propose a performance fee by default, because performance fees on a diversified RWA index are hard to benchmark objectively and can misalign incentives. Whether any index should carry one is a governance decision**.
12.2 Illustrative Example
Scale is illustrative only. Final fee parameters are subject to governance.
Assume an index with:
- management fee
0.25%/yr, mint fee0.05%, redeem fee0.10%, - protocol takes
30%of fees, index creator takes70%.
If a user mints 1,000,000 U (stablecoin) of index tokens:
- Mint fee:
1,000,000 × 0.05% = 500U → protocol keeps150, creator takes350. - Running management fee:
0.25%/yris streamed from NAV continuously (measured per block/second). - Redemption later: redeeming the same value incurs
0.10%→ protocol30%, creator70%. - Rebalancing expenses (spread/gas) reduce NAV for all holders as each trade occurs.
Total cost to a 1-year holder (illustrative): management 0.25% + rounded pro-rata share of
mint/redeem + rebalancing expense share. Realistic sources of a full expense ratio are TBD and will be
published per index.
12.3 Fee Accounting
- Management fee accrues as index tokens (or NAV is adjusted) continuously — standard
claimIncrement/streaming pattern with a per-second accrual, so no one-time "fee event" surprises holders. - Mint/redeem fees are collected as part of the transaction and routed to treasury/creator per the split above.
- Rebalancing costs are recorded as NAV dust (no separate line item to holders; reflected in NAV).
- Fees are auditable onchain; the fee controller's parameters are governance-settable.
13. Smart Contract Architecture
13.1 Component Contracts
Proposed modular architecture. Each component is a contract with a narrow role. Upgrades are isolated and audited; see §13.3 for the risks of upgrades.
| Contract | Role |
|---|---|
| Index Factory | Deploys new index vaults/token pairs from templates; keeps registry of all live indexes. |
| Index Vault | Holds the basket (collateral-based) or the custody claims; executes mint/redeem; stores NAV; enforces fresh/confident gates. |
| Index Token | The standard ERC-20(-like) representation of the basket; minted/burned by the Vault only (via a vault-to-token whitelist). |
| Asset Registry | Onchain allowlist of supported Underlying Assets + their metadata (decimals, issuer, permissioning, pricing calendar). |
| Oracle Manager | Consolidates price/NAV inputs (feeds, issuer NAV, independents), computes median/confidence, exposes a getNAV(asset) interface, and gates freshness. |
| Rebalancer | Reads target vs actual weights; runs the auction batch; executes authorized weight changes (add/remove). |
| Fee Controller | Holds fee parameters (mint/redeem/management splits) and routes revenue to Treasury + Creator. |
| Treasury | Receives protocol fees; multisig-governed; used for ongoing development/incentives. |
| Governance | Proposes/ratifies methodology changes, asset approvals, fee updates, upgrades, pursues decentralization (see §16). |
| Emergency Controller | A fast multisig/gateway able to pause minting, trigger emergency rebalance, and triage incidents; its powers are time-boxed and audited. |
13.2 System Diagram
graph TD
User --> IndexVault
IndexVault -->|reads prices| OracleManager
IndexVault -->|queries| AssetRegistry
IndexVault -->|holds tokens| TokenizedRWAs
IndexVault -->|mints/burns| IndexToken
IndexVault --> Rebalancer
Rebalancer -->|trades via| AuctionSolver
OracleManager -->|sources| Feeds
OracleManager -->|reads| IssuerNAV
Governance -->|approves| AssetRegistry
Governance -->|configures| FeeController
Governance -->|updates| Rebalancer
Governance --> IndexFactory
EmergencyController -->|pauses| IndexVault
FeeController -->|streams to| Treasury
FeeController -->|shares to| IndexCreator
IndexToken --> DeFiApplications
Note: Mermaid diagrams render in GitHub/GitLab and many docs tools. If your renderer does not support Mermaid, the same structure is described narratively in §13.1.
13.3 Upgradeability & Risk
Proposed: use a transparent/generic upgrade proxy per component, with:
- Timelock + multisig governance for upgrades,
- Upgrade paused if audit/outage,
- No change to NAV math without a designated security review + a code-freeze window.
Upgrade risks (explicitly):
- A compromised governance path could upgrade a contract to behave maliciously → mitigated by timelock, multisig, and proposal quorum.
- Upgrading the Oracle Manager's source config could change NAV behavior → mitigated by full config review in the upgrade payload.
- Proxy misconfiguration (collision, uninitialized implementation) → mitigated by using audited proxy patterns and a verified implementation set.
Design posture: decentralization increases with governance maturity; early on, the Emergency Controller and timelock are the load-bearing security mechanisms (see §16.4).