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.
YES
Upvote here to support the proposal, any % upvote will trigger 100% GP support.
All rewards from this comment go to the governance fund
I just cast my vote.
This initiative is the best so far on Sportstalk.
I can't wait to see more initiative come onboard this platform.
You are too kind :) Thanks a lot for the support.
This proposal deserves all the support as it will help build engagement on Hive second layer communities.
Hopefully voting from this account works @sports-gov!
It did :) You increased the chances to get it passed . Thanks once again.
Awesome. I'm glad it finally worked.
YES, I support it.
Thanks @alokkumar , you were very quick in responding .
I may not be able to delegate to you as though am building my stake and growing my voting value. I think I currently have over 900 sports voting value and I use it to upvote quality contents I find here daily!
Also, I downvote spams here as well, but you got my vote on this proposal ;)
Keep it up...
Glad to hear that you use you stake to curate both good and bad content.
Do you have a goal on you stake in sports?
Well it's a gradual process, I first aimed at having 1M sports stake and I got it done in few days, then after a while I felt I needed more voting influence so I added more to make it 3.4M, so it depends how I feel from now, but it would be cool to get it to 10M, but 5M is closer I think.
ENGAGE
tokens.I completely understand your point . I totally support your decision .
I ask delegation even from users because they won't have time to curate on every tribe but want to upvote quality content , the project tries to do that .
Main goal is to
Thanks a lot for your support to the project.
!ENGAGE 25
Thanks, I appreciate it
Congrats, you were upvoted from this account because you were in Top 25 engagers yesterday on Sportstalksocial .
You made a total of 5 comments and talked to 4 different authors .
For more details about this project please read here - link to announcement post
You can also delegate and get weekly payouts.
I support the engagement project. Let's boost people going to the specific front-ends and engage more on comments. My questions were answered in the petition, but to recap it.
Rewards paid out for this is split into: 50% staked (will stay to grow the account) and other 50% paid out to delegators for their delegation.
Thanks a lot @jfang003 for your constant support :)
Yes this is true but only for LEO and CTP because they pay in 100% liquid . In SPORTS and STEM , since they already pay 50% staked and 50% liquid I won't be further splitting it.
I can delegate 100k if needed
All the delegations are welcome @cwow2 . I will pay back 100% Liquid curation reward back to delegators every week .
If you like it - you can delegate your SPORTS to @amr008.sports
Cool, I will do it after my tft game :p
They just sit there xD
Then it's a perfect idea to delegate it to this project! :D
Wrll, its better than not using my stake xD
Congrats, you were upvoted from this account because you were in Top 25 engagers yesterday on Sportstalksocial .
You made a total of 20 comments and talked to 14 different authors .
For more details about this project please read here - link to announcement post
You can also delegate and get weekly payouts.
I am all in for this proposal.
Congrats, you were upvoted from this account because you were in Top 25 engagers yesterday on Sportstalksocial .
You made a total of 3 comments and talked to 3 different authors .
Your rank is 6 .
For more details about this project please read here - link to announcement post
You can also delegate and get weekly payouts.
Thanks a lot :) It really means a lot to get the support.
Congratulations for a successful proposal presentation. We hope this comes out successful in few days. I've dropped my vote in support and hope other SPORTS whales do. We need more of the engagement and rewards for doing so. I see SPortstalk scale back to top 100k websites globally. Let's see how it turns out.
Thank you :) I hope so too , not only does it give more voting power to the curation account but also will attract more users . Since everyone ( atleast everyone I know ) does follow atleast one Sport , it won't be that difficult to talk to and engage.
Already the userbase is building up. Thank you for this awesome creation.
Congrats, you were upvoted from this account because you were in Top 25 engagers yesterday on Sportstalksocial .
You made a total of 19 comments and talked to 13 different authors .
Your rank is 2 .
For more details about this project please read here - link to announcement post
You can also delegate and get weekly payouts.
Glad to see that you also support this. Maybe you can create a post enlight more people about this since you have a big outreach? :)
I'll definitely do that. I'll cover it in my blog to get it to the eyes of more supporters.
I really support this proposal. I mean if we as a community think we need the funds for anything else we will make new proposal to end or lower delegation.
Let's try this and see where we can take it!
True :) I could have easily written the code for liquid transfer but I am not because then I will be the owner of the 10 Million SPORTS and not the community.
Now if the proposal passes , the amount is staked in the same account @sports-gov so actually the community owns it.
Hi @amr008!
I just made a post sharing my thoughts about this project. Hope more people will notice this and cast their vote. Thank you very much for your initiative!
That means a lot sir . Thank you so much.
Congrats, you were upvoted from this account because you were in Top 25 engagers yesterday on Sportstalksocial .
You made a total of 1 comments and talked to 1 different authors .
Your rank is 15 .
For more details about this project please read here - link to announcement post
You can also delegate and get weekly payouts.
If you haven't voted for SPORTS proposal yet - please consider voting for it here -link
yes @amr008 1000% love this proposal ,, boombom sportstalk inshahAllah
Thank you . I am glad you loved it :)
Congrats, you were upvoted from this account because you were in Top 25 engagers yesterday on Sportstalksocial .
You made a total of 1 comments and talked to 1 different authors .
Your rank is 18 .
For more details about this project please read here - link to announcement post
You can also delegate and get weekly payouts.
If you haven't voted for SPORTS proposal yet - please consider voting for it here -link
This proposal deserves all the support best of luck @amr008
Thanks yousaf sir . You voted as soon as I requested you to check this out . Thanks for the support.
@amr008 it is your greatness kindness, best of luck
Ita a nice project and love to upvote for same .
Keep doing good work and help growing engagement...
Thanks a lot @mk992039 .
It means a lot that you guys are supportive irrespective of whether the proposal passes or not. Thanks once again.
Why did you only ask for 10 million sports? I would expect at least 100 million for this type of project.
This comment really made my day .
The purpose of 10 million was to pump up the voting value to 5000 sports ( which was my initial target ) .
Also @sports-gov has only 25 million tokens at the time .
If this is successful and if we can attract more people we shall increase the delegation was my thought.
We still need more votes for YES otherwise this will fail. We currently have 28% , we need 51% .
Btw is @cryptoandcoffee account owned by you too?
NO
Upvote here to STOP the proposal, any % upvote will trigger 100% GP support.
All rewards from this comment go to the governance fund
ENGAGE
tokens.this is definitely a great project that will help boost engagements. I would definitely do more to be part of this and of course, a quality comment should be a watchword
Thanks a lot @lebey1 . It means a lot to get your support on this one .
Also I started a SPORTS TODAY engagement post where we can discuss about any sports , like a discussion thread . Please check it out and I am sure you will fit right in -
https://www.sportstalksocial.com/hive-101690/@amr008/introducing-sports-today-a-daily-sports-discussion-thread-where-you-can-discuss-all-sports-under-one-post#@anderssinho/qox75k
I support this
Thank you @scarykangaroo , I really appreciate it.
Unable to sign up using my hive username? Do I have to create a new account to have this as a "Front End" app?
Thanks!
{'expiration': '2021-02-24T22:47:06', 'ref_block_num': 46235, 'ref_block_prefix': 480947575, 'operations': [['custom_json', {'required_auths': ['sports-gov'], 'required_posting_auths': [], 'id': 'ssc-mainnet-hive', 'json': '{"contractName":"tokens","contractAction":"transfer","contractPayload":{"symbol":"SPORTS","to":"patrickulrich","quantity":"100000.000","memo":"Funding Engagement Project"}}'}]], 'extensions': [], 'signatures': ['20060536ba90dfc7c10c37b3740dc115e218cae5ca3b7f84ee62f86f545df73f865e20ddfb513db7736c5c9aa65a5c14d95309ae94e55518e4cfbae0e3abce124d'], 'trx_id': '8181c768ced28d3f449637fe2bb5e086ad1a87c5'}
{'expiration': '2021-02-24T22:47:12', 'ref_block_num': 46235, 'ref_block_prefix': 480947575, 'operations': [['custom_json', {'required_auths': ['sports-gov'], 'required_posting_auths': [], 'id': 'ssc-mainnet-hive', 'json': '{"contractName":"tokens","contractAction":"stake","contractPayload":{"symbol":"SPORTS","to":"sports-gov","quantity":"10000000.000"}}'}]], 'extensions': [], 'signatures': ['1f4844b93d7829460117e6d92a722d04a240757294fffbc29ab92b044da604cfe242d556551739694a62fab80ab8f9dba6ea0533b52639440ee8eac00ea12cb632'], 'trx_id': '8ad65102b5997044466000afcb50a0dafae5483a'}
{'expiration': '2021-02-24T22:47:15', 'ref_block_num': 46235, 'ref_block_prefix': 480947575, 'operations': [['custom_json', {'required_auths': ['sports-gov'], 'required_posting_auths': [], 'id': 'ssc-mainnet-hive', 'json': '{"contractName":"tokens","contractAction":"delegate","contractPayload":{"to":"amr008.sports","symbol":"SPORTS","quantity":"10000000"}}'}]], 'extensions': [], 'signatures': ['1f7e5a16554f5f8f055927622de006ae0b3f082864b1bb42943cf8290c79c1398305d4bb29217610c112862be64f4cc2ca5d84ec94d2149a926ef68ebaa58fad09'], 'trx_id': '2ab4184cc2ae7ae415c14be1cee1a8d7f94b42a5'}
I have already supported this project. I completely understand the significance of why is it important to increase engagement and how this tool would help. I am sure it has already passed the proposal with all your efforts
Thanks a lot for your support @coffeelovers . I am not sure whether this will pass or not but I am very happy people are coming forward and supporting this initiative.
Why not use
!ENGAGE 25
I will trail @misterengagement
In my opinion I think there is a reason why @amr008 has not used @misterengagement. He wants the user to specifically use https://www.sportstalksocial.com when posting SPORTS comments. This will help the community in two ways:
All of this is just my opinion. There may be a few more things @amr008 may want to add.
I agree @jfang003 with what you say. The engagement tooken doesn't care from which frontend you used or how much you engage, it's just a specific users tool to show appreciation.
@mk-sports-token why do you think the engagement token would be better then this?
ENGAGE
tokens.It's decentralized, anyone can use it (1001), not just one person, also I'm investing in ENGAGE
!ENGAGE 25
I understand. I have been a fan of ENAGAGE .
We gotto consider SPORTS too right?
A lot of people who left SPORTS as it is in the wallet delegated to the project.
They can't curate it themselves because there are a lot of tribes out there to engage with . I hope you got the point.
My aim is to reward with 5000 SPORTS upvote for 100% .
ENGAGE is general , I would like to keep it as it is. SPORTS is for sportstalk community, so I will curate using it .
Makes sense?
Congrats, you were upvoted from this account because you were in Top 25 engagers yesterday on Sportstalksocial .
You made a total of 3 comments and talked to 3 different authors .
For more details about this project please read here - link to announcement post
You can also delegate and get weekly payouts.
ENGAGE
tokens.You don't have to leave sportstalksocial.com to use ENGAGE bot.
!ENGAGE 25
@amr008 is doing the planning so if there is a way to incorporate the ENGAGE bot as well, I do not mind. I will watch the discussion the two of you have and will fully support any decision that comes out of it. This is a community decision so I want all of us to be able to discuss whether or not anything should be changed or not.
Congrats, you were upvoted from this account because you were in Top 25 engagers yesterday on Sportstalksocial .
You made a total of 7 comments and talked to 5 different authors .
For more details about this project please read here - link to announcement post
You can also delegate and get weekly payouts.
It won't be sustainable is my point.
How much Engage tokens will I pay out in a month ? And how do I get it back? How do I keep growing the Engage tokens in my account?
This is one of the reasons I shifted from liquid payouts to curation rewards.
Think about it , it's sports engagement project , don't you think paying in the native token has more value?
You talk about sports , you get SPORTS token .
I will eventually add ! Wine , beer and Engage tokens but as I said I can't go ahead with it alone.
Well @jfang003 and @anderssinho already mentioned what was in my mind but to add -
I hope it answers your question .
This might be a cool future feature!
ENGAGE
tokens.You don't have to leave sportstalksocial.com to use ENGAGE bot.
Anyone can use it, also it should be easy to modify the code, so, the bot will follow misteregagement vote in sportstalksocial community only
https://github.com/fbslo/steem-voting-bots/blob/master/voting-trail.js
!ENGAGE 25
But still this token require you to first of all get it and have a certain amount of it right?
If you read the latest post then you will know they will not be happy if ENGAGE token is used for this purpose.
And for trailing ENGAGE you become dependent on supply of ENGAGE too, there are instances when ENGAGE token neither voted or give ENGAGE because they are out of supply of their daily quota.
I wasn't aware of this . Thanks for sharing this because it becomes easier to explain what was already on my mind.