├── .env.example ├── .github └── workflows │ ├── certora.yml │ ├── formatting.yml │ ├── foundry.yml │ └── npm-release.yml ├── .gitignore ├── .gitmodules ├── .husky ├── post-checkout ├── post-merge ├── pre-commit └── prepare-commit-msg ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── audits ├── 2023-11-14-universal-rewards-distributor-cantina-managed.pdf ├── 2023-11-16-morpho-blue-periphery-open-zeppelin.pdf └── 2024-01-05-periphery-cantina-competition.pdf ├── broadcast └── DeployUrdFactory.sol │ └── 1 │ ├── run-1703778613.json │ └── run-latest.json ├── certora ├── README.md ├── checker │ ├── Checker.sol │ └── create_certificate.py ├── confs │ ├── MerkleTree.conf │ └── UniversalRewardsDistributor.conf ├── helpers │ ├── MerkleTree.sol │ └── Util.sol └── specs │ ├── MerkleTree.spec │ └── UniversalRewardsDistributor.spec ├── foundry.toml ├── package.json ├── src ├── UniversalRewardsDistributor.sol ├── UrdFactory.sol ├── interfaces │ ├── IUniversalRewardsDistributor.sol │ └── IUrdFactory.sol └── libraries │ ├── ErrorsLib.sol │ └── EventsLib.sol ├── test ├── UniversalRewardsDistributorTest.sol └── UrdFactoryTest.sol └── yarn.lock /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/.env.example -------------------------------------------------------------------------------- /.github/workflows/certora.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/.github/workflows/certora.yml -------------------------------------------------------------------------------- /.github/workflows/formatting.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/.github/workflows/formatting.yml -------------------------------------------------------------------------------- /.github/workflows/foundry.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/.github/workflows/foundry.yml -------------------------------------------------------------------------------- /.github/workflows/npm-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/.github/workflows/npm-release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/.gitmodules -------------------------------------------------------------------------------- /.husky/post-checkout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/.husky/post-checkout -------------------------------------------------------------------------------- /.husky/post-merge: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/.husky/post-merge -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npx lint-staged 5 | -------------------------------------------------------------------------------- /.husky/prepare-commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/.husky/prepare-commit-msg -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/README.md -------------------------------------------------------------------------------- /audits/2023-11-14-universal-rewards-distributor-cantina-managed.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/audits/2023-11-14-universal-rewards-distributor-cantina-managed.pdf -------------------------------------------------------------------------------- /audits/2023-11-16-morpho-blue-periphery-open-zeppelin.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/audits/2023-11-16-morpho-blue-periphery-open-zeppelin.pdf -------------------------------------------------------------------------------- /audits/2024-01-05-periphery-cantina-competition.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/audits/2024-01-05-periphery-cantina-competition.pdf -------------------------------------------------------------------------------- /broadcast/DeployUrdFactory.sol/1/run-1703778613.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/broadcast/DeployUrdFactory.sol/1/run-1703778613.json -------------------------------------------------------------------------------- /broadcast/DeployUrdFactory.sol/1/run-latest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/broadcast/DeployUrdFactory.sol/1/run-latest.json -------------------------------------------------------------------------------- /certora/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/certora/README.md -------------------------------------------------------------------------------- /certora/checker/Checker.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/certora/checker/Checker.sol -------------------------------------------------------------------------------- /certora/checker/create_certificate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/certora/checker/create_certificate.py -------------------------------------------------------------------------------- /certora/confs/MerkleTree.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/certora/confs/MerkleTree.conf -------------------------------------------------------------------------------- /certora/confs/UniversalRewardsDistributor.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/certora/confs/UniversalRewardsDistributor.conf -------------------------------------------------------------------------------- /certora/helpers/MerkleTree.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/certora/helpers/MerkleTree.sol -------------------------------------------------------------------------------- /certora/helpers/Util.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/certora/helpers/Util.sol -------------------------------------------------------------------------------- /certora/specs/MerkleTree.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/certora/specs/MerkleTree.spec -------------------------------------------------------------------------------- /certora/specs/UniversalRewardsDistributor.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/certora/specs/UniversalRewardsDistributor.spec -------------------------------------------------------------------------------- /foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/foundry.toml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/package.json -------------------------------------------------------------------------------- /src/UniversalRewardsDistributor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/src/UniversalRewardsDistributor.sol -------------------------------------------------------------------------------- /src/UrdFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/src/UrdFactory.sol -------------------------------------------------------------------------------- /src/interfaces/IUniversalRewardsDistributor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/src/interfaces/IUniversalRewardsDistributor.sol -------------------------------------------------------------------------------- /src/interfaces/IUrdFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/src/interfaces/IUrdFactory.sol -------------------------------------------------------------------------------- /src/libraries/ErrorsLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/src/libraries/ErrorsLib.sol -------------------------------------------------------------------------------- /src/libraries/EventsLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/src/libraries/EventsLib.sol -------------------------------------------------------------------------------- /test/UniversalRewardsDistributorTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/test/UniversalRewardsDistributorTest.sol -------------------------------------------------------------------------------- /test/UrdFactoryTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/test/UrdFactoryTest.sol -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/morpho-org/universal-rewards-distributor/HEAD/yarn.lock --------------------------------------------------------------------------------