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
|
2717e29d91
|
Freeze accounts balances at expiry
|
2023-02-10 13:44:35 +00:00 |
|
lash
|
23de062ab9
|
Add expiry implementation, after expire sink gets all
|
2023-02-10 12:22:50 +00:00 |
|
lash
|
550c0d60cd
|
Add license to solidity aux dir (abdk-math)
|
2023-02-10 10:08:24 +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
|
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
|
ae2c1b4124
|
Rewrite base unittest module, reinstate more contract methods
|
2023-02-09 06:49:18 +00:00 |
|
lash
|
ffc041c1a3
|
WIP Implement abdk math contract for constructor, decay
|
2023-02-09 05:09:57 +00:00 |
|
lash
|
bcc957f861
|
Remove commented contract code, makefile single nocap only
|
2023-02-08 08:51:57 +00:00 |
|
lash
|
84b1a5b439
|
Return redistributions type correctly
|
2023-02-08 08:44:43 +00:00 |
|
lash
|
c5de0e3300
|
Reactivate test, expose sinkaddress
|
2022-05-28 09:28:10 +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
|
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
|
98c460dc2f
|
Create demurrage calc from contract
|
2021-07-04 12:10:01 +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
|
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
|
c69d115965
|
Introduce sim example
|
2021-06-06 09:34:18 +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
|
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
|
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
|
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 |
|
nolash
|
21210471c5
|
Apply remainder calculation
|
2021-02-05 12:02:05 +01:00 |
|