Search…
πŸ•Ή
Game Mechanics
for GoodGhosting v2

Summary

​

Technical

​
Flow of user funds in GodGhosting v2
​
​
​

Rewarding early depositors (Rewards calculation)

Reward distributions are taking into account the total time (and amount) a user has funds deposited into a savings pool. Thereby increasing fairness to all depositors. The sooner a player deposits in each segment, the bigger their share of the pool's generated interest and rewards in that segment - assuming they are considered winners at the end of the pool. Typically, a winning user (who deposits during the very first block of a deposit segment) can earn up to a factor of 2 more the rewards compared to another user (who deposits during the very last block of a deposit segment). On the smart contract level, this is tracked using cumulativePlayerIndexSum and playerSharePercentage. This is updated for every new deposit for each segment. For the waiting round, rewards are calculated according to the total amount of funds a user has deposited (since each user starts this round at the same time).

Admin functions

[To be added]

Emergency scenario

​

Smart contract code

https://github.com/Good-Ghosting/goodghosting-protocol-v2
github.com
Check our Github
​