corda / net.corda.core.contracts / AutomaticHashConstraint

AutomaticHashConstraint

object AutomaticHashConstraint : AttachmentConstraint
Deprecated: The name is no longer valid as multiple constraints were added.

Functions

isSatisfiedBy

fun isSatisfiedBy(attachment: Attachment): Boolean

Returns whether the given contract attachment can be used with the ContractState associated with this constraint object.

Extension Functions

contextLogger

fun Any.contextLogger(): <ERROR CLASS>

When called from a companion object, returns the logger for the enclosing class.