Skip to content

Mission 11: ERC-7710 Liquid Democracy — Production Implementation #2

Description

@jeremie-olivier

Board item: ERC-7710 Liquid Democracy Production — Contracts + UI
Status: Blocked | Priority: P0
Reward: $3,000 USDC + iBox token
Target: Solidity / full-stack developer with smart account and governance experience
Validation: Hard requirement — Intuition Team must validate before payout
Chain: Intuition Network (mainnet: 1155, testnet: 13579)
Prerequisite: Mission 10 (POC) must be completed and validated first

⚠️ This mission is blocked. It opens once Mission 10 is completed and validated by the Intuition Box core contributors.


Context

Mission 10 delivers a proof-of-concept for ERC-7710 liquid democracy with Intuition graph domain caveats. This mission takes the POC to production: hardened contracts, a full-featured governance UI, and mainnet deployment.

The core mechanic (proven in Mission 10): a voter delegates their voting power scoped to a domain (e.g., design), and the caveat enforcer resolves that scope semantically via the Intuition knowledge graph — so a branding proposal automatically passes a design-scoped delegation because branding - is a sub-domain of - design exists onchain.

Objective

Ship a production-ready liquid democracy system on the Intuition chain: robust, auditable contracts with a full governance UI that any community could use to set up scoped delegation chains and vote on proposals.

Deliverables

Contracts

  • Production Graph Domain Caveat Enforcer — harden the POC enforcer:
    • Chosen traversal approach solidified (onchain reads or proof-based — informed by POC writeup)
    • Full snapshot/root hash support — graph state is captured at delegation time, recomputed and verified at enforcement time to prevent graph manipulation attacks
    • Comprehensive edge case handling: circular graph paths, deleted atoms, type mismatches
    • Gas-optimized traversal with clear documented limits
    • Natspec documentation
  • Delegation factory — a contract that lets users create and manage delegation chains without raw calldata
  • Audit-ready test suite — 100% branch coverage, fuzz tests on traversal depth and caveat parameters, invariant tests on revocation

Frontend

  • Delegation manager UI — create, view, and revoke ERC-7710 delegations
    • Connect wallet (wagmi + RainbowKit)
    • Browse and select domain atoms from the Intuition graph as delegation scope
    • Configure caveat parameters (depth, expiry, edge types)
    • Visualize active delegation chains (who delegated what to whom)
  • Governance UI — submit and vote on proposals through delegated authority
    • Create mock proposals with a declared domain
    • Show in real time whether the connected account has (direct or delegated) authority to vote
    • Display semantic resolution: why a proposal passed or failed the domain enforcer
  • Domain graph explorer — browse the Intuition knowledge graph to understand scope relationships
    • Search atoms, traverse is a sub-domain of paths
    • Show which domains are in scope for a given delegation
  • Deployed on intuition.box subdomain (TBD with team)

Documentation

  • Architecture doc: contracts, interfaces, trusted components, upgrade path
  • User guide: how to set up a delegation chain, how scope resolution works
  • Article / X thread for ecosystem announcement

Acceptance Criteria

  • All contracts deployed on Intuition mainnet (1155) and testnet (13579)
  • Enforcer passes a comprehensive audit-focused review (internal team review minimum)
  • Snapshot hash mechanism prevents graph manipulation — test suite proves it
  • Frontend is fully functional end-to-end with a real wallet on mainnet
  • A new user can set up a scoped delegation chain in under 5 minutes from the UI
  • Architecture doc is sufficient for the Intuition team to maintain and extend the system

Technical Notes

  • Build on the chosen approach from Mission 10 — do not reinvent; extend and harden
  • Suggested contract stack: Solidity 0.8.x + Foundry (fuzz + invariant tests)
  • Suggested frontend stack: React + wagmi v2 + RainbowKit + viem
  • Snapshot hashing design: at delegation time, hash the relevant subgraph (domain node + descendant edges within max depth); enforcer recomputes and compares — prevents an attacker from adding a malicious edge to the graph after delegation
  • The delegation factory should follow a pattern similar to Uniswap V2 factory for discoverability
  • Coordinate with the Intuition team on the canonical is a sub-domain of predicate and any existing domain atoms to reuse

Application

Step 1 — Comment on this issue explaining why you think you are a right fit for this mission and what excites you about it.

Step 2 — Contact zet.box on Discord to plan a call with the Intuition team.


Open Questions

  • Should the production enforcer support pluggable edge types (any Intuition predicate can be a "sub-domain" relation), or should it be fixed to a single canonical predicate?
  • What's the upgrade/migration path from the POC testnet deployment?
  • Should the governance UI support a specific governor standard (OZ Governor, etc.) or remain mock-only for now?
  • Is there a target subdomain (e.g., democracy.intuition.box) for deployment?

Prerequisite: Mission 10 — ERC-7710 Liquid Democracy POC
Origin: https://x.com/olivierjeremie/status/1925983073540370651
Related: ERC-7710, Smart Account Kit, Intuition Knowledge Graph

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Application open

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions