DICE Take a seat

How Dice works

Everything the contract does, in plain words. Stakes are real HYPE on Elysium.

Rules and odds

Call a total from 2 to 12 and two dice are rolled. Hitting your total pays 34.92x divided by the number of ways to roll it.

TotalChancePays
21 in 3634.92x
32 in 3617.46x
43 in 3611.64x
54 in 368.73x
65 in 366.98x
76 in 365.82x
85 in 366.98x
94 in 368.73x
103 in 3611.64x
112 in 3617.46x
121 in 3634.92x

Every choice returns about 97% of stakes over many rounds. The other 3% is the edge the pot keeps, out of which the 1% fee is paid.

A round

  1. You send your choice and stake to the contract. It records the block number that will decide the round, which doesn't exist yet.
  2. A block later, the round is revealed. The site's keeper does it at once and earns a small tip from the fee; if it is slow, the site asks you to reveal it yourself.
  3. The contract reads that block's hash, works out the result and pays any prize straight to your wallet.

Limits

A stake starts at 0.0001 HYPE. One round can win at most half the pot, so the largest stake grows with the pot, and choices that pay more allow smaller stakes. The Max button shows the current limit. The owner can lower the maximum stake or raise it up to 0.5 HYPE, and can do nothing else: there is no function to take the pot, pause the game or change the odds.

Fees and the token

1% of each stake goes to the treasury when the round is revealed. Up to 0.00002 HYPE of it goes to whoever reveals the round. Protocol fees are used to buy back and burn $DYCE.

Randomness and timing

The result comes from the hash of the Elysium block after your stake, mixed with the round number, your address and the contract address. Elysium keeps the last 250 block hashes, about 36 seconds. A round revealed later than that pays nothing, so nobody can wait for a result they like.

Risks

The contract is tested but not audited. Elysium has one sequencer, which could in theory influence block hashes; that is the main reason stakes are kept small. Play only what you are fine losing.

Contracts

Dice gamePublished at launch
Owner and treasuryPublished at launch
KeeperPublished at launch
$DYCE tokenPublished at launch
ChainElysium, chain id 99901