Contract Explorer
Etherscan-style explorer for the planned ATLAX contract suite on XRPL EVM. All contracts are pre-deployment and unaudited.
Holds user collateral and handles deposits, withdrawals, locked margin, and released margin.
Receives matched trade messages and updates position state.
Calculates initial margin, maintenance margin, margin ratio, account equity, and liquidation eligibility.
Calculates periodic funding payments between longs and shorts.
Determines whether accounts are liquidatable and processes liquidation events.
Validates index price, mark price, freshness, and oracle deviation.
Absorbs shortfalls and tracks protocol risk reserves.
Routes trading fees, liquidation fees, staking rewards, treasury fees, and insurance fund allocations.
Protocol utility token for discounts, subscriptions, governance, staking, and incentives.
Future governance controls for parameter changes, risk limits, and protocol upgrades.
Function: openPosition() Market: XRP-PERP Side: Long Size: 25,000 XRP Leverage: 5x Gas Estimate: Simulated Simulation Hash: 0x8f2a...91cd Risk Checks: Passed Status: Simulated successfully. No real transaction broadcast.