github.com/nitinawathare/ethereumassignment3@v0.0.0-20211021213010-f07344c2b868/go-ethereum/contracts/chequebook/contract/owned.sol (about)

     1  pragma solidity ^0.4.0;
     2  
     3  contract owned {
     4      address owner;
     5  
     6      modifier onlyowner() {
     7          if (msg.sender == owner) {
     8              _;
     9          }
    10      }
    11  
    12      function owned() public {
    13          owner = msg.sender;
    14      }
    15  }