# Staking LP Tokens

In order to participate in Sumero's liquidity mining programs, users must stake their USDC-CLAY liquidity provider (LP) tokens.

The first action a user must take in order to begin participating is to *deposit* their USDC-CLAY LP tokens into the canonical USDC-CLAY staking contract, effectively temporarily giving custody over their stake in the liquidity pool to this contract. This is necessary because the staking contract needs to be able to guarantee that liquidity cannot be removed from LPs participating in the program.

Once deposited, staked LP tokens immediately start earning Clay rewards. Users may periodically claim accrued Clay rewards while the program is ongoing or claim once the program has concluded to minimize overhead. The reason your LP tokens earn Clay rewards while staked is that you are increasing the USDC and Clay liquidity of the Sumero protocol which enables the protocol to efficiently facilitate trades between USDC and Clay.

### How To Stake LP Tokens

* Ensure there is sufficient Clay and USDC in your wallet.

<figure><img src="https://2543615556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUsP4_4YsnVEyBaKfGx%2Fuploads%2F2WJCiVViqjCbRv2SXRrZ%2FScreenshot%202023-01-13%20at%2016.11.55.png?alt=media&#x26;token=a0ebc5c4-49ca-434f-b188-f1c2ab4dff22" alt=""><figcaption></figcaption></figure>

* Connect your wallet by clicking “Connect Wallet” in the top right corner. We recommend using the Metamask wallet.

<figure><img src="https://2543615556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUsP4_4YsnVEyBaKfGx%2Fuploads%2FVggmzfgtL0bDeDvJ36oU%2FScreenshot%202023-01-13%20at%2016.12.53.png?alt=media&#x26;token=21447eae-a520-4eeb-853b-895059c21440" alt=""><figcaption></figcaption></figure>

* Go to the Sumero Pool page.&#x20;

<figure><img src="https://2543615556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUsP4_4YsnVEyBaKfGx%2Fuploads%2FqbCE7jYXc7PCxJ4AMbQp%2FScreenshot%202023-01-13%20at%2016.32.48.png?alt=media&#x26;token=a69fa6d7-71f7-4f73-bb16-e7f0125bbe36" alt=""><figcaption></figcaption></figure>

* In the 'Provide' tab, select CLAY from the toggle list of token options.

<figure><img src="https://2543615556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUsP4_4YsnVEyBaKfGx%2Fuploads%2F1IMfPhTGXz7zrbpbSYv9%2FScreenshot%202023-01-13%20at%2016.14.16.png?alt=media&#x26;token=67cd7690-da34-40c9-8dd8-d2658bf8ce77" alt=""><figcaption></figcaption></figure>

