You are viewing a single comment's thread from:

RE: Feedback request: what should be the max amount of LUV that can be given daily?

in #luv5 years ago (edited)

Welp this is far more complicated than I thought :D. I never read Python before, but I can kind of get the syntax in general. However I really dont understand the code for the most part, some lines I could guess, but I dont think I will be a big help. That said I think I am beginning to understand.

                if balance > self.token_config[token]["min_token_in_wallet"]:
                    if self.token_config[token]["token_in_wallet_for_each_outgoing_token"] > 0:
                        max_token_to_give = int(balance / self.token_config[token]["token_in_wallet_for_each_outgoing_token"])
                    else:
                        max_token_to_give = self.token_config[token]["maximum_amount_per_comment"]
                else:
                    max_token_to_give = 0

In the middle of this thing you would need another if-clause with a second minimum amount, right?

I am a little confused by the variables "token_in_wallet_for_each_outgoing_token" and "maximum_amount_per_comment" and what you are doing with them since I thought the limit is just hard 3

Sort:  

You're in the right place. As the code is written, and with the settings in place, anyone with 5 LUV can give 3 per day. Doing what you're suggesting would create "levels" of givers. Level 1 would be the current situation - anyone with 5 LUV can give 3 per day. Level 2 would be, say anyone with 100 LUV could give, say 10, per day.

I'm just very hesitant to start fiddling with the code because (a) I have a limit on monthly data to use while messing with the code, (b) my "coding" skills are little more than hacking/mashing/banging on it 'til it works, which leads to, (c) it's working now, and I just don't want to futz it up.

Plus, you and a couple of others who responded to my question about increasing the per-day LUV limit all agreed: keep it as it is...it makes it more special.

Level 1 would be the current situation - anyone with 5 LUV can give 3 per day. Level 2 would be, say anyone with 100 LUV could give, say 10, per day.

yeah, thats exactly how I would want it to work. There would be some buying pressure for people to hold more than 100 LUV, but you already said you dont care too much about insentives and more about people being able to share LUV and I respect that.... How about 1000 LUV staked to share 10? :D

:) I just decided that I need to think more here, then write a post on this. !LUV

Hi @thatgermandude, you were just shared some LUV thanks to @crrdlx. Having at least 5 LUV in your wallet enables you to give up to 3 LUV per day, for free. See the LUV tokens in your wallet at https://hive-engine.com or learn about LUV at https://peakd.com/@luvshares https://ipfs.io/ipfs/QmUptF5k64xBvsQ9B6MjZo1dc2JwvXTWjWJAnyMCtWZxqM