Files
openzeppelin-contracts/docs/source/migrations.rst
Demian Elias Brener ec07dce76f writing docs
2016-12-19 11:56:34 -03:00

16 lines
462 B
ReStructuredText

Migrations
=============================================
Base contract that allows for a new instance of itself to be created at a different address.
Inherits from contract Ownable.
upgrade(address new_address) onlyOwner
""""""""""""""""""""""""""""""""""""""""
Creates a new instance of the contract at the passed address.
setCompleted(uint completed) onlyOwner**
""""""""""""""""""""""""""""""""""""""""
Sets the last time that a migration was completed.