Technical Whitepaper
Perpetual Economy, Infinite Expansion
PerpX Finance is a Blockchain × AI-driven TradeFi perpetual economy built on Base Chain. This white paper systematically explains how PerpX Finance achieves deep integration of cryptography, artificial intelligence, game theory, and financial engineering across five dimensions—underlying technical architecture, AI intelligence engine, trading engine design, risk control models, and token economics—with TradeFi full-category trading as its core driving force, to build a self-learning, self-optimizing, and self-evolving on-chain perpetual economy.
We believe the next generation of financial infrastructure is not a standalone victory of blockchain or AI, but a paradigm fusion of both. Blockchain provides the trust foundation—decentralized, immutable, globally accessible; AI provides the intelligence engine—real-time prediction, dynamic optimization, adaptive evolution. Trading is the driving force of economic development. At the intersection of blockchain and AI, PerpX Finance uses TradeFi full-category trading as its core engine, supplemented by a payment network connecting the real world, to build a perpetual economy where value is continuously created, accumulated, and circulated.
Table of Contents
1. Abstract and Core Innovations
PerpX Finance proposes the TradeFi (Trade + DeFi + AI) paradigm, dedicated to building a TradeFi perpetual economy with trading as its core driving force. By introducing traditional finance full-category assets—cryptocurrencies, US equities, precious metals, commodities, forex, and indices—onto the blockchain through a decentralized oracle network, with perpetual contract trading as the core engine for value creation and AI as the intelligent hub, PerpX constructs a 7×24-hour self-learning, self-evolving, borderless perpetual economic network. Trading is the driving force of economic development—trading generates fees, funding rates, and spread revenues, which are continuously injected into the protocol vault, driving TVL growth and ecosystem expansion, forming a positive flywheel that enables the economy to continuously accumulate value and grow perpetually.
Core Technical Innovations:
Blockchain Infrastructure
Unified Liquidity Vault
Multi-asset hybrid vault + dynamic weight rebalancing
Eliminates liquidity fragmentation, 3-5x improvement in capital efficiency
Multi-Source Oracle Aggregation
Pyth + Chainlink dual-source cross-validation + TWAP anti-manipulation
Sub-second price updates, price deviation protection
Adaptive Funding Rate
Exponential decay model based on OI skew
Auto-balances long/short, reduces vault directional risk
esPPX Ecosystem Security Fund Anchoring
Fixed floor price ladder + floating floor nonlinear curve
Each PPX has a fundamental value backed by protocol revenue
State Channel Settlement
Off-chain matching + on-chain settlement hybrid architecture
TPS 5,000+, 40% reduction in Gas costs
Multi-Chain Failover Switching
Primary/backup chain auto-detection and hot switching
System availability 99.999%
AI Intelligence Engine
AI Market Prediction
Transformer time-series model + multi-factor feature engineering
Volatility prediction accuracy >78%, early warning for extreme markets
AI Risk Control Engine
Isolation Forest anomaly detection + LSTM liquidation prediction
Anomalous trade identification rate >95%, liquidation warning 15 min ahead
AI Resource Allocation
Deep reinforcement learning (PPO)-driven vault allocation
2-4% increase in annualized returns, 40% improvement in Sharpe ratio
AI Routing Optimization
Multi-dimensional cost function + graph neural network path planning
85% reduction in overall settlement costs
AI Dynamic Pricing
Gradient boosting model-driven spread + fee optimization
60% improvement in spread precision, 15-25% increase in LP returns
AI Agent Trading Assistant
LLM + RAG knowledge base + intent recognition
Natural language interaction, strategy recommendations, one-click copy trading
Core Mathematical Theorem:
The PerpX protocol's economic model satisfies Nash Equilibrium conditions—for all participants $i$:
That is, under the incentive and penalty framework established by the protocol, the optimal strategy for every rational participant is to comply with the protocol rules, and the system can spontaneously maintain stable operation without external enforcement.
2. Problem Definition and Market Analysis
2.1 Structural Deficiencies of Traditional Financial Trading
The global financial market has a daily trading volume exceeding $6 trillion, but the current system suffers from five structural frictions:
Friction Model:
Intermediary Cost $C_{\text{intermediary}}$
0.1%-0.5% per transaction extracted by multiple intermediaries
Serial chain of broker → clearinghouse → custodian → bank
Settlement Delay $C_{\text{settlement}}$
Equities T+2, cross-border T+3~5
Batch processing mode of centralized clearing
Access Barriers $C_{\text{access}}$
~1.7 billion adults globally are unbanked
Geographic restrictions, accredited investor thresholds
Time Restrictions $C_{\text{time}}$
NYSE operates 6.5h × 252 days = 1,638h per year
Exchange business hours system
Information Opacity $C_{\text{opacity}}$
Dark pool trading accounts for 40%+ of US equities
Information asymmetry of centralized order books
2.2 Limitations of Existing DeFi Trading Protocols
Asset Categories
Crypto-native assets only
Crypto + US equities + precious metals + commodities + forex + indices
Liquidity
Isolated pools per trading pair, insufficient depth
Unified vault with cross-category shared liquidity
Price Discovery
On-chain AMM prices susceptible to manipulation
Multi-source oracle aggregation + AI anomaly detection + TWAP protection
Real Value
Predominantly speculative assets like meme coins
Anchored to real-world fundamental assets
Performance
Full on-chain computation, limited throughput
Off-chain matching + on-chain settlement hybrid architecture
Intelligence
Static parameters, manual tuning
AI-driven dynamic optimization: full-stack intelligence for fees, spreads, allocation, and risk control
User Experience
Complex on-chain operations with high entry barriers
AI Agent natural language interaction + intelligent strategy recommendations
2.3 PerpX's Solution: The TradeFi Paradigm and Perpetual Economy
PerpX Finance proposes the paradigm of TradeFi = Full-Category Asset On-Chain Trading + Unified Liquidity + Revenue Aggregation. The current phase focuses on TradeFi full-category trading, because trading is the driving force of economic development—trading activities continuously generate revenue, attract liquidity, and accumulate protocol value, ultimately enabling PerpX to grow into a self-driven perpetual economy. Its efficiency advantage can be quantified as:
Where $\Delta TVM$ represents the time value of money earned by funds within the protocol. When $\Delta TVM > C_{\text{gas}} + C_{\text{protocol_fee}}$, the user's effective trading cost is negative—i.e., "Trade to Earn".
Traditional payment loss vs. PerpX revenue comparison:
3. Protocol Architecture Design
3.1 System Overview: Perpetual Economy Three-Element Protocol
The core of the PerpX Finance perpetual economy operates through three coordinated protocol layers. The current phase focuses on Perp Trade as the core driver, with trading being the driving force behind the economy's value accumulation and perpetual operation:
Perp Trade
Trading Core
Perpetual contract trading, full-category asset matching, position management
Oracle aggregated pricing, dynamic fees, real-time liquidation
Core engine—trading generates fees, funding rates, and other revenue, driving the perpetual growth of the economy
Perp DeFi
Revenue Engine
Unified liquidity vault, revenue aggregation, TVM capture
Dynamic asset allocation, hybrid revenue pools, compound interest calculation
Value hub—aggregates on-chain DeFi yields and off-chain RWA returns, unlocking the time value of capital
Perp Pay
Settlement Network
Connecting the real world: fiat on/off-ramp, cross-border settlement, payment routing
State Channel, AI routing, batch settlement
Infrastructure—connecting the economy to the real world
Three-Element Protocol Value Loop:

