The floor of the carpal tunnel is made up of (from the pinky side of the wrist to the thumb side, respectively) the hamate bone, capitate bone, trapezoid bone, and trapezium bone.
These bones make up the "distal row" of carpal bones and form the floor of the tunnel at the mid-portion of the transverse carpal ligament - the structure cut by the surgeon during carpal tunnel surgery.