Overview
Ramses uses permissioned engines designed to capture eligible MEV opportunities and retain the resulting value within the protocol. Allocation depends on the module described below.
Ramses' liquid-staked xRAM product is called r33, with the name hyperRAM on HyperEVM. The hyperRAM AMO flow below describes its HyperEVM implementation.
MEV Solutions
| Solution | Status | Description |
|---|---|---|
| hyperRAM AMO (HyperEVM) | LIVE | Arbitrages the hyperRAM redeem floor and allocates the resulting value according to the AMO flow below. |
| Backrun Arbitrage | LIVE | Captures eligible arbitrage opportunities and retains the resulting value within the protocol. |
| Cross-chain Arbitrage | COMING SOON | Planned capture of price discrepancies across supported chains. |
| Native Market Integration | COMING SOON | Planned atomic arbitrage between chain-native spot markets and Ramses deployments. |
| Cross-venue Arbitrage | COMING SOON | Planned multi-step arbitrage across integrated protocols and venues. |
Automated Market Operations (AMO)
Ramses' AMO system is designed to optimize protocol efficiency and maximize value for all participants through systematic arbitrage when the hyperRAM redeem floor triggers.
The AMO system executes a systematic arbitrage process:
- Target liquidity pool identification
- Application of the module's fee privileges
- RAM → hyperRAM conversion
- hyperRAM → xRAM redemption
- Instant exit: xRAM → RAM
- Allocation of the resulting value according to the rules below
| Revenue Stream | Allocation |
|---|---|
| Exit Proceeds | 100% → Burn (deflationary; not distributed) |
| Arbitrage Earnings | 100% → hyperRAM compounding |
The AMO bot targets market inefficiencies through the atomic conversion and allocation flow above.
Backrun Arbitrage
The backrun arbitrage bot is designed to capture eligible opportunities that would otherwise be available to external extractors. Its goal is to reduce loss-versus-rebalancing (LVR) and adverse selection for liquidity providers while retaining captured value within the protocol.
MEV Infrastructure
Ramses' current MEV infrastructure includes the live modules above. The roadmap expands that system across additional chains, venues, and protocols.
Planned Multi-Venue Arbitrage
| Dimension | Planned Capability |
|---|---|
| Cross-chain arbitrage | Capture discrepancies across supported chains |
| DEX-DEX arbitrage | Trade across integrated DEXs to address cross-venue inefficiencies |
| CEX-DEX arbitrage | Connect centralized and decentralized venues for price discovery |
| Native market integration | Atomically arbitrage chain-native spot markets against Ramses deployments |
Planned Privileged Atomic Execution
| Feature | Benefit |
|---|---|
| Zero-fee swaps | Execute eligible arbitrage on Ramses pools without a pool swap fee |
| Atomic multi-protocol arbitrage | Complete integrated supply → borrow → swap → repay workflows atomically |
| Sub-block execution | Capture opportunities that exist only within block construction |
| Example: Cross-protocol arbitrage | Flow |
|---|---|
| Cross-protocol price discrepancy | Swap → supply → borrow → swap → repay (single atomic transaction) |
Dynamic Fee Integration
The MEV infrastructure works with Ramses' dynamic fee algorithm, which uses available market data to adjust fee levels in real time. This creates a feedback loop where:
- Dynamic fees protect LPs during volatile periods
- MEV bots capture arbitrage opportunities that would otherwise extract value from LPs
- Arbitrage proceeds are allocated according to the active module
- The protocol retains value that could otherwise leak to external extractors
Stopping Reverse JIT Liquidity
Ramses pioneered timer-based protection against reverse-JIT emissions farming. The principle is direct: claim rewards or change liquidity too soon, and the affected emissions are slashed. Emissions should support liquidity that stays available for trading.
How Ramses' Anti-Sybil Timer Works
The Voter controls the anti-Sybil switch and the reward timer. For protected concentrated-liquidity positions, the position manager records the latest liquidity change, and the gauge checks the reward validator when processing a claim.
- A liquidity change starts the timer. Creating a position, adding liquidity, or removing liquidity records a timestamp for that position.
- A reward claim checks the timer. While anti-Sybil protection is enabled, the validator compares the time since that checkpoint with the threshold configured in the Voter.
- Claim too soon and lose those rewards. If the timer has not cleared, the affected claim is slashed and redirected to r33 (hyperRAM on HyperEVM). Once the timer has cleared, the timing check passes; other reward eligibility checks still apply.
Liquidity increases and decreases also automatically attempt to claim emissions against the previous checkpoint before resetting the timer. Rapidly changing liquidity can therefore trigger the penalty even without pressing a separate claim button.
What Is Reverse JIT Liquidity?
Standard just-in-time (JIT) liquidity enters immediately before a swap and exits immediately afterward to earn its fees. Reverse JIT does the opposite: an operator farms emissions in a tight range between swaps, then pulls liquidity just before a trade to avoid its inventory risk.
That strategy competes for emissions with LPs who remain available to support trades. Ramses' timer puts a direct cost on rapid entry, exit, and reward extraction, enforced by the contracts themselves.
What This Means for LPs
Let the full timer clear after creating or changing a protected position before claiming emissions or changing its liquidity again. Adding or removing liquidity restarts the timer; collecting swap fees alone does not restart it.
The duration and enabled state are configurable in the Voter and can differ by deployment. Integrators should read timeThresholdForRewarder() and isAntiSybilEnabled() from the relevant Voter contract, rather than assume a fixed waiting period. This describes the concentrated-liquidity reward path; other pool types can settle rewards differently.
Implementation references: position checkpoints and automatic claims, gauge reward validation and slashing.