I agree with other posters that:
1) It is very unlikely that any lesions on your genitals are related to any infections you might have picked up from snorting anything. The likelihood that you picked up any virus in this way is very small.
In theory, if someone else infected with all the popular viruses bled onto the bill just before you ruptured your capillaries, then a virus could be transmitted. The likelihood of transmission depends on how much virus is in the blood. Typical values for an infected person are roughly:
HepB: 10,000,000 per ml
HepC: 1,000,000 per ml
HIV: 100,000 per ml
HPV: <100 per ml (rarely detectable at all)
Consequently, the transmission rates for a single needle stick with infected blood are in the range of
HepB: 30%
HepC: 3%
HIV: 0.3%
HPV: ?? probably < 0.0003%
You didn't get a needle stick, you probably didn't have any blood-to-blood contact and any blood you might have encountered probably didn't have any of these viruses, anyway. Thus the likelihood you picked up one of these viruses is much lower.
(There are also EBV and CMV, but you probably already have one or both of those). If transmission was very likely, you could take antiviral meds to prevent the infection from becoming "permanent". If it were me, I wouldn't even consider this for such a low-risk situation. I mention it so that you will know what to do when you wake up with a needle still in your arm in a room full of unconscious heroin addicts you don't recognize.
2) You should consider getting tested in a few months for Hep B (at least), and perhaps Hep C and HIV. The standard tests for these measure your antibodies to the viruses, so they would probably still be negative now. This might be worth doing just to be certain, even if the actual risk is quite low.
I don't totally agree with some posts that, among other things, dismiss HPV infection as completely inconsequential. So here's my 1.5 cents worth on that subject:
I) Something that looks like warts on your genitals most likely is warts on your genitals. Gonorrhea could also fit your description. If it doesn't hurt like hell (at some point), then it's definitely not herpes and probably not syphilis. If you would like a more professional evaluation than that, go see a doctor. You don't need to ask your doctor if the bumps came from snorting cocaine, 'cause they didn't. You might want to explain, or at least think about, what else you might have done to get them.
II) Warts on your genitals very well could be caused by some form of HPV. There are dozens of different subtypes, and most people are probably infected with at least one. If you do have HPV-induced genital warts, the virus probably got there through sexual contact. It may have been longer than a couple of weeks ago. It could also be spread through contact with skin or other...body surfaces. It is extremely unlikely that it got there through your bloodstream from anywhere else in your body.
III) If you have genital warts, you may spread HPV to sexual partners. Although there isn't much HPV in the blood, there can be quite a bit in semen and sometimes on genital skin. (Think soap & water.) If it is one of the "bad" subtypes, then whoever you give it to might get cancer from it 10 or 20 years from now. That would be cervical cancer, anal/rectal cancer depending on which side of the plate you're swinging from. Actually, the transmission rate in anal sex is probably much higher, but this hasn't been indisputably proven. Still, Farah Fawcett died from anorectal cancer, even though the guy who gave her HPV undoubtedly stuck it in other holes, too.
IV) There is now a vaccine for HPV. It has not been around for very long, and it is not currently recommended for men. The recommendation is purely politics; boys should be getting the vaccine, as well. If your unfortunate sexual partner who you infect with HPV subtype 16 has been vaccinated, she (or he) will not get cervical cancer. It might therefore be nice to warn future sexual partners that you could transmit the virus. Very few people actually do this. A simpler approach would be to convince her that she should be getting the vaccine anyway.
And finally, next time bring your own damn dollar bill (or pipe, needle, etc.).
BTW As you may have guessed, I am a virologist. I'm not licensed to practice medicine on Bluelight, though, so PLEASE don't send me any pictures of your penis.