  We prove an equality, predicted in the physical literature, between the
Jeffrey-Kirwan residues of certain explicit meromorphic forms attached to a
quiver without loops or oriented cycles and its Donaldson-Thomas type
invariants. In the special case of complete bipartite quivers we also show
independently, using scattering diagrams and theta functions, that the same
Jeffrey-Kirwan residues are determined by the the Gross-Hacking-Keel mirror
family to a log Calabi-Yau surface.
