Draft ZIP: Lock-weighted Coinholder Polling

I backed coinholder polling and I still do. It was meant to be one voice among a few, so it was never built to be hard to game. Lately it’s being treated as the voice that settles things, which I don’t think it should be. But if that’s where it’s headed, it needs to be a lot harder to game than it is now. Right now it’s one ZEC, one vote, at a snapshot, and the coins can move the second the snapshot passes. Someone who buys the week of the vote and sells the week after isn’t really a holder.

So I wrote a draft ZIP: Add draft ZIP: Lock-weighted Coinholder Polling by arya2 · Pull Request #1433 · zcash/zips · GitHub

The idea: the longer your coins are locked past the snapshot, the more your vote counts. Linear, capped at about four years. Unlocked coins still count at a tenth, so nobody loses the vote they have today. A whale who locks for years still gets a big vote, and that’s fine, they’ve put their coins where their vote is. Nothing else changes: not who can vote, not what polls decide, not quorum.

The catch is shielded coins. There’s no timelock for shielded notes, so the only lock that works today is a transparent one, and that shows the amount and unlock height on chain. So the ZIP is written over “any lock the protocol can prove,” uses the transparent one as an interim, and leaves room for a shielded lock in a later consensus ZIP. I’ve sketched what the smallest shielded version might look like, but it’d need a new circuit, so it’s not small.

Things I’d like opinions on:

  • Should how long you’ve already held the coins count too? It’s provable for shielded notes today, and it stops buy-vote-sell on its own. I left it out because it’s backward-looking, but maybe that’s wrong.

  • Is a tenth the right floor, and four years the right cap?

  • Would anyone running polls actually add a transparent path, or does this only matter once shielded locks exist?

Not proposing this for anything in flight. Just want to know if it’s feasible and whether people think it’s worth doing.

Disclaimer: Claude Fable 5.1 was used to draft the ZIP and re-word this post. The design decisions are mine.

3 Likes

This further disenfranchises coinholders that cannot afford to hold a large ZEC savings.

One of our big problems is that at two entities are publicly known to control over $1.1bil of Zcash today. They hold it long term, this ZIP increases their voting power rather than working to decentralize and diversify our governance.

2 Likes

Could lock-weighted results be published as a separate cohort/signal rather than replacing the existing coinholder weighting?

That keeps the current ZIP 1016 quorum math intact and treats the lock-weighted view as an additional input (like ZCAP vs coinholders), so we can observe whether it systematically differs before deciding if it should ever be decisive.

No, it would serve as a useless and maybe even bad/misleading signals, especially if this doesn’t get adopted very much.

Publish both the normal and lock-weighted tallies side-by-side, and always label the lock-weighted one with its coverage (e.g. “X % of voted ZEC was locked”). Treat it as an additional signal that consumers can weigh case-by-case; don’t let it automatically increase voting power unless locked participation is clearly substantial.

2 Likes

No, it’s a type of thing that is actually used by propagandists, called selective voting, fueled by selection bias.

Say I have a poll that I place alongside the normal poll, but most people never adopt it. Since everyone who adopted it was generally the kind of person I know and will agree with me, only those people voted in this poll who were willing to take the time to cater to me, and hence are much more likely to support my viewpoint in the poll.

But since the results is just a flat percentage and most people don’t like to look at numbers, bam. Misdirection.

1 Like

The mitigation is to always publish coverage next to the number (“X % of voted ZEC locked”) and keep it non-binding.

Critical thinking will aways be needed with this, and that is hard to fix :smiley:

1 Like

You see, the public doesn’t HAVE critical thinking. If they did, the clickbait article for [insert clickbait controversy] post you saw on X or Instagram wouldn’t have 529K likes and 7M views.

1 Like

Time weighted voted has been extensively explored in DeFi, with the most common outcome being early whales extracting from new comers. This design would have a similar issue where someone’s vote counts (a lot) more just for being early. I don’t that holding for a longer amount of time is a good way to select for better governance. Being early is does not translate to being good at decision making, and is exclusionary against new comers who may actually be able to contribute better guidance in the governance process. It also also creates a dynamic where early whales amass 10x vote power with 10% of the ZEC, and can more easily vote funds to themselves, without other ZEC holders being able to provide a check against that vote power.

I’m also not clear what problem this intends to solve. There have been mentions that someone could “borrow” ZEC for a short amount of time to sway the vote. In practice, the amount of ZEC available for lending is rather low, and the cost of borrowing the ZEC is non-zero. When other protocols design solutions around adversarial borrowers in governance, they typically take into account the real life lending market metrics and design parameters around that. Common “hold periods” for eligibility that is borrow resistant range from 1-30 days.

Additionally, lenders have an incentive to provide vote power to adversarial borrowers, as the value of their ZEC would decrease as a result of an adversarial vote.

2 Likes

All solutions Ive seen have issues, the question is whether new signals improve or worsen the accuracy.

3 Likes

This breaks the core fungibility argument of Zcash, and punishes things like key rotation, proper security measures, moving shielded pools, etc.

