loading
network

What “close-only” does

There is no dedicated close_only flag on-chain. Close-only is expressed through permissions: opening, increasing size and adding collateral all require allow_open_position, while closing, decreasing and liquidations do not. So this page just flips allow_open_position → false on one level — new/bigger positions are blocked there, while closes, decreases and liquidations keep working. Re-opening flips it back to true.

  • Market scope — only that one side of that one pair (e.g. SOL.long).
  • Custody scope — every market targeting that token, and the token can no longer be posted as fresh collateral. Swaps and liquidity are left alone.
  • It’s a read-modify: the live account is fetched from the ER and rewritten unchanged except that one flag, so payoff / fees / oracle settings are never touched.
Connect a wallet (top right) to read live permissions and send a close-only toggle. The admin signer of the platform is required.

Only the selected side of the selected pair (e.g. SOL.long) goes close-only. The other side and every other market keep trading normally.

Current on-chain state (live from the ER)
connect a wallet to read