Skip to content
    hazBasehazBaseDocs
    SMART CONTRACTS
    Contract catalog

    KpiRegistry

    Record KPI definitions and value updates for projects.

    Agreements, credentials & debtKpiRegistry.sol

    Role and use

    Register KPIs against project IDs and track their values and update timestamps.

    Integration considerationsDefine the source, units and update permissions. @hazbase/kit 0.9.0 has no dedicated helper; use the contract source and ABI.

    Key contract operations

    Key entry points for direct contract calls. Consult the linked implementation and matching ABI for parameters, types and access conditions.

    OperationPurpose
    registerKpiRegister a KPI definition
    pushKpiValueRecord a KPI value
    kpiMetaRead KPI metadata
    listProjectKpisList project KPIs

    Related contracts

    Put it into practice

    Evidence & disclosure

    See the data model, processing sequence and SDK code for an application-level implementation.

    Read the implementation pattern

    Specification and source

    The Solidity source is pinned to the revision below. Match it with the SDK version and your network’s implementation address and ABI.

    multi-trust-credential/contracts/KpiRegistry.sol

    Source revision: b53a5b5