Commit Graph

101 Commits

Author SHA1 Message Date
lash
8c09ff266e
Prevent non-owner from changing seal, bump deps 2024-08-15 12:36:25 +01:00
lash
a40385a5a0
Truncate approve request out of value bounds 2023-10-05 17:41:52 +01:00
lash
d7051b26c0
Make allowance method public 2023-09-05 03:22:33 +01:00
lash
14fb2fe8ea
Transfer event 2023-08-14 14:10:09 +01:00
lash
8242d3a62f
Add ExpiryChange event 2023-03-26 08:03:44 +01:00
lash
d4906529a3
Update interfaces, add ERC5679 aliases 2023-03-26 07:26:02 +01:00
lash
acd5eb3d7b
Merge branch lash/readmemore 2023-03-22 10:18:51 +00:00
lash
1d93ece13e
Eliminate solidity compiler warnings 2023-03-19 09:23:51 +00:00
lash
74c0bfe43e
Add solc metadata 2023-03-07 10:23:39 +00:00
lash
83383c0b9b
Recompile with solc 0.8.18+commit.87f61d96 2023-03-07 10:16:59 +00:00
65a91cc44d updated README example
Signed-off-by: lash <dev@holbrook.no>
2023-02-19 11:20:58 +00:00
lash
4ec1ea8b45
rename to decaylevel 2023-02-19 10:41:54 +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
cf1e716b5a
Fix bogus demurrage calculation in publish script 2023-02-12 13:53:36 +00:00
lash
7982dbae97
Remove minter alias in contract 2023-02-12 08:31:08 +00:00
lash
4e6e5300f7
Alias writer, emit missing events 2023-02-12 08:17:58 +00:00
lash
edc9b6587c
Rename deploy to publish 2023-02-11 10:21:24 +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
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
4dbbf2c9bc
Remove redistribute parameter in unittest constructor 2023-02-10 10:25:43 +00:00
lash
008a6ecfba
Remove redundant apply script 2023-02-10 10:14:06 +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
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
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
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
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