https://github.com/manifoldmarkets/manifold/pull/469
comment → { tips: { Alice: 4, Bob -4 } }
store tip amounts in $M
compute rad score, sum in display logic — easy to change later without migration!
txn for tips
debounce submission so if you click 3 times, only 1 txn generated that represents the delta of before/after
rad karma | marginal cost | total |
---|---|---|
0 | 0 | 0 |
1 | 5 | 5 |
2 | 10 | 15 |
3 | 15 | 30 |
4 | 20 | 50 |
5 | 25 | 75 |
6 | 30 | 105 |
7 | 35 | 140 |
8 | 40 | 180 |
$n$ | $5n$ | $2.5n(n + 1)$ |