3.2 Five-Layer Protocol Stack
PerpX adopts a layered, decoupled five-layer protocol stack architecture, where each layer evolves independently and composes vertically:

AI Intelligence Layer is an intelligent engine that cuts across all protocol layers. It does not exist as an independent layer but operates in a "Sidecar" mode, providing prediction, optimization, and decision support to each layer. The hybrid architecture of off-chain AI inference + on-chain result verification ensures the unity of intelligence and determinism.
Inter-Layer Data Flow:
Computation Layer → Vault Layer: Provides block confirmation, Gas calculation, and transaction execution environment
Vault Layer → Trading Layer: Provides unified liquidity depth and counterparty funds
Trading Layer → Vault Layer: Returns trading fees, funding rates, and spread revenues
Payment Layer → Vault Layer: Injects stablecoins converted from fiat
Governance Layer → All Layers: Parameter governance, risk control threshold adjustments, asset listing approvals
AI Layer ↔ All Layers: Real-time collection of on-chain/off-chain data → model inference → output optimized parameters → on-chain verification and execution
3.3 Computation Layer: Multi-Chain Parallelism and Failover Switching
PerpX currently operates on Base Chain (Optimistic Rollup), selected based on:
Block Time
~2 seconds
~12 seconds
Gas Cost
~$0.001/tx
~$2-50/tx
TPS
~2,000
~15
Finality
~7 days (challenge period)
Instant
Data Availability
EIP-4844 blob
On-chain calldata
Multi-Chain Failover Mechanism:
To ensure 99.999% system availability, PerpX implements multi-chain failover switching:
System Resilience Mathematical Expression:
Where $R$ is the system resilience index, $S_{\text{failure}}$ is the single point of failure impact range, $N_{\text{total}}$ is the total number of nodes, and $V_{\text{recovery}}$ is the recovery speed coefficient. Through multi-chain deployment, $S_{\text{failure}} / N_{\text{total}}$ approaches 0, and system resilience approaches 1.
3.4 Vault Layer: Unified Liquidity and Dynamic Allocation Engine
The Vault Layer is the value hub of PerpX, responsible for unified management of liquidity and revenue distribution across all asset categories.
Dynamic Asset Allocation Optimization Model:
Funds in the vault are automatically allocated across three revenue channels: DeFi yield pools, RWA asset pools, and stablecoin protocols. The allocation ratio is solved via convex optimization:
Where:
$\theta \in [0,1]$ is the on-chain asset weight
$R_{\text{DeFi}}$ is the DeFi pool annualized yield
$R_{\text{RWA}}$ is the RWA pool annualized yield
$\lambda$ is the risk aversion coefficient (set by governance vote, initial value $\lambda = 0.5$)
$\sigma^2$ is the portfolio volatility
Optimal Solution (First-Order Condition):
When $R_{\text{DeFi}} > R_{\text{RWA}}$, more funds are allocated to the DeFi pool; otherwise, they flow to the RWA pool. The larger $\lambda$ is, the more conservative the allocation (trending toward equal distribution).
TVL Growth Perpetual Flywheel Model:
Where the coefficients satisfy $\alpha > \beta > \gamma > 0$, ensuring that protocol revenue exceeds inflationary losses and TVL grows continuously.
3.5 Trading Layer: Perpetual Contract Engine Core Design
The Trading Layer is the core product layer of PerpX. See Chapter 4 for the complete exposition.
3.6 Payment Layer: State Channel Settlement Network
Perp Pay uses State Channel technology to achieve high-frequency off-chain matching, providing the economy with a settlement channel connecting the real world:
Three-Tier Optimization Architecture:
Network Layer
State Channel bidirectional channels
TPS 5,000+
Protocol Layer
Batch Settlement
40% reduction in Gas costs
Application Layer
AI Routing Engine
85% reduction in total costs
AI Routing Algorithm Core Logic:
"Negative Loss" Payment Innovation:
Traditional payment:
PerpX payment:
When $\Delta TVM + \text{Rewards} > \text{Protocol Fees}$, the user's payment activity itself generates positive returns—this is the technical foundation for "Buy Now, Pay Never".
TradeFi Payment Flow Pseudocode:
3.7 Governance Layer: On-Chain DAO and Compliance Framework
DAO Governance Parameter Ranges:
Trading Parameters
Fee rates, maximum leverage, spread coefficients
Single adjustment ≤ 20%
Vault Parameters
Asset weight upper/lower bounds, risk aversion coefficient λ
Requires 67% vote approval
Token Parameters
esPPX unlock parameters k/m, phase transition conditions
Requires 75% vote approval
Asset Listing
New trading pair addition, risky asset delisting
Requires valid oracle + security audit + 51% vote approval
Compliance Module:
KYC/AML interface reserved (optionally enabled for institutional users)
Compliance committee oversight of anomalous trading behavior
Governance blacklist mechanism: community vote can freeze fraudulent addresses
4. AI Intelligence Engine: PerpX Intelligence Layer
4.1 Design Philosophy: On-chain Determinism × Off-chain Intelligence
The core limitation of traditional DeFi protocols lies in "static parameters" — key parameters such as fee rates, spread coefficients, funding rate sensitivity, and vault allocation ratios are manually set and remain fixed once deployed, unable to adapt to rapidly changing market conditions. When structural market changes occur (e.g., sudden volatility spikes, liquidity droughts, abrupt cross-asset correlation shifts), static parameters often lead to sharp declines in protocol efficiency or even systemic risk.
PerpX Finance proposes a hybrid architecture of "On-chain Determinism × Off-chain Intelligence":

