ReferencedStateAndRef(stateAndRef: StateAndRef<T>)
A wrapper for a StateAndRef indicating that it should be added to a transaction as a reference input state.