Commit Graph

149 Commits

Author SHA1 Message Date
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
c25e018cd1
Add benchmark for gas usage 2023-02-10 10:57:38 +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
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
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
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
5941a6abdf Merge branch 'master' into dev-0.2.0 2022-05-30 07:51:34 +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
William Luke
226f81fc5c Merge branch 'lash/apply-cli' into 'master'
Add apply demurrage cli tool

See merge request cicnet/erc20-demurrage-token!9
2022-03-14 12:58:45 +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
47ee1cfa45 Merge branch 'lash/gas-safety-valve' into 'master'
bug: Wrong redistribution amount + limited demurrage apply

Closes grassrootseconomics/cic-internal-integration#276, grassrootseconomics/cic-internal-integration#273, and grassrootseconomics/cic-internal-integration#272

See merge request cicnet/erc20-demurrage-token!7
2022-03-02 09:01:50 +00:00
Louis Holbrook
db56e0d33f bug: Wrong redistribution amount + limited demurrage apply 2022-03-02 09:01:50 +00:00
Louis Holbrook
d0c02eadbf Merge branch 'lum/add-ci' into 'master'
ci: add basic ci

See merge request cicnet/erc20-demurrage-token!8
2022-03-02 08:54:20 +00:00
William Luke
ed60b5923b ci: add basic ci 2022-03-02 08:54:20 +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
21d65522a8 Merge branch 'philip/bumps' into 'master'
Bumps versions of deps and dep.

See merge request cicnet/erc20-demurrage-token!6
2021-12-18 11:49:44 +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