Move valid coins & currencies to separate functions.

Move valid coins & currencies to separate functions so developper are able to access a list of these in order to build select lists for example.