Upgradeable
The UpgradeableComponent
is designed for easy upgradability of tokenbound accounts.
The full contract code of the UpgradableComponent
can be found here.
Functions
_upgrade
_upgrade
The _upgrade
function replaces the current contract's class hash with a new one provided by new_class_hash
.
Parameters
Name | Type | Description |
---|---|---|
|
| The class hash of the new contract implementation to upgrade to. |
Last updated