Not sure it's fried yet, it just did some small movement plus the LEDs are coming on and off OK.
Looking at the pic here:
Those yellow pins have been described except the 5v, which goes to the Arduino + the GND which also goes to the Arduino, no other power source. Motor A/B of the blue pins are connected to the motors. The red wire is the one nearest the letter "M" in each case.