Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Preventing invalid spending of broadcasted states - MessageState
@BelongsToContract(MessageContract::class)
data class MessageState(
val sender: Party,
val recipient: Party,
val contents: String,
override val linearId: UniqueIdentifier,
override val participants: List<Party> = listOf(sender, recipient)
) : LinearState
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.