Liverpool have confirmed the signing of Fabio Carvalho from Fulham, with the youngster set to join the club on July 1.