class ContractAttachment : Attachment
An Attachment which represents a contract JAR.
ContractAttachment(attachment: Attachment, contract: ContractClassName, additionalContracts: Set<ContractClassName> = emptySet(), uploader: String? = null) |
val additionalContracts: Set<ContractClassName>
Additional contract names contained within the JAR. |
|
val allContracts: Set<ContractClassName> |
|
val attachment: Attachment
The attachment representing the contract JAR |
|
val contract: ContractClassName
The contract name contained within the JAR. A Contract attachment has to contain at least 1 contract. |
|
val isSigned: Boolean |
|
val signerKeys: List<PublicKey>
The keys that have correctly signed the whole attachment. Can be empty, for example non-contract attachments won't be necessarily be signed. |
|
val uploader: String? |
|
val version: Int |
fun toString(): String |
fun create(attachment: Attachment, contract: ContractClassName, additionalContracts: Set<ContractClassName> = emptySet(), uploader: String? = null, signerKeys: List<PublicKey> = emptyList(), version: Int = DEFAULT_CORDAPP_VERSION): ContractAttachment |
fun Any.contextLogger(): <ERROR CLASS>
When called from a companion object, returns the logger for the enclosing class. |