Yes, in this chocolate cake recipe, mayo is used instead of butter or oil and eggs. Because the mayo replaces the eggs too, you can't simply add mayo to a recipe instead of oil; you'll also need to omit the eggs for the recipe to work out.