# XdYe Maker Test

In order to test XdYe Maker we are going to check that if:

* Contract can convert LPs to XDYE and distribute rewards to the corresponding wallets
* Contract sends profits *(LPs converted to XDYE)* to XdYe Bar

### Test Info

We are going to use 2 addresses, each one with 10,000 XDYE. Once they enroll in XdYe Bar they have to get the same amount of xXdYe. After they will get rewarded with the same *'profits'* as they hold the same XdYe Shares.

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

{% embed url="<https://github.com/rogerCapone/XdYe_Tests/blob/main/Maker_ConvertsEnterAndLeave.j>" %}
Script for testing XdYe Maker for converting LPs and sending XdYe to Bar contract
{% endembed %}
