corda / net.corda.core.contracts / StateAndContract

StateAndContract

data class StateAndContract

A convenience class for passing around a state and it's contract

Constructors

<init>

A convenience class for passing around a state and it's contract

StateAndContract(state: ContractState, contract: ContractClassName)

Properties

contract

The contract that should verify the state

val contract: ContractClassName

state

A state

val state: ContractState