Here is a small script for calculating the total sum of all seized assets in the Steem HF 23 (accounts are copied from github that will be activated on 20 May 2020 14:00:00 UTC.
You can read more about this here.
#!/usr/bin/python
from beem import Steem
from beem.account import Account
if __name__ == "__main__":
stm = Steem(node="https://api.steemit.com")
accounts = {
"abusereports",
"berniesanders",
"kingdong",
"nextgencrypto",
"ngc",
"ozchartart",
"sirvotesalot",
"sockpuppet",
"thecyclist",
"xx0xx",
"xxxxxxxxxx",
"z8teyb289qav9z",
"agent14",
"curatorhulk",
"dhenz",
"drbanner",
"gokuisreal",
"johnmadden",
"realself",
"theycallmedan",
"arsahk",
"blocktrades",
"darthknight",
"kevtorin",
"kriborin",
"lessys",
"acidyo",
"ats-david",
"ausbitbank",
"bittrix",
"clappy",
"drakos",
"fefemz",
"freedom",
"gtg",
"howo",
"jawnz",
"klobu",
"likwid",
"liondani",
"neoxian",
"netuoso",
"ocd-witness",
"pfunk",
"pharesim",
"roelandp",
"roundbeargames",
"sooty",
"steempress",
"themarkymark",
"therealwolf",
"timetickertickin",
"transisto",
"znnuksfe",
"mottler",
"mottler-1",
"smooth",
"smooth.witness",
"smooth-a",
"smooth-b",
"smooth-c",
"smooth-d",
"smooth-e",
"smooth-f",
"safari"
}
null = Account("null", blockchain_instance=stm)
seized_assets = null.balances
for account_name in accounts:
account = Account(account_name, blockchain_instance=stm)
for asset_type in ['available', 'savings', 'rewards', 'total']:
for index in range(len(seized_assets[asset_type])):
seized_assets[asset_type][index] += account.balances[asset_type][index]
USD_STEEM = 0.212018
USD_SBD = 1.05
print("Seized assets:")
print("| asset type | Token | USD value")
print("| --- | --- | --- |")
print("| STEEM | %.3f STEEM | %.2f $ |" % (float(seized_assets["available"][0]), float(seized_assets["available"][0]) * USD_STEEM))
print("| SBD | %.3f SBD | %.2f $ |" % (float(seized_assets["available"][1]), float(seized_assets["available"][1])* USD_SBD))
print("| STEEM POWER | %.3f STEEM | %.2f $ |" % (stm.vests_to_sp(float(seized_assets["available"][2])), stm.vests_to_sp(float(seized_assets["available"][2])) * USD_STEEM))
print("| STEEM in savings | %.3f STEEM | %.2f $ |" % (float(seized_assets["savings"][0]), float(seized_assets["savings"][0]) * USD_STEEM))
print("| SBD in savings | %.3f SBD | %.2f $ |" % (float(seized_assets["savings"][1]), float(seized_assets["savings"][1])* USD_SBD))
print("| Pending STEEM | %.3f STEEM | %.2f $ |" % (float(seized_assets["rewards"][0]), float(seized_assets["rewards"][0]) * USD_STEEM))
print("| Pending SBD | %.3f SBD | %.2f $ |" % (float(seized_assets["rewards"][1]), float(seized_assets["rewards"][1])* USD_SBD))
print("| Pending STEEM POWER | %.3f STEEM | %.2f $ |" % (stm.vests_to_sp(float(seized_assets["rewards"][2])), stm.vests_to_sp(float(seized_assets["rewards"][2])) * USD_STEEM))
print("| Total STEEM | %.3f STEEM | %.2f $ |" % (float(seized_assets["total"][0]), float(seized_assets["total"][0]) * USD_STEEM))
print("| Total SBD | %.3f SBD | %.2f $ |" % (float(seized_assets["total"][1]), float(seized_assets["total"][1])* USD_SBD))
print("| Total STEEM POWER | %.3f STEEM | %.2f $ |" % (stm.vests_to_sp(float(seized_assets["total"][2])), stm.vests_to_sp(float(seized_assets["total"][2])) * USD_STEEM))
total_sum_usd = float(seized_assets["total"][0]) * USD_STEEM
total_sum_usd += float(seized_assets["total"][1]) * USD_SBD
total_sum_usd += stm.vests_to_sp(float(seized_assets["total"][2])) * USD_STEEM
print("Total sum in USD: %.2f $ " % total_sum_usd)
The results are:
asset type | Token | USD value |
---|---|---|
STEEM | 1454787.735 STEEM | 308441.19 $ |
SBD | 738.021 SBD | 774.92 $ |
STEEM POWER | 22235913.287 STEEM | 4714413.86 $ |
STEEM in savings | 0.099 STEEM | 0.02 $ |
SBD in savings | 26.283 SBD | 27.60 $ |
Pending STEEM | 15.532 STEEM | 3.29 $ |
Pending SBD | 362.621 SBD | 380.75 $ |
Pending STEEM POWER | 13486.216 STEEM | 2859.32 $ |
asset type | Token | USD value |
---|---|---|
Total STEEM | 1454803.366 STEEM | 308444.50 $ |
Total SBD | 1126.925 SBD | 1183.27 $ |
Total STEEM POWER | 22249399.503 STEEM | 4717273.18 $ |
This means that in total Steem assets worth 5026900.96 $ will be seized on 20 May 2020 14:00:00 UTC and moved to https://steemd.com/@community321
(When the Steem HF is applied by the majority of Steem witnesses).