Skip to main content

Voting & Nuking

The vote-and-nuke cycle is the core mechanic that drives GlobalPVP. It determines which country is eliminated, how ETH is redistributed, and which players profit.

How Voting Works

Who Triggers the Vote?

Anyone can call triggerVote() once the countdown reaches zero. There's no permission required — the first person to call it triggers the vote for everyone.

When triggered:

  1. The contract reads the current market cap of all alive countries
  2. The country with the highest market cap is declared the vote winner
  3. A 5-minute voting period opens
  4. The Nuke Window activates (20% global sell fee)

Who Can Vote?

Only holders of the winning country's token. If Japan has the highest market cap when the vote triggers, only holders of JP tokens can vote.

How Is Voting Power Calculated?

Voting power = your token balance of the winning country at the time you cast your vote.

Your BalanceVoting Power
1,000 JP tokens1,000 votes
1,000,000 JP tokens1,000,000 votes
0 JP tokensCannot vote

This means a single whale with 100 million tokens has 100x the voting power of someone with 1 million tokens. Token distribution matters.

What Can You Vote For?

You vote for which country to nuke. The rules are:

  • You can vote for any alive country except the winner
  • You get one vote per address per round
  • You can vote for a country you don't hold tokens in
  • Votes are weighted by your winner token balance
  • You cannot change your vote once cast

Vote Finalization

After the 5-minute voting period ends:

  • The contract tallies all votes per candidate country
  • The country with the most weighted votes is the nuke target
  • If there are zero votes, a random alive country is selected (excluding the winner)
caution

If nobody votes, a random country dies. This means abstaining from voting is risky — you could lose a country you care about. Always vote.

The Nuke

What Happens to the Nuked Country?

  1. Liquidity removal — All 7 liquidity positions are pulled from the nuked country's Uniswap pool. This recovers all ETH and tokens.
  2. Token death — The country's token is marked as nuked. The swap router will reject any future buy or sell attempts.
  3. Pool emptied — The Uniswap pool is effectively dead. Zero liquidity, zero trading.

ETH Redistribution

The ETH recovered from the nuked pool is split into four parts:

1. Winner Buyback (40%)

A swap is executed to buy the winner country's tokens with 40% of the ETH. This directly pumps the winner's price. It's a reward for having the highest market cap.

2. Spread Buyback (40%)

40% of the ETH is swapped into a randomly selected alive country. This creates unpredictable pumps across the game. The random selection uses block.prevrandao for entropy.

3. Random Buyback (10%)

An additional 10% goes to another random alive country. This ensures ETH spreads across the ecosystem, not just to the obvious winners.

4. Treasury (10%)

10% goes to the protocol treasury to fund development and operations.

Anti-Snipe Protection

Each buyback swap triggers anti-snipe protection on the receiving pool. This is a temporary sell fee that:

  • Starts at 90% — Immediately after the buyback
  • Decays linearly — Over the next 5 minutes
  • Returns to normal — After 5 minutes, standard fees resume

Anti-Snipe Fee Decay

Time After BuybackSell Fee
0 seconds90%
30 seconds~85%
1 minute~75%
2 minutes~57%
3 minutes~39%
4 minutes~21%
5 minutesNormal (~1-5%)

This prevents MEV bots and frontrunners from sandwiching the buyback — buying right before the buyback and selling right after for instant profit. With a 90% sell fee, any immediate sell after the buyback is deeply unprofitable.

After the Nuke

Once execution completes:

  • The nuked country is removed from the alive list
  • A new 4-hour countdown begins
  • The Nuke Window deactivates (20% sell fee removed)
  • Normal trading resumes (except anti-snipe on buyback recipients)

The Endgame Dynamic

As countries are eliminated:

  • Fewer targets — Each vote becomes more personal and consequential
  • Bigger buybacks — More ETH per surviving country (fewer to split between)
  • Power consolidation — The top country's holders gain more control
  • Alliance collapses — Previously cooperating countries must eventually turn on each other

With 174 countries, the early game has many low-stakes nukes. By the time you're down to 10-20 countries, every vote is a major event that reshapes the game entirely.