> For the complete documentation index, see [llms.txt](https://docs.silverswap.io/spiritswap-v3/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.silverswap.io/spiritswap-v3/soullys-how-to/how-to-verify-contracts/verify-gauge-contract.md).

# Verify Gauge Contract

How to verify a gauge contract which was created permission-less thru the UI?

1\) Go to the Gauge you deployed on Ftm scan. I am taking an example of CRE8R-FTM Gauge here:\
<https://ftmscan.com/address/0xf6481024a9e8b02dcb0dab05f7167aed86e4ce20#code>

![](https://content.gitbook.com/content/bMDQuwa2I2vNOWH6qV6Z/blobs/gul7Cj8289JRkhhChsa0/image.png)

2\) Click on 'Verify and Publish' .\
\- Compiler Type: Solidity Single file\
\- Compiler Version: v0.8.11\
\- License: MIT License\
![](https://content.gitbook.com/content/bMDQuwa2I2vNOWH6qV6Z/blobs/qjbvAP7di8TJNASQF32Y/image.png)

3\) For the code, you can go to an existing verified Gauge, like [this](https://ftmscan.com/address/0x32472a7c49e66ee53d98c54e55886c44885c4cb9#code). Go to code tab and copy the 'Contract Source Code'.\
![](https://content.gitbook.com/content/bMDQuwa2I2vNOWH6qV6Z/blobs/vEGUFUUY43jT6dWRWyjS/image.png)

4\) For Constructor arguments, you will need 4 addresses:\
a) SPIRIT addr: 0x5cc61a78f164885776aa610fb0fe1257df78e59b\
b) inSPIRIT addr: 0x2fbff41a9efaeae77538bd63f1ea489494acdc08\
c) LP Token addr: \<This will be for the LP you created the gauge for>\
d) Gauge Proxy addr: \<either variable or stable gauge proxy based on type of the LP>\
Variable addr: 0xfe1C8A68351B52E391e10106BD3bf2d0759AFf4e\
Stable addr: 0xad29B1060Dded121F4596b09F13Fa44c9d62BB49\
\
You will need to encode the parameters, you can do it over here:\
<https://www.moesif.com/solidity-abi-hex-decoder/encode>\
Put the first input as 4 addr in the following order: SPIRIT,inSPIRIT,LP\_ADDR,GaugeProxy\
Second box will be 'address' 4 times selected. \
\
Should look like this - \
![](https://content.gitbook.com/content/bMDQuwa2I2vNOWH6qV6Z/blobs/A9Lq1olvoypLhvkaopb9/image.png)<br>

5\) Once encoded, copy the value without the 0x in-front of it. and put it on ftmscan verification step. Select 'Optimization' as Yes on top right. Put the encoded value in the box.\
![](https://content.gitbook.com/content/bMDQuwa2I2vNOWH6qV6Z/blobs/hQdQu3KMdH6MUvE7wkFK/image.png)

6\) Hit 'Verify and Publish'. Once processed you should see the successful verification message!<br>
