corda / net.corda.core.transactions / ContractUpgradeFilteredTransaction

ContractUpgradeFilteredTransaction

data class ContractUpgradeFilteredTransaction : CoreTransaction

A filtered version of the ContractUpgradeWireTransaction. In comparison with a regular FilteredTransaction, there is no flexibility on what parts of the transaction to reveal – the inputs and notary field are always visible and the rest of the transaction is always hidden. Its only purpose is to hide transaction data when using a non-validating notary.

Types

FilteredComponent

class FilteredComponent

Contains the serialized component and the associated nonce for computing the transaction id.

Constructors

<init>

ContractUpgradeFilteredTransaction(visibleComponents: Map<Int, FilteredComponent>, hiddenComponents: Map<Int, SecureHash>)

A filtered version of the ContractUpgradeWireTransaction. In comparison with a regular FilteredTransaction, there is no flexibility on what parts of the transaction to reveal – the inputs and notary field are always visible and the rest of the transaction is always hidden. Its only purpose is to hide transaction data when using a non-validating notary.

Properties

hiddenComponents

val hiddenComponents: Map<Int, SecureHash>

Hashes of the transaction components that are not revealed in this transaction. Required for computing the transaction id.

id

val id: SecureHash

inputs

val inputs: List<StateRef>

The inputs of this transaction, containing state references only

notary

val notary: Party

If present, the notary for this transaction. If absent then the transaction is not notarised at all. This is intended for issuance/genesis transactions that don't consume any other states and thus can't double spend anything.

outputs

val outputs: List<TransactionState<ContractState>>

Ordered list of states defined by this transaction, along with the associated notaries.

visibleComponents

val visibleComponents: Map<Int, FilteredComponent>

Transaction components that are exposed.

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

When called from a companion object, returns the logger for the enclosing class.