mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 14:16:21 +00:00
29b55bd445
* Implement subscriptions and filtering * Add e2e test with log filter polling logs from EVM with clique backend * Apply review comments * Move devnode to t/devtests to avoid cycle in imports
19 lines
280 B
Solidity
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);
|
|
}
|
|
}
|