Migrations.sol 408 B

1234567891011121314
  1. // SPDX-License-Identifier: MIT
  2. pragma solidity >=0.4.22 <0.9.0;
  3. import "@openzeppelin/contracts/access/Ownable.sol";
  4. // Needed for truffle migrate to work correctly.
  5. // Simply stores the last completed migration.
  6. contract Migrations is Ownable {
  7. uint public last_completed_migration;
  8. function setCompleted(uint completed) public onlyOwner {
  9. last_completed_migration = completed;
  10. }
  11. }