Update contract.kt

This commit is contained in:
Joel Dudley 2018-10-22 08:01:10 +02:00 committed by GitHub
parent d539b6191c
commit dca58f6810
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,9 +9,11 @@ import net.corda.core.transactions.LedgerTransaction
import net.corda.core.contracts.*
// Replace IOUContract's contract ID and definition with:
val IOU_CONTRACT_ID = "com.template.IOUContract"
class IOUContract : Contract {
companion object {
val ID = "com.template.IOUContract"
}
// Our Create command.
class Create : CommandData
@ -35,4 +37,4 @@ class IOUContract : Contract {
}
}
}
// DOCEND 01
// DOCEND 01