Core Design Principles:
AI Suggests, Contracts Decide: AI models output parameter recommendations, but final execution is protected by hard constraints in on-chain contracts (upper/lower bounds, maximum adjustment ranges, timelocks)
Verifiable Inference: The AI Oracle signs inference results, and on-chain verifiers validate signature authenticity and parameter reasonableness
Progressive Authorization: In the early phase, AI only assists human decision-making (providing suggestions); after a validation period, it gradually gains autonomous execution permissions
Fail-safe: When the AI system goes offline, the protocol falls back to static parameter operation, ensuring business continuity
4.2 AI Prediction Engine: Multi-factor Market State Prediction
4.2.1 Model Architecture
PerpX's market prediction engine is based on the Temporal Fusion Transformer (TFT) architecture, integrating multi-source time-series data for joint prediction:
4.2.2 Prediction Output and Downstream Applications
Volatility Forecast
5min ~ 4h
>78% (direction)
Dynamic spread adjustment, margin requirements
Market Regime Classification
Real-time
>85%
Circuit breaker alerts, parameter strategy switching
Liquidity Forecast
15min ~ 1h
>72%
Vault rebalancing timing
Funding Rate Direction
8h
>70%
Funding rate sensitivity adaptation
Cross-asset Contagion
1h ~ 24h
>65%
Cross-asset hedging, correlation risk control
4.2.3 Training and Update Mechanism

4.3 AI Risk Control Engine: Real-time Anomaly Detection and Predictive Liquidation
4.3.1 Multi-layer Anomaly Detection System
Anomaly Types and Automated Responses:
Price Manipulation
Short-term large unidirectional trades + oracle deviation
Suspend asset trading + switch to TWAP
<1 sec
Flash Loan Attack
Large borrow + trade + repay within a single block
Transaction rollback + address flagging
<1 sec
Whale Activity
Sudden change in whale position concentration
Increase margin requirements for the asset
<10 sec
Cascade Liquidation Risk
Multiple users simultaneously approaching liquidation threshold
Preventive partial liquidation + widen spreads
<30 sec
Money Laundering Pattern
Multi-address circular transfers + amount splitting
Flag addresses + submit for compliance review
<5 min
4.3.2 Predictive Liquidation System
Traditional liquidation engines are reactive — they only trigger liquidation after the margin ratio falls below the maintenance threshold, often resulting in bad debt and insurance fund depletion. PerpX's AI liquidation system has predictive capabilities:
Predictive Liquidation vs Traditional Liquidation Comparison:
Liquidation Response Time
Triggered after on-chain confirmation
15-minute advance warning
Bad Debt Rate
5-8%
<1% (target)
Insurance Fund Consumption
High
Reduced by 60-80%
User Experience
Sudden liquidation, no warning
Tiered warnings + automatic risk mitigation
Cascade Liquidation
Prone to chain liquidations
AI detects and disperses risk in advance
4.4 AI Resource Allocation Engine: Reinforcement Learning-driven Vault Optimization
Traditional vault allocation uses static mean-variance optimization, while PerpX employs Deep Reinforcement Learning (Deep RL) to achieve truly dynamic adaptive allocation:
RL Agent Training Environment:
Training Data
2020-2025 full DeFi protocol data + traditional financial market data
Simulation Environment
Historical data-based backtesting environment + Monte Carlo simulation with random perturbations
Training Episodes
1 million+
Evaluation Metrics
Sharpe ratio, maximum drawdown, capital utilization rate
Baseline Comparison
Static mean-variance optimization, equal-weight allocation, manual tuning
Backtest Performance (2021-2025 Simulation):
Equal-weight Allocation
8.2%
0.65
-18.5%
Static Mean-variance
11.5%
0.92
-14.2%
PerpX RL Agent
15.3%
1.35
-9.8%
4.5 AI Routing Engine: Intelligent Payment Path Optimization
The payment router goes beyond simple path selection by introducing Graph Neural Networks (GNN) to model the entire cross-chain/cross-pool liquidity topology:
4.6 AI Pricing Engine: Intelligent Spread and Fee Rate Optimization
The AI pricing engine optimizes two core parameters in real time: dynamic spread and funding rate sensitivity.
AI Pricing Effectiveness Quantification:
LP Annualized Return
12%
15-18%
+25-50%
Average Spread Accuracy
Baseline
+60%
More accurately reflects real-time risk
Bad Debt Rate in Extreme Conditions
5-8%
1-2%
-70%
Funding Rate Effectiveness
Long/short skew correction ~4h
~1.5h
-62%
4.7 AI Agent Trading Assistant
PerpX provides users with an AI Agent trading assistant based on Large Language Models (LLM), significantly lowering the barrier to on-chain trading:
Architecture Design:

