StateMetadata(ref: StateRef, contractStateClassName: String, recordedTime: Instant, consumedTime: Instant?, status: StateStatus, notary: AbstractParty?, lockId: String?, lockUpdateTime: Instant?, relevancyStatus: RelevancyStatus? = null, constraintInfo: ConstraintInfo? = null)