# Smart Contracts + Accounts

## Smart Contracts

<table><thead><tr><th width="159.33333333333331">Name</th><th width="321">Address</th><th>Description</th></tr></thead><tbody><tr><td>Parcl v2 Core</td><td><a href="https://solscan.io/account/pAMMTYk2C9tAxenepGk8a1bi9JQtUdnzu3UAh7NxYcW"><code>pAMMTYk2C9tAxenepGk8a1bi9JQtUdnzu3UAh7NxYcW</code></a></td><td>The core smart contract for the AMM.</td></tr><tr><td>Close Position And Remove Liquidity Periphery </td><td><a href="https://solscan.io/account/29FMfoCscLuXHuzjKxkGrokXFc9cTdbqAHDdSEYHnJat"><code>29FMfoCscLuXHuzjKxkGrokXFc9cTdbqAHDdSEYHnJat</code></a></td><td>A periphery smart contract that exposes 2 instructions for closing positions and immediately burning the liquidity proceeds from the close instruction for USDC at the new exchange rate.</td></tr><tr><td>Pyth Fork</td><td><a href="https://solscan.io/account/PaRCLKPpkfHQfXTruT8yhEUx5oRNH8z8erBnzEerc8a"><code>PaRCLKPpkfHQfXTruT8yhEUx5oRNH8z8erBnzEerc8a</code></a></td><td>Parcl's fork of the official Pyth smart contract (<a href="https://github.com/pyth-network/pyth-client/releases/tag/mainnet-v2.20.1">Release</a>).</td></tr></tbody></table>

## Pools

<table><thead><tr><th width="190">Location</th><th>Address</th></tr></thead><tbody><tr><td>Chicago, IL</td><td><a href="https://solscan.io/account/5f2eQJwLhCvpKVc9BRfu6sQfqVhvYnsgEjxbTUuoWGar"><code>5f2eQJwLhCvpKVc9BRfu6sQfqVhvYnsgEjxbTUuoWGar</code></a></td></tr><tr><td>Denver, CO</td><td><a href="https://solscan.io/account/HFkRy7pjHjvkH7CpX42qcXwx2kJtAxjQWziJ4TTc3GiC"><code>HFkRy7pjHjvkH7CpX42qcXwx2kJtAxjQWziJ4TTc3GiC</code></a></td></tr><tr><td>Phoenix, AZ</td><td><a href="https://solscan.io/account/CAYRqwXJnfY6rvdEr5764Mzpx3PwNvh8kjidKYPkFwmq"><code>CAYRqwXJnfY6rvdEr5764Mzpx3PwNvh8kjidKYPkFwmq</code> </a></td></tr><tr><td>Philadelphia, PA</td><td><a href="https://solscan.io/account/4KPrE7c5wnDgDdRTFiP1kk7Y2hYD9M53gsAvRv9SFAdT"><code>4KPrE7c5wnDgDdRTFiP1kk7Y2hYD9M53gsAvRv9SFAdT</code></a></td></tr><tr><td>Las Vegas, NV</td><td><a href="https://solscan.io/account/3mE1oiFdLs8zntSk8bPLLY6Cq1vf5tbHpnyywunFysGZ"><code>3mE1oiFdLs8zntSk8bPLLY6Cq1vf5tbHpnyywunFysGZ</code></a></td></tr><tr><td>Boston, MA</td><td><a href="https://solscan.io/account/DX5q4ntVPFZTCezDZ399aa319Ex135scvKoPLLYHpyvH"><code>DX5q4ntVPFZTCezDZ399aa319Ex135scvKoPLLYHpyvH</code></a></td></tr><tr><td>Miami Beach, FL</td><td><a href="https://solscan.io/account/5hHfPfyvgqLUy7YKNifmkRLGR3TsEtkPePcD4fK3Cf3U"><code>5hHfPfyvgqLUy7YKNifmkRLGR3TsEtkPePcD4fK3Cf3U</code></a></td></tr><tr><td>Brooklyn, NY</td><td><a href="https://solscan.io/account/6vPhHq5dmxQ1TReVbP6KZLuZSWBTCZYD5xewgodiQtpr"><code>6vPhHq5dmxQ1TReVbP6KZLuZSWBTCZYD5xewgodiQtpr</code></a></td></tr><tr><td>New York, NY</td><td><a href="https://solscan.io/account/AWoQgYmaNDUERUePyo6f5LkxA9ozmjKg8MmKtfJn33Hb"><code>AWoQgYmaNDUERUePyo6f5LkxA9ozmjKg8MmKtfJn33Hb</code></a></td></tr><tr><td>Portland, OR</td><td><a href="https://solscan.io/account/9wddE1JLdpPkfZQ2rTCziCX5RTSuuK8UYXTqfv6XwpuS"><code>9wddE1JLdpPkfZQ2rTCziCX5RTSuuK8UYXTqfv6XwpuS</code></a></td></tr><tr><td>Atlanta, GA</td><td><a href="https://solscan.io/account/AvtaKmiMxsSBFa24sR42hovykPyXyFDWqGzM8eHfqD9i"><code>AvtaKmiMxsSBFa24sR42hovykPyXyFDWqGzM8eHfqD9i</code></a></td></tr><tr><td>Seattle, WA</td><td><a href="https://solscan.io/account/HRhMJ1Gf9UKFNPhfM9N3itS7NNwo42jVA4b4EH8oBjsK"><code>HRhMJ1Gf9UKFNPhfM9N3itS7NNwo42jVA4b4EH8oBjsK</code></a></td></tr><tr><td>Washington, DC</td><td><a href="https://solscan.io/account/AmH5fNSGyzbSqMFobKaw3cLdmwcMqn1xU8ZQ8vhimwu4"><code>AmH5fNSGyzbSqMFobKaw3cLdmwcMqn1xU8ZQ8vhimwu4</code></a></td></tr><tr><td>Los Angeles, CA</td><td><a href="https://solscan.io/account/FAkAaRUwGBXWcVXgKPm7tLrtKRumDKL85o2sc6GiJB2q"><code>FAkAaRUwGBXWcVXgKPm7tLrtKRumDKL85o2sc6GiJB2q</code></a></td></tr><tr><td>San Francisco, CA</td><td><a href="https://solscan.io/account/7Si7o3jSvTkd5XKfLAG1j5jJsVyf9xGF41VAfZ5J2WMH"><code>7Si7o3jSvTkd5XKfLAG1j5jJsVyf9xGF41VAfZ5J2WMH</code></a></td></tr><tr><td>Austin, TX</td><td><a href="https://solscan.io/account/J7q1TjtQrRt6CjY7AxAoVXmtoqciwP68Eg2rndCrhgKs"><code>J7q1TjtQrRt6CjY7AxAoVXmtoqciwP68Eg2rndCrhgKs</code></a></td></tr><tr><td>USA</td><td><a href="https://solscan.io/account/HHociD1dX72uHCJduArg7GwYLjwnJAhktB519TiWtEEA"><code>HHociD1dX72uHCJduArg7GwYLjwnJAhktB519TiWtEEA</code></a></td></tr><tr><td>Paris, France</td><td><a href="https://solscan.io/account/AJdeDriASqCTdGyyHzmjjhTHhQNbYerjWgHvf69C1Cu3"><code>AJdeDriASqCTdGyyHzmjjhTHhQNbYerjWgHvf69C1Cu3</code></a></td></tr><tr><td>Ile-de-France, France</td><td><a href="https://solscan.io/account/48s3N7YyRA4cDFCCfnWdouBqH1u8oWmkn5FGN9q4yV6z"><code>48s3N7YyRA4cDFCCfnWdouBqH1u8oWmkn5FGN9q4yV6z</code></a></td></tr></tbody></table>

