Add natspec comments to four ownership contracts

This commit is contained in:
maurelian
2017-04-25 08:51:05 -04:00
committed by maurelian
parent b788f33c6a
commit e851938199
4 changed files with 61 additions and 16 deletions

View File

@ -1,15 +1,22 @@
pragma solidity ^0.4.8;
import './Ownable.sol';
/*
* Contactable token
* Basic version of a contactable contract
/**
* @title Contactable token
* @dev Basic version of a contactable contract, allowing the owner to provide a string with their
* contact information.
*/
contract Contactable is Ownable{
string public contactInformation;
string public contactInformation;
function setContactInformation(string info) onlyOwner{
/**
* @dev The setContactInformation() function allows the current owner to transfer control of the
* contract to a newOwner.
* @param newOwner The address to transfer ownership to.
*/
function setContactInformation(string info) onlyOwner{
contactInformation = info;
}