> For the complete documentation index, see [llms.txt](https://docs.silverswap.io/spiritswap-v2/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-v2/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://3699463413-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoaFZ0hNv5IpR4uiYMgBF%2Fuploads%2FQ2N4t3GVfJ1tSed5qW7h%2Fimage.png?alt=media\&token=46b128b0-0cc9-4b6f-a569-12ca4fb31e3a)

2\) Click on 'Verify and Publish' .\
\- Compiler Type: Solidity Single file\
\- Compiler Version: v0.8.11\
\- License: MIT License\
![](https://3699463413-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoaFZ0hNv5IpR4uiYMgBF%2Fuploads%2F2MthMqQb3rFC2lSrghaX%2Fimage.png?alt=media\&token=fa558f17-13cc-4dc9-b600-e6025f0a0e6f)

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://3699463413-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoaFZ0hNv5IpR4uiYMgBF%2Fuploads%2FgW2ggCWNrvdpMZeHNCCV%2Fimage.png?alt=media\&token=82e8cf8a-5c29-4d8a-9336-a5f14d6f3f9f)

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://3699463413-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoaFZ0hNv5IpR4uiYMgBF%2Fuploads%2Ft02Co7PUBySBKoP4uTTi%2Fimage.png?alt=media\&token=1e911125-1257-4f51-9464-ac37284ed131)<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://3699463413-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoaFZ0hNv5IpR4uiYMgBF%2Fuploads%2FIhx3Zusiwi41ZOADXCeA%2Fimage.png?alt=media\&token=af9397ad-3f2d-4fd9-94df-c96243b43b92)

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