# Developer-Friendly Features

## Smart Contract Related

### Query Private Variables

While the blockchain is inherently immutable and transparent, **obtaining the actual state of complete contract variables** remains challenging, even for developers. **MetaSuites** 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](https://etherscan.io/address/0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d#code) (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 **MetaSuites**, you can effortlessly query and retrieve such data in the appropriate location provided.

* &#x20;Try this [contract](https://etherscan.io/address/0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d#readContract).

<figure><img src="https://2319654293-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwxbNGlBc5Kji1KaYLlhe%2Fuploads%2FJGxxnqWHstbKb1qhYbYt%2FCleanShot%202023-05-22%20at%2015.43.55%402x.png?alt=media&#x26;token=aecb2157-fe8d-433f-9c18-188a3e8c2e0e" alt=""><figcaption><p><code>_holderTokens</code> of the BAYC contract is accessible via <strong>MetaSuites</strong>.</p></figcaption></figure>

### 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.

**MetaSuites** 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, **MetaSuites** 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.

* Try this [contract](https://etherscan.io/address/0x6982508145454ce325ddbe47a25d4ec3d2311933#readContract).&#x20;

<figure><img src="https://2319654293-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwxbNGlBc5Kji1KaYLlhe%2Fuploads%2FIr03WJ5XjrqDgMdA3hrg%2FCleanShot%202023-07-14%20at%2020.20.02%402x.png?alt=media&#x26;token=e51989b4-31ee-4fd6-a6ef-4a6062ea95ba" alt=""><figcaption><p>Question: When did $PEPE's developer renounce its admin privileges?</p></figcaption></figure>

### Download and View Source Code

**MetaSuites** allows users to easily download verified contracts' source code and ABI files. It is pretty helpful for downloading contracts with multiple files. For a proxy contract, it will download the implementation contract simultaneously.

* Try this [contract.](https://etherscan.io/address/0x316f9708bB98af7dA9c68C1C3b5e79039cD336E3#code)

<figure><img src="https://2319654293-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwxbNGlBc5Kji1KaYLlhe%2Fuploads%2FJaDpyyh8T02hRVHX7nyr%2Fimage.png?alt=media&#x26;token=75fe9f49-10e2-4bb5-8bf1-9a6e044ef1ba" alt=""><figcaption><p>View and Download Source Code</p></figcaption></figure>

If you want to view the project's source code directly on your browser in the VSCode style, just click `View in DethCode.`

### 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**. **MetaSuites** has integrated [Cergyk](https://twitter.com/cergyk1337)'s [upgrade hub](https://upgradehub.xyz/), and you can simply click on "Proxy Upgrade Log" to access a comprehensive log of typical proxy contracts.

* Try this [contract](https://etherscan.io/address/0x2e1db01f87ab645321cb12048bbab8a9538c61cc#code).

<figure><img src="https://2319654293-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwxbNGlBc5Kji1KaYLlhe%2Fuploads%2F7v3SepGE26oZ18goh7RO%2FCleanShot%202023-05-22%20at%2015.33.56%402x.png?alt=media&#x26;token=af565208-991c-4f5b-9d81-5f2a4223e4ff" alt=""><figcaption><p>The Proxy Upgrade Log displays the upgrade transactions and provides links to the code differential view (on Upgradehub) of the modified implementations.</p></figcaption></figure>

**MetaSuites allows users to easily interact with popular developer-friendly tools such as Dedaub, Phalcon, Tenderly, Forta, etc.**&#x20;

### Decompilers

If you meet an **unverified contract** like this [contract](https://ftmscan.com/address/0xcd38c2f1b91482e0cd6a1051819483bb81fdd142#code), you can push the button `Decomplile in Dedaub` or `Decompile in ethervm.io` to get a better understanding of the contract.

<figure><img src="https://2319654293-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwxbNGlBc5Kji1KaYLlhe%2Fuploads%2FOx1GIP56BdUN9PqsZKU5%2Fimage.png?alt=media&#x26;token=25288a29-9739-4302-9f9c-813a0d1cc2e7" alt=""><figcaption><p>Decompilers for unverified contracts</p></figcaption></figure>

### Funding Source of Contract Deployers

**MetaSuites** intelligently presents the funding source of contract deployment to users, offering great assistance in executing compliance-related investigations. Try this [address](https://etherscan.io/address/0x1f9840a85d5af5bf1d1762f925bdaddc4201f984).

<figure><img src="https://2319654293-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwxbNGlBc5Kji1KaYLlhe%2Fuploads%2F5Aibf4rZJhywbGKKuV1R%2FCleanShot%202023-06-18%20at%2013.00.30%402x.png?alt=media&#x26;token=79e10f2a-623a-4dcc-831c-82a41119c893" alt="" width="375"><figcaption><p>Funding source of contract deployers</p></figcaption></figure>

### Function Signatures

**MetaSuites** provides a more comprehensive function signature library to complement the *\*scan*'s signature parsing.&#x20;

* [**Click to try**](https://etherscan.io/txs?block=15758642)

<figure><img src="https://2319654293-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwxbNGlBc5Kji1KaYLlhe%2Fuploads%2FZT4GJnSYMEfPbatxEryD%2Fimage.png?alt=media&#x26;token=feac2a75-7e4d-4d55-99b6-8b40ff3efd95" alt=""><figcaption><p>Function Signatures</p></figcaption></figure>

For example, **MetaSuites** replaces the function signature`0x13d79a0b` with `settle`， which makes more sense for users.

## Transaction Explorers

If you want to **dive deeply into a transaction**, **MetaSuites** assists you with multiple shortcuts to popular transaction browsers.&#x20;

* ***Phalcon*** provides many innovative features, such as invocation flow, balance changes, and transaction simulations.&#x20;
* ***Transaction Tracer*** and ***Tenderly*** are also very useful and popular among crypto users. *Top EVM-compatible blockchains* are supported.&#x20;

Try this [transaction](https://etherscan.io/tx/0x0fe2542079644e107cbf13690eb9c2c65963ccb79089ff96bfaf8dced2331c92).

<figure><img src="https://2319654293-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwxbNGlBc5Kji1KaYLlhe%2Fuploads%2FtuduJs4feNfwEBwCWXNh%2Fimage.png?alt=media&#x26;token=10fb4985-6f48-4005-ab57-b90775dac85c" alt=""><figcaption><p>Transaction Explorers</p></figcaption></figure>

## Flashbot Explorers

If you are an MEV searcher, you may be interested in the bundles in the blocks, and you can utilize *Flashbots Explorer* near the block height.&#x20;

* Try this [block](https://etherscan.io/block/16269398).

<figure><img src="https://2319654293-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwxbNGlBc5Kji1KaYLlhe%2Fuploads%2FczqKuOZhEtKrWBHeVmK3%2FCleanShot%202023-12-06%20at%2014.53.14%402x.png?alt=media&#x26;token=b9856263-b3dd-4080-9ac3-dcc2bbdb404c" alt=""><figcaption></figcaption></figure>

## Forta

Forta comprises a decentralized network of independent bots that scan all transactions and block-by-block state changes for threats and anomalies. **MetaSuites** is strengthened by the detection support of Forta, displaying additional labels and flagging suspicious transactions.&#x20;

* Try these links: [1](https://bscscan.com/address/0xA254F8fe7d3f9f58B50d140B24b995435EA2F76d) [2](https://arbiscan.io/tx/0xc5d79b2375028f0cefc9224d010e520016d947da8e6360d77dfde286569e0293)

<figure><img src="https://2319654293-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwxbNGlBc5Kji1KaYLlhe%2Fuploads%2FJJghSTlqZe1DK832cGQL%2Fimage.png?alt=media&#x26;token=b6318b55-228f-43c0-ba4f-15cd232d0957" alt=""><figcaption><p><strong>MetaSuites</strong> displays additional labels based on Forta bots</p></figcaption></figure>

<figure><img src="https://2319654293-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwxbNGlBc5Kji1KaYLlhe%2Fuploads%2FImV5JYtTJhGgHvSdON2c%2Fimage.png?alt=media&#x26;token=81decdf0-9d83-4056-8db6-35d838c003f1" alt=""><figcaption><p><strong>MetaSuites</strong> flags suspicious transactions based on Forta bots</p></figcaption></figure>
