About PEZDOTA

Decentralized prediction market for Dota2 matches

Project Description

PEZDOTA is a decentralized prediction market built on Ethereum that allows users to predict Dota2 match outcomes. The platform uses blockchain technology to create a transparent prediction market experience.

Users can create matches, make predictions on their favorite teams, and earn ETH winnings plus ERC20 governance token bonuses based on accurate predictions. Matches are resolved manually by designated resolvers or through community resolution after timeout.

Key Features

  • ETH winnings for correct predictions
  • ERC20 governance token bonuses for participation
  • One prediction per user per match (no multiple bets)
  • Immediate governance token rewards upon prediction
  • Referral system with governance token rewards
  • Community resolution after timeout (12h-30d)
  • Creator governance token rewards for match creation
  • Resolver governance token rewards for match resolution
  • Emergency withdrawal mechanism (72h delay)

How It Works

1

Create Match

Anyone can create a match by providing Steam match ID and team names

2

Make Predictions

Users can predict either team outcome with ETH. Odds are calculated dynamically based on total predictions

3

Manual Resolution

Matches are resolved manually by designated resolvers or through community resolution

4

Claim Rewards

Winners can claim multiple ETH rewards at once, losers get refunds for cancelled matches

Prediction Market Rules

General Rules

  • One prediction per user per match
  • No refunds for completed matches
  • All parameters are configurable by platform admins

Match Resolution

  • Matches are resolved manually by designated resolvers
  • Community can cancel matches after configurable timeout period
  • Cancelled matches result in refunds minus cancellation fee

Rewards & Fees

  • Treasury fee: Configurable percentage of total prediction amount
  • Winners share the remaining pool proportionally
  • ETH winnings + ERC20 governance token bonuses
  • Gas fees are paid by the user for each transaction

💰 Prediction Process

Step 1: Choose Your Team

Select either Team 1 or Team 2 to predict. You can see current odds and total amounts predicted on each team.

Step 2: Enter Prediction Amount

Enter your prediction amount in ETH (minimum amount is configurable). The system will show:

  • Potential winnings if you win
  • Current odds for your selected team
  • Total pool size after your prediction

Step 3: Confirm Prediction

Confirm the transaction. The contract will:

  • Transfer your ETH to the contract
  • Update team-specific prediction pools
  • Record your prediction in the ledger
  • Send governance token bonuses immediately
  • Emit BetTeam1 or BetTeam2 event

Step 4: Wait for Resolution

Predictions close after the configured time period. The match will be resolved manually by resolvers.

📊 Odds Calculation

How Odds Work

Formula: Odds = Total Pool / Team Pool

Example: If Team 1 has 2 ETH and Team 2 has 3 ETH, then:

  • Team 1 odds: 5 ETH ÷ 2 ETH = 2.5x
  • Team 2 odds: 5 ETH ÷ 3 ETH = 1.67x

How Your Prediction Affects Odds

When you make a prediction:

  • Your prediction amount is added to the teams pool
  • Total pool increases by your prediction amount
  • Odds for your team decrease (more people predicting = lower payout)
  • Odds for the other team increase (fewer people predicting = higher payout)

Note: Odds update in real-time as people make predictions

Reward Distribution

When a match is resolved:

  • Treasury Fee: Small percentage goes to platform (max 10%)
  • Winners: Share remaining pool based on their prediction proportion
  • Formula: Your Reward = (Your Prediction / Team Total) × (Total Pool - Treasury Fee)

📊 Current Platform Parameters

Basic Settings

Min Prediction:Loading...
Treasury Fee:Loading...
Prediction Close Time:Loading...
Community Timeout:Loading...
Cancellation Fee:Loading...
Contract Status:Active

Reward Coefficients

Creator Reward:Loading...
Prediction Reward:Loading...
User Referral Bonus:Loading...
Referrer Reward:Loading...
Resolver Reward:Loading...

Platform Limits

Time Limits
Min Close Time:1 minute
Max Close Time:1 hour
Min Community Timeout:12 hours
Max Community Timeout:30 days
Fee Limits
Max Treasury Fee:10%
Max Cancellation Fee:20%
Max Reward Coefficient:100%
Emergency Withdraw Delay:72 hours

🎯 Prediction Market System

This is a prediction market - a system where users predict outcomes and win ETH from the pool, plus receive ERC20 governance token bonuses for participation.

How Prediction Markets Work

1. Dual Reward System:

  • ETH winnings: Win ETH from the pool if your prediction is correct
  • Governance token bonuses: Get ERC20 tokens instantly for participation

2. Referral System:

  • Set a referrer once using setReferrer() function
  • Get bonus governance tokens on every prediction
  • Referrers earn governance tokens when their referrals make predictions
  • Referrer can only be set once per user

3. Creator Incentives:

  • Match creators get governance token rewards for creating matches
  • Resolvers get governance token rewards for resolving matches

4. Community Resolution:

  • Any user can cancel unresolved matches after timeout
  • Community resolution triggers refunds minus cancellation fee
  • Prevents matches from being stuck indefinitely

5. DAO Governance:

  • ERC20 tokens are governance tokens for DAO voting
  • Token holders can vote on platform parameters and decisions

⚠️ Risk Warning

This is a demonstration project for educational purposes.

  • Never predict more than you can afford to lose
  • Smart contracts may contain bugs or vulnerabilities
  • Cryptocurrency transactions are irreversible
  • Always verify contract addresses before interacting