forked from cerc-io/ipld-eth-server
5a652190d9
* Upgrade go-ethereum to v1.8 * Add Node Info for parity nodes * Upgrade start_private_blockchain to use v1.8
16 lines
222 B
Solidity
16 lines
222 B
Solidity
pragma solidity ^0.4.0;
|
|
|
|
contract owned {
|
|
address owner;
|
|
|
|
modifier onlyowner() {
|
|
if (msg.sender == owner) {
|
|
_;
|
|
}
|
|
}
|
|
|
|
function owned() public {
|
|
owner = msg.sender;
|
|
}
|
|
}
|