This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.4.11; | |
| contract HelloWorld1 { | |
| modifier verifyParam1(uint param) { | |
| if (param > 5) { | |
| _; | |
| } | |
| } | |
| modifier verifyParam2(uint param) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.4.8; | |
| contract GlobalEvents { | |
| address private owner; | |
| event eventEmited(address publisher, string data_url, string hash); | |
| function GlobalEvents() { owner = msg.sender; } | |
| function kill() { if (msg.sender == owner) selfdestruct(owner); } |