Skip to content

Instantly share code, notes, and snippets.

@izqui izqui/events.sol
Last active Feb 7, 2017

Embed
What would you like to do?
library EventEmitterLib {
function emit(string s) {
Emit(s);
}
event Emit(string s);
}
contract EventEmitterContract {
using EventEmitterLib for string;
function emit(string s) {
s.emit();
}
event Emit(string s);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.