Smart contract auditor resources

Impact Evaluator Framework

is the formal definition of how to reward peers for the work they contributed to a system.

Meridian

(Design doc) is an implementation of the Impact Evaluator Framework, which offers services and a contract, which bring all the components you need to measure, evaluate and reward peers working in a decentralized system.

See for flow charts of how its components interact.

Smart Contract

https://github.com/Meridian-IE/impact-evaluator/blob/main/src/ImpactEvaluator.sol

The contract in question is an implementation of the Meridian Impact Evaluator Framework. Basically it is a ledger that tracks measurements of work done and evaluation results thereof. At the end of each round, it rewards participants based on submitted evaluation scores, by transferring FIL out of its balance. The contract’s balance is regularly topped up by parties interested in the work it tracks.

See for flow charts of how other components interact with the contract. See https://github.com/Meridian-IE/impact-evaluator for additional documentation.

The main functions are

  • addMeasurements (callable by anyone, called ~every 2 minutes)
  • setScores (called by a trusted peer ~every 30 minutes)
  • reward (called by setScores)

This follows the Impact Evaluator Framework of measure, evaluate and reward. Due to expected gas cost, the contract is going to run in an L2 network.