The law requires major fossil fuel companies to pay into the fund over the next quarter-century based on their past gas emissions.