Contactable.sol 599 B

1234567891011121314151617181920212223
  1. pragma solidity ^0.4.8;
  2. import './Ownable.sol';
  3. /**
  4. * @title Contactable token
  5. * @dev Basic version of a contactable contract, allowing the owner to provide a string with their
  6. * contact information.
  7. */
  8. contract Contactable is Ownable{
  9. string public contactInformation;
  10. /**
  11. * @dev The setContactInformation() function allows the current owner to transfer control of the
  12. * contract to a newOwner.
  13. * @param newOwner The address to transfer ownership to.
  14. */
  15. function setContactInformation(string info) onlyOwner{
  16. contactInformation = info;
  17. }
  18. }