The repository contains dividend distribution smart contracts that are used to automate the distribution of dividends to shareholders. Automation is performed by the Ensemble protocol.
The contract has two main functions:
- addReward - adds a new reward to the contract
- approveReward - recieves a snapshot of the reward token distribution and distributes the reward to shareholders. This can be done by many owners in a multisig manner. The purpose of this is to allow to run the function in a decentralized manner by many workflow operators.
Try running some of the following tasks:
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat ignition deploy ./ignition/modules/Lock.ts