Add the onions, chickpeas, lentils, pumpkin, curry powder, cayenne, salt and pepper to a slow cooker, pour over the vegetable stock, stir to fully combine. Cover and cook on high for 3 hours, stirring once every hour and checking the liquid level. If at any time the liquid gets too low, top up a little with more broth