func (ew *EventWatcher) NewBindings(addresses map[string]string) (map[string]*sigmacore.Sigmacore, error) {
	out := make(map[string]*sigmacore.Sigmacore)
	for name, addr := range addresses {
		binding, err := sigmacore.NewSigmacore(common.HexToAddress(addr), ew.bc)
		if err != nil {
			return nil, err
		}
		out[name] = binding
	}
	return out, nil
}
// NewBindings constructs poolbindings for various indices, the input addresses argument is a map of pool name -> pool address
NewBindings constructs poolbindings for various indices, the input addresses argument is a map of pool name -> pool address
// NewBindings constructs poolbindings for various indices the input addresses argument is a map of pool name - > pool address
func (ew *EventWatcher) NewBindings(addresses map[string]string) (map[string]*sigmacore.Sigmacore, error) {
	out := make(map[string]*sigmacore.Sigmacore)
	for name, addr := range addresses {
		binding, err := sigmacore.NewSigmacore(common.HexToAddress(addr), ew.bc)
		if err != nil {
			return nil, err
		}
		out[name] = binding
	}
	return out, nil
}
func ( ew * EventWatcher ) NewBindings ( addresses map [ string ] string ) ( map [ string ] * sigmacore . Sigmacore , error ) { out := make ( map [ string ] * sigmacore . Sigmacore ) for name , addr := range addresses { binding , err := sigmacore . NewSigmacore ( common . HexToAddress ( addr ) , ew . bc ) if err != nil { return nil , err } out [ name ] = binding } return out , nil }
NewBindings constructs poolbindings for various indices, the input addresses argument is a map of pool name -> pool address
NewBindings constructs poolbindings for various indices the input addresses argument is a map of pool name - > pool address