Continue loop

Continue loop on Logic

Ethereum
Ethereum
Base
Base

Acts onchain

Ready to run on Base

Skips the rest of the current loop iteration and re-evaluates the loop. Execution jumps back to the innermost loop's start, where the condition is checked again. It only has meaning inside a for, until, or while loop. Reach for it inside a loop behind a predicate to skip an item that fails a check, such as a market with no room, and move straight to the next iteration.

Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.

Takes nothing — it reads the caller's own position.

More plugs on Base

Dollar-cost average on Base · 4 plugs

More on Logic · 4