mirror of
https://github.com/corda/corda.git
synced 2025-04-11 21:31:44 +00:00
Update contract.kt
This commit is contained in:
parent
c3ba304ed6
commit
22e499101b
@ -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