Financing and Investments in the mining sector of America during the green transition