> For the complete documentation index, see [llms.txt](https://instantmiso.gitbook.io/miso/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://instantmiso.gitbook.io/miso/farms/untitled.md).

# MasterChef Farming

Farming has become a key aspect in maintaining the long term health of a lot of projects recently. Understanding the need for secure, sustainable farm options to be created alongside a token's launch, MISO aims to offer the ability to deploy, fund and partake in Farming opportunities linked directly to token launches. \
\
\&#xNAN;*MasterChef is the master of Rewards. He can make Rewards and he is a fair guy.* \
The MasterChef contract is mostly the same as the original with the following edits:

## MISOxMasterChef

Projects will be able to set up and deploy Farms during the overall launch creation. Reward tokens can be sent to the Farm and emissions schedules set. Farms can be deployed upon successful Market auction.

On the investor side, staking and claiming options will be available to easily manage any linked Farming opportunities that arise from launches they take part in. &#x20;

## MISO Update&#x20;

### Removed LP migrator &#x20;

The original MasterChef was to migrate LP tokens from Uniswap to SushiSwap. Since that is specific to SushiSwap and unlikely to be needed for new projects, we have remove the LP migrator for security and peace of mind.

### Removed minter - Contract holds token

The previous contract had mint permissions on the SushiToken. While that might be ok for the specific case, and trust that the minting permissions were set up correctly, and a timelock on any changes, we instead send all tokens to the MasterChef contract and rewards are issued from what it holds. &#x20;

### Dev tips parameterised

Since no tokens are minted, the dev fee, which was hard coded in, has been removed and replaced with a counter. This way the dev fee is parameterized allowing it to be set to any percentage, and only able to withdraw by set developer accounts.&#x20;

### Replaced owner with access controls

Having an owner is powerful, but also not without downside. One, its risky to have one account, second, its a lot of power for both adding new tokens and setting allocPoint for tweaking bonuses. We have added access controls, to allow projects backup admins and the use of operator roles with less permissions.&#x20;

### MasterChefV2 - WIP

MasterChefV2 opens up the ability to offer admins custom rewards logic, as used within the Sushi ecosystem. There are a number of cool features that become possible with V2.


---

# 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, and the optional `goal` query parameter:

```
GET https://instantmiso.gitbook.io/miso/farms/untitled.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
