Guest User

Untitled

a guest
Aug 18th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. pragma solidity ^0.4.7;
  2. contract MyContract {
  3. address owner;
  4.  
  5. function MyContract() {
  6. owner = msg.sender;
  7. }
  8.  
  9. function getOwner() constant returns(address) {
  10. return owner;
  11. }
  12. function setOwner(address newOwner){
  13. owner = newOwner;
  14. }
  15. }
Add Comment
Please, Sign In to add comment