Skip to main content

IInspectionRules

IInspectionRules

Interface for querying impact metrics and counters from the InspectionRules contract.

realizedInspectionsCount

function realizedInspectionsCount() external view returns (uint64)

Returns the total number of successfully completed inspections.

Return Values

NameTypeDescription
[0]uint64The total count of realized inspections.

inspectionsTreesImpact

function inspectionsTreesImpact() external view returns (uint256)

Returns a total, aggregated impact score related to trees across all completed inspections.

Return Values

NameTypeDescription
[0]uint256The total trees impact value.

inspectionsBiodiversityImpact

function inspectionsBiodiversityImpact() external view returns (uint256)

Returns a total, aggregated impact score related to biodiversity across all completed inspections.

Return Values

NameTypeDescription
[0]uint256The total biodiversity impact value.

totalImpactRegenerators

function totalImpactRegenerators() external view returns (uint256)

Returns the total number of impact regenerators, users with at least one inspection validated.

Return Values

NameTypeDescription
[0]uint256The total of regenerators on the certification process.