📟
Sahm EXCHANGE Decentralized exchange & derivatives · s0sta.com/sahm
—
ETH—
24h volume—
AMM price—
Fees—
Breaker—
📖

Order Book

no open orders

💱

Swap & Margin

Your margin balance—
Locked margin—
⚖

Governance

no proposals yet

🎓

How to use & the on-chain process

Every step below matches a real button above — the dApp talks straight to the live contracts on Sepolia.

🖱

How to use

1.Press Connect Wallet (top-right) and switch to the Sepolia testnet — the badge next to the button shows the active chain.
2.Approve the AED-S stable, then press Deposit in “Swap & Margin” — your quote tokens move into your on-chain margin account.
3.Trade spot: type a price and amount, then press Place bid or Place ask on the Order Book — or press Swap to trade against the AMM pool.
4.Go leveraged: set margin and leverage in “Swap & Margin” and press Open long.
5.Become an LP: press Add liquidity to mint LP shares, then Propose a vote — your LP shares are your voting power.
⛓

The process — what happens on-chain

1.SahmCompliance screens every trade — your KYC tier, the daily volume cap and the global halt must all pass.
2.SahmCollateral is the custody desk: it holds your deposit and locks margin while orders rest or positions stay open.
3.SahmOracle posts EMA-smoothed prices, and SahmRisk trips a circuit breaker if a move leaves the band.
4.SahmOrderBook escrows funds and matches bids/asks price–time; SahmAMM swaps against x·y=k pools with slippage limits.
5.SahmMargin settles leveraged PnL and funding; positions under maintenance margin are liquidated, backstopped by SahmInsuranceFund.
6.SahmGovernor lets LP-share holders vote (quorum + timelock) on fees and risk; collected fees land in SahmTreasury.
📊

Flow graph

1 Connect + KYC SahmCompliance 2 Deposit margin SahmCollateral 3 EMA price feed SahmOracle 4 Trade & margin SahmOrderBook SahmAMM · SahmMargin 5 Risk & fees SahmRisk SahmTreasury 6 LP governance SahmGovernor SahmRisk checks every order against position & volume caps · fees route to SahmTreasury and the SahmInsuranceFund backstop