The New York state attorney general’s proposed crypto bill aims to end ‘fraud and dysfunction’ in the industry.