A surface-anchored molecular four-level conductance switch based on single proton transfer.