code: func (lp *LocalProfile) SetChequebook(ctx context.Context, backend chequebook.Backend, path string) error {
  	lp.lock.Lock()
  	swapContract := lp.Contract
  	lp.lock.Unlock()
  
  	valid, err := chequebook.ValidateCode(ctx, backend, swapContract)
  	if err != nil {
  		return err
  	} else if valid {
  		return lp.newChequebookFromContract(path, backend)
  	}
  	return lp.deployChequebook(ctx, backend, path)
  }
docs: // SetChequebook wraps the chequebook initialiser and sets up autoDeposit to cover spending.