Commit Graph

62 Commits

Author SHA1 Message Date
lash
166302ef49
Bump contract version 2022-12-16 12:01:23 +00:00
lash
2ec72bbc55
Add comments, remove dead code, remove make install for dead contracts 2022-12-15 10:48:40 +00:00
lash
97415dbed2
Add simple demurrage check, asserts for longer period checks 2022-12-15 07:25:04 +00:00
lash
3b87961d13
WIP investigate apparent overflow problem 2022-12-13 13:26:27 +00:00
lash
a56f1c4869
WIP test burn over time 2022-12-13 13:10:33 +00:00
lash
ef294eaec2
Remove potentially boundless iteration in changePeriod in contract 2022-12-11 09:41:56 +00:00
lash
140dde7bc3
Add total burned method 2022-12-05 18:25:04 +00:00
lash
90fb95208f
Add test for redistribution after burn 2022-12-05 18:17:58 +00:00
Louis Holbrook
20e3a783fd Runaway redistribution 2022-05-30 07:53:22 +00:00
Louis Holbrook
370efb3192 Add apply demurrage cli tool 2022-03-14 12:58:45 +00:00
Louis Holbrook
db56e0d33f bug: Wrong redistribution amount + limited demurrage apply 2022-03-02 09:01:50 +00:00
e486e9f31a
Moves configs into data folder 2021-12-18 14:34:01 +03:00
nolash
025ef614a5
WIP test rehabilitations 2021-11-15 14:45:46 +01:00
nolash
43b3d2b488
Use explicit pre-release signer 2021-08-24 21:49:06 +02:00
nolash
f84edb5f3b
Include default config dir in data 2021-07-05 15:45:01 +02:00
nolash
c6b5d9a8e0
Move test base to externally importable path 2021-07-05 10:26:39 +02:00
nolash
abe82949ea
Add slow demurrage calc 2021-07-04 14:52:12 +02:00
nolash
a6f53e7278
Correct demurrage emu minutes logline 2021-07-04 14:37:56 +02:00
nolash
98c460dc2f
Create demurrage calc from contract 2021-07-04 12:10:01 +02:00
nolash
00bb87e3ec
Add python demurrage calculator 2021-07-02 15:29:56 +02:00
nolash
294ded19f5
Move to chainlib-eth 2021-06-28 11:46:05 +02:00
nolash
2c1b7cbb1e
Fix result block flag 2021-06-09 16:10:34 +02:00
nolash
d8f9fedecf
Update gas budget 2021-06-09 14:54:43 +02:00
nolash
c3a6a692ed
Test precision loss of 2 bytes in demurrage store in redistribution data 2021-06-08 17:41:49 +02:00
nolash
2123341fe9
Rehabilitate single nocap contract 2021-06-08 16:38:45 +02:00
nolash
34d90b3291
WIP add transfers tests 2021-06-08 13:53:17 +02:00
nolash
a2a141dbf4
Use next redistribution object hack in apply default distribution 2021-06-08 13:06:32 +02:00
nolash
0b6d58f7af
Fix demurrage in multicap 2021-06-08 12:06:34 +02:00
nolash
e894dcd3cf
Add mint amounts test 2021-06-08 11:53:51 +02:00
nolash
12d5711e36
Improve redistribution period test 2021-06-08 11:16:56 +02:00
nolash
0dba167af2
WIP Improve redistribution precision 2021-06-08 09:52:37 +02:00
nolash
e8781a9aa0
Add growth decay test, improve resolution in growth/decay in contract (SingleCap) 2021-06-08 07:38:10 +02:00
nolash
1b1419c03b
Rename divider to nano, expand supply value bit length 2021-06-07 18:16:08 +02:00
nolash
81ec2198aa
Improve resolution in fractional calc in contract 2021-06-07 17:49:22 +02:00
nolash
5f69a1d7a1
WIP avoid fractional truncation 2021-06-07 15:32:50 +02:00
nolash
dd878aa5cd
Apply demurrage on minutes on periods (SingleCap only) 2021-06-07 12:08:04 +02:00
nolash
32ae98d581
Remove dead contract code in default distribution (single) 2021-06-07 09:36:31 +02:00
nolash
fb8d1e548c
Add sink address in token sum to total supply 2021-06-07 09:28:08 +02:00
nolash
62d8820936
Correct magnitude in sim/example 2021-06-07 09:07:34 +02:00
nolash
e47720fa04
Add redistribution single minute demurrage test 2021-06-07 09:04:17 +02:00
nolash
399e24764a
Remove redistribute calls on no redistribute sim 2021-06-06 11:52:36 +02:00
nolash
b7072fc50c
Add xfail on sum demurraged balance to whole 2021-06-06 10:14:41 +02:00
nolash
c69d115965
Introduce sim example 2021-06-06 09:34:18 +02:00
nolash
2f5bb63f9a
Use chain string in sim constructor 2021-06-06 06:01:35 +02:00
nolash
4e11f750e8
Revert to mine for every tx, add limit test 2021-06-06 05:57:39 +02:00
nolash
7bdd18664e
WIP time travel in sim 2021-06-05 20:23:06 +02:00
nolash
e142dd0432
Add transfer, mint, balance to sim 2021-06-05 19:19:17 +02:00
nolash
64621ca9b3
Add initial sim setup, test 2021-06-05 17:59:34 +02:00
nolash
996c0224cf
Rehabilitate deploy script 2021-06-05 14:03:50 +02:00
nolash
b5421cdd4e
Remove remainder, particiant count from single mode 2021-06-05 12:50:31 +02:00