EIPs Explained

ERC-1491 · Stagnant · ERC · 2018-10-12

ERC-1491: Human Cost Accounting Standard (Like Gas but for humans)

A stagnant, unfinished draft for tracking people's skills, credentials and intentions on chain as 'human capital' tokens, modelled on the Belief-Desire-Intention agent framework and a PGP-style web of trust.

What problem does it solve?

The proposal starts from the observation that the EVM is deterministic, while the people who supply intentions and work to it are not. It aims to define a standard interface for HUCAP (Human Capital Accounting) records so that applications could discover and track individual capabilities, outputs and knowledge, much as ERC-20, ERC-721 and ERC-1155 made assets interoperable. The stated goal is to reduce the "search cost" of finding the right people for a task.

How it works

The design borrows the Belief-Desire-Intention (BDI) model from agent-based software (after Michael Bratman's theory of practical reasoning):

  • Beliefs: accreditations, recorded as a level from an enum running from PRIMARY to DOCTORATE, with country, issuing authority, score and year.
  • Desires: goals the agent wants, keyed by a bytes1 identifier.
  • Intentions: committed goals or services the agent offers, which can be toggled.

Around this the draft defines several interfaces:

Interface Role
IERC_HUCAP Per-agent data: state, BDI index, merits (experience, reputation, talent), key ID, and setbdi overloads
IERC_HUCAP_TYPES Enums for knowledge level and agent state (CREATOR, CURATOR, ACTIVE, …) and trust levels
IERC_HUCAP_KEYSIGNING_EXTENSION A PGP-like web of trust: signing and revoking agents' keys, bit masks for key usage and trust
IERC_HUCAP_TRACKUSERS_EXTENSION Registry of agents and talent counts across the ecosystem

Reputation is derived from social-network metrics of the key-signing graph, such as how many keys an agent signed and how many signed theirs.

Sample code

The draft interfaces do not compile as written (they declare internal functions and use modifiers in an interface). A reduced, illustrative read-only view of the core idea:

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

interface IHucapView {
    enum KBase { PRIMARY, SECONDARY, TERTIARY, CERTIFICATION, DIPLOMA,
                 LICENSE, BACHELOR, MASTER, DOCTORATE }
    enum IS { CLOSED, CREATOR, CURATOR, ACTIVE, INACTIVE, RESERVED, PROVER }

    function iam() external view returns (bool active, IS state);
    function index() external view returns (uint8);
    function keyId() external view returns (bytes32);
    function merits() external view returns (
        uint256 experience, bytes32 reputation, bytes32 talent, uint8 index, bytes32 hash
    );
    function getBelief(KBase level) external view returns (
        bytes32 country, bytes32 authority, bytes32 score
    );
}

Things to know

  • Status is Stagnant, and the Rationale, Backwards Compatibility, Test Cases and Implementation sections are all marked work in progress. Treat it as a concept, not an implementable standard.
  • The interface comment gives an ERC-165 ID of 0xf23a6e61, which is actually the selector of ERC-1155's onERC1155Received; it is not a valid identifier for this interface.
  • The draft's getDoer() returns e-mail, first and last name and age. Putting personal data on a public blockchain is permanent and visible to everyone, which raises serious privacy and data-protection concerns.
  • Recording credentials or reputation on chain does not by itself make them trustworthy; the result depends entirely on who signs and attests.

#identity #reputation #web-of-trust #stagnant #erc

Details

Authors
Iamnot Chris (@cohabo)
Status
Stagnant
Type
Standards Track / ERC
Created
2018-10-12

Machine-readable: Markdown · JSON