powerball

How it works

Every rule below is enforced by the Powerball contract on Elysium. Where the design has a limit, it says so.

01

Tickets

Every 10,000 coins you hold is one ticket. A wallet needs at least 500,000 coins to be in a draw, so the smallest qualifying wallet holds 50 tickets. More tickets, bigger chance: a wallet with 10% of all tickets wins about one draw in ten.

Tickets at a close use the lower of your balance at that close and your balance at the close before. So you must hold through one full round to count, and buying a minute before a draw only counts from the next one. Selling below 500,000 drops you out at the next close.

02

Rounds

A round closes every 15 minutes, at :00, :15, :30 and :45 UTC. The keeper closes it in the first seconds after that time. If a close ever runs late, the next round still ends on a quarter hour at least 7½ minutes away, so no round is ever a few seconds long.

At the close the contract claims the trading fees waiting in Montra, then seals a snapshot: every qualifying wallet and its ticket range, written on chain in one block. Nothing that happens after that block can change who holds which tickets.

03

The pot

$POWERBALL trades on Montra with a 3% fee on every buy and sell. Montra keeps its protocol cut; the creator side of the fee is paid to the Powerball contract, which is the token’s fee recipient from the block it launched. That HYPE is the pot.

At each draw 90% goes to the winner and 10% to the team, which also pays the keeper’s gas. The prize is sent in the same transaction that draws it: there is nothing to claim. If a winning wallet cannot receive HYPE (some contracts cannot), the prize is held for it and its owner claims it from the checker page.

04

Rollovers

A round pays no one, and its pot carries into the next, when:

  • no wallet held 500,000 coins through the whole round;
  • the pot is below the minimum set to keep gas from eating it;
  • the reveal missed its block (see Fairness), or the owner reset a stuck round.
05

Who cannot win

The Powerball contract itself, Montra’s pool manager, hook, router and vault (they hold pool liquidity, not a person’s coins), the burn address, the keeper and the team wallets. The owner can exclude more addresses, such as the launch wallet; every change is an on-chain event.

06

Fairness

Elysium has no verifiable randomness service yet, and its block randomness field is a constant. So Powerball uses two sources that each side fixes before the other is known:

  1. Before a round closes, the keeper commits to a secret by publishing keccak256(secret) in the contract.
  2. The close seals every ticket range in L2 block B.
  3. In a later block the keeper reveals the secret. The winning ticket is keccak256(secret, hash of block B+1, round) mod total tickets, and the holder of that ticket wins.

The keeper cannot know the block hash when it commits, and no holder can know the secret. Every round page recomputes the pick in your browser and checks the block hash against the chain.

The honest limit: the keeper sees the result one block before it reveals, so it could refuse to reveal a round. It cannot pick a winner or redirect the pot: a round that is not revealed rolls its whole pot into the next draw. Keeper and team wallets are excluded from winning.

07

What the owner can do

  • Change the keeper or team wallet, exclude an address, and set the minimum pot.
  • Reset a stuck round (its pot rolls over) and lower or lock the token’s fee within Montra’s limits.
  • Migrate: hand the fee claim and the current pot to a new contract, for a fix or an upgrade. Prizes already owed stay claimable in the old one. This is the one power that moves the pot, and it is a public event.

The owner cannot change the ticket size, the 500,000 minimum, the round length or the 90/10 split.

08

Risks

The pot depends on trading volume and is never guaranteed. $POWERBALL is a memecoin: its price can fall to zero, and the fees you pay trading it are usually more than you win. Contracts can have bugs; Powerball’s were tested against the live Montra contracts and with real draws on Elysium, but not audited. Check the rules where you live before taking part.