mirror of
https://github.com/corda/corda.git
synced 2025-02-10 21:01:27 +00:00
Update contract.kt
This commit is contained in:
parent
d539b6191c
commit
dca58f6810
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user