interactive

Cascade playground

Model a budget-bounded cascade the way CascadeController enforces it on-chain. Move the sliders and watch payouts, recursive attribution up the tree, and the on-chain budget rejection react live.

Parameters
The agent opens the cascade with one budget.
Cascade budget$0.500
Root tool price$0.100
Downstream tool price$0.020
Downstream hops3
Attribution to parent20%
Payment tree
Agent → root tool → 3 downstream tools.
within budget
agentroot$0.100tool_1$0.020tool_2$0.020tool_3$0.02020% attribution up
Spent of budget$0.160 / $0.500

close() refunds the unspent $0.340 to the agent.

Root payee earns
$0.112
price $0.100 + $0.012 attribution
Each downstream earns
$0.016
$0.020 − 20% up-flow
Gross settled
$0.160
4 on-chain hops