Eggs would come under the meat category, not something you want in your compost pile. They will attract critters you don't want in your yard, like rats, skunks, possums, etc. Best to bury them.
Also, be very careful with the town compost. You have no idea what went on the lawns, for example...