# Smart Contracts

Esta página proporciona enlaces o ubicaciones para los contratos inteligentes de PancakeSwap.

## Contratos Principales <a href="#main-contracts" id="main-contracts"></a>

Los siguientes enlaces lo llevarán a la página de BscScan para los principales contratos inteligentes de PancakeSwap.

* ​[PancakeSwap: Main Staking Contract/MasterChef](https://bscscan.com/address/0x73feaa1ee314f8c655e354234017be2193c9e24e)​
* ​[PancakeSwap: Factory v2](https://bscscan.com/address/0xca143ce32fe78f1f7019d7d551a6402fc5350c73)​
* ​[PancakeSwap: Router v2](https://bscscan.com/address/0x10ed43c718714eb63d5aa57b78b54704e256024e)​
* ​[PancakeSwap: Lottery v2](https://bscscan.com/address/0x5aF6D33DE2ccEC94efb1bDF8f92Bd58085432d2c#code)​
* ​[PancakeSwap: Prediction v2](https://bscscan.com/address/0x18b2a687610328590bc8f2e5fedde3b582a49cda)​
* Otros:
  * ​[Farms Contracts](https://docs.pancakeswap.finance/code/smart-contracts#farms-contracts)
  * ​[IFO Contracts](https://docs.pancakeswap.finance/code/smart-contracts#ifo-contracts)​

## Farms Contratos <a href="#farms-contracts" id="farms-contracts"></a>

Cada Farm utilizada por PancakeSwap tiene su propio contrato inteligente. Siga los pasos que se indican a continuación para ver el contrato inteligente de un Farm

1. &#x20;Vaya a la página de [Farms de PancakeSwap](https://pancakeswap.finance/farms) y haga clic en la fila del Farm para la que desea ver el contrato.

![](https://gblobscdn.gitbook.com/assets%2F-MHREX7DHcljbY5IkjgJ%2F-McgZ8b3Jbc0UPFnXJh_%2F-McgaWMy3r2LVBMe7YXr%2Fimage.png?alt=media\&token=b0c05d89-7329-413e-bd13-fe7c3163ae47)

1. Cuando la sección de detalles se expanda, haga clic en el vínculo Ver contrato a la izquierda para abrir el contrato en BscScan.

![](https://gblobscdn.gitbook.com/assets%2F-MHREX7DHcljbY5IkjgJ%2F-McgZ8b3Jbc0UPFnXJh_%2F-Mcgb5386aAhXZikm0u_%2Fimage.png?alt=media\&token=9ab016e5-0cff-47e2-af57-1c39af62b362)

## IFO Contratos <a href="#ifo-contracts" id="ifo-contracts"></a>

Los contratos IFO son únicos para cada nuevo IFO. Siga los pasos a continuación para ver el contrato inteligente de una IFO.

### Actual o IFO más reciente <a href="#current-or-most-recent-ifo" id="current-or-most-recent-ifo"></a>

Vaya a la  [Página de IFO](https://pancakeswap.finance/ifo) and looky  busque en la parte inferior derecha de la información de IFO un enlace **Ver contrato**.![](https://gblobscdn.gitbook.com/assets%2F-MHREX7DHcljbY5IkjgJ%2F-McgZ8b3Jbc0UPFnXJh_%2F-McgkqFkMNqvcg8DHEiZ%2Fimage.png?alt=media\&token=26179324-b18e-4b52-b3e3-e4147126b072)

### IFOs Anteriores <a href="#previous-ifos" id="previous-ifos"></a>

1. Go to the [PancakeSwap IFO page](https://pancakeswap.finance/ifo) and click the **Past IFOs** toggle at the top of the page.

![](https://gblobscdn.gitbook.com/assets%2F-MHREX7DHcljbY5IkjgJ%2F-McgZ8b3Jbc0UPFnXJh_%2F-Mcgl8sgSgER5ERDO8cq%2Fimage.png?alt=media\&token=92b0403b-3186-407f-875c-50d7d64a250e)

1. Encuentra el banner del IFO que te gustaría ver y haz clic en el botón de flecha hacia abajo para expandirlo.

![](https://gblobscdn.gitbook.com/assets%2F-MHREX7DHcljbY5IkjgJ%2F-McgZ8b3Jbc0UPFnXJh_%2F-McglZZB0929no3mUL1a%2Fimage.png?alt=media\&token=298daab6-0989-43f0-994b-0180d80fe29b)

1. Busque y haga clic en el vínculo **Ver contrato** en la parte inferior derecha de la información expandida.

![](https://gblobscdn.gitbook.com/assets%2F-MHREX7DHcljbY5IkjgJ%2F-McgZ8b3Jbc0UPFnXJh_%2F-McgluuVgNseeKWmomk9%2Fimage.png?alt=media\&token=f5b717a7-4d09-4a76-92b1-3fbb7f4f7659)


---

# 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.pancakeswap.finance/espanol/desarrolladores/smartcontracts.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.
