import { Listener } from './subscribe' ; const executeListeners = ( contractName , listeners , data ) => { for ( let i = 0 ; i < listeners . length ; i ++ ) { if ( listeners [ i ] . on ) { listeners [ i ] . listener ( { contractName , data } ) ; } } } ; export default executeListeners ;