ERC4626UpgradeableSafe
Inherits: ERC4626Upgradeable
Author: Morpho Labs.
ERC4626 Tokenized Vault abstract upgradeable implementation tweaking OZ's implementation to make it safer at initialization.
State Variables
__gap
This empty reserved space is put in place to allow future versions to add new variables without shifting down storage in the inheritance chain. See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
uint256[50] private __gap;
Functions
constructor
CONSTRUCTOR ///
The contract automatically disables initializers when deployed so that nobody can highjack the implementation contract.
constructor();
__ERC4626UpgradeableSafe_init
INITIALIZER ///
function __ERC4626UpgradeableSafe_init(IERC20MetadataUpgradeable _asset, uint256 _initialDeposit)
internal
onlyInitializing;
__ERC4626UpgradeableSafe_init_unchained
function __ERC4626UpgradeableSafe_init_unchained(uint256 _initialDeposit) internal onlyInitializing;