## Legacy Pools

<table><thead><tr><th width="208.33333333333331">Location</th><th>Address</th></tr></thead><tbody><tr><td>San Francisco, CA</td><td><a href="https://solscan.io/account/BGcueHkycD33uWqXmoo6HtCHoTRgBi3dhZFtbtu8wZsX"><code>BGcueHkycD33uWqXmoo6HtCHoTRgBi3dhZFtbtu8wZsX</code></a></td></tr><tr><td>Brooklyn, NY</td><td><a href="https://solscan.io/account/Cdg736xbENeAiixbY2AzRCvefe1aKEWoi6sSyb3qKxAk"><code>Cdg736xbENeAiixbY2AzRCvefe1aKEWoi6sSyb3qKxAk</code></a></td></tr><tr><td>Manhattan, NY</td><td><a href="https://solscan.io/account/EzUHwP4QkWtVXy31czKj2KAdCW5ZayBjX91ZN36cEkDf"><code>EzUHwP4QkWtVXy31czKj2KAdCW5ZayBjX91ZN36cEkDf</code></a></td></tr><tr><td>Los Angeles, CA</td><td><a href="https://solscan.io/account/12qXTAjwfXCfK4pPVxG9YP1UYJ1fuhucUoCRSyhtu3GS"><code>12qXTAjwfXCfK4pPVxG9YP1UYJ1fuhucUoCRSyhtu3GS</code></a></td></tr><tr><td>Phoenix, AZ</td><td><a href="https://solscan.io/account/DEFfvK3R54NW6sqKAxk1uY7qjgQ9pWvQeCx4PNfeZpAg"><code>DEFfvK3R54NW6sqKAxk1uY7qjgQ9pWvQeCx4PNfeZpAg</code></a></td></tr><tr><td>Miami, FL</td><td><a href="https://solscan.io/account/5uK3SvUy93dneakP5PavYEr3SsCem7FKoTCtaemXuFHy"><code>5uK3SvUy93dneakP5PavYEr3SsCem7FKoTCtaemXuFHy</code></a></td></tr></tbody></table>


---

# 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.parcl.co/v2-archive/smart-contracts-+-accounts.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.
