# Contract

Most things that happen on-chain are powered by smart contracts. It would, ideally, make sure that every action is going according to plan. For example, staking or swapping are actions that would require “using”(writing) smart contracts. OpenSwap happens to be an OpenSourced platform. This means that our end-goal is to have all of our deployed smart contracts are available on Github and BSC scan. Right now, our core contracts can be viewed on github with this link: [**https://github.com/openswapdex/openswap-core/tree/master/contracts**](https://github.com/openswapdex/openswap-core/tree/master/contracts)


---

# 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://doc.openswap.xyz/contracts/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.
