account = "sports-gov"
nodelist = NodeList()
nodelist.update_nodes()
nodes = nodelist.get_nodes(hive=True)
hive = Hive(node=nodes)
def transfer_token(to, amount, symbol, memo, account):
he_wallet = Wallet(account, blockchain_instance=hive)
transfer_tx = he_wallet.transfer(to, amount, symbol, memo)
time.sleep(1)
c = Comment(loaded_post, steem_instance=hive)
c.reply(str(transfer_tx), "stake_tx", account)
def stake_token(amount, symbol, account):
he_wallet = Wallet(account, blockchain_instance=hive)
stake_trans = he_wallet.stake(amount=amount, symbol=symbol, receiver=account)
time.sleep(1)
c = Comment(loaded_post, steem_instance=hive)
c.reply(str(stake_trans), "stake_tx", account)
def delegate_tokens(to, symbol, quantity, account):
json_object = {
"contractName": "tokens",
"contractAction": "delegate",
"contractPayload": {
"to": to,
"symbol": symbol,
"quantity": str(quantity)
}
}
idxxx = "ssc-mainnet-hive"
trx = hive.custom_json(idxxx, json_object, required_auths=[account])
time.sleep(4)
c = Comment(loaded_post, steem_instance=hive)
c.reply(str(trx), "delegation_trx", account)
transfer_token("patrickulrich", 100000, "SPORTS", "Funding Engagement Project", account)
stake_token(10000000,"SPORTS",account)
delegate_tokens("amr008.sports","SPORTS",10000000,account)
!end
Good evening to everyone, I hope you all are doing great . Sports community has taken a new life this year according to me which is so nice to see personally for me because Sports plays an important role in my real life . I always wanted to do something which contributes to this wonderful community . This proposal is to fund one such project which I hope contributes and adds value to this community .
3 Parts
If you look at the code , there are 3 functions inside them - you don't have to understand the code , I will explain it to you here -
First function - transfer_token("patrickulrich", 100000, "SPORTS", "Funding Engagement Project", account)
This is to transfer 100000 SPORTS from @sports-gov account to @patrickulrich account because he funded this proposal . He is just getting back his fee for this proposal .
Second function - stake_token(10000000,"SPORTS",account)
Right now @sports-gov account has over 25 Million Liquid SPORTS , as I have already explained in my petition I don't want to take the Liquid funds because I want the SPORTS to be in @sports-gov itself so that if community feels to utilize it for something better later on they are free to do it with another proposal .
So the stake_token function is to stake 10 Million SPORTS to the same account @sports-gov
Third function - delegate_tokens("amr008.sports","SPORTS",10000000,account)
This function delegates 10 Million SPORTS from @sports-gov to @amr008.sports account .
Remember all this is done only when the proposal is passed .
Note: Below I have copy - pasted the explaination from my petition post
Engagement Project
I recently started an engagement project - link which has the following feature .
- I upvote the top 25 commenters / engagers in each community everyday .
- I consider only comments and those comments has to be made from the particular frontend itself
- Example : If you want to get upvotes from @amr008.sports then you must be in top 25 commenters from SPORTSTALKSOCIAL frontend . If you comment from any other frontend but it has #sportstalk tag I won't count it .
Benefits of this project is -
- Brings traffic to the sportstalksocial frontend .
- Increases engagement between users
- Increases overall active users who are using this frontend .
As you can see the response in the announcement post and today's stats post I have got good response from other users .
Won't it increase the spam ?
No , I have taken sufficient steps to calculate the quality of comments . Please read the announcement post for full details.
Why do I need delegation from @sports-gov account ?
There are two reasons for this and this forms the basis of my petition -
- To increase the upvote value so that we attract more people to come over to sportstalksocial frontend and engage with other users . Just think what if we reach 10000+ SPORTS per upvote ? Ofcourse people will start engaging .
So we bring more people over here , we increase the traffic which inturn increases the ad revenue which inturn increases the token burn which inturn increases the price of SPORTS . - Second reason would be payout for delegators - Whatever delegation I get from @sports-gov account will be used to upvote and we won't payback the curation reward to @sports-gov.
So remaining delegators will earn more APR because of this . Also I won't take my cut too till the end of the year because I want to help this project grow .
So in simple terms - 100% liquid curation rewards will be sent back to delegators excluding @sports-gov and @amr008 account . This will drastically increase the returns for other delegators which will prompt more delegators to come forward which will allow more upvote worth and again the cycle continues .
I think I have covered all the necessary points . If you still have any queries , please ask me in the comment section I will answer them .
You can view my petition post too - https://www.sportstalksocial.com/hive-101690/@amr008/petition-fund-my-sports-engagement-project-to-increase-the-engagement-in-sportstalksocial
Note
This proposal will go live once @patrickulrich sends 100000 SPORTS to @sports-gov with this URL as memo so until then you might not see YES or NO option .
Regards,
MR.