* In the asset field, input the amount of CLAY you would like to deposit into the pool. USDC and the CLAY must be deposited in a [50/50 ratio](https://support.uniswap.org/hc/en-us/articles/7423702800141) in order to maintain equilibrium within the pool. In order to simplify this calculation, the corresponding amount of USDC required to open the position will be automatically populated.&#x20;

<figure><img src="https://2543615556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUsP4_4YsnVEyBaKfGx%2Fuploads%2FYWS3U5BiD52Qwlxgvtr0%2FScreenshot%202023-01-13%20at%2016.17.45.png?alt=media&#x26;token=1394be3d-b983-4b35-bf60-08e5c76a93f5" alt=""><figcaption></figcaption></figure>

* When you are finished reviewing the respective pool trading fees, you are ready to submit the transaction. First, you may need to approve the Sumero router contract to allow the protocol to spend both of the selected tokens on your behalf. This is only necessary the first time you provide liquidity for each token. Click “Approve” so that you can deposit your USDC and CLAY tokens. Confirm the transaction in your wallet.&#x20;

<figure><img src="https://2543615556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUsP4_4YsnVEyBaKfGx%2Fuploads%2FIphSEH0kGnueHJW61WL9%2FScreenshot%202023-01-12%20at%2016.48.48.png?alt=media&#x26;token=ab789013-6f37-4024-b18d-311e366d19c8" alt=""><figcaption></figcaption></figure>

* Once this spend approval transaction has been confirmed, click 'Provide Liquidity' to trigger the transaction and sign the corresponding transaction in your wallet.

<figure><img src="https://2543615556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUsP4_4YsnVEyBaKfGx%2Fuploads%2Fgty0jLhgYxfCPp2CmFco%2FScreenshot%202023-01-13%20at%2016.18.52.png?alt=media&#x26;token=2c9e6306-5257-4f99-ac17-3ef767086ea9" alt=""><figcaption></figcaption></figure>

* Once this transaction is confirmed, you will become a liquidity provider for the USDC-CLAY pool on Sumero.&#x20;

<figure><img src="https://2543615556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUsP4_4YsnVEyBaKfGx%2Fuploads%2Fs4wMqcsMZqP534v4JKmb%2FScreenshot%202023-01-13%20at%2016.20.16.png?alt=media&#x26;token=63143376-45de-479c-b485-666e6264e56c" alt=""><figcaption></figcaption></figure>

* When the USDC-CLAY LP tokens appear in your wallet, navigate to the Stake page.

<figure><img src="https://2543615556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUsP4_4YsnVEyBaKfGx%2Fuploads%2FSER546wH2qi50XkUyPbv%2FScreenshot%202023-01-13%20at%2016.21.33.png?alt=media&#x26;token=ce613df8-8ecc-4509-b15a-f17f0e50af10" alt=""><figcaption></figcaption></figure>

* If you can't see your LP tokens in your wallet, click on the Withdraw tab on the pool page. Then select USDC-CLAY from the toggle list of LP token pairs. Once you have selected USDC-CLAY, click the 'i' button beside the toggle list. Select 'add to metamask' and click 'add token' in your wallet.

<figure><img src="https://2543615556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUsP4_4YsnVEyBaKfGx%2Fuploads%2FzRyhX6V6H0mTKvHxva2j%2FScreenshot%202023-01-13%20at%2016.22.43.png?alt=media&#x26;token=5a6e4552-1fdb-40b1-9bd2-8d044c284a18" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2543615556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUsP4_4YsnVEyBaKfGx%2Fuploads%2FDgcsKT6irRbVov6FlJkw%2FScreenshot%202023-01-13%20at%2016.23.35.png?alt=media&#x26;token=5339d9bc-75dd-4c47-af27-434d185d8827" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2543615556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUsP4_4YsnVEyBaKfGx%2Fuploads%2FXSK18ixbfxlspx0RgOlf%2FScreenshot%202023-01-13%20at%2016.24.29.png?alt=media&#x26;token=18ead4b3-f95a-449d-9090-dfbb4577231b" alt=""><figcaption></figcaption></figure>

* On the Stake page, select the 'Options' button located under the USDC-CLAY pool.

<figure><img src="https://2543615556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUsP4_4YsnVEyBaKfGx%2Fuploads%2FNIWhvoJUGKhhvcCa8SzO%2FScreenshot%202023-01-13%20at%2016.25.12.png?alt=media&#x26;token=361b3751-5c92-4ef0-8be6-8db891259071" alt=""><figcaption></figcaption></figure>

* Select 'Stake USDC-CLAY'.

<figure><img src="https://2543615556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUsP4_4YsnVEyBaKfGx%2Fuploads%2FvcNIWQpHLQ86VcDqpwoS%2FScreenshot%202023-01-13%20at%2016.25.46.png?alt=media&#x26;token=3eb7f8d5-a011-46f5-99e1-75ba50468cfd" alt=""><figcaption></figcaption></figure>

* In the input field, enter the amount of LP tokens you want to stake.

<figure><img src="https://2543615556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUsP4_4YsnVEyBaKfGx%2Fuploads%2Fgzyod5pAw2epZCPFfaYQ%2FScreenshot%202023-01-13%20at%2016.26.32.png?alt=media&#x26;token=d4c35dff-010b-4bd2-8785-b50d97cc3021" alt=""><figcaption></figcaption></figure>

* You will need to approve the Sumero router contract to allow the protocol to spend your LP tokens on your behalf. This is only necessary the first time you stake your LP tokens.&#x20;

<figure><img src="https://2543615556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUsP4_4YsnVEyBaKfGx%2Fuploads%2Fpf74zn5QrvFW8keGkBsf%2FScreenshot%202023-01-16%20at%2016.04.31.png?alt=media&#x26;token=b02e13f0-1860-4957-bceb-e6fe7936afe0" alt=""><figcaption></figcaption></figure>

* Click “Approve” and sign the transaction in your wallet.

<figure><img src="https://2543615556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUsP4_4YsnVEyBaKfGx%2Fuploads%2FIphSEH0kGnueHJW61WL9%2FScreenshot%202023-01-12%20at%2016.48.48.png?alt=media&#x26;token=ab789013-6f37-4024-b18d-311e366d19c8" alt=""><figcaption></figcaption></figure>

* Finally, click "Stake" and sign the transaction in your wallet.

<figure><img src="https://2543615556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUsP4_4YsnVEyBaKfGx%2Fuploads%2FHN6xNrbAOaTJGVSTSTBO%2FScreenshot%202023-01-13%20at%2016.27.16.png?alt=media&#x26;token=0b810132-55b0-419b-9376-e390e23eb461" alt=""><figcaption></figcaption></figure>

* Once this transaction is confirmed, **your USDC-CLAY LP tokens will begin earning Clay staking rewards**. You will be able to see your contribution on the [Stake page](https://staging.sumero.finance/#/stake).

<figure><img src="https://2543615556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUsP4_4YsnVEyBaKfGx%2Fuploads%2FFtYQXZQnQEOxtpFe4TP8%2FScreenshot%202023-01-16%20at%2016.07.42.png?alt=media&#x26;token=1ef908e2-0b21-4c3d-9088-5f67ddc58c87" alt=""><figcaption></figcaption></figure>

### Summary

* Users provide liquidity to Sumero's USDC-CLAY pool.&#x20;
* Users receive USDC-CLAY LP tokens in return. These LP tokens represent their portion of the pooled assets.
* Users can then stake these USDC-CLAY LP tokens to earn Clay staking rewards.
