mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
24 lines
795 B
Solidity
24 lines
795 B
Solidity
// SPDX-License-Identifier: agpl-3.0
|
|
pragma solidity 0.6.12;
|
|
|
|
import './BaseImmutableAdminUpgradeabilityProxy.sol';
|
|
import '../../../dependencies/openzeppelin/upgradeability/InitializableUpgradeabilityProxy.sol';
|
|
|
|
/**
|
|
* @title InitializableAdminUpgradeabilityProxy
|
|
* @dev Extends BaseAdminUpgradeabilityProxy with an initializer function
|
|
*/
|
|
contract InitializableImmutableAdminUpgradeabilityProxy is
|
|
BaseImmutableAdminUpgradeabilityProxy,
|
|
InitializableUpgradeabilityProxy
|
|
{
|
|
constructor(address admin) public BaseImmutableAdminUpgradeabilityProxy(admin) {}
|
|
|
|
/**
|
|
* @dev Only fall back when the sender is not the admin.
|
|
*/
|
|
function _willFallback() internal override(BaseImmutableAdminUpgradeabilityProxy, Proxy) {
|
|
BaseImmutableAdminUpgradeabilityProxy._willFallback();
|
|
}
|
|
}
|