corda / net.corda.testing.contracts / DummyContract / State

State

@DoNotImplement interface State : ContractState

Properties

magicNumber

abstract val magicNumber: Int

Some information that the state represents for test purposes.

Inherited Properties

participants

abstract val participants: List<AbstractParty>

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

Inheritors

MultiOwnerState

data class MultiOwnerState : State

Alternative state with multiple owners. This exists primarily to provide a dummy state with multiple participants, and could in theory be merged with SingleOwnerState by putting the additional participants in a different field, however this is a good example of a contract with multiple states.

SingleOwnerState

data class SingleOwnerState : OwnableState, State