Trade perpetual futures on 10 markets with up to 15x leverage, directly on the Sui blockchain. DeepLens integrates the Aftermath Finance perpetuals protocol to provide a full-featured trading terminal.
Perpetual futures (perps) are leveraged derivative contracts that track the price of an underlying asset without an expiry date. Unlike traditional futures that settle at a fixed date, perpetuals let you hold a position indefinitely as long as you maintain sufficient collateral.
A funding rate mechanism keeps the perpetual price close to the spot price. Funding is exchanged between longs and shorts every hour (with an 8-hour funding period). When the perp trades above spot, longs pay shorts; when below, shorts pay longs.
With leverage, you can control a position larger than your deposited collateral. For example, with 10x leverage and $100 USDC collateral, you control a $1,000 position. Gains and losses are amplified proportionally.
The perpetuals engine is provided by Aftermath Finance, a protocol built natively on Sui. All positions, collateral, and order matching happen on-chain through Aftermath's Move smart contracts. DeepLens integrates via the aftermath-ts-sdk package, connected to Sui mainnet.
Collateral for all perpetual positions is denominated in native USDC on Sui. You must deposit USDC into your Aftermath perpetuals account before placing any orders.
DeepLens supports 10 perpetual markets across crypto, commodities, indices, and energy:
| Market | Pair | Max Leverage | Category | Hours | Initial Margin | Maint. Margin |
|---|---|---|---|---|---|---|
| BTC Bitcoin | BTC/USD | 15x | Crypto | 24/7 | 6.67% | 3.33% |
| ETH Ethereum | ETH/USD | 10x | Crypto | 24/7 | 10% | 5% |
| SUI Sui | SUI/USD | 5x | Crypto | 24/7 | 20% | 10% |
| SOL Solana | SOL/USD | 10x | Crypto | 24/7 | 10% | 5% |
| ZEC Zcash | ZEC/USD | 5x | Crypto | 24/7 | 20% | 10% |
| XAUT Gold | XAUT/USD | 15x | Commodity | 24/7 | 6.67% | 3.33% |
| XAG Silver | XAG/USD | 5x | Commodity | 24/5 | 20% | 10% |
| US500 S&P 500 | US500/USD | 5x | Index | 24/5 | 20% | 10% |
| WTI Crude Oil | WTI/USD | 3x | Energy | 24/5 | 33.33% | 16.67% |
| NG Natural Gas | NG/USD | 3x | Energy | 24/5 | 33.33% | 16.67% |
Connect Your Wallet
Click "Connect Wallet" in the top navigation bar. DeepLens supports all major Sui wallets (Sui Wallet, Suiet, Ethos, Martian, etc.).
Create a Perpetuals Account
If this is your first time, you will be prompted to create an Aftermath perpetuals account. This is an on-chain object that holds your collateral and positions. The creation transaction costs a small amount of SUI gas.
Deposit USDC Collateral
Use the Transfer panel to deposit native USDC from your wallet into your perpetuals account. This collateral backs all of your open positions.
Place an Order
Select a market, choose Long or Short, set your size and leverage, and submit. The order is built as a Sui transaction and signed in your wallet.
Market Order
Executes immediately at the best available price. Your order is matched against the current orderbook. Guaranteed fill for the specified size, but the execution price may deviate from the displayed mark price (slippage).
Limit Order
Specifies a maximum (for longs) or minimum (for shorts) execution price. The order rests in the on-chain orderbook until filled or cancelled. No slippage, but no guaranteed fill. An agent address can be specified for programmatic order management.
Leverage determines how much exposure you get per unit of collateral. The relationship is:
Position Size = Collateral x LeverageEach market has a maximum leverage determined by its Initial Margin Ratio (IMR). For example, BTC has an IMR of 6.67%, yielding 15x max leverage (1 / 0.0667 = ~15).
The Maintenance Margin Ratio (MMR) is the minimum collateral ratio before liquidation. For BTC, the MMR is 3.33%. If your account equity falls below the maintenance margin requirement, your position may be liquidated.
Crypto & Gold
24/7 — Always open
BTC, ETH, SUI, SOL, ZEC, XAUT
Commodities, Indices & Energy
24/5 — Weekdays only
XAG, US500, WTI, NG
24/5 markets are closed on weekends (Saturday–Sunday UTC). Existing positions remain open but no new orders can be placed, and prices will not update until the market reopens.
Leveraged trading carries substantial risk. You can lose your entire collateral deposit if the market moves against your position.
Liquidation
When your account equity drops below the maintenance margin requirement, your position is automatically closed (liquidated) by the protocol. A 0.5% liquidation fee is charged on the position notional value. The remaining collateral (if any) is returned to your account.
Take Profit & Stop Loss
DeepLens supports optional TP/SL parameters when placing orders. When enabled, the protocol will automatically close your position at the specified price levels, helping limit downside or lock in gains.
Min order size: $1.00 USD
Funding period: 8 hours (settled hourly)
The perpetuals page is a full-screen trading terminal with four main panels:
Price Chart
TradingView-style candlestick chart with multiple timeframes. Shows mark price, 24h change, and volume bars. Takes up the largest portion of the screen.
Orderbook
Live bid/ask depth with real-time updates. Red asks stacked above green bids, with a mid-price spread indicator. Includes recent market trades feed.
Trade Form
Long/Short toggle, Market/Limit selector, size input, leverage slider (1x to max), collateral display, optional TP/SL inputs, order preview with estimated liquidation price, and submit button.
Positions & History
Tabbed panel showing open positions (with unrealized PnL), order history, collateral deposit/withdraw history, and a Transfer/Borrow/Repay panel for managing your account balance.
A market selector ribbon at the top lets you switch between all 10 markets with live 24h stats (price, change %, volume, funding rate).