Ecuadoran gold mine secures project financing