MezzUUPSUpgradeable
Inherits: Credentialed, UUPSUpgradeable, IMezzUUPSUpgradeable
Author: Daniel Yamagata & Naveen Ailawadi
A base contract inherited by user-facing, upgradeable core contract
All calls to 'upgradeToAndCall()' must be made by the Mezz Migrator
State Variables
MEZZ_MIGRATOR
IMezzMigrator public immutable MEZZ_MIGRATOR;
Functions
constructor
constructor(address _mezzMigrator);
supportsInterface
ERC165 support
function supportsInterface(bytes4 interfaceId) public view virtual override(Credentialed, IERC165) returns (bool);
_authorizeUpgrade
Called in UUPSUpgradeable's upgradeToAndCall(...). Overridden such that the caller must be MEZZ_MIGRATOR.
function _authorizeUpgrade(address) internal virtual override;
Last updated