From ddbf23c0086f134599c9e736c7d37f19933fce6c Mon Sep 17 00:00:00 2001 From: Will Ruddick Date: Fri, 16 Jul 2021 12:27:54 +0000 Subject: [PATCH] added demurrage calculation --- spec/024_token_info.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/024_token_info.md b/spec/024_token_info.md index 8d14230..ff737ed 100644 --- a/spec/024_token_info.md +++ b/spec/024_token_info.md @@ -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)