About yak.fund

Prediction-market platforms come and go. Their orderbooks dry up, their UIs get pulled, their teams move on. But the conditional tokensthey issued — ERC1155 receipts that say “you bought a YES share of market X” — remain live on-chain forever, as long as the underlying ConditionalTokens contract is alive.

The Gnosis CTF spec defines a function called mergePositionsthat lets anyone holding equal amounts of YES and NO for the same condition redeem 1 USDC of collateral from the pair. It's permissionless and works regardless of whether the platform's API/relayer/oracle is alive.

yak.fund is a thin escrow contract that pairs a YES holder with a NO holder for the same condition, atomically calls mergePositions, and splits the collateral by a price the seller signs off-chain. We charge a flat 3% fee on the merged collateral.

Why is this useful?

  • You're holding YES on a market whose platform stopped trading. You can't sell YES on the platform anymore.
  • Someone else is holding NO on the same market and wants out. The platform's gone, they can't sell either.
  • On yak.fund, you post a signed offer (“sell my 100 YES at $0.30 each”). When a NO holder shows up, the contract pulls 100 YES from you, 100 NO from them, merges to 100 USDT, and pays you $30, them $67, and 3% to the protocol.

Supported platforms

  • Opinion (BSC) — supported via Gnosis Safe owner-key signature flow
  • predict.fun (BSC) — supported via Kernel wallet EIP-1271
  • Probable (BSC) — supported via direct EOA signature

Polymarket and Limitless are intentionally out of scope right now (Polymarket because of the new deposit-wallet custody, Limitless because the Base contract isn't deployed yet).

What is not safe

  • The contract is unaudited. Treat all interactions as best-effort and don't trade more than you can afford to lose to a smart-contract bug.
  • Off-chain offer state is hosted by us. We can go down. The on-chain contract can always be called directly.
  • Anyone can read pending offers. Front-running unprotected. This is by design — the product is for disaster recovery, not active market-making.