> For the complete documentation index, see [llms.txt](https://docs-new.klayswap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-new.klayswap.com/developers/contract.md).

# Contract

### new KLAYswap 프로토콜 문서에 오신 것을 환영합니다.

이 페이지는 new KLAYswap 프로토콜의 컨트랙트 기술 문서를 포함하고 있습니다.

컨트랙트 코드는 아래 Github에서 확인할 수 있습니다.

{% embed url="<https://github.com/KlaySwap/klayswap-v2-smart-contracts>" %}

{% embed url="<https://github.com/KlaySwap/klayswap-v3-smart-contracts>" %}


---

# 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-new.klayswap.com/developers/contract.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.
