Commit Graph

125 Commits

Author SHA1 Message Date
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
f338510a1d
Remove commented code 2021-06-05 12:05:38 +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
b4dfb5a381 Merge branch 'lash/clean-and-doc' into 'master'
Lash/clean and doc

See merge request grassrootseconomics/sarafu-token!9
2021-05-06 08:35:58 +00:00
Louis Holbrook
1de39b90cf Lash/clean and doc 2021-05-06 08:35:58 +00:00
Louis Holbrook
e2ecc6d382 Merge branch 'lash/clean-and-doc' into 'master'
Cleanup, docs, benchmarks

See merge request grassrootseconomics/sarafu-token!8
2021-03-01 09:53:40 +00:00
Louis Holbrook
8e777aa720 Cleanup, docs, benchmarks 2021-03-01 09:53:39 +00:00
Louis Holbrook
9de5e52c2f Merge branch 'lash/cache-demurrage-modifier' into 'master'
Cache demurrage modifier in redistribution data

See merge request grassrootseconomics/sarafu-token!7
2021-02-06 19:01:34 +00:00
Louis Holbrook
528fef6444 Cache demurrage modifier in redistribution data 2021-02-06 19:01:33 +00:00
8af12b33c0 Merge branch 'timebased' into 'master'
updated to a time-frame reference with minute resolution - rather than blocks

See merge request grassrootseconomics/sarafu-token!6
2021-02-06 15:50:59 +00:00
e32001e7e0 updated to a time-frame reference with minute resolution - rather than blocks 2021-02-06 15:40:23 +00:00
Louis Holbrook
0f816ebdc5 Merge branch 'lash/use-timestamps' into 'master'
Correct base amount on mint

See merge request grassrootseconomics/sarafu-token!5
2021-02-06 14:48:40 +00:00
Louis Holbrook
0202676d51 Correct base amount on mint 2021-02-06 14:48:40 +00:00
Louis Holbrook
cf6fd57672 Merge branch 'lash/use-timestamps' into 'master'
Use timestamps instead of blocks

See merge request grassrootseconomics/sarafu-token!4
2021-02-06 14:18:30 +00:00
Louis Holbrook
0053b90368 Use timestamps instead of blocks 2021-02-06 14:18:30 +00:00
nolash
01155f6e64
Redistribution noop on 0 participants, but returns full supply on remainder check 2021-02-05 12:56:57 +01:00
nolash
b04580cd97
Add application of remainder 2021-02-05 12:32:17 +01:00