func (b *backendInstance) RegisterServiceOffering(opts *bind.TransactOpts,
	offeringHash [common.HashLength]byte,
	minDeposit uint64, maxSupply uint16,
	somcType uint8, somcData data.Base64String) (*types.Transaction, error) {
	ctx2, cancel := b.addTimeout(opts.Context)
	defer cancel()

	opts.Context = ctx2

	tx, err := b.psc.RegisterServiceOffering(opts, offeringHash,
		minDeposit, maxSupply, somcType, string(somcData))
	if err != nil {
		return nil, fmt.Errorf(
			"failed to register service offering: %s", err)
	}
	return tx, nil
}
func (b *backendInstance) RegisterServiceOffering(opts *bind.TransactOpts,
	offeringHash [common.HashLength]byte,
	minDeposit uint64, maxSupply uint16,
	somcType uint8, somcData data.Base64String) (*types.Transaction, error) {
	ctx2, cancel := b.addTimeout(opts.Context)
	defer cancel()

	opts.Context = ctx2

	tx, err := b.psc.RegisterServiceOffering(opts, offeringHash,
		minDeposit, maxSupply, somcType, string(somcData))
	if err != nil {
		return nil, fmt.Errorf(
			"failed to register service offering: %s", err)
	}
	return tx, nil
}
// RegisterServiceOffering calls registerServiceOffering method of Privatix
// service contract.