Merge branch 'willruddick-master-patch-88024' into 'master'

added demurrage calculation

See merge request grassrootseconomics/cic-docs!86
This commit is contained in:
Will Ruddick 2021-07-16 12:28:06 +00:00
commit 3404dea699

View File

@ -21,7 +21,9 @@ Enabeling users to query the info for a particular token. e.g. after choosing it
1. Token Info:
1. name,
1. symbol
1. holding fee (% aggregated to monthly - calculation needed based on data from contract),
1. holding fee (% aggregated to monthly - calculation needed based on data from contract), =(1-(1-Demurage)^43800) (43800 munites ina months) ... if demurrage is 0.00000046124891913883 ... then the monthly demurage here is =(1-(1-0.00000046124891913883)^43800)=0.02 ... 2% ...
1. note that to calculate a minute by minute demurrage based on a monthly target demurrage of 2% =1- (1-0.02)^(1/43800
) = 0.00000046124891913883
1. Stats:
1. total supply, (from contract)
1. Circulation (total minus the supply of balance of the issuer) (from contract and balance of sink account)