eth/backend.go
func (b *backendInstance) PSCGetOfferingInfo(opts *bind.CallOpts,
	hash [common.HashLength]byte) (agentAddr common.Address,
	minDeposit uint64, maxSupply uint16, currentSupply uint16,
	updateBlockNumber uint32, active bool, err error) {
	ctx2, cancel := b.addTimeout(opts.Context)
	defer cancel()

	opts.Context = ctx2

	agentAddr, minDeposit, maxSupply, currentSupply,
		updateBlockNumber, err = b.psc.GetOfferingInfo(opts, hash)
	active = updateBlockNumber != 0
	if err != nil {
		err = fmt.Errorf("failed to get PSC offering supply: %s", err)
	}
	return agentAddr, minDeposit, maxSupply, currentSupply,
		updateBlockNumber, active, err
}
func (b *backendInstance) PSCGetOfferingInfo(opts *bind.CallOpts,
	hash [common.HashLength]byte) (agentAddr common.Address,
	minDeposit uint64, maxSupply uint16, currentSupply uint16,
	updateBlockNumber uint32, active bool, err error) {
	ctx2, cancel := b.addTimeout(opts.Context)
	defer cancel()

	opts.Context = ctx2

	agentAddr, minDeposit, maxSupply, currentSupply,
		updateBlockNumber, err = b.psc.GetOfferingInfo(opts, hash)
	active = updateBlockNumber != 0
	if err != nil {
		err = fmt.Errorf("failed to get PSC offering supply: %s", err)
	}
	return agentAddr, minDeposit, maxSupply, currentSupply,
		updateBlockNumber, active, err
}
func ( b * backendInstance ) PSCGetOfferingInfo ( opts * bind . CallOpts , hash [ common . HashLength ] byte ) ( agentAddr common . Address , minDeposit uint64 , maxSupply uint16 , currentSupply uint16 , updateBlockNumber uint32 , active bool , err error ) { ctx2 , cancel := b . addTimeout ( opts . Context ) defer cancel ( ) opts . Context = ctx2 agentAddr , minDeposit , maxSupply , currentSupply , updateBlockNumber , err = b . psc . GetOfferingInfo ( opts , hash ) active = updateBlockNumber != 0 if err != nil { err = fmt . Errorf ( " " , err ) } return agentAddr , minDeposit , maxSupply , currentSupply , updateBlockNumber , active , err }
// PSCGetOfferingInfo calls getOfferingInfo of Privatix service contract.
PSCGetOfferingInfo calls getOfferingInfo of Privatix service contract .