Balance budget
Use a Balance budget when a flow should process the DAO.sol contract's entire balance of a token, including existing holdings. The root receives all of it each run. Choose a Stream budget instead to limit how much becomes available over time.
Configuration
The component takes one setting: the ERC20 token whose balance supplies the flow. In a recipe builder, recipe is a Setup.InstallParams:
solidity
recipe.budget.id = bytes32("BalanceBudget@1");
recipe.budget.settings = abi.encode(token); // token is an IERC20available(caller, data) reads token.balanceOf(address(dao())); caller and data are ignored. commitActions returns an empty array. See the budget interface.