The electoral register is maintained by local authorities and is a current list of names and addresses that are used to produce voting ballots for European elections , general elections , local elections and national referendums .