Feature Matrix:
Market Analysis
"What's your view on BTC's recent trend?"
Multi-dimensional analysis report from AI prediction engine
Position Opening
"Go long on gold for me, 5000U"
Recommended leverage, stop-loss level, expected return/risk ratio
Position Management
"Is my position safe?"
Real-time margin ratio + liquidation prediction + suggested actions
Strategy Recommendation
"What strategies are profitable lately?"
Strategy rankings based on backtesting data + risk assessment
One-click Copy Trading
"Follow the #1 strategy on the leaderboard"
Automatically copy trading parameters + risk scaling
P&L Query
"How much did I earn this month?"
Detailed PnL report + fee breakdown + optimization suggestions
Protocol Interaction
"Stake 1000 PPX for me"
Automatically construct staking transaction + estimated returns
AI Agent Security Boundaries:
All transactions involving fund operations must be confirmed by the user's wallet signature
The Agent does not hold user private keys; it only constructs unsigned transactions
Per-transaction and daily maximum trading limits are enforced
Users can disable Agent automation features at any time
4.8 On-chain Verification and Decentralized Inference
To ensure the transparency and verifiability of the AI system, PerpX plans to progressively introduce decentralized inference infrastructure:
Phase 1 (Current): Centralized AI Oracle + On-chain Constraints
Phase 2 (Planned): Decentralized AI Oracle Network
Multiple independent AI nodes run the same model and aggregate inference results through consensus
Optimistic verification: AI output is accepted by default; anyone can submit fraud proofs during the challenge period
Gradual introduction of zkML (Zero-Knowledge Machine Learning) to enable on-chain verifiable AI inference
Phase 3 (Long-term): Fully Decentralized Inference
Model weights stored on decentralized storage (IPFS/Arweave)
Inference executed on decentralized GPU networks (e.g., io.net, Ritual)
Inference results verified on-chain via ZK-SNARK proofs
5. Perp DEX Trading Engine
5.1 Oracle Aggregated Pricing System
Price accuracy is the core infrastructure for full-category on-chain trading. PerpX employs a dual-source aggregation + multi-layer security pricing system:
Pyth + Chainlink Dual-source Architecture:
Pyth Network
Sub-second (~400ms)
Crypto + Equities + Commodities + FX
High-frequency low-latency, pull-based pricing
Chainlink
~1 sec (heartbeat) / deviation-triggered
Crypto + select traditional assets
High degree of decentralization, many validator nodes
Price Aggregation Algorithm:
Traditional Asset Price Source Integration:
US Equities
NYSE / NASDAQ real-time quotes
Pyth Equity Feeds
Use last closing price + volatility limits during market closure
Precious Metals
LBMA / COMEX
Pyth + Chainlink
Near 24h trading, close to perpetual
Commodities
NYMEX / ICE
Pyth Commodity Feeds
Reference major exchange trading hours
Forex
Interbank FX market
Chainlink FX Feeds
24h on weekdays, TWAP anchoring on weekends
Indices
Real-time underlying index calculation
Composite oracle
Follow constituent stock trading hours
TWAP Anti-manipulation Protection:
Settlement prices use Time-Weighted Average Price (TWAP) with a 30-minute window:
Where $T = 1800$ seconds, and $N$ is the number of price sampling points within the window.
5.2 Position Management and Margin Calculation
Position Data Structure:
Margin Ratio Calculation:
Unrealized PnL:
For long positions:
For short positions:
Leverage and Initial Margin Requirements:
1-10x
10%-100%
1%
Mainstream crypto / Precious metals / Indices
1-50x
2%-100%
0.5%
BTC / ETH
1-100x
1%-100%
0.25%
Special high-liquidity assets (governance approval required)
Maximum leverage for different asset classes is determined by governance vote, based on underlying volatility and liquidity depth.
Position Opening Contract Logic:
5.3 Funding Rate Model
The funding rate is the core mechanism for anchoring perpetual contract prices to the underlying asset price. PerpX employs an adaptive funding rate model based on open interest (OI) skew:
Funding Rate Formula:
Where:
$OI_{\text{long}}$, $OI_{\text{short}}$ are the total open interest for long and short positions respectively
$\kappa$ is the sensitivity coefficient (initial value $\kappa = 0.01$, adjustable via governance)
$F_{\max}$ is the maximum funding rate cap per period (initial value $0.01 = 1%$)
Funding Rate Settlement Cycle: Settled every 8 hours (UTC 0:00, 8:00, 16:00).
Funding Rate Payment Logic:
When $F_r > 0$ (longs dominant): Longs pay funding fees to shorts
When $F_r < 0$ (shorts dominant): Shorts pay funding fees to longs
Funding fees are directly added to or deducted from margin, requiring no additional action
Cumulative Funding Rate Tracking:
This design ensures that regardless of when a user opens a position, the funding fees owed or receivable are accurately calculated.
5.4 Dynamic Spread Algorithm (AI-enhanced)
PerpX employs a two-tier pricing architecture: Base formula layer + AI optimization layer.
Base Formula Layer (Fallback Mechanism):
Where:
$S_{\text{base}}$ is the base spread (crypto majors 0.01%, US equities 0.05%, forex 0.02%)
$\sigma$ is the underlying asset's realized volatility over the past 1 hour
$D$ is the inverse of liquidity depth ($D = 1 / \text{Vault Depth}$); greater depth means smaller spread
$I$ is the open interest imbalance ratio $|OI_{\text{long}} - OI_{\text{short}}| / (OI_{\text{long}} + OI_{\text{short}})$
$\alpha_v, \alpha_d, \alpha_i$ are the weight coefficients for each factor
AI Optimization Layer:
The AI pricing engine (see Section 4.6 for details) builds upon the base formula by introducing high-dimensional features such as AI-predicted volatility, order flow toxicity analysis, and cross-asset correlations to output more precise spread recommendations:
AI output is bounded by the upper and lower limits of the base formula. When the AI system is unavailable, it automatically falls back to the base formula.
Design Objectives:
Automatically widen spreads during high-volatility periods to protect the vault from adverse selection
Narrow spreads when liquidity is abundant to improve trader experience
Widen spreads during long/short imbalances to encourage position rebalancing
AI predicts future volatility (rather than relying solely on historical volatility), enabling forward-looking pricing
5.5 Liquidation Engine (AI Predictive Liquidation)
PerpX's liquidation engine combines traditional trigger-based liquidation with AI predictive liquidation (see Section 4.3.2 for details), implementing a three-stage liquidation process of "Warning → Prevention → Execution".
Forced Liquidation Trigger Condition:
Tiered Liquidation Mechanism:
Warning
Margin ratio < Initial margin rate × 50%
On-chain event notification, frontend popup alert
Partial Liquidation
Margin ratio < Maintenance margin rate × 150%
Reduce position to safe level (50% position reduction)
Full Liquidation
Margin ratio < Maintenance margin rate
Close entire position, remaining margin goes to liquidator
Bad Debt Handling
Margin + PnL < 0
Vault insurance fund covers the loss
Liquidator Incentives:
Liquidators (Keeper / Liquidator Bots) that successfully execute liquidations receive:
A fixed percentage (initially 5%) of the liquidated position's remaining margin as a liquidation reward
Gas fee compensation
Liquidation Contract Core Logic:
5.6 Full-category Asset Onboarding Framework
Permissionless Listing Process:
Anyone can submit a governance proposal to list a new asset, provided it meets the following requirements:
Has a valid Pyth or Chainlink oracle price feed
Passes a security review (no obvious manipulation risk)
Receives over 51% approval in DAO voting
Asset Risk Tiering:
Tier 1
BTC, ETH, USDC
50-100x
40%
1.0x
Tier 2
Major altcoins, Gold, Blue-chip US equities
20-50x
25%
1.5x
Tier 3
Mid-cap crypto, Silver, Forex
10-20x
15%
2.0x
Tier 4
Small-cap crypto, Commodities, Indices
5-10x
10%
3.0x
6. Unified Vault System
6.1 PLP Tokenized Liquidity Certificate
PLP (PerpX Liquidity Provider) is a tokenized representation of vault shares:
PLP Minting Price Calculation:
Adding Liquidity:
Dynamic Fee Mechanism:
PLP Holder Revenue Sources:
Trading fee share
60-70%
Fees from all trading categories distributed proportionally to PLP holders
Trader net losses
20-25%
Vault acts as counterparty; PLP benefits when traders have overall losses
esPPX ecosystem incentives
10-15%
Additional token incentives from the protocol for LPs
6.2 AI-Driven Dynamic Asset Allocation
Vault allocation employs a dual-engine architecture: traditional mean-variance optimization as the baseline, with a deep reinforcement learning Agent (see Section 4.4) as the enhancement layer.
Baseline Engine (Mean-Variance Optimization):
AI Enhancement Engine (Deep Reinforcement Learning):
The AI resource allocation Agent (see Section 4.4) introduces market state prediction, cross-asset correlation analysis, and macro factors on top of the baseline, achieving forward-looking allocation — making decisions based not only on current yields but also on predicted yields and risk levels for the next 1-4 hours.

