create account

I Built A Diesel Pool Swap Tracker For LEO And Other Hive-Engine Tokens by mikedcrypto

View this thread on: hive.blogpeakd.comecency.com
· @mikedcrypto · (edited)
$0.70
I Built A Diesel Pool Swap Tracker For LEO And Other Hive-Engine Tokens
What's up fam?

Gonna be a short post today as I got family stuff I need to do.

Just wanted to drop this here quick.

![Screen Shot 20220418 at 5.49.06 AM.png](https://images.hive.blog/DQmSbGFuwLdaejupwx2K4bjcUcAGoEarYnrF8JH7viocFX6/Screen%20Shot%202022-04-18%20at%205.49.06%20AM.png)

I built this over the weekend. Right now it's got very limited functionality and the UI needs to be cleaned up. It's not the final version yet and will have plenty more functionality added to it over the coming week.

It [tracks all diesel pool swaps](https://mikedcrypto.com/explorers/hive) on Hive-Engine at the moment, but will have plenty more information and features as time goes by.

I know it's always been a pain in the ass to find this info in the past, so that's why I'm building it. Hopefully it makes things a bit easier for others.

Let me know if you have any features you'd like to see added, although most of those requests are probably already on my list anyway.

Enjoy! Feel free to share/reblog/etc if you think it will be useful to anyone.

Peace out!

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@mikedcrypto/i-built-a-diesel-pool-swap-tracker-for-leo-and-other-hive-engine-tokens)
👍  , , , , , , , , , , , , , , , ,
properties (23)
authormikedcrypto
permlinki-built-a-diesel-pool-swap-tracker-for-leo-and-other-hive-engine-tokens
categoryhive-167922
json_metadata{"app":"hiveblog/0.1","format":"markdown","tags":["proofofbrain","vyb","neoxian","oneup","splinterlands","someeofficial","leofinance"],"canonical_url":"https://leofinance.io/@mikedcrypto/i-built-a-diesel-pool-swap-tracker-for-leo-and-other-hive-engine-tokens","links":["https://mikedcrypto.com/explorers/hive"],"image":["https://images.hive.blog/DQmSbGFuwLdaejupwx2K4bjcUcAGoEarYnrF8JH7viocFX6/Screen%20Shot%202022-04-18%20at%205.49.06%20AM.png"]}
created2022-04-18 09:56:51
last_update2022-04-30 16:28:21
depth0
children5
last_payout2022-04-25 09:56:51
cashout_time1969-12-31 23:59:59
total_payout_value0.353 HBD
curator_payout_value0.346 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,210
author_reputation5,238,100,477,892
root_title"I Built A Diesel Pool Swap Tracker For LEO And Other Hive-Engine Tokens"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id112,399,869
net_rshares611,228,235,441
author_curate_reward""
vote details (17)
@dagger212 ·
That's pretty handy.  Nice work!  Some sort of time stamp would be nice...that's my only suggestion at this point. 

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@dagger212/re-mikedcrypto-5iphtn)
👍  
properties (23)
authordagger212
permlinkre-mikedcrypto-5iphtn
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["hive-167922","leofinance"],"canonical_url":"https://leofinance.io/@dagger212/re-mikedcrypto-5iphtn"}
created2022-04-18 13:18:57
last_update2022-04-18 13:18:57
depth1
children1
last_payout2022-04-25 13:18:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length214
author_reputation65,134,305,208,700
root_title"I Built A Diesel Pool Swap Tracker For LEO And Other Hive-Engine Tokens"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id112,403,951
net_rshares639,565,993
author_curate_reward""
vote details (1)
@mikedcrypto ·
Timestamp was actually the next thing on the list! Wanted to get that done before leaving the other day but I was in a rush. 

Just got back, will get on that ASAP. Thanks for the feedback :)

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@mikedcrypto/re-dagger212-6t3et9)
properties (22)
authormikedcrypto
permlinkre-dagger212-6t3et9
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["hive-167922","leofinance"],"canonical_url":"https://leofinance.io/@mikedcrypto/re-dagger212-6t3et9"}
created2022-04-20 23:49:51
last_update2022-04-20 23:49:51
depth2
children0
last_payout2022-04-27 23:49:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length290
author_reputation5,238,100,477,892
root_title"I Built A Diesel Pool Swap Tracker For LEO And Other Hive-Engine Tokens"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id112,481,973
net_rshares0
@forexbrokr ·
This is awesome, great work.

