Sweep: keep balances where they belong

Sweep: keep balances where they belong A workflow diagram generated by Archify. 01 / Sweep window 02 / Rule evaluation 03 / Movement EX / Nothing to do Look Decide Settle Sweep run · on the configured cadence · Sweep window › Look Sweep run on the configured cadence Read balances · per asset and chain · Rule evaluation › Look Read balances per asset and chain Apply the rules · surplus above the reserve · Rule evaluation › Decide · keeps the minimum Apply the rules surplus above the reserve keeps the minimum Move the surplus · transfer to the target · Movement › Settle Move the surplus transfer to the target Confirm the move · balance read back · Movement › Settle Confirm the move balance read back No move · nothing above the reserve · Nothing to do › Settle No move nothing above the reserve surplus found within reserve each run Legend Agent logic Tool action Cloud service External system

Why sweep

  • • Idle balances accumulate in the wrong place when strategies run for weeks
  • • Sweep applies the same rule every run instead of a one-off manual transfer

Order matters

  • • The reserve is the part sweep leaves alone, so a run never empties a working balance