I've seen plenty of porn, but then I'm on a porn-themed instance on purpose. Haven't seen any child porn though. I'm sure there's instances out there that DO have child porn but I can only imagine they get defederated in a real hurry if their policy is to allow child porn.
Mastodon isn't one monolithic thing.