A universal rewards distributor written in Solidity. It allows the distribution of any reward token (different reward tokens are possible simultaneously) based on a Merkle tree distribution.
Based on Morpho's rewards distributor, itself based on Euler's rewards distributor.
Tests are using Murky, to generate Merkle trees in Solidity.
Merkle trees should be generated with Openzeppelin library.
It will ensure that trees will be secure for on-chain verification.
Download foundry:
curl -L https://foundry.paradigm.xyz | bash
Install it:
foundryup
Install dependencies:
git submodule update --init --recursive
Now you can run tests, using forge:
forge test