The Ecuadorian government was negotiating a secret $1bn deal with a Chinese bank to drill for oil under the Yasuni national park in the Amazon while pursuing a high-profile scheme to keep the oil under the ground in return for international donations, according to a government document seen by the Guardian.