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