Like *dagger* suggested above, is it easy to include time stamps?

Also would it be easy to include the amount of SWAP.HIVE received (or whatever token they're swapping into) at the end?

![miked.png](https://images.hive.blog/DQmQZRfizNBKN3px6UeqFxLbnzVAFQbkrCSxTighYQaJVvQ/miked.png)

For example:

"At 9.50PM konvic sold 41.04 LEO for 7.75 SWAP.HIVE"

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@forexbrokr/re-mikedcrypto-bmlk7)
👍  
properties (23)
authorforexbrokr
permlinkre-mikedcrypto-bmlk7
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["hive-167922","leofinance"],"canonical_url":"https://leofinance.io/@forexbrokr/re-mikedcrypto-bmlk7","image":["https://images.hive.blog/DQmQZRfizNBKN3px6UeqFxLbnzVAFQbkrCSxTighYQaJVvQ/miked.png"]}
created2022-04-19 01:38:39
last_update2022-04-19 01:38:39
depth1
children1
last_payout2022-04-26 01:38:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length481
author_reputation423,122,348,693,842
root_title"I Built A Diesel Pool Swap Tracker For LEO And Other Hive-Engine Tokens"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id112,422,612
net_rshares640,184,283
author_curate_reward""
vote details (1)
@mikedcrypto ·
Yes, that's already implemented actually. It's just that some transactions don't actually contain that data.

There are 2 types of swaps, and the json data in each is different.

The regular swap that a user would perform on tribaldex, would pretty much always provide the amount received.

But a lot of the transactions are done by bots... and those bots usually specify "exact input" and "max slippage" when they make the transactions. Those transactions don't provide output amounts in the json data.

Of course there are still ways to calculate this, like calculating someone's account balance before and after a transaction. But that wouldn't really be reliable.

For example, many of the bots are performing arbitrage and submitting multiple transactions in the same block. So calculating balances before and after that block wouldn't really tell us anything.

Either way I just got back and will be spending the next day making a lot of changes, it will be much more comprehensive soon :)

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@mikedcrypto/re-forexbrokr-6joj7e)
👍  
properties (23)
authormikedcrypto
permlinkre-forexbrokr-6joj7e
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["hive-167922","leofinance"],"canonical_url":"https://leofinance.io/@mikedcrypto/re-forexbrokr-6joj7e"}
created2022-04-20 23:48:15
last_update2022-04-20 23:48:15
depth2
children0
last_payout2022-04-27 23:48:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,095
author_reputation5,238,100,477,892
root_title"I Built A Diesel Pool Swap Tracker For LEO And Other Hive-Engine Tokens"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id112,481,941
net_rshares9,682,950,613
author_curate_reward""
vote details (1)
@gangstalking ·
<div><p><center><b>Whoever is directly controlling the V2K told me to kill myself.<br/>They told me if I killed myself now it would save the lives of countless others.<br/> Saying the longer I wait to kill myself the more people will suffer.</b></center></p></div><br/>They are reckless and should have shown the proper media what they had before taking me hostage for 5 years. I know there are many in prison that dont deserve to be there because of this. Your stay in prison will not be fun @battleaxe and friends. People are going to want you dead when they find out what you did. I hope you die a slow painful death. You sick mother fuckers.<br/><br/> https://peakd.com/gangstalking/@acousticpulses/electronic-terrorism-and-gaslighting--if-you-downvote-this-post-you-are-part-of-the-problem<br/><br/> Its a terrorist act on American soil while some say its not real or Im a mental case. Many know its real. This is an ignored detrimental to humanity domestic and foreign threat. Ask informed soldiers in the American military what their oath is and tell them about the day you asked me why. Nobody has I guess. Maybe someone told ill informed soldiers they cant protect America from military leaders in control with ill intent. How do we protect locked up soldiers from telling the truth?
👎  
properties (23)
authorgangstalking
permlinkre-mikedcrypto-i-built-a-diesel-pool-swap-tracker-for-leo-and-other-hive-engine-tokens-20220430t162831938z
categoryhive-167922
json_metadata{"app":"hive-bot/0.6.3"}
created2022-04-30 16:28:33
last_update2022-04-30 16:28:33
depth1
children0
last_payout2022-05-07 16:28:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,292
author_reputation-67,597,107,868,724
root_title"I Built A Diesel Pool Swap Tracker For LEO And Other Hive-Engine Tokens"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id112,782,802
net_rshares-2,757,528,079
author_curate_reward""
vote details (1)