Solver-funded path
- The source vault holds the reward.
- The caller approves the destination Portal and supplies the tokens required by
route.tokens. fulfillruns the route and records the claimant;fulfillAndProvealso initiates proving.- The configured source prover exposes the fulfillment evidence.
withdrawpays the claimant from the source vault.
Same-chain flash path
The LocalProver implementation providesflashFulfill(route, reward, claimant). It temporarily makes the reward withdrawable to itself, uses the received funds to fulfill the route through the Portal, then distributes remaining reward assets to the claimant.
Withdrawal and fulfillment run inside one transaction. If fulfillment reverts, the withdrawal reverts too. The intent must name the Local prover and execute on the same chain as its reward.
