Labels: code-quality, priority:low
Body:
Problem
swap(env, to, amount_in, min_amount_out) uses to for the address that is both paying token_in and receiving token_out. This reads as "recipient only" and will confuse anyone extending it to support swap-and-send-elsewhere.
Proposed fix
Rename to trader (or split into payer/recipient if swap-to-another-address becomes a requirement).
Acceptance criteria
Labels: code-quality, priority:low
Body: