GoodDollar/GoodServer

Monitoring tool aggregated blockchain statistics

Closed this issue · 0 comments

sirpy commented

Develop a tool to collect and display statistics

  1. accounts
  • balances.
    • top, low, median
    • distribution histogram - 10 buckets
    • show top 10 accounts
  • count of transactions
    • top, low, median
    • distribution
    • show top 10 accounts
  • in escorw: show the GD balance of the onetimepaymentlinks contracts
  • total GD (in circulation - how much was distributed): show current GoodDollar cap (from GoodDollar erc20 smart contract)
  1. transactions
  • highlights
    • total transactions so far
    • total amount so far
    • avg daily count of transactions
  • graph with days on X axis
    • plot lines of: count of transaction in day x, avg amount of tx in day x, total amount in day x

How:

  • poll once an hour for erc20 transfer events
  • collect a list of accounts that participated in the transfer event (ie from,to)
  • increase tx count for each account - exclude transfers from "Claim"
  • update balances on list of accounts that you collected
  • calculate tx and balances statistics - exclude addresses of our smart contracts from statistics.