Hacker News new | ask | show | jobs
by coolspot 3309 days ago
So, if someone donates more than me, then I would lose my patron status and do not get donation back?

It is possible to donate more than someone and still not be patron, e.g:

1. I donate 1000 eth, become patron #1.

2. Someone donates 1003 eth, he becomes patron #1, while patron #1 (me) is just forgotten (does not become patron #2).

3. Let's say places #2 and #3 already occupied too with donations of 999 and 888 eth.

4. I donate another 500 eth, so my total contribution now is 1500 eth, but I still do not make it into patrons list, despite I have donated more than anyone else.

5. Sad. Cevfefe.

2 comments

Thanks for the constructive criticism! I pretty much expected someone to tear my code to shreds. I'll have an updated contract by the end of this weekend, and have it up for review on GitHub before we launch the new contract.
It also seems to be based on the account balance of the patron, not the amount they contribute.
You are right. The code does not stand any critique.
It does not. But my team has at least established that interest exists, and we are actively working on a new contract, stay tuned!