status-go/t/devtests/eventer/eventer.sol

19 lines
280 B
Solidity

pragma solidity ^0.4.21;
contract Eventer {
int public crt;
event Message(
bytes32 indexed topic,
int indexed crt
);
constructor() public {}
function emit(bytes32 topic) public {
crt += 1;
emit Message(topic, crt);
}
}