# Mog Docs > Mog is a self-bootstrapping perpetual DEX. These public guides explain trading, treasury-funded payouts, queued claims, and MOG rewards. Reviewed protocol version: 11.0.0 Protocol review date: 2026-10-30 Scope: reviewed public documentation. Numerical examples use illustrative or launch settings; they are not live quotes or a guarantee of current deployed parameters. Consult the app for current market and position values. For a complete explanation, read [all guides](https://docs.testnet.mog.xyz/llms-full.txt). For focused questions, use the Markdown chapters below. Each chapter provides its canonical human-readable source URL for citations. ## Important distinctions - A take-profit and a stop-loss are prices, never profit amounts. When a price update reaches one, Mog closes the whole position at market, as a manual close would. - Oracle-priced execution still uses a later price update; submission does not lock the current price. - Available cash can be withdrawn or used as margin; a queued claim can do neither until it is paid. - Giving up a queued claim is final. It pays MOG, not cash, and moves every claim behind it forward. - A contribution is one-way and can never be withdrawn. It comes from your account balance, which stays yours until you contribute it. - A profit fee is paid with its payout, at the same rate; a queued payout’s fee waits with it. - Launch parameters and illustrative chart settings must not be reported as verified live values. ## Introduction - [What is Mog?](https://docs.testnet.mog.xyz/index.md): Trade perps with up to 1,000× leverage on a DEX that builds its own liquidity. - [FAQ](https://docs.testnet.mog.xyz/faq.md): Quick answers about trading, payouts, fees, and MOG rewards. - [Quick start](https://docs.testnet.mog.xyz/quick-start.md): Connect a funded wallet and open your first Mog perp. ## Trading - [Positions and leverage](https://docs.testnet.mog.xyz/trading/positions-and-leverage.md): Choose a direction, margin, and leverage, then manage your Mog perp. - [PnL and closing](https://docs.testnet.mog.xyz/trading/pnl-and-closing.md): Understand your close value, explore the profit curve, and close all or part of a position. - [Take profit and stop loss](https://docs.testnet.mog.xyz/trading/take-profit.md): Close your whole position at the market price when the price reaches a level you set. - [Liquidations](https://docs.testnet.mog.xyz/trading/liquidations.md): Understand when a position liquidates and how leverage affects its distance from entry. - [Adding margin](https://docs.testnet.mog.xyz/trading/adding-margin.md): Give your position more room before liquidation. - [Fees](https://docs.testnet.mog.xyz/trading/fees.md): Mog's open fee and profit fee, when each applies, and what they fund. ## Funds and account - [Wins and losses](https://docs.testnet.mog.xyz/account/wins-and-losses.md): How a close changes your balance and earns MOG rewards. - [The payout queue](https://docs.testnet.mog.xyz/account/payout-queue.md): What happens when a payout exceeds available cash, and how to wait for it or give it up for MOG. - [Deposits and withdrawals](https://docs.testnet.mog.xyz/account/deposits-and-withdrawals.md): Fund your Mog account and withdraw available cash with your wallet. - [Session keys](https://docs.testnet.mog.xyz/account/session-keys.md): Trade with fewer wallet prompts, set session permissions, and revoke access. - [Referrals](https://docs.testnet.mog.xyz/account/referrals.md): Create your referral link, activate rewards, and invite traders. ## $MOG - [Earning MOG](https://docs.testnet.mog.xyz/mog/earning-mog.md): Earn MOG from the value your trades give the treasury, from contributions, or by giving up a queued payout. - [Supply and the unlock](https://docs.testnet.mog.xyz/mog/supply-and-unlock.md): How MOG enters circulation, the 100 billion supply cap, the team allocation, and when the token unlocks. - [Buybacks and burns](https://docs.testnet.mog.xyz/mog/buybacks-and-burns.md): How trading activity funds MOG purchases and reduces circulating supply through burns. ## Risk - [Risks and trust assumptions](https://docs.testnet.mog.xyz/risk.md): Understand the trading, payout, oracle, governance, and wallet risks of using Mog. ## Integrators - [Build on Mog](https://docs.testnet.mog.xyz/integrators.md): Put Mog trading in your own app or site and earn a share of settlement fees with a builder code. - [Builder codes](https://docs.testnet.mog.xyz/integrators/builder-codes.md): How a builder address earns a share of settlement fees, the holding rule, and how to collect. - [Builder codes and referrals](https://docs.testnet.mog.xyz/integrators/builder-vs-referral.md): A referral link and a builder code use the same on-chain mechanism. What differs is who sets the builder on each order. ## API - [API](https://docs.testnet.mog.xyz/api.md): The ways to read and trade Mog from code, how they authenticate, and the network endpoints. - [CLI quick start](https://docs.testnet.mog.xyz/api/quick-start.md): Install the mog CLI, grant a session key, and place and close a first trade on testnet. - [Errors](https://docs.testnet.mog.xyz/api/reference/errors.md): CLI exit codes, relay refusal codes, and which errors are safe to retry. - [Permissions](https://docs.testnet.mog.xyz/api/reference/permissions.md): Who may call each part of the Mog venue, and what each key and role can and cannot do.