I think my base is impenetrable, but is it?

I was working on setting up my base to be impenetrable after the first troll invasion. I was in the middle of working on it, but the second invasion happened! Luckily the trolls de-spawned (not exactly sure why) after only wrecking a little bit. I was able to finish and then the two trolls came back! but were unable to get to my base and it was easy to shoot at them.

Heres what I did: I have a circular moat, and inside the moat all land is raised higher than a troll surrounded by vertical cliffs. Only way in and out is to teleport.

I know this worked now, but am I safe from attacks in the future?
2:13 am, July 6, 2021