The story
A UFC Featherweight Championship bout between current champion Max Holloway and former UFC Lightweight Champion Frankie Edgar headlined the event. The pairing was scheduled twice before, first at UFC 218 and then at UFC 222, but scrapped for Edgar and Holloway injuries, respectively.
A women's flyweight bout between former Invicta FC Bantamweight Champion Lauren Murphy and Mara Romero Borella was initially scheduled for this event. On June 20, matchmakers moved the bout a week ahead to UFC on ESPN: Covington vs. Lawler.
A heavyweight bout between Tanner Boser and Giacomo Lemos was scheduled. On July 25, the bout was scrapped due to Lemos testing positive for an unspecified banned substance.
From Wikipedia’s article on UFC 240, shared under CC BY-SA 4.0.3