interesting Tx
Detect transactions that deposit into a vault for this contract's current index — at any unlockValue.
Each output is parsed as a P2T script and matched against the current destination on two committed-on-chain values:
templateHash —
hash160of the time-lock template script, identical for every time-lock vault on the network. Filters out non-time-lock outputs (P2PKT, multisig, etc.).argsHash —
hash160of the constraint script, which holds the owner pubkey. The pubkey is a deterministic function of(seed, contractIndex, index), so argsHash identifies vaults at this contract's current index regardless of unlockValue. Outputs at the time-lock template under a different owner key (another wallet, another index) won't match.
Returns true on the first matching output, null otherwise — per the WalletContract.interestingTx contract, null is "I don't care", not "uninteresting". Inputs that spend our vault UTXOs are not inspected here; the wallet's own input-side processing already tracks those via spendable lookup.
Past-index vaults (after nextDestination has advanced) are not matched here. They were tagged at receive time by markInterestingSpendable while the index still pointed at them, and their UTXOs continue to surface through forEachUtxo / balance via the contractId tag.