Skip to content

Examples ​

Start with Run a recurring buyback to see how Stream, Open Fill and competing solvers form a buyback mechanism. Then choose where the proceeds go, or explore another flow below. Each example below has a supplied recipe in script/Recipes.sol and a configuration example in aragon/capital-tree.

ExampleComposition
Buy and BurnStream → Open Fill → Burn
Buyback with a FeeStream → Open Fill → weighted Burn and Transfer
Buyback and Donate: avKATStream → Open Fill → weighted fee Transfer and vault donation
PayrollStream → weighted transfers
Merkle ClaimsMerkle entitlement → caller-selected beneficiary

Custom compositions ​

A grants-and-auction tree can split a stream between a transfer and Open Fill. This has no supplied recipe. Both branches wait for a successful fill; changing demand resets the whole stream, including accrued grants. Use separate flows if those schedules must be independent.

Custom splitters can implement top-ups or caps. A Merkle claim can fund further processing, but swapping needs an action compatible with that budget; the supplied Open Fill expects a checkpointed budget. See Compose a Capital Tree flow to build a custom composition.

Follow Setup and permissions to install your chosen flow.