Commit Graph

38 Commits

Author SHA1 Message Date
nolash
9b538d0e47
Use base amount on minting 2021-02-06 15:48:17 +01:00
nolash
3f0516d4bc Merge remote-tracking branch 'origin/master' into lash/use-timestamps 2021-02-06 15:47:43 +01: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
2ea28aacd1
Rewrite to use timestamp instead of blocks 2021-02-06 15:17:37 +01:00
nolash
50c9cb61b5
Move participation criteria test to correct place 2021-02-06 05:47:18 +01:00
nolash
1184de1c50
Do not set participation on spends to self, introduce minimum spend 2021-02-06 05:43:56 +01:00
nolash
0e1851f6f7
Add test for redistribution 2021-02-06 05:32:01 +01:00
nolash
8fb0afddfb
To be safe, zero out participant data in redistribution on default case 2021-02-05 19:02:01 +01:00
nolash
b6e2116a1d
Disambiguate fraction bit when 0 participants edge case 2021-02-05 18:52:01 +01:00
nolash
26abe066b6
Remove useless bool check for balance adjustment result (they revert instead) 2021-02-05 13:00:14 +01: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
a3e7b54875 Merge branch 'master' of gitlab.com:grassrootseconomics/sarafu-token 2021-02-05 12:02:19 +01:00
nolash
21210471c5
Apply remainder calculation 2021-02-05 12:02:05 +01:00
b79e636f31 Merge branch 'moreexample' into 'master'
clarified and added an example

See merge request grassrootseconomics/sarafu-token!2
2021-02-05 09:23:20 +00:00
nolash
7122fc280b
Add default sink address to constructor 2021-02-05 09:44:15 +01:00
nolash
65b51bc2a1 Merge branch 'master' of gitlab.com:grassrootseconomics/sarafu-token 2021-02-05 09:22:54 +01:00
nolash
179e25adff
Add approve, transferfrom 2021-02-05 09:22:36 +01:00
nolash
d795a77deb
Save highest two bits in redistribuction work for remainder handling 2021-02-05 08:45:44 +01:00
cb40df872f clarification on example 2021-02-05 06:18:34 +00:00
3191f926c9 clarified and added an example 2021-02-05 06:01:21 +00:00
568ac9da1f typos 2021-02-04 14:02:12 +00:00
4d60ecdf52 Merge branch 'usecase' into 'master'
added use case example and small clarifications

See merge request grassrootseconomics/sarafu-token!1
2021-02-04 13:56:33 +00:00
60f38996d8 Update README.md 2021-02-04 13:04:29 +00:00
12d3cd4f44 updates 2021-02-04 13:02:31 +00:00
6ca3dd2428 corrections 2021-02-04 12:43:04 +00:00
99adbef196 added use case example and small clarifications 2021-02-04 07:41:01 +00:00
nolash
ed9d9b3833
Add readmE 2021-02-03 15:22:45 +01:00
nolash
3cecc77cd1
Add preliminary code comments 2021-02-03 09:16:01 +01:00
nolash
ea6990a84c
Add redistribution execution 2021-02-03 09:00:24 +01:00
nolash
b5d30e12ef
Add redistribution code 2021-02-02 21:14:41 +01:00
nolash
42d7212a08
Add apply tax on mint, transfer 2021-02-02 19:09:13 +01:00
nolash
4c6ee96acc
Add participants and supply to redistribution 2021-02-02 17:53:35 +01:00
nolash
64a6bdcabe
Add period to account word 2021-02-02 16:46:36 +01:00
nolash
68a7e3e1db
Add transfer, mint 2021-02-02 16:10:53 +01:00
nolash
1a2b3bab37
Add transfer, mint 2021-02-02 16:10:21 +01:00
nolash
8e60539245
Initial commit 2021-02-02 11:26:44 +01:00