Sub topic 3
Three Categories and Where They Overlap
This chapter assumes you know what a blockchain and a wallet are, and that you have read the previous chapters on coins versus tokens and on ERC-20. Every token discussed here is just a balance table inside a smart contract. The categories are labels people attach to that table based on what holders do with it and why they want it.
Why categories exist
An ERC-20 contract for a fee-discount token and one for a joke token can be almost identical in code. The categories therefore describe function and expected demand, not contract structure. The question to ask of any token is: what can a holder do with it, and why would someone else want to buy it?
The three categories in this tutorial answer that question differently.
| Category | What a holder can do | Main source of demand | Typical technical shape |
|---|---|---|---|
| Utility token | Pay fees, get access, earn or spend rewards inside a product | Use of the product | ERC-20, often with staking or burn logic |
| Governance token | Vote on or delegate votes for protocol decisions | Influence over a protocol, and sometimes a share of its value | ERC-20 plus vote checkpoints (ERC20Votes) |
| Memecoin | Hold, trade, and share it | Attention, community, and speculation | Plain fixed-supply ERC-20 |
Utility tokens
A utility token is a token whose main purpose is to be used inside a product or network. Examples of uses:
- Paying fees at a discount.
- Unlocking access, such as a tier of a service.
- Paying or rewarding participants, for example storage providers or liquidity providers.
- Serving as collateral or a staking bond that can be penalized for bad behavior.
The key point is that demand comes from usage. If nobody uses the product, the token has no reason to be held except speculation. A later chapter covers this in depth.
The word "utility" is also a marketing term. Many tokens claim utility that is thin, such as a discount on a product that works fine without the token. A useful test is to remove the token from the product mentally. If the product still works the same way, the utility is weak.
Governance tokens
A governance token is a token whose balance gives voting rights over a protocol's parameters, treasury, or upgrades. Voting power is usually proportional to the number of tokens held or delegated, so it is called token-weighted voting.
This is where code differs most from the other two categories. A plain ERC-20 only stores current balances. Counting votes safely needs historical balances, because a voter could otherwise borrow tokens, vote, and return them. OpenZeppelin's ERC20Votes extension records a checkpoint of each account's voting power whenever it changes, so a proposal can read power as of a past block.
Here is a minimal governance token from this tutorial's examples (OpenZeppelin v5).
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {ERC20Permit} from "@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol";
import {ERC20Votes} from "@openzeppelin/contracts/token/ERC20/extensions/ERC20Votes.sol";
import {Nonces} from "@openzeppelin/contracts/utils/Nonces.sol";
contract GovToken is ERC20, ERC20Permit, ERC20Votes {
constructor() ERC20("Gov Token", "GOV") ERC20Permit("Gov Token") {
_mint(msg.sender, 1_000_000 * 10 ** decimals());
}
function _update(address from, address to, uint256 value)
internal
override(ERC20, ERC20Votes)
{
super._update(from, to, value);
}
function nonces(address owner)
public
view
override(ERC20Permit, Nonces)
returns (uint256)
{
return super.nonces(owner);
}
}Holders must call delegate() on themselves or on another address before their balance counts as voting power. Chapters later in this tutorial cover delegation and checkpoints in detail.
Memecoins
A memecoin is a token whose value rests mainly on culture, humor, and attention rather than on a product or a governance function. Technically it is often the simplest of the three.
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract MemeToken is ERC20 {
constructor() ERC20("Meme Token", "MEME") {
_mint(msg.sender, 1_000_000_000 * 10 ** decimals());
}
}The contract mints the whole supply once to the deployer and has no mint function afterward. This tells you the supply is fixed. It tells you nothing about who holds the supply or whether the trading liquidity can be withdrawn. Those facts live outside this code, and they matter more than the code does.
Comparing the three on one axis
It helps to put the three on a spectrum of how much the token's price depends on something other than belief.
Nothing forces a token into one box. Two checks are useful. First, read the contract for features like checkpoints, staking, or fee logic. Second, read the documentation and look at on-chain activity to see what holders actually do.
Where the categories overlap
Real tokens often belong to more than one category. Common overlaps:
- Utility and governance. A protocol token may give fee discounts and also let holders vote. Many large decentralized finance (DeFi) tokens work this way. The token is used in the product and also controls it.
- Governance and revenue claim. Some governance tokens can be staked to receive a share of fees. This adds a financial claim to the voting right, and it can change how regulators view the token (covered in a later chapter).
- Memecoin and community governance. Some memecoins add a vote or a community treasury later. The origin is still attention-driven, so demand may not change much.
- Utility that arrives after launch. A token launched as a memecoin may later be accepted as payment by a few merchants or games. One small use does not make it a utility token in the sense above.
A practical way to label an overlapping token is to name its primary source of demand and list the secondary functions. "Mainly a governance token with fee-discount utility" is more useful than forcing one word.
Common errors when classifying
- Classifying by name. A token called "Governance" may have no voting contract, and a token with a joke name may have a real voting system. Check the code.
- Assuming governance means control. If most tokens sit with a few holders or are never delegated, votes may not reflect broad community opinion. A later chapter covers plutocracy, apathy, and capture.
- Assuming utility means value. A token can be required to use a product that few people want.
- Assuming a simple contract means a safe token. A clean memecoin contract can still sit on a pool where the deployer holds all the liquidity.
- Treating one function as the whole identity. Look for the primary demand source first, then secondary ones.
A short classification routine
- Read the contract. Is there vote checkpointing, delegation, or staking logic, or is it a plain ERC-20?
- Read the product documentation. What does the token do that nothing else could do?
- Check holder distribution. Who holds most of the supply?
- Check what happens to price if usage goes to zero. If demand would vanish, utility is the driver. If demand would remain because of attention, it is closer to a memecoin.
- Write one sentence naming the primary category and any secondary functions.
Exercise
A protocol's token has ERC20Votes, gives holders a 20% discount on trading fees, and has a pool where the team holds 90% of the liquidity-provider shares. How would you label it, and what is one concern the label does not capture?
Show answer
It is mainly a governance token with utility (the fee discount), since it carries vote checkpoints and delegation plus a usage benefit. The label does not capture the liquidity risk: if the team holds 90% of the liquidity-provider shares, it could withdraw the pool's liquidity and leave other holders unable to sell at a fair price.
Exercise
A token is deployed with a plain fixed-supply ERC-20 contract and no vote logic. A month later a few online shops start accepting it. Is it now a utility token?
Show answer
Not necessarily. Its demand still comes mostly from attention and speculation, and a few merchants is a small secondary use. A fair label is "memecoin with limited payment use". It would move toward utility only if usage became the main reason people hold it.