mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-15 23:38:19 +00:00
17 lines
346 B
JavaScript
17 lines
346 B
JavaScript
|
|
||
|
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;
|
||
|
|