An implantable device (200) molded to fit the curved contour of an eyeball and comprising an electrolytic pump, the pump comprising: a drug chamber (390) for containing a liquid to be administered; an injection port (410) configured to receive an injection needle (420), the injection port (410) being in fluid communication with the drug chamber to facilitate recharging of the device while the device is implanted. a cannula (110) in fluid communication with the chamber, one end of the cannula being formed to facilitate its insertion into the eyeball; a first and second electrode (320, 330); and a flexible membrane (374, 376) disposed on the electrodes (320, 330), the membrane being configured to expand and contract when the pressure increases and decreases, the activation of the electrodes causing a gas creation inside the chamber to expand thus the membrane so that it pushes the liquid from the chamber towards the cannula where the second electrode (330) includes at least one elongated central part (332) and a plurality of extensions (334) extending from at least one elongated central part and defining a perimeter within the perimeter of the first electrode (320) and where the device comprises a gas impermeable structure (370) between the first and the second electrode.Un dispositivo implantable (200) moldeado para encajar en el contorno curvo de un globo ocular y comprendiendo una bomba electrolítica, la bomba comprendiendo: una cámara de fármaco (390) para contener un líquido a administrar; un puerto de inyección (410) configurado para recibir una aguja de inyección (420), el puerto de inyección (410) estando en comunicación fluida con la cámara de fármaco para facilitar la recarga del dispositivo mientras el dispositivo está implantado. una cánula (110) en comunicación fluida con la cámara, un extremo de la cánula estando formado para facilitar la inserción del mismo en el globo ocular; un primer y segundo electrodo (320, 330); y una membrana flexible (374, 376)