Comment on page

Advanced features

MetaDock aims to be the best tool for all crypto users, including defi/nft players, on-chain analysts, developers, security researchers. Advanced features are specially designed for developers and security researchers. We are providing several awesome features now, such as querying private variables, variable logs and proxy upgrade log.

Query Private Variables

While the blockchain is inherently immutable and transparent, obtaining the actual state of complete contract variables remains challenging, even for developers. MetaDock enhances the functionality of the Reading Contract Tab on blockchain explorers by enabling the query of private variables.
For example, there is a private mapping called `_holderTokens` in the BAYC contract(0xbc4ca0...a936f13d), which stores the IDs of BAYC tokens held by each address. Previously, accessing this information on blockchain explorers like Etherscan was not possible. However, with MetaDock, you can effortlessly query and retrieve such data in the appropriate location provided.
_holderTokens of the BAYC contract is accessible via MetaDock.

Query Variable Logs

Variables within a contract are subject to frequent changes as the blockchain progresses. While some variables remain immutable and constant, others are often updated, creating a complex landscape for developers and onchain detectives tracing their evolution.
MetaDock offers a solution by facilitating log queries for a specific variable within a designated time frame. This can be defined by either timestamps or block heights. The system conveniently presents the time of the update, the new value after update, and the transaction hash, all in a versatile table. Furthermore, MetaDock provides an option to export these logs into a CSV file, allowing for deeper investigation.
Please note that you can adjust the time range from the top right corner of the interface. The system intelligently limits the scope to a feasible time period - from the contract's deployment to the present moment. Given the intricacy of some variables, the list is capped at 300 records. For more focused results, consider narrowing down the time range.
Question: When did $PEPE's developer renounce its admin privileges?

Proxy Upgrade Log

There are numerous proxy contracts that can be upgraded when necessary, but they are also susceptible to exploitation by scammers. For developers and security researchers, it is highly beneficial to swiftly review the proxy upgrade log on the contract page. MetaDock has integrated Cergyk's upgrade hub, and you can simply click on "Proxy Upgrade Log" to access a comprehensive log of typical proxy contracts.
The Proxy Upgrade Log displays the upgrade transactions and provides links to the code differential view (on Upgradehub) of the modified implementations.