technological process of gold mining and refining