Building ScaleX required studying real-world DeFi failures to understand exactly why capital gets wasted, why users get wiped out, and why automation goes wrong. These weren’t edge cases — they were systematic design failures that expose what every capital-efficient, safe platform must get right.Documentation Index
Fetch the complete documentation index at: https://scalex.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Past Cases
1. Centralized Hyperliquid CLOB Vault (Jelly-jelly attack) A trader opened a massive short position, but price skyrocketed. The loss became so large it imbalanced the order book liquidity. The HLP (Hyperliquid vault) was forced to take over the trade, exposing the entire system to enormous risk. Lesson: Centralizing liquidity in a single vault creates a single point of failure. Capital efficiency cannot come at the cost of structural safety. Liquidation must be handled by the order book itself — not socialized through a shared vault.2. Blind Copy Trading Cascade (Binance — ATOM, BNSOL, USDE, WBETH) Traders blindly copied positions without understanding market context, counter-currenting the actual situation and triggering a cascade of auto-liquidations. CEX platforms provided no transparency into why prices moved — users had no way to verify what was happening before it was too late. Lesson: Automated execution without market context destroys capital. A policy layer is not optional — it is the minimum bar for safe automation. Opacity on CEX platforms makes capital permanently vulnerable.
3. Uncontrolled Agent Execution (Lobstar Wilde Incident) An autonomous AI agent attempted to send tip to a user. Due to no policy, it instead transferred its entire holdings: 52.4 million 250,000. The recipient sold everything within 11 minutes, crashing the token’s value and wiping out the bot’s treasury. Lesson: Unchecked agent output with no spending limits or confirmation layer is a direct path to total capital loss. Every autonomous action must be bounded before execution.
What the Market Is Missing
These failures point to the same root problem: capital is either unproductive, unprotected, or uncontrolled. The gaps are structural. 1. Capital Sits Idle Billions of dollars in limit orders generate zero yield while waiting for execution. Users must choose between deploying capital in a trade or putting it to work in a lending pool — never both. This is not a user problem. It is a platform design problem. 2. No Policy Layer for Automation Agents and copy-trading tools execute actions with no guardrails — no spending limits, no pre-defined boundaries on what they’re allowed to do. A single bug or unexpected input can drain an entire wallet. Automation without a policy layer is not a feature — it is a liability. 3. Flawed Liquidation Mechanics Existing protocols liquidate based on liquidity depth rather than true position health, turning temporary volatility into forced sell-offs. Users lose capital not because their position is fundamentally wrong, but because the system overreacts. Cascading liquidations destroy value for everyone. 4. No Transparency CEX platforms give users no way to verify price feeds, liquidation triggers, or vault decisions. On-chain systems sometimes fare no better. When something goes wrong, users find out after the fact. Capital cannot be managed safely in a black box.How ScaleX Addresses This
Every gap identified above is a design requirement, not an afterthought. ScaleX is built specifically to eliminate idle capital, enforce safe automation, and protect users from liquidation — for both humans and agents.Capital Always Working
Every deposited dollar earns yield automatically through the integrated lending pool — whether you are trading, betting, or waiting. Capital is never idle.
Agent Policy Layer
Agents operate within user-defined rules — spending limits, position caps, and action boundaries enforced before any execution. No agent can act outside the limits you set.
Health-Factor Liquidation
Liquidation is triggered by true position health, not liquidity depth — protecting users from volatility-driven forced sell-offs and cascading losses.
Full On-Chain Transparency
Every order, transfer, and liquidation is verifiable on-chain in real time. No black boxes, no trust required — audit any action at any time.
