Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contracts/DATAv2.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;
pragma solidity 0.8.6;

import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
Expand Down
4 changes: 2 additions & 2 deletions contracts/DataTokenMigrator.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;
pragma solidity 0.8.6;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

Expand Down Expand Up @@ -30,7 +30,7 @@ contract DataTokenMigrator { // is UpgradeAgent, see Crowdsale.sol
* @param _from token holder that called CrowdsaleToken.upgrade(_value)
* @param _value amount of tokens to upgrade, checked by the CrowdsaleToken
*/
function upgradeFrom(address _from, uint256 _value) public {
function upgradeFrom(address _from, uint256 _value) external {
require(
msg.sender == address(oldToken),
"Call not permitted, UpgradableToken only"
Expand Down
2 changes: 1 addition & 1 deletion contracts/IERC677.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
pragma solidity 0.8.6;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/IERC677Receiver.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
pragma solidity 0.8.6;

interface IERC677Receiver {
function onTokenTransfer(
Expand Down
2 changes: 1 addition & 1 deletion contracts/MockRecipient.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;
pragma solidity 0.8.6;

import "hardhat/console.sol";
import "./IERC677Receiver.sol";
Expand Down
2 changes: 1 addition & 1 deletion hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = {
solidity: {
compilers: [
{
version: "0.8.3",
version: "0.8.6",
},
{
version: "0.4.11"
Expand Down