class TransactionDSL<out T : TransactionDSLInterpreter> : TransactionDSLInterpreter| <init> |
TransactionDSL(interpreter: T) |
| interpreter |
val interpreter: T |
| command |
fun command(vararg signers: PublicKey, commandDataClosure: () -> CommandData): Unitfun command(signer: PublicKey, commandData: CommandData): Unit |
| input |
fun input(stateLabel: String): <ERROR CLASS>Looks up the output label and adds the found state as an input. fun input(state: ContractState): UnitCreates an LedgerDSLInterpreter._unverifiedTransaction with a single output state and adds its reference as an input to the current transaction. fun input(stateClosure: () -> ContractState): Unit |
| output |
fun output(label: String? = null, notary: Party = DUMMY_NOTARY, contractStateClosure: () -> ContractState): Unitfun output(label: String, contractState: ContractState): Unitfun output(contractState: ContractState): Unit |
| timestamp |
fun timestamp(time: Instant, tolerance: Duration = 30.seconds, notary: PublicKey = DUMMY_NOTARY.owningKey): Unitfun timestamp(data: TimestampCommand, notary: PublicKey = DUMMY_NOTARY.owningKey): UnitAdds a timestamp command to the transaction. |
| ledger |
fun TransactionDSLInterpreter.Here follows implementations of the LedgerDSLInterpreter and TransactionDSLInterpreter interfaces to be used in tests. Top level primitives ledger and transaction that bind the interpreter types are also defined here. |
| transaction |
fun TransactionDSLInterpreter. |