> For the complete documentation index, see [llms.txt](https://docs.canto.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.canto.io/technical-reference/liquidity-coordinator/gaugecontroller.md).

# GaugeController

Lockers vote on gauges using the [`GaugeController`](https://oklink.com/canto/address/0x46970b45d114420A71A3d76AA6c398173118C2b8) contract. Gauges represent LP tokens on the Canto DEX and/or cNOTE deposits on third-party lending markets.&#x20;

Voting takes place during one week epochs.

### Voting <a href="#voting" id="voting"></a>

To vote for a gauge, call the `vote_for_gauge_weights(address _gauge_addr, uint256 _user_weight)` method. The `_gauge_addr` parameter is the address of a whitelisted gauge and `_user_weight` is the voting weight in bps (basis points).

**ethers.js**

```
await GaugeController.vote_for_gauge_weights(0x..., 10000) // 10,000 bps = 100%
```

**foundry**

```
cast send --ledger 0x... "vote_for_gauge_weights(address,uint256)" 0x... 10000
```

### Removing/Changing Votes <a href="#removingchanging-votes" id="removingchanging-votes"></a>

To remove or change votes cast in the current epoch, call the `vote_for_gauge_weights(address _gauge_addr, uint256 _user_weight)` method specifying a new weight (e.g. 0 bps).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.canto.io/technical-reference/liquidity-coordinator/gaugecontroller.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
