1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
var abi = require('./abi'); var implementationOfEvent = function (event, address, signature) { return function (options) { var o = options || {}; o.address = o.address || address; o.topics = o.topics || []; o.topics.push(signature); return o; }; }; module.exports = implementationOfEvent;