When the AI system is unavailable, the system automatically falls back to the baseline engine.
6.3 Vault Risk Exposure Control
Multi-Dimensional Risk Control Parameters:
Single asset OI as % of vault
≤ 40%
Suspend new positions for that asset
Net directional exposure
≤ 30%
Increase funding rate in the skewed direction
Vault utilization
≤ 85%
Limit new position size
Insurance fund ratio
≥ 5%
Prioritize insurance fund replenishment
Single trade size
≤ 2% of vault
Reject orders exceeding the limit
Automatic Rebalancing Mechanism:
When extreme market volatility causes asset weights to deviate from targets, the protocol automatically executes rebalancing to adjust each asset's weight within the vault, preventing systemic risk accumulation.
6.4 Yield Distribution and TVM Capture
TVM (Time Value of Money) Capture Flow:

7. Risk Management Framework
7.1 Multi-Layer Risk Control System (AI-Enhanced)
PerpX builds a five-layer defense system from individual positions to the system level, with the AI layer serving as a cross-cutting prediction and detection engine:

AI Risk Control Layer Responsibilities (see Section 4.3):
Real-time anomaly detection: Three-layer model (statistical rules + Isolation Forest + Autoencoder) running in parallel to detect price manipulation, flash loan attacks, and whale activity
Predictive liquidation: LSTM model predicts liquidation probability 15 minutes in advance, triggering tiered alerts
Cascading risk assessment: Analyzes global position correlations, identifies cascading liquidation risks, and proactively diversifies risk exposure
Adaptive thresholds: Dynamically adjusts trigger thresholds for each risk control layer based on market conditions
7.2 Extreme Market Circuit Breaker
7.3 Oracle Failure Fault Tolerance
Single-source price stale
timestamp > staleness_threshold
Switch to backup oracle source
Dual-source price deviation
deviation > 0.5%
Pause trading for that asset, use TWAP
Oracle completely offline
All sources unresponsive
Asset-level pause, only allow position closing
Price manipulation attack
Price deviates from TWAP > 5%
Trigger circuit breaker, wait for price recovery
7.4 Smart Contract Security
Security Strategies:
Contract upgradeability: UUPS proxy pattern, upgrades require DAO multisig + 48h timelock
Reentrancy protection: All external call functions use the
nonReentrantmodifierInteger overflow: Solidity 0.8+ built-in overflow checks
Flash loan attack protection: Critical price reads use TWAP instead of spot price
Audit plan: At least two independent security audits before launch
8. Token Economics
8.1 Dual-Token Model Design Philosophy
Core design principles of PerpX token economics:
Every PPX is backed by the Ecosystem Security Fund — All PPX are converted from esPPX through contract unlocking. The unlock process requires paying an Ecosystem Security Fund fee, ensuring every PPX has a fundamental value backed by protocol revenue.
Dynamic balance between inflation and deflation — During value growth periods, moderate esPPX release incentivizes ecosystem expansion; during active trading periods, fee-funded buyback and burn achieves deflation.
Incentive compatibility — The individually optimal behavior of each participant role (traders, LPs, stakers, community) happens to benefit the overall system.
Token System:
$PPX
Governance token
Yes
Yes
Yes
Governance + fee sharing + VIP benefits
$esPPX
Escrowed incentive token
No
No (voting only)
Yes
Ecosystem incentive distribution vehicle, requires unlocking to PPX
$PLP
Liquidity certificate
Limited (intra-protocol only)
Auto-staked
No
Vault share proof + yield distribution
8.2 $PPX Governance Token Mechanism
Total Supply: Fixed cap of 1 billion (1,000,000,000), released in three phases:
Phase 1
100,000,000
100M
Initial issuance
Phase 2
300,000,000
400M
User count / TVL / trading volume / protocol revenue targets met + community vote
Phase 3
600,000,000
1B
Same as above, higher thresholds
Currently focused on Phase 1 only.
Phase 1 Token Distribution:
Community
60%
60,000,000
Quarterly linear release for trading rewards, LP incentives, referral system
Ecosystem fund
30%
30,000,000
Quarterly linear release for ecosystem development and strategic partnerships
Team
5%
5,000,000
1-year lock followed by 6-month linear release
Initial liquidity
5%
5,000,000
1% released at TGE, then +1% released for every 5% price increase
Issuance Price: 1 USD
PPX Feature Matrix:
Protocol governance
1 PPX = 1 vote, participate in voting on key parameters such as fee rates, leverage caps, and asset listings
Fee sharing
Staking PPX entitles holders to a proportional share of protocol trading fees
VIP tier
Staking amount determines VIP tier, with trading fee discounts (up to 50% off)
Ecosystem payment
In-protocol services (Zone creation, etc.) paid with PPX
8.3 $esPPX Escrowed Incentive Token
Core Rules: All tokens are first released as esPPX, then converted to PPX through contract unlocking.
esPPX is not freely transferable but carries full PPX voting rights within the protocol. To sell or transfer, holders must pay the "Ecosystem Security Fund" fee through the unlock contract to convert to PPX.
Unlock Conversion Formula:
The Ecosystem Security Fund fee equals the floor price $F$, with calculation details in Section 8.4.
8.4 Ecosystem Security Fund Mechanism: Mathematical Model
The floor price consists of a fixed component and a floating component:
8.4.1 Fixed Floor Price $F_b$
The fixed floor price increases in tiers as PPX circulating supply grows:
0 ~ 1,000,000
1
0.001 U
1,000,001 ~ 2,000,000
2
0.002 U
...
...
...
49,000,001 ~ 50,000,000
50
0.050 U
99,000,001 ~ 100,000,000
100
0.100 U
There are 100 periods in total. When Phase 1 is fully released, the floor price is approximately 0.1 U, providing a deterministic minimum value anchor for PPX.
8.4.2 Floating Floor Price $F_f$
The floating floor price activates after the protocol matures and is dynamically linked to market supply and demand:
Activation Conditions (any one met):
PPX circulating supply > 10,000,000 tokens
Daily protocol fee revenue > 10,000 USDC
Floating Floor Price Formula:
Each variable is defined as follows:
$P_b$ (Central Bank Buyback Price): Weighted average execution price of the most recent 5 transactions.
$r$ (Floating Coefficient): A nonlinear function based on the ratio of actual unlock volume to recommended unlock volume:
Parameter descriptions:
$Q_a$: Actual unlock volume (based on the amount of PPX users confirm to unlock)
$Q_s$: Recommended unlock volume
$k \in [1.5, 3]$: Controls growth magnitude (adjustable via governance vote)
$m \in [1.8, 2.5]$: Controls acceleration rate (adjustable via governance vote)
Recommended Unlock Volume $Q_s$ Calculation:
$0.6 \times I_{\text{prev}}$: 60% of the previous day's protocol revenue
$0.02 \times T_{\text{treasury}}$: 2% of total treasury
Safety buffer: When treasury balance $< I_{\text{prev}} \times 30$, the unlock limit is automatically tightened
Floating Coefficient Characteristics Table ($Q_s = 100, k = 2, m = 2$):
50
0.0000
No floating cost (below recommended volume)
100
0.0000
Critical point
150
0.3935
Slow growth zone
200
0.8647
Accelerating growth zone
250
0.9889
Rapid growth zone
300
0.9997
Approaching saturation ($r \to 1$)
This S-curve design ensures:
When unlocking is reasonable ($Q_a \leq Q_s$), the floating floor price is 0, and users only need to pay the fixed floor price
When unlocking exceeds the recommended amount, the floating floor price rises nonlinearly, automatically suppressing sell pressure and protecting treasury security
In extreme cases, the floating floor price approaches $P_b$ (market price), making excess unlocking uneconomical
$Z$ (Zone Difficulty Coefficient):
$P_n$: Cumulative unlock volume within the Zone
$P_t$: Total PPX circulating supply
Default value $Z = 1$; the more unlocking within a Zone, the higher the subsequent unlock cost
$P$ (Personal Activity Coefficient):
Related to the individual wallet's cumulative unlock volume and daily unlock proportion, default value $P = 1$.
8.5 Staking and Unlock State Machine
PPX Staking State Machine

