Info

Further information about the CorDapp extracted from its MANIFEST. The sub-types Default, Contract and Workflow determine what type of CorDapp this is.

Inheritors

Types

Link copied to clipboard
data class Contract(val shortName: String, val vendor: String, val versionId: Int, val licence: String) : Cordapp.Info

A contract CorDapp contains contract definitions (state, commands) and verification logic

Link copied to clipboard

A CorDapp that includes both contract and workflow classes, and defined in terms of Contract and Workflow.

Link copied to clipboard
data class Default(val shortName: String, val vendor: String, val version: String, val licence: String) : Cordapp.Info

CorDapps created on V3 which bundle contracts and flows into the same jar. This is effectively ContractAndWorkflow but without the integer versioning.

Link copied to clipboard
data class Workflow(val shortName: String, val vendor: String, val versionId: Int, val licence: String) : Cordapp.Info

A workflow CorDapp contains flows and services used to implement business transactions using contracts and states persisted to the immutable ledger

Properties

Link copied to clipboard
abstract val licence: String
Link copied to clipboard
abstract val shortName: String

Cordapp's name

Link copied to clipboard
abstract val vendor: String

Cordapp's vendor

Link copied to clipboard
abstract val version: String

Cordapp's version

Functions

Link copied to clipboard
abstract fun hasUnknownFields(): Boolean