Payout Distribution on Information Markets
Last updated
Last updated
The goal is to determine the payout function, defined as :
x represents the absolute delta from the correct average probability. The constant factor needs to be calculated to ensure that the total payout equals the total deposit amount.
For bets within a 3% delta range, the absolute deltas are divided into three categories:
Calculated over the interval [2, 3]:
Calculated over the interval [1, 2]:
Calculated over the interval [0, 1]:
The total payout is the sum of all triangle areas. This sum must equal the total deposit (e.g., 1000 units):
The admin calculates the factor and average off-chain and submits them to the smart contract. The smart contract parameters include:
Factor: The constant multiplier for payouts.
Average: The calculated average probability.
Bets Map: A hashmap with the number of bets in each delta category (e.g., delta0, delta1, delta2).
Example function call:
The Bets Map is required for calculating payouts since individual reward claims cannot determine the number of bets in each category.
Using :
distribute the pool for each delta category:
Total:
If there are no bets in the delta 1 category:
Total:
When a user claims their reward, the smart contract calculates the reward based on:
Category of the bet (delta0, delta1, delta2).
Number of bets in that category.
Example:
If there are 10 bets in the delta 0 category (payout pool: 555.555):