Prize pool
Last updated
Last updated
How does on-chain randomness work in Gacha Card?
When a user opens a Gacha Card:
A request is sent to , a decentralized oracle, to generate a cryptographically secure random seed.
This seed (a unique, verifiable string of data) serves as the foundation for all subsequent randomness in the process.
The seed is processed through a deterministic algorithm to derive three distinct random values, each governing a critical component of the outcome:
Value 1: Pool Selection
Output: A binary result (1 or 2).
Function:
1
: Prize is allocated from the ETH Pool (primary rewards) with 70% chance
2
: Prize is allocated from the Meme Coin Pool (eg. $PENGU) with 30% chance
On each Gacha Card, you have the winning symbol on top of the scratch area. That indicates which prize pool you are winning from
Value 2: Tier Assignment
Output: An integer between 1 and 6 mapped to a predefined probability distribution.
Tier Structure for Community Card (~$10):
1
0.13%
35.4%
2
0.14%
37.2%
3
0.5%
33.93%
4
0.6%
36.35%
5
0.7%
36.351%
6
15.0%
0.06%
Tier Structure for Gacha mini ($2):
1
0.03%
35.4%
2
0.04%
37.2%
3
0.12%
33.93%
4
0.14%
36.35%
5
0.17%
36.351%
6
3.65%
0.06%
Value 3: Win Validation
Output: A float between 0.00 and 100.00 (2 decimal places)
Validation Logic: The float is compared to the win rate of the assigned tier
Win Condition: Float ≤ Tier win rate → Prize awarded
Example with $10 card:
Tier 6 (0.5% threshold): A float of 0.50 → Win. 0.51 → Loss
Tier 1 (35.4% threshold): A float of 10.00 → Win; 35.5→ Loss