A V4 step's input side is now the currency its SETTLE or SETTLE_ALL names, and its output side the currency its TAKE or TAKE_ALL names. A side none of them names comes from the swap actions, put in the order the currencies pass through them: each exact-in action after the ones before it, each exact-out action in front of them, since the router runs exact-out actions from the output end. The input and Amount come from the first action in that order, the output and Min. received from the last. SETTLE_ALL and TAKE_ALL were not read before, and the first swap action set both sides, so a chain showed the first one's output. Model: opus-5-5