Staking Reward Calculation:
esPPX Unlock Conversion Daily Cycle (Vest Cycle)
0:00 - 23:00
Free period
Freely deposit esPPX to unlock queue + freely withdraw
23:00 - 0:00
Whitelist period
Only whitelisted addresses can deposit/withdraw; regular users cannot operate
0:00 (next day)
Settlement & claim
System completes settlement; users pay USDC (Ecosystem Security Fund) to claim PPX
Key Rules:
Before 23:00, users can freely deposit and withdraw, flexibly managing the amount of esPPX in the unlock queue;
23:00 - 0:00 is the whitelist window; only authorized addresses can operate, preventing abnormal operations before settlement;
After settlement completes at 0:00, users can immediately pay the corresponding USDC (Ecosystem Security Fund) to claim unlocked PPX;
If users do not claim, the esPPX will be permanently locked in the unlock contract and cannot be returned. Users can claim multiple days' accumulated unlocked PPX in a single transaction at any time.
8.6 Deflation and Value Capture
Fee Buyback and Burn Mechanism:

Dynamic Deflation Rate:
The buyback-and-burn ratio is dynamically adjusted based on trading volume:
The more active trading is, the stronger the deflationary force, creating a positive feedback loop of "the more it's used, the scarcer it becomes."
Long-Term Deflation Model:
Assuming average daily trading volume $V$, fee rate $f$, buyback-and-burn ratio $b$:
As trading volume grows, the burn rate accelerates, eventually pushing the circulating supply into a net deflationary state.
8.7 Game Theory Analysis and Nash Equilibrium
Equilibrium analysis of the PerpX economic model:
Participant Roles and Strategy Space:
Trader
Long / Short / Wait
PnL - fees - funding fee + trading rewards (esPPX)
LP
Provide / Withdraw liquidity
Fee share + trader net losses + esPPX - impermanent risk
PPX staker
Stake / Unstake
Fee share + esPPX yield - lock-up opportunity cost
esPPX holder
Unlock / Hold
PPX market price - Ecosystem Security Fund (F) - time cost
Nash Equilibrium Proof:
Under the incentive framework set by the protocol, for each participant $i$:
Specifically:
Traders: Trading rewards from normal trading > liquidation penalties + spread losses from attempted manipulation
LPs: Expected fee revenue from long-term liquidity provision > dynamic fee losses from frequent entry and exit
Stakers: Full rewards from completing the 30-day maturity period > net returns after early exit penalties
esPPX unlockers: Low cost of unlocking within the recommended volume ($Q_a \leq Q_s$) > exponentially growing floor price from excess unlocking
Therefore, under the rational participant assumption, the system spontaneously converges to a cooperative equilibrium without external enforcement.
9. Zone System and Decentralized Community Governance
9.1 Zone Concept
Zone is a virtual community network built by PerpX that maps to real-world regions. Users can claim a Zone (such as the USA, UK, Japan, etc.) using $PPX, becoming a community governance node for that region.
Zone Governance Parameters:
Ecosystem incentive and subsidy ratios for staking PPX/esPPX
Trading fee referral rebates
Zone difficulty coefficient $Z$ in esPPX floating floor price
Fee sharing from staking PPX/esPPX
Zone-level community self-governance inflation/deflation levels
LP liquidity fee sharing and ecosystem incentives
9.2 DID Identity System
Each user's wallet address = unique DID identity
Each user can generate a unique, immutable invite code
Bound invite codes cannot be changed
Users who have not joined any Zone are "World Citizens" with default referral rebate mechanisms
9.3 Invite Referral Mechanism
Referral Revenue Sources:
Fixed percentage rebate on invitees' trading fees
Share of ecosystem incentives from invitees' PPX/esPPX staking
Referral ratios are jointly determined by Zone and global parameters, forming a community viral growth engine.
10. Technical Roadmap
Phase 1: Trading Foundation (Q1-Q2 2026)
Perp DEX launches on Base Chain, supporting cryptocurrency perpetual contracts (BTC, ETH, SOL, etc.)
Unified vault layer launches with PLP minting/redemption
PPX/esPPX token economics system deployment
Pyth + Chainlink dual-source oracle integration
Invite referral system and basic Zone functionality go live
Security audit completed
Phase 2: Category Expansion + AI Infrastructure (Q3-Q4 2026)
Category Expansion:
Launch US stock perpetual contracts (AAPL, TSLA, NVDA, GOOGL, MSFT, AMZN, META)
Launch precious metals contracts (XAU/USD, XAG/USD)
Launch commodity contracts (WTI, NG) and forex contracts (EUR/USD, GBP/USD, USD/JPY)
Launch index contracts (S&P 500, NASDAQ 100)
AI Infrastructure (v1):
AI market prediction engine launches (volatility prediction + market state classification)
AI anomaly detection system deployment (statistical rules layer + Isolation Forest layer)
AI dynamic spread optimization starts (shadow mode, manual review)
AI Agent trading assistant Beta (market analysis + position queries)
Phase 3: Ecosystem Deepening + AI Enhancement (Q1-Q3 2027)
Ecosystem Deepening:
Perp Pay fiat on/off-ramp channel goes live
Tokenized spot trading protocol R&D and launch
Cross-chain deployment (Arbitrum, Solana, BSC, and other L2/L1 chains)
Full DAO governance launch with community-driven proposals and voting
Institutional-grade trading tools and API/SDK release
AI Enhancement (v2):
AI predictive liquidation system launches (LSTM liquidation prediction)
AI dynamic spread switches from shadow mode to automatic execution mode
AI resource allocation RL Agent launches (shadow mode)
AI routing engine launches (GNN payment path optimization)
AI Agent trading assistant official release (position opening suggestions + strategy recommendations + one-click copy trading)
Cross-category AI correlation analysis (US stocks-crypto-commodities linkage prediction)
Phase 4: Full-Scale Expansion + AI Decentralization (2027 H2 and Beyond)
Advanced derivatives (options, structured products) launch
Zone global network expansion and deep governance
Proprietary high-performance trading chain Perp Chain (appchain / L3)
Comprehensive global compliance framework, integrating more jurisdictions
Full-stack AI autonomy: RL auto-execution, decentralized AI Oracle, adaptive protocol governance
Decentralized AI inference: zkML on-chain verification, decentralized GPU network, community AI model marketplace
Full-stack ecosystem maturity: fully decentralized AI + Blockchain autonomous protocol
11. Conclusion
PerpX Finance, through the TradeFi (Trade + DeFi + AI) paradigm, extends the boundaries of decentralized trading from crypto-native assets to global full-category financial markets, empowering the protocol with self-learning, self-optimization, and self-evolution capabilities through its AI intelligence engine.
At the blockchain infrastructure level, the five-layer protocol stack with its decoupled layered architecture, multi-source oracle aggregated pricing, adaptive funding rate model, unified vault dynamic asset allocation algorithms, and multi-tier liquidation engine form a high-performance, highly secure, and scalable on-chain trading infrastructure.
At the AI intelligence engine level, PerpX employs a hybrid architecture of "on-chain determinism × off-chain intelligence," deeply embedding AI throughout the entire protocol stack:
Prediction engine (Transformer time-series model) provides forward-looking market insights for traders and the protocol
Risk control engine (anomaly detection + predictive liquidation) reduces the insolvency rate by 60-80%
Resource allocation engine (deep reinforcement learning) improves vault Sharpe ratio by 40%
Pricing engine (gradient boosting model) achieves 25-50% LP revenue improvement
AI Agent (LLM + RAG) enables any user to participate in on-chain trading through natural language
AI is not an add-on layered on top of blockchain, but the protocol's core intelligence hub — giving static on-chain contracts the dynamic ability to perceive markets, predict risks, and optimize resources.
At the economic model level, the PPX/esPPX dual-token system ensures every token has a fundamental value backed by protocol revenue through the Ecosystem Security Fund mechanism (fixed floor price tiers + floating floor price nonlinear curve); the dynamic deflationary mechanism of fee-funded buyback and burn positively binds trading activity to token scarcity; the incentive-compatible game design causes the system to spontaneously converge to Nash equilibrium under the rational participant assumption.
At the trading experience level, 24/7 non-stop operation, full-category asset one-stop trading, AI-driven intelligent pricing bringing trading costs as low as 0.01%, TVM yield capture pushing effective costs toward zero or even negative, and AI Agent enabling zero-experience users to easily participate — truly achieving "Trade to Earn, Everyone Can Participate."
The ultimate vision of PerpX Finance is to build a self-evolving on-chain perpetual economy — with TradeFi full-category trading as its core engine and AI as its intelligence hub, enabling trading to continuously create value and drive growth, forming a perpetually operating positive flywheel. Enabling anyone, at any time, in the most optimal way, to trade any asset — where participation is value creation, and trading is economic growth.
Perpetual Economy, Infinite Expansion.
PerpX Finance Team 2025
Disclaimer: This whitepaper is for informational purposes only and does not constitute investment advice. Cryptocurrency and derivatives trading involves high risk; please participate cautiously based on your own risk tolerance. Specific protocol parameters may be adjusted according to governance decisions.
Last updated
