---
eip: 7787
label: ERC-7787
title: Soulbound Degradable Governance
status: Draft
type: Standards Track
category: ERC
created: 2024-10-15
requires: 20
official: https://eips.ethereum.org/EIPS/eip-7787
source: https://github.com/ethereum/ERCs/blob/master/ERCS/erc-7787.md
canonical: https://eips.huatuo.xyz/eip-7787/
lang: en
tldr: A DAO governance pattern where voting power is a non-transferable token that decays after a grace period unless renewed by contributions, separating political power from money.
tags: [governance, dao, soulbound, voting]
---

# ERC-7787: Soulbound Degradable Governance

> DAO governance where voting power is non-transferable and decays over time without active contributions.

**TL;DR:** A DAO governance pattern where voting power is a non-transferable token that decays after a grace period unless renewed by contributions, separating political power from money.

## What problem does it solve?

Most DAOs give one vote per token. Since tokens can be bought, voting power follows wealth: large holders dominate, small contributors disengage, and the culture drifts toward the treasury rather than the work.

Soulbound Degradable Governance (SDG) proposes splitting two kinds of power, especially for young DAOs:

- **Economic power**: a normal tradable token (typically [ERC-20](/eip-20/)) for liquidity and funding.
- **Political power**: a non-transferable token that grants votes, earned by contributing and fading away if you stop.

## How it works

An implementation must:

1. Override `transfer` on the governance token so it cannot move between addresses (soulbound).
2. Override `getVotes(account)` so voting power **decays over time**; linear or exponential decay is recommended.
3. Emit events whenever an address's voting power changes.

The interface adds two timing knobs, both described as 90 days by default and overridable:

- `gracePeriod()`: after voting units are granted, full power is kept for this long.
- `decayPeriod()`: after the grace period, power falls to zero over this span.

Granting new voting units (for example by a DAO vote rewarding a contribution) resets the clock, so active members keep their influence and inactive ones naturally fade out. The standard is token-agnostic: the reference implementation, "Valocracy", uses a soulbound [ERC-721](/eip-721/) per member that stores voting units.

## Sample code

Linear decay inside `getVotes`, following the reference implementation:

```solidity
// SPDX-License-Identifier: CC0-1.0
pragma solidity ^0.8.20;

abstract contract DecayingVotes {
    mapping(address => uint256) internal units;
    mapping(address => uint256) internal lastGrant;

    function gracePeriod() public view virtual returns (uint256) { return 90 days; }
    function decayPeriod() public view virtual returns (uint256) { return 90 days; }

    function getVotes(address a) public view virtual returns (uint256) {
        uint256 t = lastGrant[a];
        if (t == 0 || block.timestamp < t + gracePeriod()) return units[a];
        uint256 elapsed = block.timestamp - (t + gracePeriod());
        if (elapsed >= decayPeriod()) return 0;
        return units[a] * (decayPeriod() - elapsed) / decayPeriod();
    }

    function _grant(address a, uint256 amount) internal {
        uint256 old = getVotes(a);
        units[a] = old + amount;       // remaining power + new grant
        lastGrant[a] = block.timestamp; // restart grace period
    }
}
```

## Things to know

- Status: **Draft**. Security considerations are still a TODO.
- The interface in the spec is written with `public view virtual` functions inside an `interface`, which does not compile as-is; treat it as a description of required functions.
- Decaying power that is computed lazily in `getVotes` must play well with snapshot-based governors (e.g. checkpointed `getPastVotes`); check how your governor reads votes.
- Whoever can grant voting units effectively controls the DAO, so that role (often the governor itself) needs careful design.
- Related ideas: soulbound NFTs ([ERC-5192](/eip-5192/)) and delegated voting ([ERC-5805](/eip-5805/)).


---

This is an unofficial plain-language summary. Read the full specification: https://eips.ethereum.org/EIPS/eip-7787
