GentBG x PUSSTEEM - burning both STEEM and PUSS

Image
by joviansummer original STEEMIT post: https://steemit.com/blog/@joviansummer/gentbg-x-pussteem-burning-both-steem-and-puss Hello, this is @joviansummer(witness: @jswit), developer of GentBG project. I registered @gentbg account to PUSSTEEM about a week ago and donated some of my own PUSS token to @gentbg's EPUSS account. Now, @gentbg will burn STEEM and EPUSS at the same time. PUSSTEEM's boosting upvotes will help increasing baseline burning significantly. @gentbg's SP reward is delegate to @jsup to get automated upvotes, forming a baseline burning of liquid reward independent of other people's upvotes. Some may argue 100%(both liquid and SP reward) burning is much better, but I chose this approach to prevent @gentbg from becoming a spamming account. Constantly asking for upvotes via mentioning and commenting every week may eventually become a big annoyance to curators. That being said, anyone is welcome to participate in countering STEEM inflation by giving upvotes ...

파이썬 beem에서 특정 포스트의 보팅 목록 확인

by joviansummer
original STEEMIT post: https://steemit.com/blog/@joviansummer/2764b6-beem


파이썬 beem에서 특정 포스트에 누가 얼만큼 보팅했는지 확인하는 방법입니다. 보팅 목록은 Comment 객체에서 "active_votes" 키(key)에 할당된 데이터를 조회하면 됩니다. 예시를 보자면 아래와 같습니다.

from beem import Steem
from beem.comment import Comment

node_list = ['https://api.steemit.com']

steem = Steem(node=node_list)

authorperm = 'joviansummer/b01bb'

comment = Comment(authorperm, blockchain_instance=steem)

for v_info in comment['active_votes']:
  print("voter:", v_info['voter'], ", rshares:", v_info['rshares'])

위의 예시에서 comment['active_votes']에는 보팅 목록이 리스트(list) 형식으로 할당되어 있으며, 각 원소는 딕셔너리(dict) 형식입니다. 원소의 "voter" 키에는 보팅한 계정이 할당되어 있고 "rshares" 키에는 보팅 분량이 할당되어 있습니다. 리스트 예시를 보자면 아래와 같습니다.

[{'voter': 'gerber', 'rshares': 53606309}, {'voter': 'ezzy', 'rshares': 37690507983},
...,
{'voter': 'princesslayla', 'rshares': 35831916}]

보팅한 계정의 스팀파워와 보팅 비중(vote weight)으로부터 rshares 값이 정해지고 이것이 나중에 보상을 계산하는 기반이 됩니다. 스팀잇 웹페이지에서는 보팅 보상이 미국 달러화로 환산된 값으로 표시되는데 이것은 정확한 값은 아니며 실제 보상은 rshares로 계산됩니다.


@joviansummer의 스팀 프로젝트

스팀 증인노드를 운영중입니다. @jswit에 증인투표해 주시면 감사하겠습니다.
(https://steemitwallet.com/~witnesses)

jswit 증인 노드 프로젝트를 시작합니다.

jsup 업보팅(upvoting) 서비스 소개

jsup 수혜자 지정 기능 추가

jsup 서비스에 큐레이션 보상 분배 기능이 추가되었습니다.

jSTEEM 프로젝트 - 텔레그램 챗봇으로 구현하는 스팀 블럭체인 탐색기

STEEM.NFT - 디지털 아트 보존 프로젝트

Posted through the AVLE Dapp (https://avle.io)

Comments

Popular posts from this blog

스티미언의 영향력 지수 계산

jsup/avle code update - you don't have to write post everyday

jsup/avle 보팅 코드 갱신 - 1일1포스팅 강박에서 벗어나기