func (w *Worker) ClientAfterOfferingMsgBCPublish(job *data.Job) error {
	logger := w.logger.Add("method", "ClientAfterOfferingMsgBCPublish",
		"job", job)

	ethLog, err := w.ethLog(logger, job)
	if err != nil {
		return err
	}

	logOfferingCreated, err := extractLogOfferingCreated(logger, ethLog)
	if err != nil {
		return err
	}

	return w.clientRetrieveAndSaveOffering(logger, job,
		ethLog.Block, logOfferingCreated.somcType,
		logOfferingCreated.somcData, logOfferingCreated.agentAddr,
		logOfferingCreated.offeringHash, logOfferingCreated.currentSupply)
}
func (w *Worker) ClientAfterOfferingMsgBCPublish(job *data.Job) error {
	logger := w.logger.Add("method", "ClientAfterOfferingMsgBCPublish",
		"job", job)

	ethLog, err := w.ethLog(logger, job)
	if err != nil {
		return err
	}

	logOfferingCreated, err := extractLogOfferingCreated(logger, ethLog)
	if err != nil {
		return err
	}

	return w.clientRetrieveAndSaveOffering(logger, job,
		ethLog.Block, logOfferingCreated.somcType,
		logOfferingCreated.somcData, logOfferingCreated.agentAddr,
		logOfferingCreated.offeringHash, logOfferingCreated.currentSupply)
}
func ( w * Worker ) ClientAfterOfferingMsgBCPublish ( job * data . Job ) error { logger := w . logger . Add ( " " , " " , " " , job ) ethLog , err := w . ethLog ( logger , job ) if err != nil { return err } logOfferingCreated , err := extractLogOfferingCreated ( logger , ethLog ) if err != nil { return err } return w . clientRetrieveAndSaveOffering ( logger , job , ethLog . Block , logOfferingCreated . somcType , logOfferingCreated . somcData , logOfferingCreated . agentAddr , logOfferingCreated . offeringHash , logOfferingCreated . currentSupply ) }
// ClientAfterOfferingMsgBCPublish creates offering.
ClientAfterOfferingMsgBCPublish creates offering .