Overview

This is a Meridian Impact Evaluator Contract.

Data model

Round

The Round struct will be used to define all the measurements and evaluations that occur as part of a IE round.

Round contains three variables:

  struct Round {
        string[] measurementCids;
	      address payable[] participants;
				uint64[] scores;
    }

Variables

maxStoredRounds

An public unsigned integer that determines the maximum number of stored rounds that the contract retains.

EVALUATE_ROLE

A public constant bytes32 access control role that grants participants the ability to trigger evaluations.

MEASURE_ROLE

A public constant bytes32 access control role that grants participants the ability to submit measurements to the contract

rounds