Migrations.sol
View Source: contracts/Migrations.sol

Contract Members

Constants & Variables
1
address public owner;
2
uint256 public last_completed_migration;
Copied!

Modifiers

  • restricted

restricted

1
modifier restricted() internal
Copied!
Arguments
Name
Type
Description

Functions

  • setCompleted(uint256 completed)
  • upgrade(address new_address)

setCompleted

1
function setCompleted(uint256 completed) public nonpayable restricted
Copied!
Arguments
Name
Type
Description
completed
uint256

upgrade

1
function upgrade(address new_address) public nonpayable restricted
Copied!
Arguments
Name
Type
Description
new_address
address
Last modified 4mo ago