> For the complete documentation index, see [llms.txt](https://paradox-2.gitbook.io/v33x/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://paradox-2.gitbook.io/v33x/developers/plugins/zkevm-quickswap-farms.md).

# zkEVM: QuickSwap Farms

scripts\zkevm\deployQuickSwapPlugin.js

This script will deploy a factory that can deploy plugins for QuickSwap Farms on Polygon zkEVM.

#### Plugin Factory: contracts\plugins\zkevm\QuickSwapFarmPluginFactory.sol

{% hint style="info" %}
**IMPORTANT NOTICE**

These plugins are not audited. It is recommended to get them audited if you plan to use them in production.
{% endhint %}

### Plugin Description

This plugin is made for Gamma-managed QuickSwap Concentrated Liquidity tokens that have QuickSwap farms. Use the Factory to create the plugins with the following parameters.

#### **\_lpToken**

Address of the Gamma-managed QuickSwap LP token.\
Example. Address the QUICK/WETH Wide LP:&#x20;

```javascript
const LP_ADDRESS = '0x686CFe074dD4ac97caC25f37552178b422041a1a';   // LP Address
```

#### \_pid

The pool identification number in the QuickSwap Masterchef for the \_lpToken.\
Example. PID for QUICK/WETH Wide LP farm.

```javascript
const LP_PID = '14';    // PoolID for LP from MasterChef
```

#### \_symbol

The desired symbol for this plugin.\
Example. The symbol for the  QUICK/WETH Wide Farm could be:

```javascript
const LP_SYMBOL = 'LP-QUICK/WETH-WIDE Farm'
```

### Plugin Logic

#### depositFor

* User deposits LP in plugin
* Plugin deposits LP in QuickSwap MasterChef

#### withdrawTo

* Plugin withdraws LP from QuickSwap MaterChef
* Plugin withdraws LP to user

#### claimAndDistribute

* LP deposited in QuickSwap MasterChef earn QUICK
* QUICK reward claimed from QuickSwap MasterChef
* QUICK sent to bribe contract for voters

***

### Refer to the Test Plugins deployment instructions for deploying this plugin factory

{% content-ref url="/pages/YTOt86XPZqYQ4BE9HABr" %}
[Test Plugins](/v33x/developers/plugins/test-plugins.md)
{% endcontent-ref %}
