interface UpgradedContractWithLegacyConstraint<in OldState : ContractState, out NewState : ContractState> : UpgradedContract<OldState, NewState>
This interface allows specifying a custom legacy contract constraint for upgraded contracts. The default for UpgradedContract is WhitelistedByZoneAttachmentConstraint.
legacyContractConstraint |
A validator for the legacy (pre-upgrade) contract attachments on the transaction. abstract val legacyContractConstraint: AttachmentConstraint |