Liquidation MechanismHard bust: when Hyperliquid's BBO mid crosses the position's displayed bust price, the protocol's liquidation keeper removes the position entirely and forfeits the full isolated margin (not a voluntary close at the trigger price)Contract UpgradeabilityPapertrade's contracts are deployed as proxies; the Owner role (gated by a 2-of-3 multisig and a 7-day Timelock) can upgrade the contract implementations, so in principle the owner can rewrite any contract behavior Admin Key PowersThree scoped admin roles: Pause guardian can retire an instrument ID (freezing its oracle price permanently and irreversibly) or engage a reversible global opens gate blocking new opens on every market; Owner can tune impact-curve and fee-rate parameters, set the dev fee recipient, swap relayers/keepers, list new markets, reconcile failed deposit sweeps, and upgrade the (proxied) contract implementations; Market keeper can only move per-asset/per-side OI caps and minimum margin/position-value thresholds, and cannot move user collateral or freeze the oracle.Admin TimelockEvery owner action must be scheduled through a 7-day Timelock, controlled by a 2-of-3 multisig, before it can execute Mark vs Last Price LiquidationOtherDocumented Failure DependenciesThe execution price is read directly from Hyperliquid's live order-book BBO with no independent reference price to reject a manipulated quote, and all opens/closes must be submitted through Papertrade's own relayer and batch executor (a third-party frontend can only produce signatures for that same relayer, not submit directly to the contracts)