Ecuador is substantially dependent on its petroleum resources , which have accounted for more than half of the country 's export earnings and approximately one-third of public sector revenues in recent years .