Skip to content
Contract ready · not deployedElysium 99901

A YES/NO pool
for Elysium.

Stake HYPE / fee fixed at creation / settled from the pool

See how fees and late stakes change your payout before the market locks.

oddva@elysium:~ READ
$ curl oddva.xyz/api/pricechain … (Elysium)block …HYPE reading…source Uniswap v4 HYPE/USDC, fee 0.30 %$ curl oddva.xyz/api/marketshouse not deployed yetmarkets 0 (nothing to read until it is)$ payout 10 YES --pools 990/10 --fee 200pool 1,000 · fee 20 · shared 98010 × 980 / 990 = 9.8989 HYPE backright, and still about 0.101 HYPE short$
…HYPE in USDC · live pool
…Elysium block
Not deployedMarkets on the house
5 %Creator fee cap, fixed per market

01 / The question that gets skipped

Right, and still behind.

payout = stake × (pool − fee) / winning side

Worked example · fee 2 %

990 HYPE on YES, 10 on NO.

YES 990NO 10

You put 10 of the 990 on YES and YES wins. The pool is 1,000 HYPE, the creator's 2 % fee is 20, so 980 is shared by the YES side in proportion to stake. You get back 10 × 980 / 990 = 9.8989 HYPE: you were right and still end about 0.101 HYPE short.

  1. 01Total pool = 990 + 10 = 1,000 HYPE.
  2. 02Fee = 1,000 × 200 / 10,000 = 20 HYPE, to the creator.
  3. 03Shared = 1,000 − 20 = 980 HYPE, all to the winning side.
  4. 04Your share = 10 / 990 of it = 9.8989 HYPE (rounded down).
  5. 05Break-even for this YES side needs about 20.21 HYPE or more on NO.

02 / One market, five steps

No resolver. The pool answers.

01

Create

Strike, lock time, reading time, fee (max 5 %) and an optional cap. Fixed forever once sent.

02

Stake

HYPE on YES or NO until the lock. No unstake, no cancel, by anyone.

03

Lock

Pools freeze. A side still empty means the market voids and refunds.

04

Read ×3

Three 10-minute slots. Any plain wallet records the pool price once per slot.

05

Settle + claim

Median of the three vs strike. Winners claim; a missed slot voids and refunds.

03 / Same code, twice

The preview runs the contract's math.

The payout function is a pure library inside OddvaPoolHouse. The site computes it in its own code and can ask the contract the same question by eth_call, then shows whether both agree. Before the house is deployed the call runs against its compiled bytecode placed at a scratch address for that one call.

Read the rules →
OddvaPayoutMath.sol
function payoutOf(stake, winPool, losePool, feeBps)
  if (winPool == 0) return 0;          // that market voids
  total = winPool + losePool;
  dist  = total - total * feeBps / 10_000;
  return stake * dist / winPool;        // rounds down

// void: one side empty at lock, or a reading slot
// missed  ->  every stake back, no fee

04 / Systems

Everything here.