Proposed legislation would establish a framework for a safer, regulated online gaming market in Alberta.