# XdYe Unlock

This contract will serve XdYe platform with a first liquidity and price pump. It is a pretty simple smart contract, it acts as a Fee before being able to interact with XdYe Staking and Farming contracts.

On XdYe Platform we are going to find:

### Farms

Those contracts are directly related to XdYe MasterChef. MasterChef will reward users for providing liquidity to XdYe Platform in the following pairs:

* ETH - XDYE

{% embed url="<https://github.com/rogerCapone/XdYe_Smart_Contracts/blob/main/FarmUnlockerXdyeEth.sol>" %}
XdYe Unlock contract for ETH-XDYE Farm
{% endembed %}

* ETH - TOKEN A

{% embed url="<https://github.com/rogerCapone/XdYe_Smart_Contracts/blob/main/FarmUnlockerAEth.sol>" %}
XdYe Unlock contract for ETH-Token A Farm
{% endembed %}

* ETH - TOKEN B

{% embed url="<https://github.com/rogerCapone/XdYe_Smart_Contracts/blob/main/FarmUnlockerBEth.sol>" %}
XdYe Unlock contract for ETH-Token B Farm
{% endembed %}

As Token A and Token B have no intrinsic value, we are going to reward users that are investing and providing liquidity to those and ETH, actually WETH with XDYE. As we have seen along this Documentation XDYE Token has a value directly related to XdYe Platform usage.

### Pool

This contracts is directly related to XdYe Bar. Meaning that we are going to reward users that provide their XDYE Tokens with more XDYE Tokens, generated from Platform trading Fees.

{% embed url="<https://github.com/rogerCapone/XdYe_Smart_Contracts/blob/main/PoolUnlockerXdye.sol>" %}
XdYe Unlock contract for XdYe Staking
{% endembed %}

Getting back to XdYe Unlock contract, this contract is a first step before being able to enroll in this *'Financial System'* we have designed. User will need to pay 0.5 ETH in order to have access to those smart contracts architecture we have been showing along.&#x20;

{% hint style="info" %}
**Good To Know:** Do not be afraid, as we are on Volta TestNet there is no cost associated, but it allows developers to integrate a contract and check that we can build contracts that act on top of others without having them directly linked to contract structure just by arranging some logic on front-end design and development.
{% endhint %}

{% hint style="warning" %}
**Attention:** With this implementation we make a difference from normal-regular user, that can just interact with *front-end* and those developers that have the capability of reading, understanding and interacting directly with project smart contracts.&#x20;
{% endhint %}

### Contract main functions

* *`unlock()`*

This method will allow user to enroll on *unlockList*. So next time he does not need to pay this fee.
