San Francisco (CNN) Music producer DJ Khaled and boxer Floyd Mayweather Jr. were charged by the Securities and Exchange Commission with promoting investments in initial cryptocurrency coin offerings without revealing that they'd been paid.

The SEC has said that cryptocurrency coins sold in initial coin offerings (ICOs) may be considered securities and subject to federal securities laws.

Both Khaled and Mayweather settled with the SEC and agreed not to promote any securities, even digital ones, for two years and three years, respectively, the SEC said Thursday. They also agreed to give the money they'd received to the SEC and pay penalties and interest.

Mayweather failed to disclose that he'd received $300,000 from three different ICO issuers, including $100,000 from Centra Tech. Khaled failed to disclose a payment of $50,000 from the same company.

Centra has separately been charged by the SEC, which alleged that its ICO was fraudulent.

Read More