What is the legal framework for forex?