Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Latest commit

 

History

History
187 lines (166 loc) · 5.37 KB

Migrations.md

File metadata and controls

187 lines (166 loc) · 5.37 KB

Migrations.sol

View Source: contracts/Migrations.sol

Migrations

Contract Members

Constants & Variables

address public owner;
uint256 public last_completed_migration;

Modifiers

restricted

modifier restricted() internal

Arguments

Name Type Description

Functions

setCompleted

function setCompleted(uint256 completed) public nonpayable restricted 

Arguments

Name Type Description
completed uint256
Source Code
function setCompleted(uint256 completed) public restricted {
    last_completed_migration = completed;
  }

Contracts