From what I currently understand about static electricity, electrons "jump" from one object to another, which object loses electrons depends on where it falls on the Triboelectric series.
For example if I were to walk across some carpet and electrons on my shoes were to transfer onto the carpet, I am now positively charged and the carpet has an excess of electrons. Because I am now positively charged when I touch something such as a door knob, the electrons will be attracted to my excess of protons causing the ESD.
My question is, what happens to the excess of electrons that were on the carpet, and is the door knob now positively charged since it lost some electrons that transferred onto my body?