Merkle Claims
Let each account claim its cumulative entitlement to an address it chooses.
flowchart LR
M[Merkle Claim budget] --> T[Transfer to Beneficiary]Use Merkle Claim and Transfer to Beneficiary. Fund the DAO.sol contract separately. Prepare a StandardMerkleTree of (address, uint256) values, with cumulative amounts in raw token units.
An account previously paid 40 with a new cumulative entitlement of 100 receives 60. The account itself sends the transaction to the installed plugin; a wrapper would change the caller identity.
// Call from the entitled account. Variables refer to the installed flow
// and a proof against its current root; beneficiary is the chosen recipient.
bytes[] memory nodeData = new bytes[](1);
nodeData[0] = abi.encode(beneficiary);
plugin.trigger(abi.encode(account, cumulative, proof), nodeData);The claim records only after the transfer succeeds. A repeated claim reverts with NothingToClaim; an invalid proof, wrong caller or underfunded transfer reverts without consuming the claim. A new root retains previous claim accounting. The manager controls that root and therefore which accounts can spend the DAO.sol contract's token balance.
Configure and install
Use Recipes.merkleClaim and the configuration example. Follow setup and permissions to install the flow. Replace addresses and choose amounts in each token's smallest unit.
Component source: MerkleClaimBudget.sol · TransferToBeneficiaryAction.sol.