Transaction DSLInterpreter
This interface defines the bare bone functionality that a Transaction DSL interpreter should implement.
Parameters
Inheritors
Functions
Link copied to clipboard
abstract fun _attachment(contractClassName: ContractClassName, attachmentId: AttachmentId, signers: List<PublicKey>)
Attaches an attachment containing the named contract to the transaction
abstract fun _attachment(contractClassName: ContractClassName, attachmentId: AttachmentId, signers: List<PublicKey>, jarManifestAttributes: Map<String, String>)
Attaches an attachment containing the named contract to the transaction.
Link copied to clipboard
Creates a local scoped copy of the transaction.
Link copied to clipboard
Adds an Attachment reference to the transaction.
Link copied to clipboard
Adds a command to the transaction.
Link copied to clipboard
Asserts that verifies throws, with no condition on the exception message.
Link copied to clipboard
Link copied to clipboard
Asserts that verifies() throws.
Link copied to clipboard
abstract fun output(contractClassName: ContractClassName, label: String?, notary: Party, encumbrance: Int?, attachmentConstraint: AttachmentConstraint, contractState: ContractState)
Adds an output to the transaction.
Link copied to clipboard
abstract fun <S : ContractState> retrieveOutputStateAndRef(clazz: Class<S>, label: String): StateAndRef<S>
Retrieves an output previously defined by TransactionDSLInterpreter.output with a label passed in.
Link copied to clipboard
Sets the time-window of the transaction.
Link copied to clipboard
Verifies the ledger/transaction, throws if the verification fails.