# Verify Gauge Contract

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>

![](/files/JiNVgXV4MFdfndt6IyfT)

2\) Click on 'Verify and Publish' .\
\- Compiler Type: Solidity Single file\
\- Compiler Version: v0.8.11\
\- License: MIT License\
![](/files/WhgEOqaGtPmdHd3PhyHb)

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'.\
![](/files/QK60FOBfSz8fnI5x0g3d)

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 - \
![](/files/0NDxlEKhQ89ZkEzNhOW6)<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.\
![](/files/Qjntg0icbNMCZjhQcDnA)

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.silverswap.io/spiritswap-v3/soullys-how-to/how-to-verify-contracts/verify-gauge-contract.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
