Scottish-Polish superintendent of the treasury and secret adviser of King Stanislaus Augustus of Poland