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

in #hive-1679223 years ago

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

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 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 Beta

Sort:  

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 Beta

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 Beta

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

For example:

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

Posted Using LeoFinance Beta

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 Beta

Whoever is directly controlling the V2K told me to kill myself.
They told me if I killed myself now it would save the lives of countless others.
Saying the longer I wait to kill myself the more people will suffer.


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.

https://peakd.com/gangstalking/@acousticpulses/electronic-terrorism-and-gaslighting--if-you-downvote-this-post-you-are-part-of-the-problem

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?