Opt-Out Registries
An opt-out lets a vlCVX voter vote for a gauge without earning its incentives. Their vote then doesn't dilute the other voters either. It's meant for protocols that vote for their own incentivized pools and don't want to pay themselves.
There's one registry for Curve gauges and one for f(x) gauges. Yield Basis has none: every veYB vote earns.
Opting out
On the Settings page, click Manage in the Reward opt-out row, and pick the Curve or f(x) gauges to opt out of.
- Timing: a change takes effect from the next vlCVX epoch, so make it before a vote opens. A change made during a vote applies to the next one.
- Minimum: opting out needs at least 100 vlCVX at the epoch it takes effect (the registry's owner can change this). Opting back in has no minimum.
- Gauges: you can only opt out of gauges on that market's Convex gauge registry. You can always opt back in, even after a gauge is removed.
- No expiry: an opt-out stands until you opt back in.
If your votes come from a contract that can't call the registry, ask the Votium team to opt it out or back in for you.
For reward calculators
| Registry | Address |
|---|---|
| Curve | 0x5A5c248B39702E1A35bB854858B4Ae729D9c4405 |
| f(x) | 0x42dC5034C0699e98e2e5c0106B913c42810a618e |
A gauge's earning votes are its total vote weight from Convex minus withheldWeightAtEpoch(gauge, epoch) (18 decimals). The registry works this out itself: for each opted-out address it counts the address's own vote and the share its delegate cast for it. Use the same reduced total for $/vlCVX and for reward caps.
- Epochs are vlCVX epochs. The registries went live in epoch 240, and 242 is the first that can withhold anything.
withheldWeight*reads accept only epochs with a proposal. Other epochs revertOddEpochorNoProposalForEpoch.- Reads before epoch 240 or after
currentEpoch() + 1revert rather than return empty. - An epoch's opt-out list is fixed once the epoch starts, so it can be cached. Withheld weight also depends on the votes, so cache it only after the vote closes.
DANGER
A failed read means the gauge is too large, not that nobody opted out.
The whole-list reads can run out of gas on a big gauge. Treating that as an empty list pays exactly the voters who asked not to be paid. Use the paged reads instead: optOutAtEpochFrom (loop until done is true, not until a page comes back empty) with withheldWeightForUsers, and check the total against optOutCountAtEpoch.
The full API, errors and gas costs are in the registry's README.
