Add growth decay test, improve resolution in growth/decay in contract (SingleCap)

This commit is contained in:
nolash
2021-06-08 07:38:10 +02:00
parent 1b1419c03b
commit e8781a9aa0
7 changed files with 327 additions and 211 deletions

View File

@@ -17,7 +17,7 @@ settings.symbol = 'SIM'
settings.decimals = 6
settings.demurrage_level = int(decay_per_minute*(10**38))
#settings.period_minutes = 1 # 1 week in minutes
settings.period_minutes = 60*24*7*4
settings.period_minutes = 60*24*7
chain = 'evm:foochain:42'
cap = (10 ** 6) * (10 ** 12)