mirror of
https://github.com/corda/corda.git
synced 2025-06-23 01:19:00 +00:00
Update contract.kt
This commit is contained in:
@ -9,9 +9,11 @@ import net.corda.core.transactions.LedgerTransaction
|
|||||||
import net.corda.core.contracts.*
|
import net.corda.core.contracts.*
|
||||||
|
|
||||||
// Replace IOUContract's contract ID and definition with:
|
// Replace IOUContract's contract ID and definition with:
|
||||||
val IOU_CONTRACT_ID = "com.template.IOUContract"
|
|
||||||
|
|
||||||
class IOUContract : Contract {
|
class IOUContract : Contract {
|
||||||
|
companion object {
|
||||||
|
val ID = "com.template.IOUContract"
|
||||||
|
}
|
||||||
|
|
||||||
// Our Create command.
|
// Our Create command.
|
||||||
class Create : CommandData
|
class Create : CommandData
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user