# Contract Auditing

### How Does it Work?

Here is a general process.&#x20;

1. You gather all your Cadence files into a GitHub repository with a `README.md` explaining what the intended solution should do.
2. One of our auditors will go through all the code (contracts and associated transactions) and come back with a cost estimate.
3. If both parties agree, once the code has been frozen, the auditor will begin testing & reviewing all code.&#x20;
4. The auditor will create a report outlining various vulnerabilities, suggestions, efficiency improvements, and more. To see an example report, go [here](#example-audit).

Most audits are done by [Jacob Tucker](https://twitter.com/jacobmtucker), which is also me :)&#x20;

The estimated time is usually \~1 week, but for smaller amounts of code, it could be as little as 2-3 days.

### How to Request an Audit

Simply head to our [Discord ](https://discord.com/invite/emerald-city-906264258189332541)and message in the Shield channel. We will take it from there.

### Example Audit

{% embed url="<https://github.com/emerald-dao/shield/blob/master/project-audits/mfl/Emerald_Shield_Smart_Contract_Audit_Report_-_MFL.pdf>" %}

To see all of our audits, go [here](https://github.com/emerald-dao/shield/tree/master/project-audits).

### Example Certificate

<figure><img src="/files/cTDD8hPbfgydmpEWZw25" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ecdao.org/auditing/shield/contract-auditing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
