From 495e074a1690d51624d4180096cef3f7cf391131 Mon Sep 17 00:00:00 2001 From: Thrilok Kumar Date: Tue, 23 Mar 2021 16:06:35 +0530 Subject: [PATCH] Removed unnecessary files --- contracts/Migrations.sol | 19 ------------------- migrations/1_initial_migration.js | 5 ----- 2 files changed, 24 deletions(-) delete mode 100644 contracts/Migrations.sol delete mode 100644 migrations/1_initial_migration.js diff --git a/contracts/Migrations.sol b/contracts/Migrations.sol deleted file mode 100644 index f4661c66..00000000 --- a/contracts/Migrations.sol +++ /dev/null @@ -1,19 +0,0 @@ -// SPDX-License-Identifier: MIT -pragma solidity >=0.4.22 <0.8.0; - -contract Migrations { - address public owner = msg.sender; - uint public last_completed_migration; - - modifier restricted() { - require( - msg.sender == owner, - "This function is restricted to the contract's owner" - ); - _; - } - - function setCompleted(uint completed) public restricted { - last_completed_migration = completed; - } -} diff --git a/migrations/1_initial_migration.js b/migrations/1_initial_migration.js deleted file mode 100644 index 16a7ba52..00000000 --- a/migrations/1_initial_migration.js +++ /dev/null @@ -1,5 +0,0 @@ -const Migrations = artifacts.require("Migrations"); - -module.exports = function (deployer) { - deployer.deploy(Migrations); -};