corda / net.corda.testing.contracts / DummyContractV2 / State

State

data class State : ContractState

Constructors

<init>

State(magicNumber: Int = 0, owners: List<AbstractParty>)

Properties

magicNumber

val magicNumber: Int

owners

val owners: List<AbstractParty>

participants

val participants: List<AbstractParty>

A participant is any party that should be notified when the state is created or consumed.

Functions

withNewOwner

fun withNewOwner(newOwner: AbstractParty): Pair<Commands, State>