Spain's ENDESA (electricity) has clinched an agreement with the American firm LEAP WIRELESS INTERNACIONAL to take a 100% stake in the Chilean mobile phone operator SMARTCOM PSC.