17 lines
339 B
JavaScript
17 lines
339 B
JavaScript
|
|
var abi = require('./abi');
|
|
|
|
var implementationOfEvent = function (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;
|
|
|