AWINN

No wallet found

No injected wallet (EIP-1193 provider) was detected in this browser. Install a wallet extension, then reload.

How AWINN works

Plain-language mechanism. The numbers below are read live from the deployed contracts. Technical documentation lives in the repository under docs/.

1. What you trade

Synthetic, isolated-margin long or short positions on BTC-USD and ETH-USD. You choose a trading margin and leverage; the contract derives the asset quantity from margin × leverage at the execution reference price. Profit and loss are linear in the price change. A position never changes its entry price, fee rule or liquidation rule after it is opened, and switching between Simple and Advanced mode changes nothing about it.

2. Prices

Current source: unknown.

3. Fees

Provisional research configuration v…:

4. Liquidation

A position becomes liquidatable when its equity (risk margin + unrealized PnL at the trigger reference) is at or below … of its remaining original risk margin. Anyone may liquidate it; the settlement uses the execution reference of the same validated snapshot. Residual equity above the loss is returned to you — nothing is confiscated beyond the actual loss and the exit fee. If a gap move makes the theoretical loss exceed your margin, your loss is capped at the margin; the excess is recorded as a shortfall metric and is not charged, not treated as fee income and not counted as rebate-eligible loss. A close request on a position that is already liquidatable settles under liquidation rules regardless of who sends it.

5. Winning profits and the queue

Realized losses move cash from margin into settlement cash. Winning profits are paid only from that cash. When you close a winner, your margin and unused fee reserve come back to your available balance immediately. The profit is paid from settlement cash if no older claim is waiting; otherwise, or when cash is short, the unpaid part becomes a first-in, first-out claim. Queued claims are not cash: you cannot withdraw them or use them as collateral, and nobody can promise when they will be paid. The queue page shows outstanding claims, settlement cash, the current coverage ratio and recent payments. Processing is a bounded public function; a keeper calls it, and so can you.

There is no seeded bankroll. The first winner on a fresh deployment gets its margin back and a queued claim, by design.

6. Loss rebates

7. Orders

Limit, stop-market and stop-limit opens and take-profit / stop-loss closes are conditional instructions evaluated against the validated mid, not resting liquidity in a matching book. A trigger price is not a guaranteed fill price: execution happens at the then-current mid, must satisfy your limit price, and reverts when the feed is stale. Open orders reserve margin + 2 × fee cap until executed, cancelled or expired. TP and SL placed together cancel each other when one executes. Trailing stops are not available.

8. Sessions and signing

Every trade is either a wallet transaction or an EIP-712 trade intent signed by a session key you authorized onchain. Intents bind the chain, contract, account, action, market, size, price limit, max fee, nonce and expiry; the relayer cannot change them. Session keys have per-trade and cumulative margin limits, expiry and permission bits, and can be revoked. They can never withdraw.

9. Limits of this testnet build