Move UUPSUpgradeable to proxy/utils

This commit is contained in:
Hadrien Croubois
2021-04-19 20:44:10 +02:00
parent f17624194b
commit b9125001f0
4 changed files with 2 additions and 4 deletions

View File

@ -3,7 +3,7 @@
pragma solidity ^0.8.0;
import "../CountersImpl.sol";
import "../../proxy/UUPS/UUPSUpgradeable.sol";
import "../../proxy/utils/UUPSUpgradeable.sol";
contract UUPSUpgradeableMock is CountersImpl, UUPSUpgradeable {
// Not having any checks in this function is dangerous! Do not do this outside tests!

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
pragma solidity ^0.8.2;
import "./ERC1967Storage.sol";

View File

@ -3,8 +3,6 @@
// solhint-disable-next-line compiler-version
pragma solidity ^0.8.0;
import "../../utils/Address.sol";
/**
* @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
* behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an