Australian treasurer set to be next prime minister