corda / net.corda.testing.dsl / TestTransactionDSLInterpreter / _attachment

_attachment

fun _attachment(contractClassName: ContractClassName): Unit

Attaches an attachment containing the named contract to the transaction

Parameters

contractClassName - The contract class to attach

fun _attachment(contractClassName: ContractClassName, attachmentId: AttachmentId, signers: List<PublicKey>): Unit

Attaches an attachment containing the named contract to the transaction

Parameters

contractClassName - The contract class to attach

attachmentId - The attachment

fun _attachment(contractClassName: ContractClassName, attachmentId: AttachmentId, signers: List<PublicKey>, jarManifestAttributes: Map<String, String>): Unit

Attaches an attachment containing the named contract to the transaction.

Parameters

contractClassName - The contract class to attach.

attachmentId - The attachment.

signers - The signers.

jarManifestAttributes - The JAR manifest file attributes.