eth/backend.go
func (b *backendInstance) PSCAddBalanceERC20(opts *bind.TransactOpts,
	amount uint64) (*types.Transaction, error) {
	ctx2, cancel := b.addTimeout(opts.Context)
	defer cancel()

	opts.Context = ctx2

	tx, err := b.psc.AddBalanceERC20(opts, amount)
	if err != nil {
		return nil, fmt.Errorf("failed to add ERC20 balance: %s", err)
	}
	return tx, nil
}
func (b *backendInstance) PSCAddBalanceERC20(opts *bind.TransactOpts,
	amount uint64) (*types.Transaction, error) {
	ctx2, cancel := b.addTimeout(opts.Context)
	defer cancel()

	opts.Context = ctx2

	tx, err := b.psc.AddBalanceERC20(opts, amount)
	if err != nil {
		return nil, fmt.Errorf("failed to add ERC20 balance: %s", err)
	}
	return tx, nil
}
func ( b * backendInstance ) PSCAddBalanceERC20 ( opts * bind . TransactOpts , amount uint64 ) ( * types . Transaction , error ) { ctx2 , cancel := b . addTimeout ( opts . Context ) defer cancel ( ) opts . Context = ctx2 tx , err := b . psc . AddBalanceERC20 ( opts , amount ) if err != nil { return nil , fmt . Errorf ( " " , err ) } return tx , nil }
// PSCAddBalanceERC20 calls addBalanceERC20 of Privatix service contract.
PSCAddBalanceERC20 calls addBalanceERC20 of Privatix service contract .