The new deal offers $300bn (about £240) a year to developing nations by 2035.