Payout Distribution on Information Markets
The goal is to determine the payout function, defined as :
Step 1: Calculating Triangle Areas
For bets within a 3% delta range, the absolute deltas are divided into three categories:
Delta 2% Area:
Calculated over the interval [2, 3]:
Delta 1% Area:
Calculated over the interval [1, 2]:
Delta 0% Area:
Calculated over the interval [0, 1]:
Step 2: Ensuring Total Payout Equals Total Deposit:
The total payout is the sum of all triangle areas. This sum must equal the total deposit (e.g., 1000 units):
With all areas:
Without delta 1% bets:
Step 3: Submitting Information On-Chain
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:
submit(factor, average, delta0NumberOfBets, delta1NumberOfBets, delta2NumberOfBets, ...)
Step 4: Calculating Payouts
Using :
distribute the pool for each delta category:
Delta 0 Area:
Delta 1 Area:
Delta 2 Area:
Total:
Adjustments When Bets Are Missing
If there are no bets in the delta 1 category:
Delta 0 Area:
Delta 2 Area:
Total:
Reward Distribution for Claimants
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):
Last updated