The expression means that you worked very hard. This is a rather vulgar expression and would be used only very informally and not, for instance, to your mother! :)
It has nothing to do with eyes. Ass, in this usage, is slang for rear end. It is slightly more vulgar than "butt" and much more vulgar than "rear end" or "fanny" which are informal but not vulgar.
Okay?