proc/worker/agent.go
func (w *Worker) AgentAfterOfferingDelete(job *data.Job) error {
	logger := w.logger.Add(
		"method", "AgentAfterOfferingDelete", "job", job)

	offering, err := w.relatedOffering(
		logger, job, data.JobAgentAfterOfferingDelete)
	if err != nil {
		return err
	}
	offering.Status = data.OfferRemoved

	if err := w.saveRecord(logger, w.db.Querier, offering); err != nil {
		return err
	}

	agent, err := w.account(logger, offering.Agent)
	if err != nil {
		return err
	}

	return w.addJob(logger, nil,
		data.JobAccountUpdateBalances, data.JobAccount, agent.ID)
}
func (w *Worker) AgentAfterOfferingDelete(job *data.Job) error {
	logger := w.logger.Add(
		"method", "AgentAfterOfferingDelete", "job", job)

	offering, err := w.relatedOffering(
		logger, job, data.JobAgentAfterOfferingDelete)
	if err != nil {
		return err
	}
	offering.Status = data.OfferRemoved

	if err := w.saveRecord(logger, w.db.Querier, offering); err != nil {
		return err
	}

	agent, err := w.account(logger, offering.Agent)
	if err != nil {
		return err
	}

	return w.addJob(logger, nil,
		data.JobAccountUpdateBalances, data.JobAccount, agent.ID)
}
// AgentAfterOfferingDelete set offering status to `remove`