Skip to content
This repository has been archived by the owner on Oct 16, 2023. It is now read-only.

Add current total supply to /supply_information endpoint #86

Merged
merged 1 commit into from
Oct 30, 2020

Conversation

derekpierre
Copy link
Member

Related to #80, follow-up to #81.

Also based over #85 since the monitor is currently running that code (so tested) and won't run properly without it. We should merge #85 and then this PR.

@derekpierre derekpierre added the enhancement New feature or request label Oct 30, 2020
@derekpierre derekpierre self-assigned this Oct 30, 2020
@derekpierre
Copy link
Member Author

Current supply_information endpoint output:

{
   "initial_supply":{
      "total_allocated":1000000000,
      "locked_allocations":{
         "saft2":80000000,
         "team":106000000,
         "company":200000000,
         "worklock":225000000,
         "university":19500000
      },
      "unlocked_allocations":{
         "saft1":319000000,
         "casi":9000000,
         "vested":0,
         "ecosystem":41500000
      }
   },
   "staking_rewards_supply":{
      "total_allocated":2885390081.75,
      "staking_rewards_issued":12073806.44,
      "staking_rewards_remaining":2873316275.3
   },
   "max_supply":3885390081.75,
   "current_total_supply":1012073806.44,
   "est_circulating_supply":369500000
}

@derekpierre derekpierre merged commit dfe7082 into nucypher:master Oct 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants