the backpack and bags are already covered by those functions we’ve already mentioned
the others are typically done via listening for events as you always have visibility of those. ie you could hook the function that happens when the bank is opened but if someone (like me) takes control of it before you hook it, and moves it elsewhere, then while you can still hook it, it might not ever trigger (because i dont want it to as im overriding the bank) - its basically what you ran into with hooking the bag open function, the bag mod you had already overridden it.
this is one reason you cant have multiple bag mods, they cant play nicely because they all need to override that same function
for the bank and vault you need to listen for these game events;
BANKFRAME_OPENED
BANKFRAME_CLOSED
GUILDBANKFRAME_OPENED
GUILDBANKFRAME_CLOSED
note - they can trigger multiple times in a very short period so make sure you cater for that (the ace library has a bucket message type that i use for this purpose)
search for hooksecurefunc, and Events that are being listened for in their code. you can find all the wow events by googling wow api event