Fix merge errors

pull/2486/head
Francisco Giordano 4 years ago
parent a0323d446c
commit 5609cd4c74
  1. 2
      contracts/mocks/ClonesMock.sol
  2. 2
      contracts/proxy/Clones.sol
  3. 2
      contracts/token/ERC20/ERC20Capped.sol
  4. 2
      contracts/utils/Context.sol

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.9.0; pragma solidity ^0.8.0;
import "../proxy/Clones.sol"; import "../proxy/Clones.sol";
import "../utils/Address.sol"; import "../utils/Address.sol";

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.9.0; pragma solidity ^0.8.0;
/** /**
* @dev https://eips.ethereum.org/EIPS/eip-1167[EIP 1167] is a standard for * @dev https://eips.ethereum.org/EIPS/eip-1167[EIP 1167] is a standard for

@ -37,7 +37,7 @@ abstract contract ERC20Capped is ERC20 {
super._beforeTokenTransfer(from, to, amount); super._beforeTokenTransfer(from, to, amount);
if (from == address(0)) { // When minting tokens if (from == address(0)) { // When minting tokens
require(totalSupply() + amount <= _cap, "ERC20Capped: cap exceeded"); require(totalSupply() + amount <= cap(), "ERC20Capped: cap exceeded");
} }
} }
} }

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.9.0; pragma solidity ^0.8.0;
/* /*
* @dev Provides information about the current execution context, including the * @dev Provides information about the current execution context, including the

Loading…
Cancel
Save