Functions
verify checks the signature last, because Soroban’s ed25519_verify panics on failure instead of returning an error.
What a claim must bind
The orchestrator accepts a verified claim only if:satisfiedis true. Every predicate in the payment policy held.- The policy is the one registered for the order’s rail and direction.
- The
context_digestmatches the order. The contract recomputes it from on-chain data, so a claim made for one order cannot settle another. - The nullifier is unspent.