Created
January 7, 2019 11:55
-
-
Save amolpednekar/3af18461e11975f049f10b8cfc7f27d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data class OldState(val a: AbstractParty, val b: AbstractParty) : ContractState { | |
override val participants get() = listOf(a, b) | |
} | |
open class OldContract : Contract { | |
companion object { | |
val id = "com.upgrade.OldContract" | |
} | |
override fun verify(tx: LedgerTransaction) {} | |
class Action : TypeOnlyCommandData() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment