Ownership Renounced

How to check if a smart contract's ownership is renounced or not?

Assuming the contract is using the standard Ownable module, you can query the owner() function and see that it returns 0.

But that assumption is a big and very important one. If someone is trying to trick you into believing they've renounced ownership, they will not use the standard Ownable module. In this case, to be fully sure you need to do a review of the code.

2 Likes

Thank you bro. but which part of the SC is related to this. can you give more detail, please? sorry for noob questions :slight_smile: