Contract Upgrade Wire Transaction
A special transaction for upgrading the contract of a state.
Constructors
Types
Properties
Hash of the network parameters that were in force when the transaction was notarised. Null means, that the transaction was created on older version of Corda (before 4), resolution will default to initial parameters.
This transaction does not contain any output states, outputs can be obtained by resolving a ContractUpgradeLedgerTransaction – outputs will be calculated on demand by applying the contract upgrade operation to inputs.
Helper property to return a list of ContractState objects, rather than the often less convenient TransactionState
Required for hiding components in ContractUpgradeFilteredTransaction.
ContractUpgradeWireTransactions should not contain reference input states.
Contains all of the transaction components in serialized form. This is used for calculating the transaction id in a deterministic fashion, since re-serializing properties may result in a different byte sequence depending on the serialization context.
Functions
Constructs a filtered transaction: the inputs, the notary party and network parameters hash are always visible, while the rest are hidden.
Old version of ContractUpgradeWireTransaction.copy for sake of ABI compatibility.
Helper to simplify filtering outputs according to a Predicate.
Helper to simplify filtering output StateAndRef items according to a Predicate.
Helper to simplify finding a single output matching a Predicate.
Helper to simplify finding a single output StateAndRef matching a Predicate.
Helper to simplify getting an indexed output.
Helper to simplify getting all output states of a particular class, interface, or base class.
Returns a StateAndRef for the given output index.
Returns a StateAndRef for the requested output state, or throws IllegalArgumentException if not found.
Helper to simplify getting all output StateAndRef items of a particular state class, interface, or base class.
Resolves input states and contract attachments, and builds a ContractUpgradeLedgerTransaction.