Multiple economies support

I have several economies - not only the "default" one.
I need my merchants to get info from the economy of the shop that they are attached to.