Commit Graph
100 Commits
Author SHA1 Message Date
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 6d7792110d Package man page with python 2023-05-18 06:42:14 +01:00
lash 76e8170014 Add makefiles, update readme 2023-05-16 11:21:38 +01:00
lash 091967bafd WIP texinfo docs, elaborate on tools, supply cap 2023-05-15 15:22:59 +01:00
lash 0ed97b36b0 WIP texinfo documentation as improvement over existing readme 2023-05-14 21:07:11 +01:00
lash 8242d3a62f Add ExpiryChange event 2023-03-26 08:03:44 +01:00
lash f2648dfb68 Update Expire ERC165 signature 2023-03-26 07:34:27 +01:00
lash d4906529a3 Update interfaces, add ERC5679 aliases 2023-03-26 07:26:02 +01:00
lash badfa4838a Update license, upgrade to beta, update classifiers 2023-03-22 12:58:35 +00:00
lash 68c15082fb Upgrade deps 2023-03-22 10:24:29 +00:00
lash acd5eb3d7b Merge branch lash/readmemore 2023-03-22 10:18:51 +00:00
lash f052529935 Fix burn interface implementation 2023-03-22 07:58:25 +00:00
lash 1d93ece13e Eliminate solidity compiler warnings 2023-03-19 09:23:51 +00:00
lash 50405b5cf6 Add expiration, supply cap, mutability to readme 2023-03-08 07:55:52 +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
lash 954630132b Remove last edit line 2023-03-01 12:03:25 +00:00
lash f75472fcf5 Update readme for calculations and inputs 2023-03-01 12:01:32 +00:00
lash e39b259749 bump version due to incompatibility of taxLevel rename 2023-02-19 10:48:31 +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 5d585fc208 Bump version 2023-02-14 07:28:14 +00:00
lash 21ea0da020 Upgrade deps 2023-02-14 07:26:35 +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 fab1b2d4b8 Bump version 2023-02-12 08:33:22 +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 17638b0a51 Bump version 2023-02-11 04:32:22 +00:00
lash ceed2e3a7a Set immutable vars 2023-02-10 17:02:29 +00:00
lash cc1d4c811b Remove dead console script entry 2023-02-10 16:48:08 +00:00
lash 1b167f8dd1 Bump version 2023-02-10 16:33:36 +00:00
lash 5d79399f21 Finish removing redundant tests 2023-02-10 16:19:03 +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 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
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
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
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