# MasterChef Test

For the seek of simplicity we are going to deploy and add liquidity to the following ERC20 pair:

* wETH - XdYe Token
* Once MasterChef contract has been deployed we will need to transfer XdYe Token ownership to MasterChef contract so it has the capability of *minitng* XdYe.

After that we will add that pair address to the MasterChef contract with the following *allocPoint*:

* **Allocation Point --> 2** for *(wETH - XdYe Token)* Pair
* The main objective of this testing is to:
* Check if MasterChef has the capability to *mint* XdYe for the pair mentioned above

The script used for testing all those capabilities: *(1)*&#x20;

{% embed url="<https://github.com/rogerCapone/XdYe_Tests/blob/main/MasterChef_AddDepositAndWithdrawLPsAndRewards.js>" %}
Script for testing Adding, depositing and withdrawing LPs from MasterChef contract
{% endembed %}
