Skip to content
This repository has been archived by the owner on Sep 3, 2019. It is now read-only.

Make leaderboard data tables, store calculatewinnings into tables #267

Closed
8 tasks done
BernardHan opened this issue Jul 2, 2019 · 0 comments
Closed
8 tasks done
Assignees

Comments

@BernardHan
Copy link
Contributor

BernardHan commented Jul 2, 2019

  • Create eventLeaderboard and globalLeaderboard tables and models

  • Make db helper methods for both tables

  • In sync, every bet, result set, vote amounts goes into eventLeaderboard investment

  • In sync, when event goes to WITHDRAWING status, update eventLeaderboard winnings and returnRatio

  • In sync, when event goes to WITHDRAWING status, update globalLeaderboard investments, winnings and returnRatio

  • Migration

  • Testings

  • Queries

@BernardHan BernardHan self-assigned this Jul 2, 2019
@BernardHan BernardHan mentioned this issue Jul 10, 2019
8 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant