SpiritSwap V2
  • 👻SpiritSwap V2 introduction
  • ✅Getting Started
  • 🗺️Roadmap
    • 🚉Canto Chain
  • 📖General Resources
  • 📢Marketing Material
  • CORE FEATURES
    • 🏧Exchange
      • 🦄vAMM
    • 🏬Liquidity
      • 🦄vAMM
      • ⚖️Balanced AMM (V2.1)
    • 💰Protocol Fees
      • 🦄vAMM fees - 0.18%
      • 🔀Stable Swap fees - 0.04% (customizable fees)
      • ⚖️(V2.1)Weighted pool fees - Dynamic
    • 👩‍🌾Yield Farms
      • 📟Gauges
      • ♻️Permissionless Ecosystem Farms (V2.5 Update)
    • 🗝️inSPIRIT
    • 🌉Bridge
    • 🧪Subcore Feature
      • 🔑Wrapped inSPIRIT
      • 🔖Ola Lending
  • TOKENOMICS
    • 🌎Overview
      • 💪REAL YIELD
    • 🪙$SPIRIT
      • ⏳Emissions
      • ❌Risks
    • 🗝️inSPIRIT
      • 🔄inSPIRIT weekly distribution
      • 🗳️Governance over SnapShots
      • 🔥Farm Boost
      • 🤑Bribes
  • BLOCKCHAIN DATA
    • ☄️Contracts
  • SOULLY'S HOW TO
    • 👨‍💻Pull SpiritSwap data feeds using Covalent API
    • 🦮Guide Overview
    • 🦊How to - Connecting to Metamask
    • 🌉How to - Bridge
    • 🔁How to -Exchange
      • 📔How to - Swapping Tokens & Limit Orders
    • 💦How to - Liquidity
    • 🧑‍🌾How to - Yield Farming
    • 🗝️How to - inSPIRIT
    • 📊How to - Dashboard / Portfolio
    • 💵How to - Lending and Borrowing
    • ✍️How to - Gauge Voting and Bribes
    • 🌾How to - Create a farm
    • ✅How to - Verify Contracts
      • 📃Verify Gauge Contract
    • 🖥️How to - Apply for Whitelist
  • CANTO
    • 🌉Bridging to Canto EVM
  • ARCHIVED
    • 🐵Ape mode
    • ☄️Contracts
Powered by GitBook
On this page
  1. SOULLY'S HOW TO
  2. How to - Verify Contracts

Verify Gauge Contract

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

PreviousHow to - Verify ContractsNextHow to - Apply for Whitelist

Last updated 2 years ago

1) Go to the Gauge you deployed on Ftm scan. I am taking an example of CRE8R-FTM Gauge here:

2) Click on 'Verify and Publish' . - Compiler Type: Solidity Single file - Compiler Version: v0.8.11 - License: MIT License

3) For the code, you can go to an existing verified Gauge, like . Go to code tab and copy the 'Contract Source Code'.

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

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: 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 -

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://ftmscan.com/address/0xf6481024a9e8b02dcb0dab05f7167aed86e4ce20#code
this
https://www.moesif.com/solidity-abi-hex-decoder/encode