You immediately get derivatives for each different voting class. People will sell keys to MPC custodians, or smart contracts. (The bridges will end state re-hypotheticate their coins for immense power). This creates a worse world for everybody. I am strongly opposed to these means. To be in support, you should have very good cases of why failure modes of LST’s, vCRV wrappers won’t happen. (Both on tokenization wrappers, and how their voting power incentives /alignment goals have held up in practice)

If you want to protect against the borrowing attack there are two parts to remember:

  • When votes hit sizeable % of total supply, you do not have insane amounts of asset borrowable. You can get estimates from public lending markets and exchange balances. And these are still collateralized borrows.
  • You defend against the borrow attack by having a brief no-moving period. But you’d have to make that not block payments (recursive circuit work), and there is no demonstrable risk of this here.

1 token = 1 Vote, with one fungibility class, is what has stood through voting protocols across crypto.

5 Likes

Hmm, interesting ideas. I have some questions though:

  • Does optional lock-weighting in a non-binding poll break ZEC fungibility, or only create a temporary difference in ballot weight that disappears when the lock expires?
  • Which concrete security practices (key rotation, pool migration, etc.) become meaningfully harder or more expensive under an optional transparent CLTV lock that is not required for ordinary transfers?
  • Once a shielded lock exists, what stops the same wrapping and delegation markets that appeared around ve-tokens from forming here, and why would the outcome be different?
  • Is a short post-snapshot non-transfer window (while still allowing payments) sufficient to block the buy-vote-sell case without introducing persistent voting classes or new custody incentives?
  • Given that large positions can already meet ZIP 1016 quorum under plain 1 ZEC = 1 vote, what specific failure of the current system is severe enough to justify adding an incentive layer that has produced wrapper and re-hypothecation problems elsewhere?

The incentives here are exactly the wrong way around: they punish people who use Zcash as a currency, and so can’t afford to have their coins locked up for a period, and it introduces risks by making it impossible to rotate keys if you’ve locked your coins for a vote. :-1:

Mechanism design is hard.

I would much have coinholder voting, but also have checks on coinholder voting. Our current system, though imperfect, gives several options for veto - if the various parties can’t come to consensus, the default is no change. There’s a degree of conservatism in this that I think is healthy.

10 Likes

Should we not use the currency to vote then? I don’t disagree with your framing, I’m brainstorming for improvements

measure the intensity of this preference

radbro

To me this seems to be an apparently well-intentioned but deeply misguided proposal.

Exactly. There is a reason money and votes have never been a healthy coupling. Voting itself is deeply immoral when used to make decisions as opposed to simply providing input signals to more refined decision making process; it always punishes someone, for example people who cannot vote are definitionally excluded.

But money (currency)-as-votes, in any coupling, is irreconcilably flawed from an ethical standpoint.

This is why coinholder polling is superior to coinholder “voting.” Goodf for crudely surveying some quantifiable opinio,as a sensor.Bad for actually pulling a control lever on a governance system.

This ZIP already cites the ease with which coinholder voting is able to be gamed. This has already become one of the biggest security threats to Zcash (the people/coinholders involved).

1 Like

I think the subtle difference between polling and voting is lost on many. :+1:

2 Likes

Maybe not, but it’s the best proxy we have for historical alignment / long-term investment.

Raw coin-weighting is like a P-controller, and it has one pathology: whoever buys coins the day before a vote and sells the day after gets lots of influence, with no exposure to the consequences.

Time weighting is adding an integral term, and it has the mirror problem you point out: new holders get no voice (a.k.a. integrator windup). The fix isn’t to drop the integrator, it’s to leak it.

At risk of sounding like this is a control systems design problem: pure P is flawed; so is pure I. The optimum is likely a weighted combination (which I think this proposal misses)

Something like coin-days weighted voting with a decay applied to the time factor would let us precisely trade off between these priorities:

vote_weight = coins × (1 − e^(−d/τ))

where τ shapes how quickly new holders gain representation. Coins borrowed overnight will have no representation, without over-indexing the 1 ZEC Alice sat on for 10 years.

1 Like

The risk vector you identified primarily exists in the window between the eligibility snapshot and the results.

This is because the market will price the outcome of the result once revealed (often with a few days delay). So if someone adversarially buys ZEC to vote and then exits the market before a bad outcome is revealed, they will not experience the economic drop in value.

However even this thinking is flawed as trading markets are not as simple as buy/sell # ZEC @ spot price. In order to confidently change the result of a vote, you would need to purchase ~2m ZEC and then sell it, in which case the slippage on that size would be massive and costly.

Therefore the cost of attack is already high, and only increases with more ZEC vote turnout. This cost of attack math is a main reason that quorum exists in the first place, and most defi systems will adjust quorum based on coin market structure and likely cost of attack.

Or, you borrow ~2m ZEC for a given duration with some fee, and use it for the vote in that window. You can even reverse-Sybil attack the vote by borrowing from many small lenders, who might each individually believe they are not giving up any significant amount of voting power (hence why they might be choosing to loan ZEC instead of use it to vote themselves), but who collectively enable the attacker to alter the vote.