A smart contract that pushes the funds that accrued in it to a group of addresses.
You can use this contract to distribute ether evenly between the participants.
The participants are managed by an owner - but owner is only able to deny them from of future rewards (not rewards that have already accrued).
If a particular recipient is not able to recieve funds at their address, the payment will fallback to the owner.
This contract is expected to handle ether simply appearing in its balance (opposed to having an explicit receive
function called).
The current system assumes the block gas limit will not decrease below 16m (but has a conservative margin is still kept to ensure transfers are always possible).
- Install Foundry:
curl -L https://foundry.paradigm.xyz | bash
- Download dependency
make install
make update
make build
make test
make coverage
make gas
make snapshot
make gas-check