func (_Exchange *ExchangeFilterer) WatchLogTrade(opts *bind.WatchOpts, sink chan<- *ExchangeLogTrade) (event.Subscription, error) {

	logs, sub, err := _Exchange.contract.WatchLogs(opts, "LogTrade")
	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(ExchangeLogTrade)
				if err := _Exchange.contract.UnpackLog(event, "LogTrade", 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
}
// WatchLogTrade is a free log subscription operation binding the contract event 0x59e3b277d85cf09b738ff8a9ffaf912a7f41671729a6a9dc9a639a3c9acb2450.
//
// Solidity: e LogTrade(tokenBuy address, tokenSell address, maker address, taker address, amount uint256, orderHash bytes32, tradeHash bytes32)


e LogTrade(tokenBuy address, tokenSell address, maker address, taker address, amount uint256, orderHash bytes32, tradeHash bytes32)
// WatchLogTrade is a free log subscription operation binding the contract event 0x59e3b277d85cf09b738ff8a9ffaf912a7f41671729a6a9dc9a639a3c9acb2450 . // // Solidity : e LogTrade ( tokenBuy address tokenSell address maker address taker address amount uint256 orderHash bytes32 tradeHash bytes32 )
func (_Exchange *ExchangeFilterer) WatchLogTrade(opts *bind.WatchOpts, sink chan<- *ExchangeLogTrade) (event.Subscription, error) {
	logs, sub, err := _Exchange.contract.WatchLogs(opts, "LogTrade")
	if err != nil {
		return nil, err
	}
	return event.NewSubscription(func(quit <-chan struct{}) error {
		defer sub.Unsubscribe()
		for {
			select {
			case log := <-logs:
				event := new(ExchangeLogTrade)
				if err := _Exchange.contract.UnpackLog(event, "LogTrade", 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 ( _Exchange * ExchangeFilterer ) WatchLogTrade ( opts * bind . WatchOpts , sink chan <- * ExchangeLogTrade ) ( event . Subscription , error ) { logs , sub , err := _Exchange . 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 ( ExchangeLogTrade ) if err := _Exchange . 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