StateAndRef(state: TransactionState<T>, ref: StateRef)
A StateAndRef is simply a (state, ref) pair. For instance, a vault (which holds available assets) contains these.