Protocol
Prize pool
The contract that receives half of every fee split and pays holder draws every 15 minutes.
The PrizePool (0xD715…88c2) receives half of every fee split and pays it out to MOTION holders in rounds. HYPE leaves it only as prizes: the contract has no withdraw function.
Rules (from the contract)
| Rule | Value |
|---|---|
| Round length | roundSeconds, immutable. Deployed with 900 s (15 minutes) |
| Veto window | vetoDelay, immutable. Deployed with 300 s (5 minutes) |
| Winners per round | 3, all different, none zero |
| Payout | 50 % / 30 % / 20 % of the round's pot (third place gets the remainder, so nothing is lost to rounding) |
| Pot | chosen by the operator, never more than available() |
available() is the pool's balance minus prizes still owed and minus a pending round's pot.
A round's life
- Propose. The operator calls
propose(roundId, pot, winners[3], resultsHash).roundIdis the round's end time in unix seconds; it must be a multiple ofroundSeconds, already in the past, and later than the last round. Only one round can be pending. - Veto window. For
vetoDelayseconds, the guardian or admin can callveto(). A vetoed round is deleted and its pot simply stays in the pool for the next round. - Finalize. After the window, anyone calls
finalize(). It pays the three winners with a fixed 30 000 gas stipend each. - Owed prizes. If a payment fails (for example a winner contract that rejects HYPE), the amount is recorded in
owed[winner]and the winner collects it later withclaim(to), to any address. A failing winner can never block a round.
resultsHash commits to the full off-chain draw (eligible wallets, weights, randomness) so anyone can check a round after the fact.
Functions and events
| Function | Who |
|---|---|
fund() / receive() | anyone (the FeeSplitter funds it) |
propose(roundId, pot, winners, resultsHash) | operator, when not paused |
veto() | guardian or admin |
finalize() | anyone, after the veto window |
claim(to) | a winner with an owed prize |
pause() | guardian or admin. unpause(): admin |
Events: Funded, RoundProposed, RoundVetoed, RoundPaid(roundId, pot, winners[3], amounts[3], resultsHash), PrizeOwed, Claimed.
How winners are drawn
Winners are chosen off chain by the draw keeper of the original Phase 1 repository and only proposed on chain, where the veto window and the public resultsHash keep it checkable. Its method: balances are rebuilt from the token's transfer logs, each holder's weight is their time-weighted average balance over the round capped at 3 % of supply (any wallet above 3.1 % during the round is excluded, as are the Treasury, the pool and the hook), and the randomness is the first drand quicknet round published after the round ends, so nobody can know it in advance.
Note
The draw keeper is not part of the current engine. The engine only books the PrizePool's share of the fees (toPrizesHype) and the app reads the pool's state from chain: available, totalFunded, totalPaid, roundsPaid, lastRoundId, roundSeconds and the pending round.