eth/backend.go
func (b *backendInstance) PTCBalanceOf(opts *bind.CallOpts,
	owner common.Address) (*big.Int, error) {
	ctx2, cancel := b.addTimeout(opts.Context)
	defer cancel()

	opts.Context = ctx2

	val, err := b.ptc.BalanceOf(opts, owner)
	if err != nil {
		err = fmt.Errorf("failed to get PTC balance: %s", err)
	}
	return val, err
}
func (b *backendInstance) PTCBalanceOf(opts *bind.CallOpts,
	owner common.Address) (*big.Int, error) {
	ctx2, cancel := b.addTimeout(opts.Context)
	defer cancel()

	opts.Context = ctx2

	val, err := b.ptc.BalanceOf(opts, owner)
	if err != nil {
		err = fmt.Errorf("failed to get PTC balance: %s", err)
	}
	return val, err
}
func ( b * backendInstance ) PTCBalanceOf ( opts * bind . CallOpts , owner common . Address ) ( * big . Int , error ) { ctx2 , cancel := b . addTimeout ( opts . Context ) defer cancel ( ) opts . Context = ctx2 val , err := b . ptc . BalanceOf ( opts , owner ) if err != nil { err = fmt . Errorf ( " " , err ) } return val , err }
// PTCBalanceOf calls balanceOf method of Privatix token contract.
PTCBalanceOf calls balanceOf method of Privatix token contract .