Contactable.sol 546 B

12345678910111213141516171819202122
  1. pragma solidity ^0.4.24;
  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 Allows the owner to set a string with their contact information.
  12. * @param _info The contact information to attach to the contract.
  13. */
  14. function setContactInformation(string _info) public onlyOwner {
  15. contactInformation = _info;
  16. }
  17. }