Commit Graph

85 Commits

Author SHA1 Message Date
lash
acd5eb3d7b
Merge branch lash/readmemore 2023-03-22 10:18:51 +00:00
lash
f9cd542e74
Add sweep function 2023-02-19 09:44:25 +00:00
lash
75c16b7198
REinstate owner as minter by default 2023-02-19 08:07:25 +00:00
lash
c31649fed2
Implement chainlib gen 2023-02-14 07:23:59 +00:00
lash
7982dbae97
Remove minter alias in contract 2023-02-12 08:31:08 +00:00
lash
5d79399f21
Finish removing redundant tests 2023-02-10 16:19:03 +00:00
lash
5c85a8abba
Fix period test to recognize actual sink address 2023-02-10 16:17:06 +00:00
lash
e6eef48808
Add supply cap 2023-02-10 15:58:31 +00:00
lash
3353733405
Add seal logic and tests 2023-02-10 15:21:37 +00:00
lash
1f0dc0aa5f
Define expiry in terms of period 2023-02-10 14:30:25 +00:00
lash
09b825808f
Freeze accounts balances at expiry 2023-02-10 13:45:29 +00:00
lash
c25e018cd1
Add benchmark for gas usage 2023-02-10 10:57:38 +00:00
lash
dc891ce9bb
Rehabilitate deployer cli script 2023-02-10 10:05:10 +00:00
lash
5317573b47
All tests pass! 2023-02-10 09:06:04 +00:00
lash
34af3b1b30
Rehabilitate redistribution unit 2023-02-10 06:21:32 +00:00
lash
555b0b1724
Rehabilitate change period 2023-02-10 05:02:24 +00:00
lash
3333d50f98
Rehabilitate test growth and amounts 2023-02-09 12:26:13 +00:00
lash
e74a9cb594
test basic passes 2023-02-09 12:08:28 +00:00
lash
f785925eb5
WIP rehabilitating test basic 2023-02-09 11:44:20 +00:00
lash
84b1a5b439
Return redistributions type correctly 2023-02-08 08:44:43 +00:00
Louis Holbrook
5d01e2ae96 Add burn method + minor bug fixes 2023-02-04 14:41:40 +00:00
Louis Holbrook
20e3a783fd Runaway redistribution 2022-05-30 07:53:22 +00:00
lash
cc1a84f818
Add catch-up period test 2022-05-27 13:22:25 +00:00
lash
31faa78346
Keep cumulative sink total in state and deduct from upcoming demurrage 2022-05-27 12:51:10 +00:00
lash
18ee9c5f9b
Make tests pass 2022-05-27 12:02:27 +00:00
lash
a0557b35a0
Fix cumulative distribution calculation bug in SingleNocap 2022-05-27 11:10:31 +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