I don't think it is an adverb. It is a noun function (an adjective functioning as a pronoun), the object of 'earn'. ' Least is a superlative adjective because it compares how much [ money ] Tim earns compared with the rest of the workers.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.