migrations.rst 463 B

12345678910111213141516
  1. Migrations
  2. =============================================
  3. Base contract that allows for a new instance of itself to be created at a different address.
  4. Inherits from contract Ownable.
  5. upgrade(address new_address) onlyOwner
  6. """"""""""""""""""""""""""""""""""""""""
  7. Creates a new instance of the contract at the passed address.
  8. setCompleted(uint completed) onlyOwner**
  9. """"""""""""""""""""""""""""""""""""""""
  10. Sets the last time that a migration was completed.