For a full list of whitelisted token addresses that can be added as incentives on the gauges, see the Contracts Reference.
Creating a Pool Gauge
Navigate to PoolsVoter contract
Go to the PoolsVoter contract on the Mezo Explorer and connect your wallet.
Access contract write functions
Click the Contract tab, then select Write proxy and choose
createPoolGauge.Configure pool factory address
For the
_poolFactory parameter, use one of the following addresses:- Basic pools:
0x83FE469C636C4081b87bA5b3Ae9991c6Ed104248 - CL pools:
0xBB24AF5c6fB88F1d191FA76055e30BF881BeEb79
Pool Factory Addresses
PoolsVoter Contract
The address of the pool factory contract. Use the Basic pools address for standard AMM pools or the CL pools address for concentrated liquidity pools.
The address of the pool for which you want to create a voting gauge. Both tokens in the pool must be whitelisted.
Requirements
Whitelisted Assets: Both tokens in the pool must be whitelisted in the PoolsVoter contract. All Mezo assets (BTC, MEZO, and mainnet contract tokens) are pre-whitelisted.
Pool Existence: The pool must already exist and be deployed through one of the supported pool factories.
Programmatic Integration
You can also create pool gauges programmatically using ethers.js or similar libraries:Example Usage
Verification
After creating a pool gauge:- Check the transaction on Mezo Explorer
- Verify the gauge appears in the pools overview
- Confirm the gauge is visible in the vote UI
Troubleshooting
Transaction Fails: Ensure both tokens in the pool are whitelisted. Check that you’re using the correct pool factory address for your pool type.
Gauge Not Appearing: It may take a few minutes for the gauge to appear in the UI after creation. Try refreshing the page or clearing your cache.