Ownership Renounced event detection

Hello folks, just a quick passing update. We are focusing heavily on the SPOON app development so we have been a little less active on the medium side of things.

When you look at BSCScan it might seem trivial to understand that a transaction is an actual ownership renounced event. Well, maybe not that trivial, ’cause you need to check the logs or the additional details. However that is not the way the information is stored in the blockchain. Everything is compressed and encrypted and cannot be decrypted immediately. Everything is in hexadecimal but also encoded, which makes it difficult for anyone to read it by just getting the data.

There is also no helper method to decode the data. So you resort to different practices to try to decode and decrypt the information you get from the blockchain just so you can start giving it some sense.

This is what we had to do to start decoding the ownership renounced event. An event that is very simple and can be interpreted in two ways. You either see that the renounceOwnership method has been called, or you identify in the logs that there is an OwnershipTransferred event from one address (the current owner) to the 0x0 address (dead address).

In doing so we also researched what competing tools do, and every tool has found a different way. We have also done our own custom way which is quite high performant, but will need to be revised for every single blockchain network we adapt to (for example, Polygon, Theta, TRON, etc). Having discrepancies between networks is something we expected, and so we will make sure that the SPOON application introduces “environment configuration and variables” from the start, so when you make the switch from one network to another everything still works as expected.

So, long story short, we are now able to properly and quickly identify ownership renounced events in the BSC, and we also see that eventually in the future we will need to grow to introduce a QA team so we can ensure consistency between blockchain networks.





Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Inside the Skywire Mainnet

What is Terra, what is Luna?

Biweekly Report for Ares, September 24-October 7


The Strange, Strange World of Axie Infinity

TrustFi Weekly Report: May 9 — May 15


All you need to know about uPort Identity management

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store



More from Medium

ERC20 vs. TRC20 vs. BSC vs. SPL vs. ERC 721 vs. ERC 1155

Pocket Network — Dawn of the AWS Ear in Web3

DeFi Series ⅕ — What Is DeFi?

Did you know that #Uniswap 3.0 is already integrated with Polygon❓