The new legislation abolishes a fund that reserved 10 percent of oil revenue for future generations .