> For the complete documentation index, see [llms.txt](https://docs.yelay.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yelay.io/technical-details/audits.md).

# Audits

## V3 audits

Latest Yelay's version, Yelay V3, has been audited by the leading smart contract security research firms Chainsecurity and Hexens.

Please see both audit reports here: <https://github.com/YieldLayer/yelay-lite/tree/main/audits>

## V2 audits

Earlier version of the protocol, V2, has been audited by the top crypto security firms Trail of Bits and ChainSecurity. See audit reports below:

{% embed url="<https://github.com/trailofbits/publications/blob/master/reviews/2023-03-spool-platformv2-securityreview.pdf>" %}

{% embed url="<https://www.chainsecurity.com/security-audit/spool-v2-smart-contracts>" %}

## $YLAY token

Yelay's token and staking contracts have been thoroughly audited by industry-leading security firm [Hexens](https://hexens.io/). The full audit report is available below:

{% file src="/files/tlZeEZ7C1cBCdTQuCvVA" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.yelay.io/technical-details/audits.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.
