When amphetamines were first developed, they were used primarily to treat asthma depression alcohol addiction heroin addiction?

When amphetamines were first developed, they were used primarily to treat asthma depression alcohol addiction heroin addiction?