ContractUpgradeService

The ContractUpgradeService is responsible for securely upgrading contract state objects according to a specified and mutually agreed (amongst participants) contract version. See also ContractUpgradeFlow to understand the workflow associated with contract upgrades.

Functions

Link copied to clipboard

Get contracts we would be willing to upgrade the suggested contract to.

Link copied to clipboard

Remove a previously authorised state ref

Link copied to clipboard
abstract fun storeAuthorisedContractUpgrade(ref: StateRef, upgradedContractClass: Class<out UpgradedContract<*, *>>)

Store authorised state ref and associated UpgradeContract class