Commit Graph

149 Commits

Author SHA1 Message Date
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
c5de0e3300
Reactivate test, expose sinkaddress 2022-05-28 09:28:10 +00:00
lash
cc1a84f818
Add catch-up period test 2022-05-27 13:22:25 +00:00
lash
ee871730dc
Remove unneeded demurragestart item 2022-05-27 12:53:11 +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
lash
127c67e665
Add steps option to demurrage cli 2022-05-03 18:19:28 +00:00
lash
1387451e01
Bump deps 2022-04-24 18:53:09 +00:00
Louis Holbrook
370efb3192 Add apply demurrage cli tool 2022-03-14 12:58:45 +00:00
lash
3a1fb22631
Remove arg defaults 2022-03-02 13:32:31 +00:00
lash
f1a2a78eb4 Merge branch 'master' into lash/apply-cli 2022-03-02 09:03:40 +00:00
Louis Holbrook
db56e0d33f bug: Wrong redistribution amount + limited demurrage apply 2022-03-02 09:01:50 +00:00
lash
1e24ec1352
Add apply demurrage cli tool 2022-03-02 08:15:10 +00:00
nolash
a04c826ba7
Bump deps, version 2021-12-22 20:12:42 +00:00
nolash
04f50cdede
Loosen dependencies 2021-12-21 10:47:38 +00:00
130b5ea587
Bumps lib version and deps. 2021-12-18 14:47:02 +03:00
e486e9f31a
Moves configs into data folder 2021-12-18 14:34:01 +03:00
959b018247
Bumps deps version for conflict resolution. 2021-12-15 09:35:08 +03:00
6ecacd60d4
Bumps lib patch version. 2021-12-15 09:34:50 +03:00
c40157318f
Bumps versions of deps and dep. 2021-12-15 06:18:38 +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
0e1613c5f6
Upgrade deps 2021-07-23 11:22:11 +02:00
nolash
899efb65fc
Upgrade deps 2021-07-14 13:17:45 +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
030cfdfc97
Add amounts test to test script 2021-06-08 16:42:13 +02:00
nolash
2123341fe9
Rehabilitate single nocap contract 2021-06-08 16:38:45 +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
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
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
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
b09a6f4166
Fix script bug cap 2021-06-06 10:09:26 +02:00
nolash
f7432a44b7
Bump version, add sim to package 2021-06-06 09:37:11 +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
nolash
74ef57a6a7
Remove complex account period tracker in single mode 2021-06-05 12:39:53 +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
3c871e5758
Upgrade chainlib 2021-06-05 06:48:19 +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
nolash
3471229ae6
Refactor actual period 2021-06-04 13:14:26 +02:00
nolash
71e94b5afb
Refactor pure test on chainlib 2021-06-04 11:48:17 +02:00
nolash
4e4c0f1203
Complete refactor basic tests 2021-06-04 10:54:10 +02:00
nolash
32f536dec0
Refactor base amount test 2021-06-04 09:29:52 +02:00
nolash
d1a0a7e882
Refactor mint, minter tests 2021-06-04 09:24:05 +02:00
nolash
9f27f9e26a
Rename module, add test base and two basic tests to chainlib 2021-06-04 09:05:08 +02:00
Louis Holbrook
1de39b90cf Lash/clean and doc 2021-05-06 08:35:58 +00:00
Louis Holbrook
8e777aa720 Cleanup, docs, benchmarks 2021-03-01 09:53:39 +00:00
Louis Holbrook
528fef6444 Cache demurrage modifier in redistribution data 2021-02-06 19:01:33 +00:00
Louis Holbrook
0202676d51 Correct base amount on mint 2021-02-06 14:48:40 +00:00
Louis Holbrook
0053b90368 Use timestamps instead of blocks 2021-02-06 14:18:30 +00:00
nolash
7122fc280b
Add default sink address to constructor 2021-02-05 09:44:15 +01:00
nolash
179e25adff
Add approve, transferfrom 2021-02-05 09:22:36 +01:00
nolash
d795a77deb
Save highest two bits in redistribuction work for remainder handling 2021-02-05 08:45:44 +01:00
nolash
ea6990a84c
Add redistribution execution 2021-02-03 09:00:24 +01:00
nolash
42d7212a08
Add apply tax on mint, transfer 2021-02-02 19:09:13 +01:00
nolash
4c6ee96acc
Add participants and supply to redistribution 2021-02-02 17:53:35 +01:00
nolash
64a6bdcabe
Add period to account word 2021-02-02 16:46:36 +01:00
nolash
68a7e3e1db
Add transfer, mint 2021-02-02 16:10:53 +01:00
nolash
1a2b3bab37
Add transfer, mint 2021-02-02 16:10:21 +01:00
nolash
8e60539245
Initial commit 2021-02-02 11:26:44 +01:00