func (_Controller *ControllerFilterer) WatchNewPoolInitializer(opts *bind.WatchOpts, sink chan<- *ControllerNewPoolInitializer) (event.Subscription, error) {

	logs, sub, err := _Controller.contract.WatchLogs(opts, "NewPoolInitializer")
	if err != nil {
		return nil, err
	}
	return event.NewSubscription(func(quit <-chan struct{}) error {
		defer sub.Unsubscribe()
		for {
			select {
			case log := <-logs:
				// New log arrived, parse the event and forward to the user
				event := new(ControllerNewPoolInitializer)
				if err := _Controller.contract.UnpackLog(event, "NewPoolInitializer", log); err != nil {
					return err
				}
				event.Raw = log

				select {
				case sink <- event:
				case err := <-sub.Err():
					return err
				case <-quit:
					return nil
				}
			case err := <-sub.Err():
				return err
			case <-quit:
				return nil
			}
		}
	}), nil
}
// WatchNewPoolInitializer is a free log subscription operation binding the contract event 0x7ad23833dba658b2bdc6f260fb60a3240b3868086ad60b4e42276f5eeba73e6a.
//
// Solidity: event NewPoolInitializer(address pool, address initializer, uint256 listID, uint256 indexSize)


event NewPoolInitializer(address pool, address initializer, uint256 listID, uint256 indexSize)
// WatchNewPoolInitializer is a free log subscription operation binding the contract event 0x7ad23833dba658b2bdc6f260fb60a3240b3868086ad60b4e42276f5eeba73e6a . // // Solidity : event NewPoolInitializer ( address pool address initializer uint256 listID uint256 indexSize )
func (_Controller *ControllerFilterer) WatchNewPoolInitializer(opts *bind.WatchOpts, sink chan<- *ControllerNewPoolInitializer) (event.Subscription, error) {
	logs, sub, err := _Controller.contract.WatchLogs(opts, "NewPoolInitializer")
	if err != nil {
		return nil, err
	}
	return event.NewSubscription(func(quit <-chan struct{}) error {
		defer sub.Unsubscribe()
		for {
			select {
			case log := <-logs:
				event := new(ControllerNewPoolInitializer)
				if err := _Controller.contract.UnpackLog(event, "NewPoolInitializer", log); err != nil {
					return err
				}
				event.Raw = log
				select {
				case sink <- event:
				case err := <-sub.Err():
					return err
				case <-quit:
					return nil
				}
			case err := <-sub.Err():
				return err
			case <-quit:
				return nil
			}
		}
	}), nil
}
func ( _Controller * ControllerFilterer ) WatchNewPoolInitializer ( opts * bind . WatchOpts , sink chan <- * ControllerNewPoolInitializer ) ( event . Subscription , error ) { logs , sub , err := _Controller . contract . WatchLogs ( opts , " " ) if err != nil { return nil , err } return event . NewSubscription ( func ( quit <- chan struct { } ) error { defer sub . Unsubscribe ( ) for { select { case log := <- logs : event := new ( ControllerNewPoolInitializer ) if err := _Controller . contract . UnpackLog ( event , " " , log ) ; err != nil { return err } event . Raw = log select { case sink <- event : case err := <- sub . Err ( ) : return err case <- quit : return nil } case err := <- sub . Err ( ) : return err case <- quit : return nil } } } ) , nil }
// New log arrived, parse the event and forward to the user