Commit Graph

70 Commits

Author SHA1 Message Date
lash
db2acc3109
WIP reintroduce multi contract code for storing snapshot 2023-01-18 08:30:51 +00:00
lash
e49493def1
Decrease allowance on transferfrom 2023-01-07 07:00:31 +00:00
lash
4f1bd36c12
Add delta allowance, approve sets explicit value 2023-01-05 13:40: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
2f4f8bb7b9
Add test for arbitrary account demurrage honoring burn amount 2022-12-05 18:53:07 +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
db56e0d33f bug: Wrong redistribution amount + limited demurrage apply 2022-03-02 09:01:50 +00:00
nolash
025ef614a5
WIP test rehabilitations 2021-11-15 14:45:46 +01: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
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
c3a6a692ed
Test precision loss of 2 bytes in demurrage store in redistribution data 2021-06-08 17:41:49 +02:00
nolash
606b8d6238
Add transfers test, rehabilitate single test 2021-06-08 14:58:58 +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
e894dcd3cf
Add mint amounts test 2021-06-08 11:53:51 +02:00
nolash
689baa5f62
Check redistribution demurrage in two periods in test period 2021-06-08 11:20:11 +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
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
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
b09a6f4166
Fix script bug cap 2021-06-06 10:09:26 +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
5dcf728701
Add singlecap contract + runner for all test combos 2021-06-05 11:58:35 +02:00
nolash
d6e71424f3
Apply single redistribution test 2021-06-05 08:59:21 +02:00
nolash
aeebdd348b
Implement selectable deployment 2021-06-05 08:45:37 +02:00
nolash
093fcbccd5
Bump eth-erc20. add initial single and cap contract adaptations 2021-06-05 07:51:39 +02:00
nolash
646a3ea007
Chainlib refactor tests complete (minus bench) 2021-06-04 15:59:42 +02:00
nolash
f299e25dcc
Rehabilitate last test 2021-06-04 15:08:03 +02:00
nolash
4b780c81ad
WIP refactor redistribution tests 2021-06-04 14:10:31 +02:00
nolash
68fa6488d2
WIP refactor redistribution tests 2021-06-04 14:03:07 +02:00